For each of the differential equations given in Exercises 1 to 12, find the general solution: \((x+3y^2)\dfrac{dy}{dx}=y(y>0)\)
CBSE Class 12 Maths · Differential Equations
CBSE Class 12 Maths · Differential Equations
Imagine you are trying to untangle a knot, but pulling one end makes it worse. So you try the other end instead. This equation is like that knot — it looks confusing when we think of y depending on x. Swapping the roles, we treat x as the unknown and y as the controller. Suddenly the equation becomes much easier to handle. We then use a special multiplying trick to tidy everything up and find x neatly written in terms of y.
Answer: The general solution is \[x=3y^2+Cy,\] where \(C\) is an arbitrary constant.
At first glance \((x+3y^2)\frac{dy}{dx}=y\) looks messy because it is not linear in \(y\). The trick is to treat \(x\) as the dependent variable and \(y\) as the independent variable. When we rewrite the equation in the form \(\frac{dx}{dy}+P(y)x=Q(y)\), it becomes a first-order linear differential equation in \(x\). We then use the integrating factor \(e^{\int P\,dy}\) to solve it. This is a standard CBSE technique: if an equation is not linear one way, flip the roles of the variables.
A linear equation \(\frac{dx}{dy}+P(y)\,x=Q(y)\) has integrating factor \(\text{I.F.}=e^{\int P\,dy}\), and its solution is \[x\cdot(\text{I.F.})=\int Q\cdot(\text{I.F.})\,dy+C.\]
The general solution is \[x=3y^2+Cy,\] where \(C\) is an arbitrary constant.
A common mistake is to try to force the equation into linear form in \(y\) (as \(\frac{dy}{dx}+Py=Q\)), which is impossible here because of the \(3y^2\) term. Always check: if it is not linear in \(y\), switch and treat \(x\) as the dependent variable and write \(\frac{dx}{dy}\).
The general solution is \[x=3y^2+Cy,\] where \(C\) is an arbitrary constant.
One common mistake: Students attempt to solve the equation as a linear ODE in y (treating y as the dependent variable), which fails because the equation is not linear in y. Always check both orientations — if it is not linear in y, try rewriting it as a linear equation in x by expressing \(\frac{dx}{dy}\) instead of \(\frac{dy}{dx}\).
Answer: The general solution is \[x=3y^2+Cy,\] where \(C\) is an arbitrary constant.
Question: Find the general solution of the differential equation \((y + 2x^2)\dfrac{dy}{dx} = x\), where \(x > 0\).
Solution: We rewrite the equation so that \(y\) is the independent variable and \(x\) is the dependent variable. Given: \((y + 2x^2)\dfrac{dy}{dx} = x\) Rewrite as \(\dfrac{dx}{dy}\): Taking the reciprocal of both sides (treating \(x\) as a function of \(y\)): \[\frac{dx}{dy} = \frac{y + 2x^2}{x}\] This is not immediately linear. Instead, rewrite the original as: \[(y + 2x^2)\frac{dy}{dx} = x \implies \frac{dy}{dx} = \frac{x}{y + 2x^2}\] Taking the reciprocal: \[\frac{dx}{dy} = \frac{y + 2x^2}{x}\] Multiply both sides by \(x\): \[x\frac{dx}{dy} = y + 2x^2\] Let \(v = x^2\), so \(\dfrac{dv}{dy} = 2x\dfrac{dx}{dy}\), which gives \(x\dfrac{dx}{dy} = \dfrac{1}{2}\dfrac{dv}{dy}\). Substituting: \[\frac{1}{2}\frac{dv}{dy} = y + 2v\] \[\frac{dv}{dy} = 2y + 4v\] \[\frac{dv}{dy} - 4v = 2y\] This is a first-order linear ODE in \(v(y)\). Here \(P(y) = -4\) and \(Q(y) = 2y\). Integrating factor: \[\mu = e^{\int -4\,dy} = e^{-4y}\] Multiply both sides by \(e^{-4y}\): \[\frac{d}{dy}\left(v\,e^{-4y}\right) = 2y\,e^{-4y}\] Integrate the right side using integration by parts. Let \(u_1 = 2y\), \(dv_1 = e^{-4y}\,dy\), so \(du_1 = 2\,dy\), \(v_1 = -\dfrac{1}{4}e^{-4y}\): \[\int 2y\,e^{-4y}\,dy = 2y\cdot\left(-\frac{1}{4}e^{-4y}\right) - \int 2\cdot\left(-\frac{1}{4}e^{-4y}\right)dy\] \[= -\frac{y}{2}e^{-4y} + \frac{1}{2}\int e^{-4y}\,dy\] \[= -\frac{y}{2}e^{-4y} + \frac{1}{2}\cdot\left(-\frac{1}{4}e^{-4y}\right) + C\] \[= -\frac{y}{2}e^{-4y} - \frac{1}{8}e^{-4y} + C\] So: \[v\,e^{-4y} = -\frac{y}{2}e^{-4y} - \frac{1}{8}e^{-4y} + C\] Divide through by \(e^{-4y}\): \[v = -\frac{y}{2} - \frac{1}{8} + C\,e^{4y}\] Since \(v = x^2\): \[x^2 = -\frac{y}{2} - \frac{1}{8} + C\,e^{4y}\]
Answer: \(x^2 = C\,e^{4y} - \dfrac{y}{2} - \dfrac{1}{8}\)
Question: Find the general solution of the differential equation \((x + 4y^2)\dfrac{dy}{dx} = y\), where \(y > 0\).
Solution: Rewrite the equation treating \(x\) as a function of \(y\). Given: \((x + 4y^2)\dfrac{dy}{dx} = y\) Taking the reciprocal (i.e., expressing \(\dfrac{dx}{dy}\)): \[\frac{dx}{dy} = \frac{x + 4y^2}{y}\] Rearrange: \[\frac{dx}{dy} = \frac{x}{y} + 4y\] \[\frac{dx}{dy} - \frac{x}{y} = 4y\] This is a first-order linear ODE in \(x(y)\), with \(P(y) = -\dfrac{1}{y}\) and \(Q(y) = 4y\). Integrating factor: \[\mu = e^{\int -\frac{1}{y}\,dy} = e^{-\ln y} = \frac{1}{y}\] Multiply both sides by \(\dfrac{1}{y}\): \[\frac{1}{y}\frac{dx}{dy} - \frac{x}{y^2} = 4\] The left side is \(\dfrac{d}{dy}\!\left(\dfrac{x}{y}\right)\): \[\frac{d}{dy}\left(\frac{x}{y}\right) = 4\] Integrate both sides with respect to \(y\): \[\frac{x}{y} = \int 4\,dy = 4y + C\] Multiply both sides by \(y\): \[x = 4y^2 + Cy\]
Answer: \(x = 4y^2 + Cy\)
Question: Find the general solution of the differential equation \((y + 2x^2)\dfrac{dx}{dy} = x\), where \(x > 0\).
Answer: The general solution is \[y = 2x^2 + Cx,\] where \(C\) is an arbitrary constant.