Solve: (x² + y²)dx - 2xy dy = 0 — homogeneous differential equation

medium CBSE JEE-MAIN NCERT Class 12 3 min read

Question

Solve the differential equation:

(x2+y2)dx2xydy=0(x^2 + y^2)\,dx - 2xy\,dy = 0

(NCERT Class 12, Exercise 9.5)


Solution — Step by Step

dydx=x2+y22xy\frac{dy}{dx} = \frac{x^2 + y^2}{2xy}

Check: replace xx with txtx and yy with tyty in the RHS. Every term has degree 2 in numerator and denominator, so t2t^2 cancels. This confirms the equation is homogeneous.

Let y=vxy = vx, so dydx=v+xdvdx\frac{dy}{dx} = v + x\frac{dv}{dx}.

v+xdvdx=x2+v2x22xvx=1+v22vv + x\frac{dv}{dx} = \frac{x^2 + v^2x^2}{2x \cdot vx} = \frac{1 + v^2}{2v}
xdvdx=1+v22vv=1+v22v22v=1v22vx\frac{dv}{dx} = \frac{1 + v^2}{2v} - v = \frac{1 + v^2 - 2v^2}{2v} = \frac{1 - v^2}{2v} 2v1v2dv=dxx\frac{2v}{1 - v^2}\,dv = \frac{dx}{x}

Left side: let u=1v2u = 1 - v^2, then du=2vdvdu = -2v\,dv:

2v1v2dv=duu=lnu=ln1v2\int \frac{2v}{1 - v^2}\,dv = -\int \frac{du}{u} = -\ln|u| = -\ln|1 - v^2|

Right side: dxx=lnx\int \frac{dx}{x} = \ln|x|

So: ln1v2=lnx+lnC1-\ln|1 - v^2| = \ln|x| + \ln|C_1|

ln1v2=lnC1x\ln|1 - v^2| = -\ln|C_1 x| 1v2=1C1x|1 - v^2| = \frac{1}{|C_1 x|}
1y2x2=Cx(absorbing signs into constant C)1 - \frac{y^2}{x^2} = \frac{C}{x} \quad \text{(absorbing signs into constant } C\text{)} x2y2x2=Cx\frac{x^2 - y^2}{x^2} = \frac{C}{x} x2y2=Cx\boxed{x^2 - y^2 = Cx}

Why This Works

Homogeneous DEs have the property that dydx\frac{dy}{dx} depends only on the ratio y/xy/x. The substitution v=y/xv = y/x converts this ratio-dependence into a separable equation in vv and xx. Once separated, both sides integrate to logarithms (or standard forms), and we substitute back.

The solution x2y2=Cxx^2 - y^2 = Cx represents a family of circles. Rewriting: (xC/2)2y2=C2/4(x - C/2)^2 - y^2 = C^2/4, which is actually a family of hyperbolas passing through the origin.


Alternative Method — Exact equation approach

Rewrite as Mdx+Ndy=0M\,dx + N\,dy = 0 where M=x2+y2M = x^2 + y^2 and N=2xyN = -2xy.

Check: My=2y\frac{\partial M}{\partial y} = 2y and Nx=2y\frac{\partial N}{\partial x} = -2y. Since these aren’t equal, the equation is not exact. But MyNxN=2y+2y2xy=2x\frac{M_y - N_x}{N} = \frac{2y + 2y}{-2xy} = \frac{-2}{x}, which depends only on xx. So an integrating factor μ=x2\mu = x^{-2} makes it exact.

For CBSE boards, the homogeneous substitution (y=vxy = vx) is the expected method. Don’t use the exact equation approach unless the question specifically asks for it. The marking scheme maps to: identify type (1 mark), substitute (1 mark), separate (1 mark), integrate (1 mark), back-substitute (1 mark).


Common Mistake

When separating variables, students sometimes write 2v1+v2\frac{2v}{1 + v^2} instead of 2v1v2\frac{2v}{1 - v^2}. This happens when the subtraction 1+v22vv\frac{1+v^2}{2v} - v is done carelessly. Always simplify: 1+v22v22v=1v22v\frac{1+v^2 - 2v^2}{2v} = \frac{1-v^2}{2v}. The sign difference between 1+v21 + v^2 and 1v21 - v^2 changes the integral completely — one gives tan1\tan^{-1}, the other gives ln\ln.

Want to master this topic?

Read the complete guide with more examples and exam tips.

Go to full topic guide →

Try These Next