1.14 Variation of Parameters
1.14 Variation of Parameters
14 Variation of Parameters
Consider the second order linear differential equation
y + p( x) y + q( x) y = R( x). − − − − − −(1)
Suppose that yc = c1 y1 + c2 y2 is a solution, where y1 and y2 are linearly independent on an
interval a x b. Let us see what happens if we replace both of the constants c1 and c2 with
functions of x.
We consider y = Ay1 + By2 − − − − − − − −(2) and try to determine A( x) and B( x) so that
Rather than involved with the derivatives of A( x) and B( x) of higher order than the first, we
now choose some particular function for the expression Ay1 + By2 .
It then follows from (3) that y = Ay1 + By2 + Ay1 + By2. − − − − − −(5)
Since y was to be a solution of (1) we substitute from (2), (3), and (5) into equation (1) to obtain
y1 y2
This solution exists providing the determinant W ( x) = does not vanish. But this
y1 y2
determinant is precisely the Wronskian of the functions y1 and y2 , which are presumed to be
linearly independent on the interval a x b. Therefore, the Wronskian does not vanish on that
interval and we can find A and B. By integration we get
y2 R ( x ) y1R ( x )
A( x ) = − dx and B ( x ) = dx
W ( x) W ( x)
38
Immediately we find that yc = c1 cos x + c2 sin x.
Then
y1 y2 cos x sin x
W ( x) = = = 1.
y1 y2 − sin x cos x
1
Solve ( D − 3D + 2) y =
2
Example 1.14.2 .
1 + e− x
y = Ae + Be .
Here yc = c1e + c2e , so we put p
x 2x x 2x
Then
y1 y2 ex e2 x
W ( x) = = x = e3 x .
y1 y2 e
2x
2e
y2 R( x) e2 x e− x
A( x) = − dx = − dx = − −x
dx = ln(1 + e− x ).
W ( x) -x
(1+e )e 3x
1+ e
And
39
y1R( x) e −2 x −x e− x
B( x) = dx = −x
dx = e − −x
dx = −e − x + ln(1 + e − x ).
W ( x) (1 + e ) 1+ e
1. ( D + 1) y = csc x cot x.
2
2. ( D + 1) y = sec x.
2 4
3. ( D + 1) y = tan x.
2 2
4. ( D + 1) y = sec x csc x.
2 2
−2
5. ( D − 2D + 1) y = e (e + 1) .
2 2x x
−x
6. ( D − 3D + 2) y = cos(e ).
2
−2 x −1/ 2
7. ( D − 1) y = 2(1 − e
2
) .
8. ( D2 − 1) y = e−2 x sin e− x .
40