|
In mathematics, a linear differential equation is a differential equation of the form Euclid, Greek mathematician, 3rd century BC, as imagined by by Raphael in this detail from The School of Athens. ...
An illustration of a differential equation. ...
- 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 In mathematics, a differential operator is a linear operator defined as a function of the differentiation operator. ...
In mathematics, a linear transformation (also called linear operator or linear map) is a function between two vector spaces that respects the arithmetical operations addition and scalar multiplication defined on vector spaces, or, in other words, it preserves linear combinations. Definition and first consequences Formally, if V and W are...
In mathematics, LHS is informal shorthand for the left-hand side of an equation. ...
In mathematics, a derivative is the rate of change of a quantity. ...
 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. In mathematics, an ordinary differential equation (or ODE) is a relation that contains functions of only one independent variable, and one or more of its derivatives with respect to that variable. ...
In multilinear algebra, a tensor contraction is a sum of products of scalar components of one or more tensors caused by applying the summation convention to a pair of dummy indices which are bound to each other in an expression. ...
In mathematics, a tensor is (in an informal sense) a generalized linear quantity or geometrical entity that can be expressed as a multi-dimensional array relative to a choice of basis; however, as an object in and of itself, a tensor is independent of any chosen frame of reference. ...
In mathematics, a partial differential equation (PDE) is a relation involving an unknown function of several independent variables and its partial derivatives with respect to those variables. ...
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. In mathematics, constant coefficients is a term applied to differential operators, and also some difference operators, to signify that they contain no functions of the independent variables, other than constant functions. ...
Homogeneous equations with constant coefficients
To solve such an equation one makes a substitution , 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 In mathematics, a polynomial P(X) is separable over a field K if its roots in an algebraic closure of K are distinct - that is P(X) has distinct linear factors in some large enough field extension. ...
 It can be shown that these are linearly independent, by applying the Vandermonde determinant. Since homogenous linear DEs obey the superposition principle, 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., In linear algebra, a set of elements of a vector space is linearly independent if none of the vectors in the set can be written as a linear combination of finitely many other vectors in the set. ...
In linear algebra, a Vandermonde matrix is a matrix with a geometric progression in each row, i. ...
In linear algebra, the principle of superposition states that, for a linear system, a linear combination of solutions to the system is also a solution to the same linear system. ...
In mathematics, linear combinations are a concept central to linear algebra and related fields of mathematics. ...
 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. The first method of solving linear ordinary differential equations with constant coefficients is due to Euler, who realized that solutions have the form ezx, for possibly-complex values of z. Thus to solve Leonhard Euler aged 49 (oil painting by Emanuel Handmann, 1756) Leonhard Euler (April 15, 1707 - September 18, 1783) (pronounced oiler) was a Swiss mathematician and physicist. ...
 we set y = ezx, leading to  so dividing by ezx gives the nth-order polynomial  In short the terms  of the original differential equation are replaced by zk. Solving the polynomial gives n values of z, . Plugging those values into gives a basis for the solution; any linear combination of these basis functions will satisfy the differential equation. A root-finding algorithm is a numerical method, or algorithm, for finding a value x such that f(x) = 0, for a given function f. ...
In mathematics, a basis or set of generators is a collection of objects that can be systematically combined to produce a larger collection of objects. ...
In mathematics, linear combinations are a concept central to linear algebra and related fields of mathematics. ...
This equation F(z) = 0, is the "characteristic" equation considered later by Monge and Cauchy. Gaspard Monge. ...
Augustin Louis Cauchy Augustin Louis Cauchy (August 21, 1789 – May 23, 1857) was a French mathematician. ...
| Example | has the characteristic equation
. This has zeroes, i, −i, and 1 (multiplicity 2). The solution basis is then
 This corresponds to the real-valued solution basis
 | If z is a (possibly not real) zero(or root) of F(z) of multiplicity m and then is a solution of the ODE. These functions make up a basis of the ODE's solutions. In mathematics, a root (or a zero) of a function f is an element x in the domain of f such that f(x) = 0. ...
In linear algebra, a basis is a set of vectors that, in a linear combination, can represent every vector in a given vector space, and such that no element of the set can be represented as a linear combination of the others. ...
If the Ai are real then real-valued solutions are preferable. Since the non-real z values will come in conjugate pairs, so will their corresponding ys; replace each pair with their linear combinations Re(y) and Im(y). In mathematics, the complex conjugate of a complex number is given by changing the sign of the imaginary part. ...
In mathematics, linear combinations are a concept central to linear algebra and related fields of mathematics. ...
In mathematics, the real part of a complex number , is the first element of the ordered pair of real numbers representing , i. ...
In mathematics, the imaginary part of a complex number z is the second element of the ordered pair of real numbers representing z, i. ...
A case that involves complex roots can be solved with the aid of Euler's formula. Eulers formula, named after Leonhard Euler, is a mathematical formula in complex analysis that shows a deep relationship between the trigonometric functions and the complex exponential function. ...
Examples Given . The characteristic equation is which has zeroes 2+i and 2−i. Thus the solution basis {y1,y2} is . Now y is a solution iff for . IFF, Iff or iff can stand for: Interchange File Format - a computer file format introduced by Electronic Arts Identification, friend or foe - a radio based identification system utilizing transponders iff - the mathematics concept if and only if International Flavors and Fragrances - a company producing flavors and fragrances International Freedom Foundation...
Because the coefficients are real, - we are likely not interested in the complex solutions
- our basis elements are mutual conjugates
The linear combinations and  will give us a real basis in {u1,u2}.
Simple harmonic oscillator The second order differential equation - D2y = − k2y,
which represents a simple harmonic oscillator, can be restated as In classical mechanics, a Harmonic oscillator is a system which, when displaced from its equilibrium position, experiences a restoring force proportional to the displacement according to Hookes law: where is a positive constant. ...
- (D2 + k2)y = 0.
The expression in parenthesis can be factored out, yielding - (D + ik)(D − ik)y = 0,
which has a pair of linearly independent solutions, one for - (D − ik)y = 0
and another for - (D + ik)y = 0.
The solutions are, respectively, - y0 = A0eikx
and - y1 = A1e − ikx.
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 In mathematics, a vector space (or linear space) is a collection of objects (called vectors) that, informally speaking, may be scaled and added. ...
 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: - yH = A0cos(kx) + A1sin(kx).
Damped harmonic oscillator Given the equation for the damped harmonic oscillator: In classical mechanics, a Harmonic oscillator is a system which, when displaced from its equilibrium position, experiences a restoring force proportional to the displacement according to Hookes law: where is a positive constant. ...
 the expression in parentheses can be factored out: first obtain the characteristic equation by replacing D with λ. This equation must be satisfied for all y, thus:  Solve using the quadratic formula: In mathematics, a quadratic equation is a polynomial equation of the second degree. ...
 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. Oscillation is the variation, typically in time, of some measure as seen, for example, in a swinging pendulum. ...
Nonhomogeneous equation with constant coefficients To obtain the solution to the non-homogeneous equation (sometimes called inhomogeneous equation), find a particular solution yP(x) by either the method of undetermined coefficients or the method of variation of parameters; the general solution to the linear differential equation is the sum of the general solution of the related homogeneous equation and the particular solution. In mathematics, the method of undetermined coefficients is an approach to solving certain ordinary differential equations and recurrence relations. ...
In mathematics, variation of parameters is a technique used in solving certain second order linear inhomogeneous ordinary differential equations. ...
Suppose we face  For later convenience, define the characteristic polynomial  We find the solution basis as in the homogeneous (f=0) case. We now seek a particular solution yp by the variation of parameters method. Let the coefficients of the linear combination be functions of x:  Using the "operator" notation D = d / dx and a broad-minded use of notation, the ODE in question is P(D)y = f; so  With the constraints   - …
 the parameters commute out, with a little "dirt":  But P(D)yj = 0, therefore  This, with the constraints, gives a linear system in the u'j. This much can always be solved; in fact, combining Cramer's rule with the Wronskian, Cramers rule is a theorem in linear algebra, which gives the solution of a system of linear equations in terms of determinants. ...
In mathematics, the Wronskian is a function named after Polish mathematician Josef Hoene-Wronski, especially important in the study of differential equations. ...
 The rest is a matter of integrating u'j. The particular solution is not unique; also satisfies the ODE for any set of constants cj.
Example Suppose y'' − 4y' + 5y = sin(kx). We take the solution basis found above {e(2 + i)x,e(2 − i)x}. -
-
-
Using the list of integrals of exponential functions The following is a list of integrals (antiderivative functions) of exponential functions. ...
-
-
And so -
(Notice that u1 and u2 had factors that canceled y1 and y2; that is typical.) For interest's sake, this ODE has a physical interpretation as a driven damped harmonic oscillator; yp represents the steady state, and c1y1 + c2y2 is the transient. In classical mechanics, a Harmonic oscillator is a system which, when displaced from its equilibrium position, experiences a restoring force proportional to the displacement according to Hookes law: where is a positive constant. ...
Equation with variable coefficients A linear ODE of order n with variable coefficients has the general form  Examples A particular simple example is the Cauchy-Euler equation often used in engineering In mathematics, a Cauchy-Euler equation (also Euler-Cauchy equation) is a second-order ordinary differential equation of the form These differential equations have one relatively simple solution xα. Observe Since xα is zero only when x is zero for positive α (which corresponds to a trivial solution) and never zero...
 First order equation | Example | with the initial condition
. Using the general solution method:
. The integration is done from 0 to x, giving:
. Then we can reduce to:
. Assume that kappa is 2 from the initial condition. | For a first-order linear ODE, with coefficients that may or may not vary with x: y'(x) + p(x)y(x) = r(x) Then,  where κ is the constant of integration, and
 This proof comes from Jean Bernoulli. Let Categories: People stubs | 1667 births | 1748 deaths | Swiss mathematicians ...
 Suppose for some unknown functions u(x) and v(x) that y = uv. Then  Substituting into the differential equation,  Now, the most important step: Since the differential equation is linear we can split this into two independent equations and write   Since v is not zero, the top equation becomes  The solution of this is  Substituting into the second equation  Since y = uv, for arbitrary constant C  Examples Consider a first order differential equation with constant coefficients: In mathematics, constant coefficients is a term applied to differential operators, and also some difference operators, to signify that they contain no functions of the independent variables, other than constant functions. ...
 This equation is particularly relevant to first order systems such as RC circuits and mass-damper systems. A resistor-capacitor circuit (RC circuit), or RC filter or RC network, is one of the simplest analogue electronic filters. ...
Damping is any effect, either deliberately engendered or inherent to a system, that tends to reduce the amplitude of oscillations of an oscillatory system. ...
In this case, p(x) = b, r(x) = 1. Hence its solution is  See also |