What is the general solution of the differential equation dy/dx−2y+a=0?

tamolam8

tamolam8

Answered question

2022-09-12

What is the general solution of the differential equation d y d x - 2 y + a = 0 ?

Answer & Explanation

Raphael Singleton

Raphael Singleton

Beginner2022-09-13Added 19 answers

First write the DE in standard form:

d y d x - 2 y + a = 0
d y d x - 2 y = - a ......[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   d x
    = e - 2 x

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

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

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

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

Which we can easily integrate to get:

y e - 2 x = 1 2 a e - 2 x + C
y = 1 2 a + C e 2 x

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?