Solve the differential equation \((x+2y^3)dy=y\ dx.\)
CBSE Class 12 Maths · Differential Equations
CBSE Class 12 Maths · Differential Equations
Imagine you have two friends, x and y, and you want to find out how x depends on y instead of the usual way around. Sometimes an equation is easier to solve if you flip who is in charge. Here, we let y be the boss and x be the follower. A special multiplying trick called an integrating factor helps untangle the equation neatly. After that, a simple integration gives us the answer: \( x = y^3 + Cy \), where \( C \) is any constant we choose.
Answer: \( x = y^3 + Cy \), where \( C \) is an arbitrary constant.
At first glance this equation looks messy because \( x \) and \( y \) are mixed together. If we try to write it as \( \frac{dy}{dx} \), the equation is NOT linear in \( y \). The trick is to treat \( x \) as the dependent variable and \( y \) as the independent variable, i.e. work with \( \frac{dx}{dy} \). Doing this converts the equation into the standard linear form \( \frac{dx}{dy} + P(y)\,x = Q(y) \). A first-order linear equation is solved using an integrating factor (I.F.), which turns the left-hand side into the derivative of a product so we can integrate directly.
Standard linear form: \( \frac{dx}{dy} + P(y)\,x = Q(y) \). Integrating factor: \( \text{I.F.} = e^{\int P(y)\, dy} \). Solution: \( x \cdot (\text{I.F.}) = \int Q(y)\cdot(\text{I.F.})\, dy + C \).
\( x = y^3 + Cy \), where \( C \) is an arbitrary constant.
A very common error is trying to force the equation into linear form in \( y \) using \( \frac{dy}{dx} \). Because of the \( 2y^3 \) term, that gives a non-linear equation that cannot be solved by an integrating factor. Always check whether treating \( x \) as the dependent variable (\( \frac{dx}{dy} \)) makes it linear instead.
\( x = y^3 + Cy \), where \( C \) is an arbitrary constant.
One common mistake: Students attempt to write the equation as \( \frac{dy}{dx} \) and try to solve it as linear in \( y \). This does not produce a linear equation and leads to unnecessary complications. Always check whether the equation is linear in \( x \) instead, and if so, switch to \( \frac{dx}{dy} \).
Answer: \( x = y^3 + Cy \), where \( C \) is an arbitrary constant.
Question: Solve the differential equation \((y + 2x^3)\,dx = x\,dy\).
Solution: Rewrite the equation by dividing both sides by \(x\,dx\): \[y + 2x^3 = x\,\frac{dy}{dx}\] Rearranging: \[\frac{dy}{dx} - \frac{y}{x} = 2x^2\] This is a linear ODE in \(y\) with \(P(x) = -\dfrac{1}{x}\) and \(Q(x) = 2x^2\). The integrating factor is: \[\mu = e^{\int -\frac{1}{x}\,dx} = e^{-\ln|x|} = \frac{1}{x}\] Multiply both sides by \(\dfrac{1}{x}\): \[\frac{1}{x}\frac{dy}{dx} - \frac{y}{x^2} = 2x\] The left side is the derivative of \(\dfrac{y}{x}\): \[\frac{d}{dx}\left(\frac{y}{x}\right) = 2x\] Integrating both sides with respect to \(x\): \[\frac{y}{x} = \int 2x\,dx = x^2 + C\] Therefore: \[y = x^3 + Cx\]
Answer: \(y = x^3 + Cx\)
Question: Solve the differential equation \((x + 3y^2)\,dy = y\,dx\).
Solution: Divide both sides by \(y\,dy\) to write the equation in terms of \(\dfrac{dx}{dy}\): \[\frac{x + 3y^2}{y} = \frac{dx}{dy}\] Rearranging: \[\frac{dx}{dy} - \frac{x}{y} = 3y\] This is a linear ODE in \(x\) as a function of \(y\), with \(P(y) = -\dfrac{1}{y}\) and \(Q(y) = 3y\). The integrating factor is: \[\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} = 3\] The left side equals \(\dfrac{d}{dy}\left(\dfrac{x}{y}\right)\): \[\frac{d}{dy}\left(\frac{x}{y}\right) = 3\] Integrating both sides with respect to \(y\): \[\frac{x}{y} = \int 3\,dy = 3y + C\] Therefore: \[x = 3y^2 + Cy\]
Answer: \(x = 3y^2 + Cy\)
Question: Solve the differential equation \( (x + 3y^4)\,dy = y\,dx \).
Answer: \( x = y^4 + Cy \), where \( C \) is an arbitrary constant.