Solve the differential equation (x2−3y2)dx+2xydy=0.
Solution Follow the steps for solving a homogeneous first-order differential equation.
Step 1 Both x2−3y2 and 2xy are homogeneous of degree 2. Do you see why?
Step 2 Let y=xv. Then dy=xdv+vdx. Substitute these into the differential equation: (x2−3y2)dx+2xydy=0[x2−3(xv)2]dx+2x(xv)(xdv+vdx)=0dy=xdv=+vdx(x2−x2v2)dx+2x3vdv=0x2(1−v2)dx+2x3vdv=0
Step 3 Then for x≠0 and v≠±1, we can separate the variables by dividing by x3 and 1−v2. x2(1−v2)dx+2x3vdv=0x2(1−v2)dxx3(1−v2)+2x3vdvx3(1−v2)=0dxx+2vdv1−v2=0
Step 4 Integrate. ∫dxx−∫2vdvv2−1=0ln|x|−ln|v2−1|=C1ln|xv2−1|=C1
Since C1 is a constant, we can write C1=lnC2, where C2 is a constant. Then ln|xv2−1|=lnC2|xv2−1|=C2|xy2x2−1|=C2v=yx|x3y2−x2|=C2x3=±C2(y2−x2)
Since ±C2 may be either positive or negative, the general solution can be written as x3=C(y2−x2), where C≠0 is a constant.