In each of the Exercises 1 to 10, show that the given differential equation is homogeneous and solve each of them.
\((x^2+xy)dy=(x^2+y^2)dx\)
CBSE Class 12 Maths · Differential Equations
CBSE Class 12 Maths · Differential Equations
Imagine a recipe that always tastes the same no matter how big or small a batch you make. Some maths equations are like that — they look the same whether you scale all the numbers up or down. When an equation has that special quality, you can swap out one variable with a clever trick to make the whole thing much simpler to solve. It is like untangling a knot by pulling just the right loose end. Once untangled, you can solve it easily and then swap back to get your final answer.
Answer: The general solution is \[ \log\left| \frac{x}{(x - y)^2} \right| = \frac{y}{x} + C, \] equivalently \[ 2\log|x - y| = \log|x| - \frac{y}{x} - C. \]
A first-order differential equation \( \frac{dy}{dx} = F(x, y) \) is called homogeneous if \( F(x, y) \) can be written as a function of \( \frac{y}{x} \) only, that is \( F(\lambda x, \lambda y) = F(x, y) \) for every non-zero \( \lambda \). Such equations are solved by the substitution \( y = vx \), which turns them into a variables-separable equation in \( v \) and \( x \). Here we first rewrite the given equation in the form \( \frac{dy}{dx} = F(x, y) \), confirm homogeneity, substitute, separate variables, integrate, and finally return to the original variables.
Substitution for homogeneous equations: \( y = vx \) so that \( \frac{dy}{dx} = v + x\frac{dv}{dx} \). Useful integral: \( \int \frac{1}{1-v}\,dv = -\log|1-v| + C \).
The general solution is \[ \log\left| \frac{x}{(x - y)^2} \right| = \frac{y}{x} + C, \] equivalently \[ 2\log|x - y| = \log|x| - \frac{y}{x} - C. \]
A common mistake is forgetting that after substituting \( y = vx \), the derivative is \( \frac{dy}{dx} = v + x\frac{dv}{dx} \), not just \( x\frac{dv}{dx} \). Students often drop the extra \( v \), which makes the variables-separable step incorrect.
The general solution is \[ \log\left| \frac{x}{(x - y)^2} \right| = \frac{y}{x} + C, \] equivalently \[ 2\log|x - y| = \log|x| - \frac{y}{x} - C. \]
One common mistake: when computing \( x\frac{dv}{dx} = \frac{1+v^2}{1+v} - v \), students often forget to place \( v \) over the common denominator \( (1+v) \) before subtracting, writing \( 1+v^2 - v \) instead of the correct \( 1+v^2 - v(1+v) = 1-v \), which leads to a completely wrong separable equation.
Answer: The general solution is \[ \log\left| \frac{x}{(x - y)^2} \right| = \frac{y}{x} + C, \] equivalently \[ 2\log|x - y| = \log|x| - \frac{y}{x} - C. \]
Question: Show that the differential equation \((x^2 - y^2)\,dx + 2xy\,dy = 0\) is homogeneous and solve it.
Solution: Step 1: Rewrite in the form \(\frac{dy}{dx} = f(x,y)\). From the equation: \[(x^2 - y^2)\,dx + 2xy\,dy = 0\] we get \[\frac{dy}{dx} = -\frac{x^2 - y^2}{2xy} = \frac{y^2 - x^2}{2xy}.\] Step 2: Check homogeneity. Let \(F(x,y) = \frac{y^2 - x^2}{2xy}\). Then \[F(tx, ty) = \frac{t^2 y^2 - t^2 x^2}{2(tx)(ty)} = \frac{t^2(y^2 - x^2)}{2t^2 xy} = \frac{y^2 - x^2}{2xy} = F(x,y).\] So the equation is homogeneous of degree 0. Step 3: Substitute \(y = vx\), so \(\frac{dy}{dx} = v + x\frac{dv}{dx}\). Then \[v + x\frac{dv}{dx} = \frac{v^2 x^2 - x^2}{2x \cdot vx} = \frac{x^2(v^2 - 1)}{2vx^2} = \frac{v^2 - 1}{2v}.\] Step 4: Separate variables. \[x\frac{dv}{dx} = \frac{v^2 - 1}{2v} - v = \frac{v^2 - 1 - 2v^2}{2v} = \frac{-v^2 - 1}{2v}.\] So \[\frac{2v}{v^2 + 1}\,dv = -\frac{dx}{x}.\] Step 5: Integrate both sides. \[\int \frac{2v}{v^2 + 1}\,dv = -\int \frac{dx}{x}.\] The left side gives \(\ln|v^2 + 1|\) (since the numerator is the derivative of \(v^2+1\)), and the right side gives \(-\ln|x|\). So \[\ln(v^2 + 1) = -\ln|x| + \ln|C_1|,\] which means \[\ln(v^2 + 1) + \ln|x| = \ln|C_1|,\] i.e., \[(v^2 + 1)\,x = C\] (absorbing the sign into the constant \(C\)). Step 6: Back-substitute \(v = \frac{y}{x}\). \[\left(\frac{y^2}{x^2} + 1\right) x = C \implies \frac{y^2 + x^2}{x^2} \cdot x = C \implies \frac{x^2 + y^2}{x} = C.\] Therefore the general solution is \[x^2 + y^2 = Cx.\]
Answer: \(x^2 + y^2 = Cx\)
Question: Show that the differential equation \(x\frac{dy}{dx} = y + x\tan\!\left(\frac{y}{x}\right)\) is homogeneous and solve it.
Solution: Step 1: Rewrite as \(\frac{dy}{dx} = f(x,y)\). \[\frac{dy}{dx} = \frac{y}{x} + \tan\!\left(\frac{y}{x}\right) = F\!\left(\frac{y}{x}\right).\] Since \(F\) depends only on \(\frac{y}{x}\), the equation is homogeneous of degree 0. Step 2: Substitute \(y = vx\), so \(\frac{dy}{dx} = v + x\frac{dv}{dx}\). Then \[v + x\frac{dv}{dx} = v + \tan v.\] Step 3: Simplify and separate variables. \[x\frac{dv}{dx} = \tan v,\] so \[\frac{dv}{\tan v} = \frac{dx}{x},\] i.e., \[\cot v\,dv = \frac{dx}{x}.\] Step 4: Integrate both sides. \[\int \cot v\,dv = \int \frac{dx}{x}.\] This gives \[\ln|\sin v| = \ln|x| + \ln|C_1|,\] so \[\ln|\sin v| = \ln|C_1 x|,\] which means \[\sin v = Cx\] (where \(C\) is an arbitrary constant). Step 5: Back-substitute \(v = \frac{y}{x}\). \[\sin\!\left(\frac{y}{x}\right) = Cx.\] Therefore the general solution is \[\sin\!\left(\frac{y}{x}\right) = Cx.\]
Answer: \(\sin\!\left(\dfrac{y}{x}\right) = Cx\)
Question: Show that the differential equation \( (x^2 + y^2)\,dx = (xy + x^2)\,dy \) is homogeneous and solve it.
Answer: The general solution is \[ \log\left|\frac{x}{(x-y)^2}\right| = \frac{y}{x} + C \] where \( C \) is an arbitrary constant. Equivalently, \[ \log|x| - 2\log|x - y| = \frac{y}{x} + C. \]