What is a solution to the differential equation dy/dx=1+2xy?

Aubrie Aguilar

Aubrie Aguilar

Answered question

2022-09-22

What is a solution to the differential equation d y d x = 1 + 2 x y ?

Answer & Explanation

Amiya Watkins

Amiya Watkins

Beginner2022-09-23Added 6 answers

d y d x = 1 + 2 x y
d y d x - 2 x y = 1 ..... [1]

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

d y d x + P ( x ) y = Q ( x )

This is a standard form of a Differential Equation that can be solved by using an Integrating Factor:

I = e P ( x ) d x
    = e   - 2 x   d x
    = e - x 2

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

d y d x - 2 x y = 1
e - x 2 d y d x - 2 x y e - x 2 = 1 e - x 2
d d x ( y e - x 2 ) = e - x 2

This has converted our DE into a First Order separable DE which we can now just separate the variables to get;

y e - x 2 =   e - x 2   d x

The RHS integral does not have an elementary form, but we can use the definition of the Error Function :

erf ( x ) = 2 π 0 x e - t 2   d t

Which gives us:

y e - x 2 = π 2 erf ( x ) + A
y = π 2 e x 2 erf ( x ) + A e x 2

Do you have a similar question?

Recalculate according to your conditions!

New Questions in Differential Equations

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?