Math Problem Statement

dy/dx= 2xy +3x²e^x², y(0)=5

Solution

To solve the differential equation dydx=2xy+3x2ex2\frac{dy}{dx} = 2xy + 3x^2 e^{x^2} with the initial condition y(0)=5y(0) = 5, we can use an integrating factor method or attempt to solve it as a first-order linear differential equation.

Step 1: Rearrange the equation

The equation can be written in the form:

dydx2xy=3x2ex2\frac{dy}{dx} - 2xy = 3x^2 e^{x^2}

This is a linear differential equation of the form:

dydx+P(x)y=Q(x)\frac{dy}{dx} + P(x)y = Q(x)

where P(x)=2xP(x) = -2x and Q(x)=3x2ex2Q(x) = 3x^2 e^{x^2}.

Step 2: Find the integrating factor

The integrating factor μ(x)\mu(x) is given by:

μ(x)=eP(x)dx=e2xdx=ex2\mu(x) = e^{\int P(x) dx} = e^{\int -2x dx} = e^{-x^2}

Step 3: Multiply the differential equation by the integrating factor

Multiply the entire differential equation by μ(x)=ex2\mu(x) = e^{-x^2}:

ex2dydx2xex2y=3x2ex2ex2e^{-x^2} \frac{dy}{dx} - 2xe^{-x^2}y = 3x^2 e^{x^2} e^{-x^2}

which simplifies to:

ex2dydx2xex2y=3x2e^{-x^2} \frac{dy}{dx} - 2xe^{-x^2}y = 3x^2

The left-hand side can be recognized as the derivative of yex2y \cdot e^{-x^2}:

ddx(yex2)=3x2\frac{d}{dx}\left( y \cdot e^{-x^2} \right) = 3x^2

Step 4: Integrate both sides

Integrate both sides with respect to xx:

yex2=3x2dxy \cdot e^{-x^2} = \int 3x^2 dx

The integral on the right-hand side is:

3x2dx=x3+C\int 3x^2 dx = x^3 + C

So, the equation becomes:

yex2=x3+Cy \cdot e^{-x^2} = x^3 + C

Step 5: Solve for yy

Multiply both sides by ex2e^{x^2}:

y=ex2(x3+C)y = e^{x^2} \left( x^3 + C \right)

Step 6: Apply the initial condition

Use the initial condition y(0)=5y(0) = 5 to find the constant CC:

5=e0(03+C)5 = e^{0} \cdot (0^3 + C)

C=5C = 5

Final Solution

The solution to the differential equation is:

y=ex2(x3+5)y = e^{x^2} \left( x^3 + 5 \right)

Would you like more details or have any questions about this solution?

Here are 5 related questions for further exploration:

  1. How would the solution change if the initial condition were y(1)=5y(1) = 5 instead of y(0)=5y(0) = 5?
  2. What is the general solution for dydx=2xy+3x2ex2\frac{dy}{dx} = 2xy + 3x^2 e^{x^2} without any initial condition?
  3. How would you find the particular solution if P(x)P(x) were not linear in xx?
  4. Can this method be applied to non-linear differential equations?
  5. How would the solution be affected if the function Q(x)Q(x) had a different form?

Tip: Always check your integrating factor calculation, as it is crucial for simplifying the equation correctly.

Ask a new question for Free

By Image

Drop file here or Click Here to upload

Math Problem Analysis

Mathematical Concepts

Differential Equations
Integrating Factor Method
First-Order Linear Differential Equations

Formulas

Integrating factor formula
Linear differential equation form

Theorems

-

Suitable Grade Level

Undergraduate Level