Question:medium

Find the general solution of the differential equation

\((2x^{2}+y)\,dx=x\,dy\).

Show Hint

Write it as dy/dx - y/x = 2x, a linear equation with integrating factor 1/x.
Updated On: Nov 16, 2026
Show Solution

Solution and Explanation

Step 1: Rearrange the equation:
Start from $(2x^2+y)\,dx=x\,dy$. Move the $y\,dx$ term across.
\[ x\,dy-y\,dx=2x^2\,dx \]

Step 2: Spot an exact differential:
Divide both sides by $x^2$. The left side becomes a known differential.
\[ \frac{x\,dy-y\,dx}{x^2}=2\,dx \]
By the quotient rule, $d\left(\dfrac yx\right)=\dfrac{x\,dy-y\,dx}{x^2}$.
So the equation reads $d\left(\dfrac yx\right)=2\,dx$.

Step 3: Integrate both sides:
\[ \frac yx=2x+C \]

Step 4: Check by differentiating:
From $y=2x^2+Cx$ we get $\dfrac{dy}{dx}=4x+C$.
Also $\dfrac{2x^2+y}{x}=\dfrac{4x^2+Cx}{x}=4x+C$. Both sides agree.

Final Answer:
\[ \boxed{y=2x^2+Cx} \]
Was this answer helpful?
0