Question:

If \(x=x(y)\) is the solution of the differential equation, \(y\,\mathrm{d}x-\left(x+2y^{2}\right)\mathrm{d}y=0\), with \(x(-\pi)=\pi^{2}\), then \(x\) is equal to :

Show Hint

Write the equation as a linear differential equation in x with y as the independent variable and multiply by the integrating factor \(1/y\).
Updated On: Nov 12, 2026
  • \(2y^{2}+\pi y\)
  • \(-y^{2}-2\pi y\)
  • \(-2y^{2}+3\pi y\)
  • \(2y^{2}-\pi^{2}\)
Show Solution
collegedunia
Verified By Collegedunia

The Correct Option is A

Solution and Explanation

Rewrite: \(\frac{dx}{dy}=\frac{x+2y^{2}}{y}\Rightarrow \frac{dx}{dy}-\frac{1}{y}x=2y\).
This is linear in \(x\) with \(P=-\frac{1}{y}\), so the integrating factor is \(e^{-\int \frac{dy}{y}}=\frac{1}{y}\) (for \(y\ne 0\)).
\(\frac{d}{dy}\left(\frac{x}{y}\right)=2\Rightarrow \frac{x}{y}=2y+C\), i.e. \(x=2y^{2}+Cy\).
Using \(x(-\pi)=\pi^{2}\): \(\pi^{2}=2\pi^{2}-C\pi\Rightarrow C=\pi\).
Hence \(x=2y^{2}+\pi y\).
Answer: (1) \(2y^{2}+\pi y\)
Was this answer helpful?
0
0