Solve the DE
Solution:
d2y dy + 6 + 9y = 0 2 dx dx
Solve the DE
Solution:
d2y dy + 2 + 2y = 0 2 dx dx
Auxiliary equation: u 2 + 2u + 2 = 0
2 4 8 = 1 i 2 Therefore, its solution is y = Ae x (cos x + )
Exercise 7:
Solve the DE
Solution:
d2y + k2y = 0 2 dx
This equation doesnt have dy/dx . Therefore, roots are purely imaginary u2 + k 2 = 0 u = ki Therefore, its solution is y = A cos(kx + ) This is a equation in mechanical represents equation of simple harmonic motion. (i.e.)
d2y dy 2 + y =0 2 dx dx 2 d y dy 5) 2 5 + 4 y = 0 dx dx 2 d y 7) 2 + 4 y = 0 dx 3) 9) d2y dy 2 =0 2 dx dx
(1)
d2y = ex 2 dx Substitute equations (2), (3) & (4) in equation (1) e x 5 e x + 6 e x = e x 2 = 1 = 12 PI, y = 1 e x 2 2x CF = Ae + Be3 x 1 Total solution is y = Ae 2 x + Be3 x + e x 2
Type 2: As not in previous case, if or = in ex. Then the previous type will not work.
(ex)
Therefore, when the RHS is ex (where is a root of the auxiliary equation) we use a trial function y = xe x d2y dy 5 + 4 y = ex In the equation 2 dx dx x y = xe
dy = ( xe x + e x ) dx
( xe x + 2e x ) 5 ( xe x + e x ) + 4 xe x = e x
3 e x = e x = 13 PI = 1 xe x 3 Therefore, the total solution is y = Ae 4 x + Be x 1 xe x 3
Type 3: If the RHS of a similar equation of the form ke( p+ qi ) x , then the suitable trial solution is y = ( + i)e( p+ qi ) x Example:
d2y = (3 + 2i )2 ( + i )e(3+ 2i ) x . (4) dx 2 Substitute equations (2), (3) & (4) in equation (1) (3 + 2i )2 ( + i)e(3+ 2i ) x + 2(3 + 2i)( + i)e(3+ 2i ) x 3( + i )e(3+ 2i ) x = 8e(3+ 2i ) x Simplify the above equation and we get ( 2 ) + (2 + )i = 1 Comparing real and imaginary part
2 = 1 2(2 ) = 1 + 4 = 1 = 15
2 + = 0 = 2 = 25
1 2 Therefore, PI = ( i).e(3+ 2i ) x 5 5 1 PI = (1 2i ).e(3+ 2i ) x 5 CF of equation (1) is CF = Ae x + Be3 x 1 Therefore, the solution is y = Ae x + Be 3 x + (1 2i).e(3+ 2i ) x 5
Further trial solutions: f(x) p (a constant) px+q 2 px +qx+R p (sinx) or p (cosx) or p sinx + p cosx ex Trial solution y= y=x+ y = x2 + x + y = sinx + cosx ex if is a root, then xex, or x2ex
Calculation of arbitrary constants: Solution of DE contains two arbitrary constants. Therefore, their evaluation requires two extra factor initial conditions. Exercise 1: If y ,, 3 y , + 2 y = 0 and when x = 0, y = 3 and y = 5 Solution:
(i.e.) 5 = A+2B ------ (1) Therefore (by solving the equations 1 and 2), we get, B = 2 and A = 1 Then the solution is y = e x + 2e 2 x
Exercise 2:
d2y dy + 3 + 2 y = 10 cos x 2 dx dx
.. (1)
PI: The trial solution we use is y = cos x + sin x dy = sin x + cos x dx d2y = cos x sin x dx 2 Then the equation (1) becomes cos x sin x 3 sin x + 3 cos x + 2 cos x + 2 sin x = 10cos x ( + 3 ) cos x (3 ) sin x = 10cos x
Compare cos x and sin x term on both sides: + 3 = 10 3 = 0 =1 =3 Therefore the general solution is y = Ae x + Be 2 x + cos x + 3sin x But, y = 1 and dy/dx=0 when x = 0 dy = Ae x 2 Be 2 x sin x + 3cos x dx Apply the condition in both (2) & (3) equations When x = 0, y = 1 (i.e.) 1 = A + B + 1
(2)
(3)
d 2s + s = t . (1) dt 2 CF: u2 + 1 = 0 u = i s = A cos(t + ) PI: For t, we use the trial solution t (i.e.) PI s = t ds d 2s = ; 2 = 0 dt dt Therefore equation (1) become
0 + t = t
=1
Total solution is s = A cos(t + ) + t s = A cos(t + ) + t But s = 0 when t = 0 (i.e.) 0 = A cos And s = 0 when t = /2 (i.e.)
0 = A cos( + ) + 2 2 0 = A sin +
(5)
= /2
A sin
=0
(6)
A = A=
2
s=
Therefore, (4)
cos(t + ) + t 2 2
When t = /2
s=
cos( + ) + 2 4 2 4
s=
( sin ) + 2 4 4 2 s = ( )+ 2 2 4
s=
(1 2)