(a) Show that the substitution z=y−2 transforms the differential equation
xdxdy+y+4x2y3lnx=0x>0(I)
into the differential equation
dxdz−x2z=8xlnxx>0(II)
(5)
(b) By solving differential equation (II), determine the general solution of differential equation (I), giving your answer in the form y2=f(x)
(6)
解答
(a)
Given z=y−2, differentiate with respect to x using the chain rule:
dxdz=−2y−3dxdy
We are given differential equation (I):
xdxdy+y+4x2y3lnx=0
Divide the entire equation by y3:
xy−3dxdy+y−2+4x2lnx=0
Substitute y−3dxdy=−21dxdz and y−2=z:
x(−21dxdz)+z+4x2lnx=−2xdxdz+z=0−4x2lnx
Multiply the equation by −x2 (since x>0):
dxdz−x2z=8xlnx
This matches differential equation (II).
(b)
Differential equation (II) is a first-order linear ODE:
dxdz−x2z=8xlnx
Find the integrating factor (IF):
IF===e∫−x2dxe−2lnxx−2
Multiply (II) by the IF:
x−2dxdz−2x−3z=dxd(x−2z)=x−2(8xlnx)8x−1lnx
Integrate both sides with respect to x:
x−2z=∫8x−1lnxdx
Using the substitution u=lnx⟹du=x−1dx:
∫8x−1lnxdx===∫8udu4u2+k4(lnx)2+k
So we have:
x−2z=z=4(lnx)2+k4x2(lnx)2+kx2
We were given that z=y−2, so z=y21. Substituting this back gives the general solution for y:
y21=y2=4x2(lnx)2+kx24x2(lnx)2+kx21orx2(4(lnx)2+k)1