Question
Question: \(y = a\cos x + b\sin x\) is the solution of which of the following differential equations. A. \(\...
y=acosx+bsinx is the solution of which of the following differential equations.
A. dx2d2y+y=0
B. dx2d2y−y=0
C. dxdy+y=0
D. dxdy+xdxdy=0
Solution
To find the differential equation of y=acosx+bsinx, differentiate it once with respect to x and we will get 1st order differential equation. After getting the differential, differentiate it again w.r.t x and we will get a 2nd order differential equation.
Complete step-by-step answer:
In this question, we are given a trigonometric equation and we need to find out its differential equation.
The given trigonometric equation is : y=acosx+bsinx - - - - - - - - - - - - - - - - (1)
Here, we have to differentiate equation (1) with respect to x.
Therefore, differentiating equation (1) w.r.t x, we get
⇒dxdy=dxd(acosx)+dxd(bsinx)
Now, a and b are constants, so we can take them out. Therefore, we get
⇒dxdy=adxdcosx+bdxdsinx - - - - - - - - - - - (2)
Now, derivative of cosx is –sinx and derivative of sinx is cosx. Therefore, equation (2) becomes
⇒dxdy=a(−sinx)+b(cosx)
⇒dxdy=−asinx+bcosx - - - - - - - - - - - (3)
Now, again differentiating equation (3) w.r.t x, we get
⇒dx2d2y=dxd(−asinx)+dxd(bcosx) ⇒dx2d2y=−adxdsinx+bdxdcosx ⇒dx2d2y=−acosx−bsinx
Now, we can take out minus (-) common. Therefore, we get
⇒dx2d2y=−(acosx+bsinx) - - - - - - - - - - (4)
Now, we have y=acosx+bsinx. Therefore, equation (4) becomes
⇒dx2d2y=−y ⇒dx2d2y+y=0
Hence, the differential equation of y=acosx+bsinx is dx2d2y+y=0.
So, the correct answer is “Option A”.
Note: We can cross check our answer. Here, our answer is dx2d2y+y=0, where y=acosx+bsinxand dx2d2y=−acosx−bsinx. Therefore, putting these values in the differential equation, we get
⇒dx2d2y+y=−acosx−bsinx+acosx+bsinx ⇒dx2d2y+y=0
Hence, our answer is correct.