Join the Most Relevant JEE Main 2025 Test Series & get 99+ percentile! Join Now
Search any question & find its solution
Question: Answered & Verified by Expert
$y+x^2=\frac{d y}{d x}$ has the solution
MathematicsDifferential EquationsTS EAMCETTS EAMCET 2002
Options:
  • A $y+x^2+2 x+2=c e^x$
  • B $y+x+2 x^2+2=c e^x$
  • C $y^2+x+x^2+2=c e^{2 x}$
  • D $y+x+x^2+2=c e^{2 x}$
Solution:
1904 Upvotes Verified Answer
The correct answer is: $y+x^2+2 x+2=c e^x$
We have,
$$
\begin{aligned}
y+x^2 & =\frac{d y}{d x} \\
\Rightarrow \quad \frac{d y}{d x}-y & =x^2
\end{aligned}
$$
It is a linear differential equation. On comparing with $\frac{d y}{d x}+P y=Q$, we get
$$
\begin{aligned}
& P=-1, Q=x^2 \\
& \mathrm{IF}=e^{\int P d x}=e^{\int-1 d x}=e^{-x}
\end{aligned}
$$
Required solution is
$$
\begin{aligned}
& & y \cdot e^{-x} & =\int x^2 e^{-x} d x+c \\
\Rightarrow & & y e^{-x} & =-x^2 e^{-x}+2 \int x e^{-x} d x \\
& \Rightarrow & y e^{-x} & =-x^2 e^{-x}-2 x e^{-x}+2 \int e^{-x} d x \\
& \Rightarrow & y e^{-x} & =-x^2 e^{-x}-2 x e^{-x}-2 e^{-x}+c \\
& \Rightarrow & y & =-\left(x^2+2 x+2\right)+c e^x \\
\Rightarrow & & y & +x^2+2 x+2=c e^x
\end{aligned}
$$

Looking for more such questions to practice?

Download the MARKS App - The ultimate prep app for IIT JEE & NEET with chapter-wise PYQs, revision notes, formula sheets, custom tests & much more.