Question
Question: The D.E whose solution is \[xy = a{e^x} + b{e^{ - x}} + {x^2}\] is A) \[x{y_2} + {y_1} + xy = 0\] ...
The D.E whose solution is xy=aex+be−x+x2 is
A) xy2+y1+xy=0
B) xy2+2y1=xy+2−x2
C) xy2+2y=xy
D) xy2+2y1+xy+2=0
Solution
Here, we will first differentiate the given equation w.r.t x and then differentiate again w.r.t x to find the second order differential equation. Then we will solve the equations by illuminating the constants and in the end we’ll take y2=dx2d2y and y1=dxdy in the obtained equation for the required differential equation.
Complete step by step solution: We are given that the solution is xy=aex+be−x+x2.
First, we will differentiate the given equation with respect to x.
⇒xdxdy+y=aex−be−x+2x
Differentiating the above equation again with respect to x, we get
⇒dxdy+xdx2d2y+dxdy=aex+be−x+2
Combining the like terms in the equation, we get
⇒xdx2d2y+2dxdy=xy−x2+2
We will now take y2=dx2d2y and y1=dxdy in the above equation, we get
xy2+2y1=xy+2−x2
Thus, the required differential equation is xy2+2y1=xy+2−x2.
Hence, option B is correct.
Note: Whenever we need to find the differential equation of a given equation, we always focus on illuminating the constants by differentiating the equation. In this question we had 2 constants so to illuminate 2 constants we need 2 equation and hence we differentiated it two times.