Find the general solution of the differential equation :
\((xy – x^2) dy = y^2\ dx.\)
CBSE Class 12 Maths · Differential Equations
CBSE Class 12 Maths · Differential Equations
Imagine you have a machine that mixes two things together, and the mix always looks the same no matter how big or small you make it. This differential equation is like that machine. We replace the tricky mix with a single new ingredient called \( v \), which equals \( \frac{y}{x} \). After swapping, the puzzle becomes much easier to untangle. We gently pull the two sides apart so each side has only one ingredient, then collect everything up to find the answer.
Answer: The general solution is \[ \frac{y}{x} - \log|y| = C, \] or equivalently \[ \frac{y}{x} = \log|y| + C. \]
A first-order differential equation is called homogeneous if it can be written in the form \( \frac{dy}{dx} = F\left(\frac{y}{x}\right) \), that is, the right side depends only on the ratio \( \frac{y}{x} \). Here every term in \( (xy - x^2)\,dy = y^2\,dx \) has total degree 2, so the equation is homogeneous. To solve such equations we use the substitution \( y = vx \), which converts the equation into a variables-separable form that we can integrate directly.
Substitution for homogeneous equations: \( y = vx \) so that \( \frac{dy}{dx} = v + x\frac{dv}{dx} \).
The general solution is \[ \frac{y}{x} - \log|y| = C, \] or equivalently \[ \frac{y}{x} = \log|y| + C. \]
A common mistake is forgetting to replace \( \frac{dy}{dx} \) with \( v + x\frac{dv}{dx} \) after the substitution \( y = vx \); students often write only \( \frac{dv}{dx} \), which drops the \( v \) term and leads to a wrong equation.
The general solution is \[ \frac{y}{x} - \log|y| = C, \] or equivalently \[ \frac{y}{x} = \log|y| + C. \]
One common mistake: After integrating, students forget to substitute \( v = \frac{y}{x} \) back and instead leave the answer in terms of \( v \) — always revert to the original variables \( x \) and \( y \) before writing the final general solution.
Answer: The general solution is \[ \frac{y}{x} - \log|y| = C, \] or equivalently \[ \frac{y}{x} = \log|y| + C. \]
Question: Find the general solution of the differential equation: \[ (x^2 + xy)\, dy = (xy - y^2)\, dx. \]
Solution: We rewrite the equation as \[ \frac{dy}{dx} = \frac{xy - y^2}{x^2 + xy}. \] Dividing numerator and denominator by \( x^2 \): \[ \frac{dy}{dx} = \frac{\frac{y}{x} - \left(\frac{y}{x}\right)^2}{1 + \frac{y}{x}}. \] This is a homogeneous equation. Let \( y = vx \), so \( \frac{dy}{dx} = v + x\frac{dv}{dx} \). Substituting: \[ v + x\frac{dv}{dx} = \frac{v - v^2}{1 + v}. \] Therefore: \[ x\frac{dv}{dx} = \frac{v - v^2}{1 + v} - v = \frac{v - v^2 - v(1+v)}{1+v} = \frac{v - v^2 - v - v^2}{1+v} = \frac{-2v^2}{1+v}. \] Separating variables: \[ \frac{1+v}{v^2}\, dv = -\frac{2}{x}\, dx. \] Writing the left side as \[ \left(\frac{1}{v^2} + \frac{1}{v}\right) dv = -\frac{2}{x}\, dx. \] Integrating both sides: \[ -\frac{1}{v} + \ln|v| = -2\ln|x| + C_1. \] Back-substituting \( v = \frac{y}{x} \): \[ -\frac{x}{y} + \ln\left|\frac{y}{x}\right| = -2\ln|x| + C_1. \] Using \( \ln\left|\frac{y}{x}\right| = \ln|y| - \ln|x| \): \[ -\frac{x}{y} + \ln|y| - \ln|x| + 2\ln|x| = C_1. \] Simplifying: \[ -\frac{x}{y} + \ln|y| + \ln|x| = C_1. \] Writing \( C \) for the arbitrary constant, the general solution is \[ \ln|xy| - \frac{x}{y} = C. \]
Answer: \( \ln|xy| - \dfrac{x}{y} = C \)
Question: Find the general solution of the differential equation: \[ (y^2 - xy)\, dx + x^2\, dy = 0. \]
Solution: Rearranging the equation: \[ x^2\, dy = (xy - y^2)\, dx \] \[ \frac{dy}{dx} = \frac{xy - y^2}{x^2}. \] Dividing numerator and denominator by \( x^2 \): \[ \frac{dy}{dx} = \frac{y}{x} - \left(\frac{y}{x}\right)^2. \] This is a homogeneous equation. Let \( y = vx \), so \( \frac{dy}{dx} = v + x\frac{dv}{dx} \). Substituting: \[ v + x\frac{dv}{dx} = v - v^2. \] Therefore: \[ x\frac{dv}{dx} = -v^2. \] Separating variables: \[ -\frac{dv}{v^2} = \frac{dx}{x}. \] Integrating both sides: \[ \int -v^{-2}\, dv = \int \frac{1}{x}\, dx. \] \[ \frac{1}{v} = \ln|x| + C_1. \] Back-substituting \( v = \frac{y}{x} \), so \( \frac{1}{v} = \frac{x}{y} \): \[ \frac{x}{y} = \ln|x| + C_1. \] Writing \( C \) for the arbitrary constant, the general solution is \[ \frac{x}{y} = \ln|x| + C. \]
Answer: \( \dfrac{x}{y} = \ln|x| + C \)
Question: Find the general solution of the differential equation: \[ (x^2 y - x^3)\, dy = y^3\, dx. \]
Answer: The general solution is \[ \frac{1}{2}\log(y^2 - xy + x^2) - \log|xy| + \frac{1}{\sqrt{3}}\tan^{-1}\left(\frac{2y - x}{\sqrt{3}\,x}\right) = C. \]