Jump to content

Linear differential equation

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by AugPi (talk | contribs) at 13:01, 8 August 2005 (Generalization). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

In mathematics, a linear differential equation is a differential equation of the form

Ly = f,

where the differential operator L is a linear operator, y is the unknown function, and the right hand side f is a given function. The linearity condition on L rules out operations such as taking the square of the derivative of y; but permits, for example, taking the second derivative of y. Therefore a fairly general form of such an equation would be

where D is the differential operator d/dx (i.e. Dy = y' , D²y = y",... ), and the ai are given functions. Such an equation is said to have order n, the index of the highest derivative of f that is involved. (Assuming a possibly existing coefficient an of this derivative to be non zero, it is eliminated by dividing through it. In case it can become zero, different cases must be considered separately for the analysis of the equation.)

If y is assumed to be a function of only one variable, one speaks about an ordinary differential equation, else the derivatives and their coefficients must be understood as (contracted) vectors, matrices or tensors of higher rank, and we have a (linear) partial differential equation.

The case where f = 0 is called a homogeneous equation, and is particularly important to the solution of the general case (by a method traditionally called particular integral and complementary function). When the ai are numbers, the equation is said to have constant coefficients.

Homogeneous linear differential equation with constant coefficients

To solve such an equation one makes a substitution

y = eλx,

to form the characteristic equation

to obtain the solutions

When this polynomial has distinct roots, we have immediately n solutions to the differential equation in the form

It is easy to see that these are then linearly independent, by applying the Vandermonde determinant. Therefore their linear combinations, with n coefficients, should provide a complete solution. So it proves: it is known that the general solution to the homogeneous equation can be formed from a linear combination of the yi, ie.,

Where the solutions are not distinct, it may be necessary to multiply them by some power of x to obtain linear independence; the general solution therefore involves the product of polynomials, of degrees bounded in terms of the multiplicities of the roots, and exponentials.

Inhomogeneous linear differential equation with constant coefficients

To obtain the solution to the inhomogeneous equation, find a particular solution yP(x) by the method of undetermined coefficients; the general solution to the linear differential equation is the sum of the homogeneous and the particular solution.

Other meanings

The term linear differential equation can also refer to an equation in the form

where this equation can be solved by forming the integrating factor

,

multiplying throughout to obtain

which simplifies due to the product rule to

which, on integrating both sides, yields

Example (I)

Given the first order differential equation

which is equivalent to

,

divide both sides by y,

Integrate both sides

,

then exponentiate both sides to obtain

which is the general solution.

Example (II)

The second order differential equation

which represents a simple harmonic oscillator, can be restated as

The expression in parenthesis can be factored out, yielding

which has a pair of linearly independent solutions, one for

and another for

The solutions are, respectively,

and

These solutions provide a basis for the two-dimensional "solution space" of the second order differential equation: meaning that linear combinations of these solutions will also be solutions. In particular, the following solutions can be constructed

and

These last two trigonometric solutions are linearly independent, so they can serve as another basis for the solution space, yielding the following general solution:

Example (III)

Given the equation for the damped harmonic oscillator:

the expression in parentheses can be factored out: first obtain the characteristic equation by replacing D with λ and y with 1:

Solve using the quadratic formula:

Use these data to factor out the original differential equation:

This implies a pair of solutions, one corresponding to

and another to

The solutions are, respectively,

and

where ω = b / 2m. From this linearly independent pair of solutions can be constructed another linearly independent pair which thus serve as a basis for the two-dimensional solution space:

However, if |ω| < |ω0| then it is preferable to get rid of the consequential imaginaries, expressing the general solution as

This latter solution corresponds to the underdamped case, whereas the former one corresponds to the overdamped case: the solutions for the underdamped case oscillate whereas the solutions for the overdamped case do not.

Generalization

From these examples it is not hard to induce the general case: a homogeneous linear differential equation with constant coefficients can be represented as

where P(D) is a polynomial function of the operator D, and y is the function of x to be solved for. Then the polynomial function P(D) can always be factored out as a product of linear factors:

This can in the general case be effected by finding the roots λi of the equation

.

It is evident that each factor (D - λi) will contribute a solution

Moreover, since the degree of the characteristic equation will be the same as the order of its associated linear differential equation, and since the fundamental theorem of algebra guarantees a number of solutions (not necessarily real) for the characteristic equation equal to its degree, then generally (except for degeneracies) a linear differential equation of order n will be found to have n linearly independent solutions which then serve as a basis for the n-dimensional "solution space" which is a vector space with pointwise addition of solutions.

See also