Find the general solution of the differential equation :
\(\dfrac{d}{dx}(xy^2)=2y(1+x^2)\)
CBSE Class 12 Maths · Differential Equations
CBSE Class 12 Maths · Differential Equations
Imagine you have a wrapped gift box whose outside label tells you how fast the contents are growing. We unwrap the label carefully to see what is actually inside. The contents turn out to be a mixture that we simplify by making a clever swap, like relabelling a heavy bag with a lighter tag. Once relabelled, the problem becomes as easy as following a simple recipe. We cook it through, then swap the label back, and out pops the answer neatly.
Answer: \[y=2+\frac{2}{5}x^{2}+\frac{C}{\sqrt{x}}\] where \(C\) is an arbitrary constant.
The equation is written in the compact form \(\frac{d}{dx}(xy^2)=2y(1+x^2)\). The first job is to expand the left side using the product rule, so that we can see the actual relationship between \(y\) and \(\frac{dy}{dx}\). After expanding, we notice a term with \(y^2\), which suggests substituting \(v=y^2\) to reduce the equation to a linear differential equation of the form \(\frac{dv}{dx}+P(x)v=Q(x)\). A linear first-order equation is solved using an integrating factor \(e^{\int P\,dx}\), which turns the left side into an exact derivative that can be integrated directly.
Product rule: \(\frac{d}{dx}(uw)=u\frac{dw}{dx}+w\frac{du}{dx}\). Linear equation: \(\frac{dv}{dx}+P(x)v=Q(x)\), Integrating Factor \(I.F.=e^{\int P\,dx}\), Solution: \(v\cdot(I.F.)=\int Q\cdot(I.F.)\,dx+C\).
\[y=2+\frac{2}{5}x^{2}+\frac{C}{\sqrt{x}}\] where \(C\) is an arbitrary constant.
A common mistake is forgetting to apply the product rule to \(\frac{d}{dx}(xy^2)\) and treating it as if \(x\) were a constant, which loses the \(y^2\) term. Another frequent error is omitting the arbitrary constant \(C\) after integration, giving only a particular solution instead of the required general solution.
\[y=2+\frac{2}{5}x^{2}+\frac{C}{\sqrt{x}}\] where \(C\) is an arbitrary constant.
One common mistake: forgetting to divide by \(2x\) (or equivalently not writing the equation in standard form \(\frac{dy}{dx} + P(x)y = Q(x)\) before computing the integrating factor), which leads to an incorrect \(P(x)\) and therefore a wrong integrating factor.
Answer: \[y=2+\frac{2}{5}x^{2}+\frac{C}{\sqrt{x}}\] where \(C\) is an arbitrary constant.
Question: Find the general solution of the differential equation: \[\frac{d}{dx}(x^2 y) = 3y^2(1 + x^3)\]
Solution: We expand the left-hand side using the product rule. \[\frac{d}{dx}(x^2 y) = x^2 \frac{dy}{dx} + 2x\,y\] So the equation becomes: \[x^2 \frac{dy}{dx} + 2xy = 3y^2(1 + x^3)\] Divide both sides by \(y^2\) (assuming \(y \ne 0\)): \[\frac{x^2}{y^2}\frac{dy}{dx} + \frac{2x}{y} = 3(1 + x^3)\] Let \(v = \frac{x^2}{y}\), so \(y = \frac{x^2}{v}\). Notice that \(\frac{d}{dx}\left(\frac{x^2}{y}\right) = \frac{d}{dx}(x^2 \cdot y^{-1}) = \frac{2x}{y} - \frac{x^2}{y^2}\frac{dy}{dx}\). Rearranging: \[\frac{x^2}{y^2}\frac{dy}{dx} + \frac{2x}{y} = 3(1+x^3)\] The left side is exactly \(-\frac{d}{dx}\left(\frac{x^2}{y}\right) + \frac{2 \cdot 2x}{y}\). Let us use the substitution differently. Let \(t = x^2 y\). Then \(\frac{dt}{dx} = 3y^2(1+x^3)\). Now \(y = \frac{t}{x^2}\), so \(y^2 = \frac{t^2}{x^4}\). Substituting: \[\frac{dt}{dx} = 3 \cdot \frac{t^2}{x^4}(1+x^3)\] Separate variables (\(t \ne 0\)): \[\frac{dt}{t^2} = \frac{3(1+x^3)}{x^4}\,dx\] \[\frac{dt}{t^2} = 3\left(\frac{1}{x^4} + \frac{1}{x}\right)dx\] Integrate both sides: \[\int t^{-2}\,dt = 3\int\left(x^{-4} + x^{-1}\right)dx\] \[-\frac{1}{t} = 3\left(\frac{x^{-3}}{-3} + \ln|x|\right) + C\] \[-\frac{1}{t} = -\frac{1}{x^3} + 3\ln|x| + C\] Substituting back \(t = x^2 y\): \[-\frac{1}{x^2 y} = -\frac{1}{x^3} + 3\ln|x| + C\] Multiply throughout by \(-1\): \[\frac{1}{x^2 y} = \frac{1}{x^3} - 3\ln|x| + C_1\] where \(C_1 = -C\) is an arbitrary constant.
Answer: \(\dfrac{1}{x^2 y} = \dfrac{1}{x^3} - 3\ln|x| + C_1\), where \(C_1\) is an arbitrary constant.
Question: Find the general solution of the differential equation: \[\frac{d}{dx}(y^2 \sin x) = 2y\cos x\,(1 + \sin^2 x)\]
Solution: Expand the left-hand side using the product rule: \[\frac{d}{dx}(y^2 \sin x) = 2y\frac{dy}{dx}\sin x + y^2 \cos x\] The equation becomes: \[2y\sin x\,\frac{dy}{dx} + y^2 \cos x = 2y\cos x\,(1 + \sin^2 x)\] Divide every term by \(2y\) (assuming \(y \ne 0\)): \[\sin x\,\frac{dy}{dx} + \frac{y\cos x}{2} = \cos x\,(1 + \sin^2 x)\] Instead, notice the left-hand side of the original equation is a perfect derivative. Let \(u = y^2 \sin x\). Then: \[\frac{du}{dx} = 2y \cos x\,(1 + \sin^2 x)\] Express \(y\) in terms of \(u\): \(y^2 = \dfrac{u}{\sin x}\), so \(y = \sqrt{\dfrac{u}{\sin x}}\) and \(2y = 2\sqrt{\dfrac{u}{\sin x}}\). Substituting: \[\frac{du}{dx} = 2\sqrt{\frac{u}{\sin x}} \cdot \cos x\,(1 + \sin^2 x)\] Separate variables: \[\frac{du}{2\sqrt{u}} = \frac{\cos x\,(1+\sin^2 x)}{\sqrt{\sin x}}\,dx\] \[u^{-1/2}\,du = \frac{2\cos x\,(1+\sin^2 x)}{\sqrt{\sin x}}\,dx\] Let \(v = \sin x\), so \(dv = \cos x\,dx\). Integrate both sides: \[\int u^{-1/2}\,du = 2\int \frac{1+v^2}{\sqrt{v}}\,dv\] \[2\sqrt{u} = 2\int\left(v^{-1/2} + v^{3/2}\right)dv\] \[2\sqrt{u} = 2\left(2v^{1/2} + \frac{2}{5}v^{5/2}\right) + C\] \[2\sqrt{u} = 4\sqrt{v} + \frac{4}{5}v^{5/2} + C\] Substitute back \(u = y^2 \sin x\) and \(v = \sin x\): \[2\sqrt{y^2 \sin x} = 4\sqrt{\sin x} + \frac{4}{5}(\sin x)^{5/2} + C\] \[2|y|\sqrt{\sin x} = 4\sqrt{\sin x} + \frac{4}{5}(\sin x)^{5/2} + C\] Divide by \(2\sqrt{\sin x}\) (for \(\sin x > 0\)): \[|y| = 2 + \frac{2}{5}\sin^2 x + \frac{C}{2\sqrt{\sin x}}\] Writing in general form (absorbing the sign of \(y\) into the arbitrary constant \(K\)): \[y\sqrt{\sin x} = 2\sqrt{\sin x} + \frac{2}{5}(\sin x)^{5/2} + K\] where \(K\) is an arbitrary constant.
Answer: \(y\sqrt{\sin x} = 2\sqrt{\sin x} + \dfrac{2}{5}(\sin x)^{5/2} + K\), where \(K\) is an arbitrary constant.
Question: Find the general solution of the differential equation: \[ \frac{d}{dx}\left(x^2 y\right) = x^2 + 2x \]
Answer: \[ y = \frac{x}{3} + 1 + \frac{C}{x^2} \] where \( C \) is an arbitrary constant.