Question:

Find the particular solution of the differential equation

\(\dfrac{dy}{dx} - 2xy = 3x^{2} e^{x^{2}}\); \(y(0) = 5\).

Show Hint

Write it as a linear equation, find the integrating factor e^(-x^2), integrate, then use y(0) = 5 to fix the constant.
Updated On: Nov 20, 2026
Show Solution
collegedunia
Verified By Collegedunia

Solution and Explanation

Step 1: Put the equation in standard form:
The equation is \( \dfrac{dy}{dx} - 2xy = 3x^{2}e^{x^{2}} \).
It has the form \( \dfrac{dy}{dx} + Py = Q \) with \( P = -2x \) and \( Q = 3x^{2}e^{x^{2}} \).
So it is a first order linear equation.

Step 2: Find the integrating factor:
The integrating factor is \( e^{\int P\,dx} \).
Here \( \int P\,dx = \int -2x\,dx = -x^{2} \).
\[ \text{I.F.} = e^{-x^{2}} \]

Step 3: Multiply and integrate:
Multiplying both sides by the integrating factor makes the left side a perfect derivative.
\[ \dfrac{d}{dx}\left(y\,e^{-x^{2}}\right) = 3x^{2}e^{x^{2}}\cdot e^{-x^{2}} = 3x^{2} \]
Integrate both sides with respect to \( x \).
\[ y\,e^{-x^{2}} = x^{3} + C \]

Step 4: Use the condition y(0) = 5:
Put \( x = 0 \) and \( y = 5 \).
\[ 5\cdot e^{0} = 0 + C \Rightarrow C = 5 \]

Final Answer:
The particular solution is \[ \boxed{y = (x^{3} + 5)\,e^{x^{2}}} \]
Was this answer helpful?
0
0