linear differential equation of first order


An ordinary linear differential equation of first order has the form

d⁢yd⁢x+P⁢(x)⁢y=Q⁢(x), (1)

where y means the unknown function, P and Q are two known continuous functionsMathworldPlanetmathPlanetmath.

For finding the solution of (1), we may seek a function y which is productPlanetmathPlanetmath of two functions:

y⁢(x)=u⁢(x)⁢v⁢(x) (2)

One of these two can be chosen freely; the other is determined according to (1).

We substitute (2) and the derivativePlanetmathPlanetmath  d⁢yd⁢x=u⁢d⁢vd⁢x+v⁢d⁢ud⁢x  in (1), getting  u⁢d⁢vd⁢x+v⁢d⁢ud⁢x+P⁢u⁢v=Q,  or

u⁢(d⁢vd⁢x+P⁢v)+v⁢d⁢ud⁢x=Q. (3)

If we chose the function v such that

d⁢vd⁢x+P⁢v= 0,

this condition may be written

d⁢vv=-P⁢d⁢x.

Integrating here both sides gives  ln⁡v=-∫P⁢𝑑x  or

v=e-∫P⁢𝑑x,

where the exponent means an arbitrary antiderivative of  -P.  Naturally, v⁢(x)≠0.

Considering the chosen property of v in (3), this equation can be written

v⁢d⁢ud⁢x=Q,

i.e.

d⁢ud⁢x=Q⁢(x)v⁢(x),

whence

u=∫Q⁢(x)v⁢(x)⁢𝑑x+C=C+∫Q⁢e∫P⁢𝑑x⁢𝑑x.

So we have obtained the solution

y=e-∫P⁢(x)⁢𝑑x⁢[C+∫Q⁢(x)⁢e∫P⁢(x)⁢𝑑x⁢𝑑x] (4)

of the given differential equationMathworldPlanetmath (1).

The result (4) presents the general solution of (1), since the arbitrary C may be always chosen so that any given initial conditionMathworldPlanetmath

y=y0 when x=x0

is fulfilled.

Title linear differential equation of first order
Canonical name LinearDifferentialEquationOfFirstOrder
Date of creation 2013-03-22 16:32:09
Last modified on 2013-03-22 16:32:09
Owner pahio (2872)
Last modified by pahio (2872)
Numerical id 13
Author pahio (2872)
Entry type DerivationMathworldPlanetmath
Classification msc 34A30
Synonym linear ordinary differential equation of first order
Related topic SeparationOfVariables