DIFFERENTIAL EQUATIONS PROBLEM Solve the ODE Solve the ordin
DIFFERENTIAL EQUATIONS PROBLEM
Solve the ODE>
Solve the ordinary differential equation y;\' = y = e^x (x cos x - (3 + 2x) sin x)Solution
Finding the solution of the differential equation : y\'\' + y = 0
For general solution
Let , y = ert
=> ( r2 + 1 )ert = 0
=> r = i or -i , where i = square root of unity
=> y = c1 cos(x) + c2 sin(x)
For particular solution , assume that yp = a.ex sin(x) + bx.ex cos(x)
=> yp\'\' = 2a.ex.cos(x) + 2b.ex.( cos(x) - (x+1)sin(x) )
=> yp\'\' + yp = ex ( cos(x)*( 2a + 2b ) + sin(x)*( - 2bx - 2b + a ) )
Comparing with the original equation
=> b = 1 , a = -1
=> y = c1 cos(x) + c2 sin(x) - ex sin(x) + x.ex cos(x)
