PROBLEM
Q4) Find the differential equation whose general solution y=Acos(lnx)+Bsin(lnx),x>0.
STEP 1
1. The given general solution is y=Acos(lnx)+Bsin(lnx).
2. We need to find a differential equation that has this general solution.
3. A and B are arbitrary constants.
4. x>0 ensures that lnx is defined.
STEP 2
1. Differentiate the given general solution with respect to x.
2. Differentiate again to obtain the second derivative.
3. Eliminate the arbitrary constants A and B to form the differential equation.
STEP 3
Differentiate the given general solution y=Acos(lnx)+Bsin(lnx) with respect to x.
Using the chain rule, we have:
dxdy=dxd[Acos(lnx)+Bsin(lnx)] dxdy=A⋅dxd[cos(lnx)]+B⋅dxd[sin(lnx)] Using the chain rule for derivatives, we get:
dxd[cos(lnx)]=−sin(lnx)⋅x1 dxd[sin(lnx)]=cos(lnx)⋅x1 Thus:
dxdy=A(−xsin(lnx))+B(xcos(lnx)) dxdy=−xAsin(lnx)+xBcos(lnx)
STEP 4
Differentiate dxdy again with respect to x to obtain the second derivative.
dx2d2y=dxd(−xAsin(lnx)+xBcos(lnx)) Apply the product rule and chain rule:
dxd(−xAsin(lnx))=−A(dxd(xsin(lnx))) dxd(xsin(lnx))=x2x⋅cos(lnx)⋅x1−sin(lnx) =x2cos(lnx)−sin(lnx) Thus:
dxd(−xAsin(lnx))=−A(x2cos(lnx)−sin(lnx)) Similarly, for the other term:
dxd(xBcos(lnx))=B(x2−sin(lnx)−cos(lnx)) Thus:
dx2d2y=−A(x2cos(lnx)−sin(lnx))+B(x2−sin(lnx)−cos(lnx))
SOLUTION
Eliminate the arbitrary constants A and B to form the differential equation.
Notice that:
y=Acos(lnx)+Bsin(lnx) dxdy=−xAsin(lnx)+xBcos(lnx) dx2d2y=−x2A(cos(lnx)−sin(lnx))+x2B(−sin(lnx)−cos(lnx)) To eliminate A and B, observe that the coefficients of cos(lnx) and sin(lnx) in the derivatives can be combined to form a differential equation.
The differential equation is:
x2dx2d2y+xdxdy+y=0 The differential equation whose general solution is y=Acos(lnx)+Bsin(lnx) is:
x2dx2d2y+xdxdy+y=0
Start understanding anything
Get started now for free.