gaby131o

## Answered question

2022-09-21

What is the general solution of the differential equation $y\prime -2xy={x}^{3}$?

### Answer & Explanation

Katelyn Ryan

Beginner2022-09-22Added 11 answers

We have:

$y\prime -2xy={x}^{3}$ ..... [1]

This is a First Order Linear non-homogeneous Ordinary Differential Equation of the form;

$\frac{dy}{dx}+P\left(x\right)y=Q\left(x\right)$

We can readily generate an integrating factor when we have an equation of this form, given by;

$I={e}^{\int P\left(x\right)dx}$

And if we multiply the DE [1] by this Integrating Factor, I, we will have a perfect product differential;

${e}^{-{x}^{2}}y\prime -2x{e}^{-{x}^{2}}y={x}^{3}{e}^{-{x}^{2}}$
$\therefore \frac{d}{dx}\left({e}^{-{x}^{2}}y\right)={x}^{3}{e}^{-{x}^{2}}$

We can now integrate to get:

The RHS integral can be evaluated by an application of Integration By Parts (omitted) which gives us:

So we have:

${e}^{-{x}^{2}}y=-\frac{1}{2}\left({x}^{2}+1\right){e}^{-{x}^{2}}+C$

Using the initial condition y(0)=2 we can evaluate the constant C

$2{e}^{0}=-\frac{1}{2}\left(0+1\right){e}^{0}+C⇒C=\frac{5}{2}$

Leading to the Particular Solution:

${e}^{-{x}^{2}}y=-\frac{1}{2}\left({x}^{2}+1\right){e}^{-{x}^{2}}+\frac{5}{2}$

$\therefore y=-\frac{1}{2}\left({x}^{2}+1\right){e}^{-{x}^{2}}+\frac{5}{2{e}^{-{x}^{2}}}$

Do you have a similar question?

Recalculate according to your conditions!

Ask your question.
Get an expert answer.

Let our experts help you. Answer in as fast as 15 minutes.

Didn't find what you were looking for?