Professional Documents
Culture Documents
Lec 6 Maths
Lec 6 Maths
Mathematics 2 (15B11MA211)
CO [C106.1]
➢ Variation of Parameters
➢ Example
2
Method of Variation of Parameters:
For the differential equation
y + P ( x ) y + Q ( x ) y = R ( x ) (1)
first find two linearly independent functions (x) and (x) of the
corresponding homogeneous differential equation (2) of (1)
y + P ( x ) y + Q ( x ) y = 0 (2)
y = C1 + C2 is the C.F. of (1) and
+ P ( x ) + Q ( x ) = 0 (3)
+ P ( x ) + Q ( x ) = 0 (4)
Let y = u + v be a solution of (1)
3
Let y = u + v be a solution of (1)
Differentiating it w.r.t. x
y = u + v + u + v
Assume u + v = 0 (5)
Thus y = u + v
Again differentiating it w.r.t. x
4
The equations (5) and (6)
u + v = 0 (5)
u + v = R ( x ) (6)
are linear non-homogeneous algebraic equations for unknowns u and v.
( x) ( x)
= ( x ) ( x ) − ( x ) ( x ) = W ( x ) 0
( x) ( x)
5
On solving equations (5) and (6) we get
− R( x) ( x ) R( x) ( x )
u ( x ) = v ( x ) =
W ( x) W ( x)
R( x) ( x ) R ( x) ( x )
y = ( x ) − dx + C1 + ( x ) dx + C2
W ( x) W ( x)
6
Example: Solve y − y − 2 y = e − x by variations of parameters method.
Solution:
First we find the solution of homogeneous equation y − y − 2 y = 0
The auxiliary equation is
m2 − m − 2 = 0 or (m + 1)(m − 2) = 0
Therefore two independent solutions of the homogeneous equation are
( x) = e − x , ( x) = e 2 x
Assume that the general solution of non-homogeneous equation is
y = u ( x )e − x + v ( x )e 2 x
where u , v satisfy the equations
u ( x ) e − x + v ( x ) e 2 x = 0
−u ( x ) e − x + 2v ( x ) e 2 x = e − x
Solving for u , v we get 7
0 e2 x e− x 0
e− x 2e 2 x 1 −e − x e− x 1
u = =− , v = = e −3 x
e− x e2 x 3 e− x e2 x 3
−e − x 2e 2 x −e − x 2e 2 x
We note that x and x -1 are two L.I. solutions of diff. equ. (2) 9
Let y = u(x) x + v(x) x -1 be the general solution of the given DE.
−1
−2
y +x y −x y=e x
u = 12 e x , v = − 12 x 2e x
10
Integrating
u = 12 e x + c1 ,
v = − 12 x 2 e x dx + c2 = (− 12 x 2 + x − 1)e x + c2
11
Method of Variation of Parameters (Formula Based):
12
R ( x) R ( x)
P. I . = − dx + dx
W W
y = C.F . + P.I .
14
15