Loading…

Variation of Parameter Tool

Math Calculus • Multivariable Calculus

View all topics

Solve non-homogeneous second-order differential equations in normalized form \(\displaystyle y''+P(x)y'+Q(x)y=G(x)\) using variation of parameters. Enter a fundamental pair \(y_1,y_2\), compute the Wronskian, build \(y_p\), and compare the homogeneous, particular, and total solution curves.

Equation \(\displaystyle y''+P(x)y'+Q(x)y=G(x)\) Wronskian \(\displaystyle W=y_1y_2'-y_1'y_2\) Variation formulas \(\displaystyle u_1'=-\frac{y_2G}{W},\quad u_2'=\frac{y_1G}{W}\) General solution \(\displaystyle y=C_1y_1+C_2y_2+y_p\)

Differential equation and fundamental solutions

The equation must be normalized so the coefficient of \(y''\) is \(1\). Use variable x. Supported functions: sin, cos, tan, sec, csc, cot, sqrt, abs, exp, ln, log. Constants: pi, e. Use * for multiplication.
Live preview

Quick examples

Ready
Enter the equation, fundamental solutions, and click “Solve”.

Rate this calculator

0.0 /5 (0 ratings)
Be the first to rate.
Your rating
You can update your rating any time.

Frequently Asked Questions

What is variation of parameters?

Variation of parameters is a method for finding a particular solution of a non-homogeneous linear differential equation by replacing the constants in the homogeneous solution with functions.

What form of equation does this calculator use?

It uses the normalized form y'' + P(x)y' + Q(x)y = G(x), where the coefficient of y'' is 1.

What are y1 and y2?

They are two independent solutions of the associated homogeneous equation y'' + P(x)y' + Q(x)y = 0.

What is the Wronskian?

For two functions y1 and y2, the Wronskian is W = y1 y2' - y1' y2. A nonzero Wronskian means the two solutions are independent on the checked interval.

What formulas does variation of parameters use?

For y'' + P(x)y' + Q(x)y = G(x), the method uses u1' = -y2 G/W and u2' = y1 G/W.

How is the particular solution formed?

The particular solution is yp = -y1 integral(y2 G/W dx) + y2 integral(y1 G/W dx), up to homogeneous terms.

Does the calculator solve the homogeneous equation automatically?

This tool focuses on variation of parameters after y1 and y2 are supplied. The quick examples fill common fundamental pairs.

Does it support the example y'' + y = tan(x)?

Yes. With y1 = cos(x), y2 = sin(x), and G(x) = tan(x), it recognizes a closed form particular solution.

Do the graph axes show units?

Yes. Axis tick labels include numerical values and the selected units.