Question
Question: Find the differential equation of: \(y = {e^x}\left( {A\cos x + B\sin x} \right)\)...
Find the differential equation of:
y=ex(Acosx+Bsinx)
Solution
Hint : To obtain the required differential equation of the given equation we will eliminate ‘A’ and ‘B’ from it by taking its first and second order derivatives and solving them together to get the required solution.
Product rule of derivativesdxd(u.v)=u.dxd(v)+v.dxd(u), dxd(sinx)=cosx,dxd(cosx)=−sinx
Complete step-by-step answer :
To find the differential equation of a given function y=ex(Acosx+Bsinx)we have to remove ‘A’ and ‘B’ from it by taking derivatives.
As, there are two variables present in the given equation. So, we differentiate it two times, first we differentiate it to calculate first order derivative dxdy and then using result we calculate second order derivativedx2d2y.
y=ex(Acosx+Bsinx)
Differentiating w.r.t. ‘x’ we have
\dfrac{{dy}}{{dx}} = \dfrac{d}{{dx}}\left\\{ {{e^x}\left( {A\cos x + B\sin x} \right)} \right\\}
Applying product rule of derivative on right hand side
dxdy=exdxd(Acosx+Bsinx)+(Acosx+Bsinx)dxd(ex)
\Rightarrow \dfrac{{dy}}{{dx}} = {e^x}\left\\{ {A\left( { - \sin x} \right) + B\left( {\cos x} \right)} \right\\} + \left( {A\cos x + B\sin x} \right){e^x}
Taking common and simplify above equation
\dfrac{{dy}}{{dx}} = {e^x}\left\\{ { - A\sin x + B\cos x + A\cos x + B\sin x} \right\\}
Or we can write above equation as
dxdy=ex(−Asinx+Bcosx)+ex(Acosx+Bsinx)
⇒dxdy=ex(−Asinx+Bcosx)+y ∵y=ex(Acosx+Bsinx)
Or we can write above equation as
dxdy−y=ex(−Asinx+Bcosx)
Again differentiating above equation to find its double derivative w.r.t. ‘x’
dx2d2y−dxdy=exdxd(−Asinx+Bcosx)+(−Asinx+Bcosx)dxd(ex)
⇒dx2d2y−dxdy=ex(−Acosx−Bsinx)+(−Asinx+Bcosx)ex
Taking ex common from right hand side and simplifying it
dx2d2y−dxdy=ex(−Acosx−Bsinx−Asinx+Bcosx)
⇒dx2d2y−dxdy=ex(−Acosx−Bsinx)+ex(−Asinx+Bcosx)
Using vale of dxdy−y=ex(−Asinx+Bcosx) calculated above in above equation we have
dx2d2y−dxdy=ex(−Acosx−Bsinx)+dxdy−y
⇒dx2d2y−2dxdy+y=−ex(Acosx+Bsinx) ⇒dx2d2y−2dxdy+y=−y ⇒dx2d2y−2dxdy+2y=0
Above equations don’t contain ‘A’ and ‘B’.
So, we can say that this is the required differential equation of the given equations y=ex(Acosx+Bsinx)
Note : To find the differential equation of any given equation we are just required to eliminate the constant present in the given equation. If there is only one constant then we differentiate the given equation only one time to get the required solution but in case if there are two constants then we have to differentiate it up to a double derivative to find the corresponding differential equation.