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
The general solution of the differential equation $\left(x^2+2\right)$ $d y+2 x y d x=e^x\left(x^2+2\right) d x$ is
MathematicsDifferential EquationsTS EAMCETTS EAMCET 2023 (14 May Shift 1)
Options:
  • A $\frac{x}{y}=e^x\left(x^2+x-4\right)+c$
  • B $2 x y=e^x\left(x^2-2 x+4\right)+c$
  • C $\left(x^2+2\right) y=e^x\left(x^2-2 x+4\right)+c$
  • D $\left(x^2+2\right)^2 y=e^x\left(x^2+2 x-4\right)+c$
Solution:
2867 Upvotes Verified Answer
The correct answer is: $\left(x^2+2\right) y=e^x\left(x^2-2 x+4\right)+c$
$\left(x^2+2\right) d y+2 x y d x=e^x\left(x^2+2\right) d x$
$\begin{aligned} & \left(x^2+2\right) d y=\left(e^x\left(x^2+2\right)-2 x y\right) d x \\ & \frac{d y}{d x}=\frac{e^x\left(x^2+2\right)}{x^2+2}-\frac{2 x}{x^2+2} y \\ & \frac{d y}{d x}+\frac{2 x}{x^2+2} y=e^x \\ & \mathrm{IF}=e^{\int \frac{2 x}{x^2+2} d x}=e^{\ln \left(x^2+2\right)} \\ & \mathrm{IF}=x^2+2 \\ & \therefore y \cdot \mathrm{IF}=\int \mathrm{Q} \cdot(\mathrm{IF}) d x+\mathrm{C} \\ & y \cdot\left(x^2+2\right)=\int e_{\text {II }}^x\left(x^2+2\right) d x+\mathrm{C} \\ & y\left(x^2+2\right)=\left(x^2+2\right) \cdot e^x-\int(2 x) \cdot e^x d x+\mathrm{C}\end{aligned}$
$\begin{aligned} & y\left(x^2+2\right)=e^x\left(x^2+2-2\right) \int x e^x d x+\mathrm{C} \\ & y\left(x^2+2\right)=e^x\left(x^2+2\right)-2\left[x \cdot e^x-\int e^x d x\right]+\mathrm{C} \\ & y\left(x^2+2\right)=e^x\left(x^2+2\right)-2 x e^x+2 e^x+\mathrm{C} \\ & y\left(x^2+2\right)=e^x\left(x^2-2 x+4\right)+\mathrm{C}\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.