Linear differential equation
Linear differential equation
Main page

Linear differential equation

logo
Community Hub0 subscribers
Read side by side
from Wikipedia

In mathematics, a linear differential equation is a differential equation that is linear in the unknown function and its derivatives, so it can be written in the form where a0(x), ..., an(x) and b(x) are arbitrary differentiable functions that do not need to be linear, and y′, ..., y(n) are the successive derivatives of an unknown function y of the variable x.

Such an equation is an ordinary differential equation (ODE). A linear differential equation may also be a linear partial differential equation (PDE), if the unknown function depends on several variables, and the derivatives that appear in the equation are partial derivatives.

Types of solution

[edit]

A linear differential equation or a system of linear equations such that the associated homogeneous equations have constant coefficients may be solved by quadrature, which means that the solutions may be expressed in terms of integrals. This is also true for a linear equation of order one, with non-constant coefficients. An equation of order two or higher with non-constant coefficients cannot, in general, be solved by quadrature. For order two, Kovacic's algorithm allows deciding whether there are solutions in terms of integrals, and computing them if any.

The solutions of homogeneous linear differential equations with polynomial coefficients are called holonomic functions. This class of functions is stable under sums, products, differentiation, integration, and contains many usual functions and special functions such as exponential function, logarithm, sine, cosine, inverse trigonometric functions, error function, Bessel functions and hypergeometric functions. Their representation by the defining differential equation and initial conditions allows making algorithmic (on these functions) most operations of calculus, such as computation of antiderivatives, limits, asymptotic expansion, and numerical evaluation to any precision, with a certified error bound.

Basic terminology

[edit]

The highest order of derivation that appears in a (linear) differential equation is the order of the equation. The term b(x), which does not depend on the unknown function and its derivatives, is sometimes called the constant term of the equation (by analogy with algebraic equations), even when this term is a non-constant function. If the constant term is the zero function, then the differential equation is said to be homogeneous, as it is a homogeneous polynomial in the unknown function and its derivatives. The equation obtained by replacing, in a linear differential equation, the constant term by the zero function is the associated homogeneous equation. A differential equation has constant coefficients if only constant functions appear as coefficients in the associated homogeneous equation.

A solution of a differential equation is a function that satisfies the equation. The solutions of a homogeneous linear differential equation form a vector space. In the ordinary case, this vector space has a finite dimension, equal to the order of the equation. All solutions of a linear differential equation are found by adding to a particular solution any solution of the associated homogeneous equation.

Linear differential operator

[edit]

A basic differential operator of order i is a mapping that maps any differentiable function to its ith derivative, or, in the case of several variables, to one of its partial derivatives of order i. It is commonly denoted in the case of univariate functions, and in the case of functions of n variables. The basic differential operators include the derivative of order 0, which is the identity mapping.

A linear differential operator (abbreviated, in this article, as linear operator or, simply, operator) is a linear combination of basic differential operators, with differentiable functions as coefficients. In the univariate case, a linear operator has thus the form[1] where a0(x), ..., an(x) are differentiable functions, and the nonnegative integer n is the order of the operator (if an(x) is not the zero function).

Let L be a linear differential operator. The application of L to a function f is usually denoted Lf or Lf(X), if one needs to specify the variable (this must not be confused with a multiplication). A linear differential operator is a linear operator, since it maps sums to sums and the product by a scalar to the product by the same scalar.

As the sum of two linear operators is a linear operator, as well as the product (on the left) of a linear operator by a differentiable function, the linear differential operators form a vector space over the real numbers or the complex numbers (depending on the nature of the functions that are considered). They form also a free module over the ring of differentiable functions.

The language of operators allows a compact writing for differentiable equations: if is a linear differential operator, then the equation may be rewritten

There may be several variants to this notation; in particular the variable of differentiation may appear explicitly or not in y and the right-hand and of the equation, such as Ly(x) = b(x) or Ly = b.

The kernel of a linear differential operator is its kernel as a linear mapping, that is the vector space of the solutions of the (homogeneous) differential equation Ly = 0.

In the case of an ordinary differential operator of order n, Carathéodory's existence theorem implies that, under very mild conditions, the kernel of L is a vector space of dimension n, and that the solutions of the equation Ly(x) = b(x) have the form where c1, ..., cn are arbitrary numbers. Typically, the hypotheses of Carathéodory's theorem are satisfied in an interval I, if the functions b, a0, ..., an are continuous in I, and there is a positive real number k such that |an(x)| > k for every x in I.

Homogeneous equation with constant coefficients

[edit]

A homogeneous linear differential equation has constant coefficients if it has the form where a1, ..., an are (real or complex) numbers. In other words, it has constant coefficients if it is defined by a linear operator with constant coefficients.

The study of these differential equations with constant coefficients dates back to Leonhard Euler, who introduced the exponential function , which is the unique solution of the equation , such that . It follows that the nth derivative of is , and this allows solving homogeneous linear differential equations rather easily.

Let be a homogeneous linear differential equation with constant coefficients (that is a0, ..., an are real or complex numbers).

Searching solutions of this equation that have the form eαx is equivalent to searching the constants α such that Factoring out eαx (which is never zero), shows that α must be a root of the characteristic polynomial of the differential equation, which is the left-hand side of the characteristic equation

When these roots are all distinct, one has n distinct solutions that are not necessarily real, even if the coefficients of the equation are real. These solutions can be shown to be linearly independent, by considering the Vandermonde determinant of the values of these solutions at x = 0, ..., n – 1. Together they form a basis of the vector space of solutions of the differential equation (that is, the kernel of the differential operator).

Example

has the characteristic equation This has zeros, i, i, and 1 (multiplicity 2). The solution basis is thus A real basis of solution is thus

In the case where the characteristic polynomial has only simple roots, the preceding provides a complete basis of the solutions vector space. In the case of multiple roots, more linearly independent solutions are needed for having a basis. These have the form where k is a nonnegative integer, α is a root of the characteristic polynomial of multiplicity m, and k < m. For proving that these functions are solutions, one may remark that if α is a root of the characteristic polynomial of multiplicity m, the characteristic polynomial may be factored as P(t)(tα)m. Thus, applying the differential operator of the equation is equivalent with applying first m times the operator , and then the operator that has P as characteristic polynomial. By the exponential shift theorem,

and thus one gets zero after k + 1 application of .

As, by the fundamental theorem of algebra, the sum of the multiplicities of the roots of a polynomial equals the degree of the polynomial, the number of above solutions equals the order of the differential equation, and these solutions form a basis of the vector space of the solutions.

In the common case where the coefficients of the equation are real, it is generally more convenient to have a basis of the solutions consisting of real-valued functions. Such a basis may be obtained from the preceding basis by remarking that, if a + ib is a root of the characteristic polynomial, then aib is also a root, of the same multiplicity. Thus a real basis is obtained by using Euler's formula, and replacing and by and .

Second-order case

[edit]

A homogeneous linear differential equation of the second order may be written and its characteristic polynomial is

If a and b are real, there are three cases for the solutions, depending on the discriminant D = a2 − 4b. In all three cases, the general solution depends on two arbitrary constants c1 and c2.

  • If D > 0, the characteristic polynomial has two distinct real roots α, and β. In this case, the general solution is
  • If D = 0, the characteristic polynomial has a double root a/2, and the general solution is
  • If D < 0, the characteristic polynomial has two complex conjugate roots α ± βi, and the general solution is which may be rewritten in real terms, using Euler's formula as

Finding the solution y(x) satisfying y(0) = d1 and y′(0) = d2, one equates the values of the above general solution at 0 and its derivative there to d1 and d2, respectively. This results in a linear system of two linear equations in the two unknowns c1 and c2. Solving this system gives the solution for a so-called Cauchy problem, in which the values at 0 for the solution of the DEQ and its derivative are specified.

Non-homogeneous equation with constant coefficients

[edit]

A non-homogeneous equation of order n with constant coefficients may be written where a1, ..., an are real or complex numbers, f is a given function of x, and y is the unknown function (for sake of simplicity, "(x)" will be omitted in the following).

There are several methods for solving such an equation. The best method depends on the nature of the function f that makes the equation non-homogeneous. If f is a linear combination of exponential and sinusoidal functions, then the exponential response formula may be used. If, more generally, f is a linear combination of functions of the form xneax, xn cos(ax), and xn sin(ax), where n is a nonnegative integer, and a a constant (which need not be the same in each term), then the method of undetermined coefficients may be used. Still more general, the annihilator method applies when f satisfies a homogeneous linear differential equation, typically, a holonomic function.

The most general method is the variation of constants, which is presented here.

The general solution of the associated homogeneous equation is where (y1, ..., yn) is a basis of the vector space of the solutions and u1, ..., un are arbitrary constants. The method of variation of constants takes its name from the following idea. Instead of considering u1, ..., un as constants, they can be considered as unknown functions that have to be determined for making y a solution of the non-homogeneous equation. For this purpose, one adds the constraints which imply (by product rule and induction) for i = 1, ..., n – 1, and

Replacing in the original equation y and its derivatives by these expressions, and using the fact that y1, ..., yn are solutions of the original homogeneous equation, one gets

This equation and the above ones with 0 as left-hand side form a system of n linear equations in u1, ..., un whose coefficients are known functions (f, the yi, and their derivatives). This system can be solved by any method of linear algebra. The computation of antiderivatives gives u1, ..., un, and then y = u1y1 + ⋯ + unyn.

As antiderivatives are defined up to the addition of a constant, one finds again that the general solution of the non-homogeneous equation is the sum of an arbitrary solution and the general solution of the associated homogeneous equation.

First-order equation with variable coefficients

[edit]

The general form of a linear ordinary differential equation of order 1, after dividing out the coefficient of y′(x), is:

If the equation is homogeneous, i.e. g(x) = 0, one may rewrite and integrate: where k is an arbitrary constant of integration and is any antiderivative of f. Thus, the general solution of the homogeneous equation is where c = ek is an arbitrary constant.

For the general non-homogeneous equation, it is useful to multiply both sides of the equation by the reciprocal eF of a solution of the homogeneous equation.[2] This gives As the product rule allows rewriting the equation as Thus, the general solution is where c is a constant of integration, and F is any antiderivative of f (changing of antiderivative amounts to change the constant of integration).

Example

[edit]

Solving the equation The associated homogeneous equation gives that is

Dividing the original equation by one of these solutions gives That is and For the initial condition one gets the particular solution

System of linear differential equations

[edit]

A system of linear differential equations consists of several linear differential equations that involve several unknown functions. In general one restricts the study to systems such that the number of unknown functions equals the number of equations.

An arbitrary linear ordinary differential equation and a system of such equations can be converted into a first order system of linear differential equations by adding variables for all but the highest order derivatives. That is, if appear in an equation, one may replace them by new unknown functions that must satisfy the equations and for i = 1, ..., k – 1.

A linear system of the first order, which has n unknown functions and n differential equations may normally be solved for the derivatives of the unknown functions. If it is not the case this is a differential-algebraic system, and this is a different theory. Therefore, the systems that are considered here have the form where and the are functions of x. In matrix notation, this system may be written (omitting "(x)")

The solving method is similar to that of a single first order linear differential equations, but with complications stemming from noncommutativity of matrix multiplication.

Let be the homogeneous equation associated to the above matrix equation. Its solutions form a vector space of dimension n, and are therefore the columns of a square matrix of functions , whose determinant is not the zero function. If n = 1, or A is a matrix of constants, or, more generally, if A commutes with its antiderivative , then one may choose U equal the exponential of B. In fact, in these cases, one has In the general case there is no closed-form solution for the homogeneous equation, and one has to use either a numerical method, or an approximation method such as Magnus expansion.

Knowing the matrix U, the general solution of the non-homogeneous equation is where the column matrix is an arbitrary constant of integration.

If initial conditions are given as the solution that satisfies these initial conditions is

Higher order with variable coefficients

[edit]

A linear ordinary equation of order one with variable coefficients may be solved by quadrature, which means that the solutions may be expressed in terms of integrals. This is not the case for order at least two. This is the main result of Picard–Vessiot theory which was initiated by Émile Picard and Ernest Vessiot, and whose recent developments are called differential Galois theory.

The impossibility of solving by quadrature can be compared with the Abel–Ruffini theorem, which states that an algebraic equation of degree at least five cannot, in general, be solved by radicals. This analogy extends to the proof methods and motivates the denomination of differential Galois theory.

Similarly to the algebraic case, the theory allows deciding which equations may be solved by quadrature, and if possible solving them. However, for both theories, the necessary computations are extremely difficult, even with the most powerful computers.

Nevertheless, the case of order two with rational coefficients has been completely solved by Kovacic's algorithm.

Cauchy–Euler equation

[edit]

Cauchy–Euler equations are examples of equations of any order, with variable coefficients, that can be solved explicitly. These are the equations of the form where are constant coefficients.

Holonomic functions

[edit]

A holonomic function, also called a D-finite function, is a function that is a solution of a homogeneous linear differential equation with polynomial coefficients.

Most functions that are commonly considered in mathematics are holonomic or quotients of holonomic functions. In fact, holonomic functions include polynomials, algebraic functions, logarithm, exponential function, sine, cosine, hyperbolic sine, hyperbolic cosine, inverse trigonometric and inverse hyperbolic functions, and many special functions such as Bessel functions and hypergeometric functions.

Holonomic functions have several closure properties; in particular, sums, products, derivative and integrals of holonomic functions are holonomic. Moreover, these closure properties are effective, in the sense that there are algorithms for computing the differential equation of the result of any of these operations, knowing the differential equations of the input.[3]

Usefulness of the concept of holonomic functions results of Zeilberger's theorem, which follows.[3]

A holonomic sequence is a sequence of numbers that may be generated by a recurrence relation with polynomial coefficients. The coefficients of the Taylor series at a point of a holonomic function form a holonomic sequence. Conversely, if the sequence of the coefficients of a power series is holonomic, then the series defines a holonomic function (even if the radius of convergence is zero). There are efficient algorithms for both conversions, that is for computing the recurrence relation from the differential equation, and vice versa. [3]

It follows that, if one represents (in a computer) holonomic functions by their defining differential equations and initial conditions, most calculus operations can be done automatically on these functions, such as derivative, indefinite and definite integral, fast computation of Taylor series (thanks of the recurrence relation on its coefficients), evaluation to a high precision with certified bound of the approximation error, limits, localization of singularities, asymptotic behavior at infinity and near singularities, proof of identities, etc.[4]

See also

[edit]

References

[edit]
[edit]
Revisions and contributorsEdit on WikipediaRead on Wikipedia
from Grokipedia
A linear differential equation is a differential equation in which the unknown function and its derivatives appear linearly, meaning to the first power with no products between them or nonlinear functions involving them, typically expressed for an nth-order ordinary differential equation (ODE) as $ a_n(x) y^{(n)}(x) + a_{n-1}(x) y^{(n-1)}(x) + \cdots + a_1(x) y'(x) + a_0(x) y(x) = g(x) $, where the coefficients $ a_i(x) $ and the forcing function $ g(x) $ are given functions of the independent variable $ x $.[1] These equations are fundamental in mathematics and applied sciences because they satisfy the superposition principle, allowing solutions to be added and scaled to form new solutions, which simplifies analysis of systems where responses are proportional to inputs.[2] Linear differential equations encompass both homogeneous cases (where $ g(x) = 0 $) and nonhomogeneous cases (where $ g(x) \neq 0 $), and they can involve partial derivatives in partial differential equations (PDEs), though the focus is often on ODEs for initial value problems.[3] For first-order linear ODEs of the form $ y'(x) + p(x) y(x) = q(x) $, solutions are obtained using an integrating factor $ \mu(x) = e^{\int p(x) , dx} $, which transforms the equation into an exact derivative that can be integrated directly.[2] Higher-order equations with constant coefficients are solved via the characteristic equation, whose roots determine the form of the general solution, often involving exponentials, sines, and cosines for complex roots.[1] Methods like undetermined coefficients and variation of parameters extend to nonhomogeneous cases, making these equations solvable analytically in many scenarios.[3] Linear differential equations model a wide array of phenomena, including population growth, electrical circuits, mechanical vibrations, and heat transfer, due to their ability to represent systems governed by linear approximations of physical laws.[2] Their study forms a core part of differential equations theory, with existence and uniqueness theorems guaranteeing solutions under conditions like continuity of coefficients.[3]

Basic Concepts

Definition

A linear ordinary differential equation (ODE) of order $ n $ takes the form
an(x)dnydxn+an1(x)dn1ydxn1++a1(x)dydx+a0(x)y=g(x), a_n(x) \frac{d^n y}{dx^n} + a_{n-1}(x) \frac{d^{n-1} y}{dx^{n-1}} + \cdots + a_1(x) \frac{dy}{dx} + a_0(x) y = g(x),
where the $ a_i(x) $ (for $ i = 0, 1, \dots, n $) are given coefficient functions, $ y = y(x) $ is the unknown dependent variable, and $ g(x) $ is a known forcing function (also called the nonhomogeneous term).[4] The order $ n $ refers to the highest derivative present in the equation. The equation is linear because the unknown function $ y $ and all its derivatives appear to the first (linear) power only, with no products among them or nonlinear functions (such as squares, exponentials, or compositions) involving $ y $ or its derivatives; any violation of this condition renders the equation nonlinear.[4] If $ g(x) = 0 $, the equation is termed homogeneous (detailed further in the Terminology section). This entry concerns ordinary differential equations, which depend on a single independent variable; partial differential equations, involving partial derivatives with respect to multiple independent variables, lie beyond the present scope.[4] Linear differential equations originated in the 18th century amid efforts by Leonhard Euler and Joseph-Louis Lagrange to model mechanical systems, such as celestial motion and variational problems in physics. Euler advanced methods for integrating linear ODEs as early as 1736, applying them to tractional equations in mechanics.[5][6] Lagrange built upon this foundation in the 1760s and 1770s, developing systematic approaches to solving and applying linear ODEs in analytical mechanics and astronomy.[5][7]

Terminology

The order of a linear differential equation is defined as the highest order of derivative appearing in the equation.[8] For instance, an equation involving only the first derivative is first-order, while one with the second derivative is second-order.[9] A linear differential equation is homogeneous if the right-hand side is zero, meaning all terms involve the unknown function or its derivatives; otherwise, it is non-homogeneous.[8] Non-homogeneous second-order differential equations are sometimes referred to as heterogeneous, particularly in certain academic papers and non-English influenced literature, though the standard terms in English are non-homogeneous or inhomogeneous. In standard form for an nth-order equation, this appears as an(x)y(n)++a1(x)y+a0(x)y=g(x)a_n(x) y^{(n)} + \cdots + a_1(x) y' + a_0(x) y = g(x), where g(x)=0g(x) = 0 for the homogeneous case.[9] Standard notation in linear differential equations typically denotes the dependent variable as y(x)y(x), with the independent variable xx, and derivatives using primes: y=dydxy' = \frac{dy}{dx}, y=d2ydx2y'' = \frac{d^2 y}{dx^2}, and so on.[2] Alternatively, the differential operator D=ddxD = \frac{d}{dx} is used in some contexts, so Dy=yDy = y' and Dny=y(n)D^n y = y^{(n)}.[2] An initial value problem (IVP) consists of a differential equation supplemented by initial conditions specifying the value of the solution and its first n1n-1 derivatives at a single point x0x_0, for an nth-order equation.[8] A boundary value problem (BVP), in contrast, specifies conditions at multiple points, often the endpoints of an interval.[8] The general solution of an nth-order linear homogeneous differential equation is a linear combination of nn linearly independent solutions, containing nn arbitrary constants.[9] For a non-homogeneous equation, it is the sum of the general solution to the associated homogeneous equation and a particular solution to the non-homogeneous equation.[8] A particular solution is any specific function that satisfies the non-homogeneous equation, without arbitrary constants.[9] Solutions to a linear homogeneous differential equation are linearly independent if no nontrivial linear combination of them equals the zero function on an interval.[10] The Wronskian provides a test for linear independence: for nn functions y1,,yny_1, \dots, y_n, it is the determinant
W(y1,,yn)=det(y1y2yny1y2yny1(n1)y2(n1)yn(n1)), W(y_1, \dots, y_n) = \det \begin{pmatrix} y_1 & y_2 & \cdots & y_n \\ y_1' & y_2' & \cdots & y_n' \\ \vdots & \vdots & \ddots & \vdots \\ y_1^{(n-1)} & y_2^{(n-1)} & \cdots & y_n^{(n-1)} \end{pmatrix},
and if W0W \neq 0 at some point in the interval, the functions are linearly independent there.[10]
This terminology assumes familiarity with basic calculus concepts, such as derivatives and integrals, but no prior knowledge of differential equations.[2]

Linear Differential Operators

A linear differential operator is a mathematical object that formalizes the action of differentiation in a linear manner on functions. Formally, it is expressed as $ L = \sum_{k=0}^n a_k(x) D^k $, where $ D = \frac{d}{dx} $ denotes the differentiation operator, $ a_k(x) $ are coefficient functions, and $ n $ is the order of the operator.[11] This representation captures linear ordinary differential equations of order $ n $ in operator notation.[12] The defining property of such an operator is linearity: for any functions $ y $ and $ z $ in its domain and scalar $ c $, $ L(c y + z) = c L(y) + L(z) $.[13] This additivity and homogeneity under scalar multiplication ensure that the operator preserves linear combinations of functions.[12] Composition of operators is also possible; for instance, the product $ L_1 L_2 $ applied to a function yields another linear differential operator of order equal to the sum of the individual orders, provided the coefficients allow.[11] In the abstract setting, a linear differential equation takes the form $ L[y] = g(x) $, where $ g(x) $ is a given function; the kernel of $ L $, denoted $ \ker L = { y \mid L[y] = 0 } $, consists of all functions annihilated by the operator and spans the solution space for the associated homogeneous equation $ L[y] = 0 $.[11] The adjoint operator $ L^* $ provides a dual perspective, defined through integration by parts to satisfy relations like $ \int u L[v] , dx = \int (L^* u) v , dx + $ boundary terms, which is useful in variational formulations and boundary value problems.[11][14] For a second-order example, consider $ L = a(x) D^2 + b(x) D + c(x) $, which corresponds to the equation $ a(x) y'' + b(x) y' + c(x) y = g(x) $; here, the linearity ensures that superpositions of solutions to the homogeneous case remain solutions.[11]

Theory of Solutions

Types of Solutions

The general solution to a linear ordinary differential equation (ODE) of order nn is given by $ y(x) = y_h(x) + y_p(x) $, where $ y_h(x) $ is the general solution to the associated homogeneous equation and $ y_p(x) $ is any particular solution to the nonhomogeneous equation.[15] This superposition principle holds because the set of solutions to the homogeneous equation forms a vector space of dimension nn, and adding a particular solution shifts the solution space affinely to cover all solutions to the nonhomogeneous case.[16] Classical solutions to linear ODEs are functions that are sufficiently differentiable—typically nn times continuously differentiable for an nnth-order equation—and satisfy the differential equation pointwise at every point in their domain of definition.[17] These solutions assume smooth coefficients and forcing terms, ensuring the derivatives exist in the classical sense without singularities or discontinuities disrupting the pointwise equality.[18] Generalized solutions extend the notion of classical solutions for linear ODEs with discontinuous or nonsmooth coefficients or right-hand sides, often defined in the sense of distributions or through integral formulations that allow weaker regularity conditions.[19] For instance, in cases where the right-hand side is non-differentiable, generalized derivatives can be employed to construct solutions that satisfy the equation in a distributional sense, preserving the linear structure while accommodating irregularities.[20] Series solutions represent formal power series expansions that satisfy linear ODEs term by term, such as ordinary power series around regular points or Frobenius series around singular points, with convergence guaranteed within a radius determined by the distance to the nearest singularity in the complex plane.[21] The Frobenius method, in particular, yields solutions of the form $ y(x) = x^r \sum_{k=0}^{\infty} a_k x^k $ for equations with regular singular points, providing analytic approximations valid in annular regions around the singularity.[22] The Picard-Lindelöf theorem establishes local existence and uniqueness of solutions to initial value problems for first-order linear ODEs $ y' = f(x, y) $ with initial condition $ y(x_0) = y_0 $, provided $ f $ is continuous and Lipschitz continuous in $ y $ on a rectangular domain around $ (x_0, y_0) $; this extends to higher-order linear systems via reduction to first-order form.[23] The theorem guarantees a unique solution on some interval $ |x - x_0| < h $, where $ h $ depends on the Lipschitz constant and bounds of $ f $, ensuring that classical solutions are isolated under these conditions.[24]

Homogeneous Equations

A homogeneous linear differential equation of order nn is expressed in the form L[y]=0L[y] = 0, where LL is a linear differential operator acting on sufficiently differentiable functions yy, and the equation lacks a forcing term.[25] The set of all solutions to this equation forms a vector space over the field of scalars (typically the real or complex numbers), with addition and scalar multiplication defined pointwise on the functions. This vector space has dimension exactly nn, matching the order of the equation, provided the coefficients of LL are continuous on an appropriate interval.[26][27] The superposition principle is a key property of this solution space: if y1,,yky_1, \dots, y_k are solutions to L[y]=0L[y] = 0, then any linear combination i=1kciyi\sum_{i=1}^k c_i y_i, where cic_i are constants, is also a solution. This follows directly from the linearity of the operator LL, as L[ciyi]=ciL[yi]=0L\left[\sum c_i y_i\right] = \sum c_i L[y_i] = 0.[25][26] The principle underscores the vector space structure and enables the construction of general solutions from basis elements. A fundamental set of solutions consists of nn linearly independent solutions {y1,,yn}\{y_1, \dots, y_n\} that span the entire solution space. Linear independence means that the only scalars c1,,cnc_1, \dots, c_n satisfying ciyi=0\sum c_i y_i = 0 (as functions) are all ci=0c_i = 0. Such a set forms a basis for the vector space, and the general solution is then given by
yh(x)=c1y1(x)++cnyn(x), y_h(x) = c_1 y_1(x) + \cdots + c_n y_n(x),
where the cic_i are arbitrary constants determined by initial or boundary conditions.[25][26][27] Linear independence of a set {y1,,yn}\{y_1, \dots, y_n\} can be verified using the Wronskian, defined as the determinant
W(y1,,yn)(x)=det(y1y2yny1y2yny1(n1)y2(n1)yn(n1)). W(y_1, \dots, y_n)(x) = \det \begin{pmatrix} y_1 & y_2 & \cdots & y_n \\ y_1' & y_2' & \cdots & y_n' \\ \vdots & \vdots & \ddots & \vdots \\ y_1^{(n-1)} & y_2^{(n-1)} & \cdots & y_n^{(n-1)} \end{pmatrix}.
If W(y1,,yn)(x0)0W(y_1, \dots, y_n)(x_0) \neq 0 at some point x0x_0 in the interval of interest, then the solutions are linearly independent on that interval. Conversely, if they are linearly dependent, the Wronskian vanishes identically.[25][26][27] The evolution of the Wronskian is governed by Abel's identity, which describes its derivative in terms of the coefficients of the differential operator. For a second-order equation y+p(x)y+q(x)y=0y'' + p(x) y' + q(x) y = 0, the Wronskian satisfies
ddxW(y1,y2)(x)=p(x)W(y1,y2)(x), \frac{d}{dx} W(y_1, y_2)(x) = -p(x) W(y_1, y_2)(x),
leading to the explicit form
W(y1,y2)(x)=W(y1,y2)(x0)exp(x0xp(t)dt). W(y_1, y_2)(x) = W(y_1, y_2)(x_0) \exp\left( -\int_{x_0}^x p(t) \, dt \right).
This identity generalizes to higher orders, confirming that the Wronskian is either identically zero or never zero on the interval, reinforcing its role in establishing linear independence.[28][25]

Non-homogeneous Equations

A non-homogeneous linear differential equation of order nn is given by
an(x)y(n)(x)+an1(x)y(n1)(x)++a1(x)y(x)+a0(x)y(x)=g(x), a_n(x) y^{(n)}(x) + a_{n-1}(x) y^{(n-1)}(x) + \cdots + a_1(x) y'(x) + a_0(x) y(x) = g(x),
where the coefficients ai(x)a_i(x) are continuous functions, an(x)0a_n(x) \neq 0, and the forcing function g(x)g(x) is not identically zero. Unlike the homogeneous case, solutions must account for the non-zero right-hand side, which represents an external influence on the system.[29][30] Such equations are also known as inhomogeneous; in some literature, particularly certain academic papers influenced by non-English terminology, they may be called heterogeneous.[31][32] The general solution to this equation is the sum of the general solution to the associated homogeneous equation, denoted yh(x)y_h(x), and any particular solution yp(x)y_p(x) to the non-homogeneous equation:
y(x)=yh(x)+yp(x). y(x) = y_h(x) + y_p(x).
Here, yh(x)y_h(x) spans the kernel of the linear differential operator and satisfies the homogeneous equation an(x)y(n)(x)++a0(x)y(x)=0a_n(x) y^{(n)}(x) + \cdots + a_0(x) y(x) = 0. The particular solution yp(x)y_p(x) is not unique, as adding any homogeneous solution yields another particular solution, but the overall general solution remains unchanged. This decomposition holds due to the linearity of the operator, ensuring that the operator applied to the sum separates into the homogeneous and non-homogeneous parts.[29]/17:_Second-Order_Differential_Equations/17.02:_Nonhomogeneous_Linear_Equations)[33] The principle of superposition applies to the homogeneous component in the standard way: if yh1y_{h1} and yh2y_{h2} are solutions to the homogeneous equation, then so is any linear combination c1yh1+c2yh2c_1 y_{h1} + c_2 y_{h2}. For the non-homogeneous part, superposition extends to the forcing function: if g(x)=i=1mgi(x)g(x) = \sum_{i=1}^m g_i(x) and ypi(x)y_{pi}(x) is a particular solution satisfying the equation with right-hand side gi(x)g_i(x), then yp(x)=i=1mypi(x)y_p(x) = \sum_{i=1}^m y_{pi}(x) is a particular solution for the original equation. This follows from the linearity of the differential operator, allowing the equation to be solved piecewise for each term in g(x)g(x). However, superposition does not directly combine arbitrary non-homogeneous solutions, as their difference would satisfy the homogeneous equation.[33] One general method to find a particular solution yp(x)y_p(x) is variation of parameters, which assumes the form
yp(x)=u1(x)y1(x)+u2(x)y2(x)++un(x)yn(x), y_p(x) = u_1(x) y_1(x) + u_2(x) y_2(x) + \cdots + u_n(x) y_n(x),
where {y1(x),,yn(x)}\{y_1(x), \dots, y_n(x)\} is a fundamental set of linearly independent solutions to the homogeneous equation. The functions ui(x)u_i(x) are determined by solving the system of equations obtained by substituting into the original differential equation and imposing n1n-1 auxiliary conditions to simplify differentiation:
i=1nui(x)yi(x)=0,i=1nui(x)yi(x)=0,amp;i=1nui(x)yi(n2)(x)=0,i=1nui(x)yi(n1)(x)=g(x)an(x). \begin{align*} \sum_{i=1}^n u_i'(x) y_i(x) &= 0, \\ \sum_{i=1}^n u_i'(x) y_i'(x) &= 0, \\ &amp;\vdots \\ \sum_{i=1}^n u_i'(x) y_i^{(n-2)}(x) &= 0, \\ \sum_{i=1}^n u_i'(x) y_i^{(n-1)}(x) &= \frac{g(x)}{a_n(x)}. \end{align*}
This system can be written in matrix form as Wu=bW \mathbf{u}' = \mathbf{b}, where WW is the Wronskian matrix with entries from the fundamental solutions and their derivatives up to order n1n-1, u=(u1(x),,un(x))T\mathbf{u}' = (u_1'(x), \dots, u_n'(x))^T, and b=(0,,0,g(x)/an(x))T\mathbf{b} = (0, \dots, 0, g(x)/a_n(x))^T. Since the solutions are linearly independent, the Wronskian determinant is non-zero, allowing u\mathbf{u}' to be solved via the inverse or Cramer's rule, followed by integration to obtain the ui(x)u_i(x). This method works for arbitrary continuous g(x)g(x) and variable coefficients, provided the homogeneous solutions are known.[34]/4.7:_Variation_of_Parameters_for_Nonhomogeneous_Linear_Systems)[35] Under suitable conditions, the existence of solutions is guaranteed. Specifically, if the coefficients ai(x)a_i(x) and g(x)g(x) are continuous on an open interval II containing t0t_0, then for any initial conditions y(t0)=y0,y(t0)=y1,,y(n1)(t0)=yn1y(t_0) = y_0, y'(t_0) = y_1, \dots, y^{(n-1)}(t_0) = y_{n-1}, there exists a unique solution on II satisfying the non-homogeneous equation and these conditions. The homogeneous equation on the same interval admits nn linearly independent solutions, forming a basis for the solution space, which ensures the general solution can be constructed as described. This theorem extends the Picard-Lindelöf result to higher-order linear equations via reduction to a first-order system.[36]/01:_Introduction/1.02:_Existence_and_Uniqueness_of_Solutions)[37]

Constant Coefficient Equations

Homogeneous Case

Homogeneous linear differential equations with constant coefficients take the form
any(n)+an1y(n1)++a1y+a0y=0, a_n y^{(n)} + a_{n-1} y^{(n-1)} + \cdots + a_1 y' + a_0 y = 0,
where the coefficients aka_k are constants and an0a_n \neq 0.[38] This assumption of constant coefficients allows for an exact solution method using exponential trial functions.[39] To solve such equations, assume a solution of the form y=erxy = e^{rx}, where rr is a constant to be determined. Substituting this into the differential equation yields the characteristic equation
anrn+an1rn1++a1r+a0=0, a_n r^n + a_{n-1} r^{n-1} + \cdots + a_1 r + a_0 = 0,
a polynomial equation of degree nn whose roots rkr_k determine the form of the general solution.[38] The roots can be real or complex, distinct or repeated, and the general solution is a linear combination of linearly independent functions derived from these roots.[39] For distinct real roots r1,r2,,rnr_1, r_2, \dots, r_n, the general solution is
y(x)=c1er1x+c2er2x++cnernx, y(x) = c_1 e^{r_1 x} + c_2 e^{r_2 x} + \cdots + c_n e^{r_n x},
where the ckc_k are arbitrary constants. If a real root rr has multiplicity mm, the corresponding terms include powers of xx:
erx,xerx,,xm1erx. e^{r x}, \, x e^{r x}, \, \dots, \, x^{m-1} e^{r x}.
For complex roots appearing in conjugate pairs α±iβ\alpha \pm i \beta (with β0\beta \neq 0) of multiplicity mm, the real-valued solutions are
eαxcos(βx),eαxsin(βx),xeαxcos(βx),xeαxsin(βx),,xm1eαxcos(βx),xm1eαxsin(βx). e^{\alpha x} \cos(\beta x), \, e^{\alpha x} \sin(\beta x), \, x e^{\alpha x} \cos(\beta x), \, x e^{\alpha x} \sin(\beta x), \, \dots, \, x^{m-1} e^{\alpha x} \cos(\beta x), \, x^{m-1} e^{\alpha x} \sin(\beta x).
The full general solution combines all such terms from the roots of the characteristic equation, yielding nn linearly independent functions.[38][39] Consider the second-order example y3y+2y=0y'' - 3y' + 2y = 0. The characteristic equation is r23r+2=0r^2 - 3r + 2 = 0, with distinct real roots r=1r = 1 and r=2r = 2. Thus, the general solution is y(x)=c1ex+c2e2xy(x) = c_1 e^{x} + c_2 e^{2x}.[38]

Non-homogeneous Case

A non-homogeneous linear differential equation with constant coefficients takes the form $ L[y] = g(x) $, where $ L $ is a linear differential operator with constant coefficients, such as $ L[y] = a_n y^{(n)} + \cdots + a_1 y' + a_0 y $, and $ g(x) $ is the non-homogeneous forcing function.[40] The general solution is the sum of the homogeneous solution $ y_h $ (obtained from the characteristic equation) and a particular solution $ y_p $.[41] The method of undetermined coefficients is a standard technique for finding $ y_p $ when $ g(x) $ is a polynomial, exponential, sine, cosine, or a finite product of these forms.[40] Assume $ y_p $ has a form similar to $ g(x) $, with undetermined coefficients to be solved for by substitution into the equation. For $ g(x) = p(x) e^{\alpha x} \cos(\beta x) $ or $ g(x) = p(x) e^{\alpha x} \sin(\beta x) $, where $ p(x) $ is a polynomial of degree $ m $, assume
yp(x)=eαx[(Amxm++A0)cos(βx)+(Bmxm++B0)sin(βx)]. y_p(x) = e^{\alpha x} \left[ (A_m x^m + \cdots + A_0) \cos(\beta x) + (B_m x^m + \cdots + B_0) \sin(\beta x) \right].
If this form overlaps with solutions to the homogeneous equation (i.e., resonance, where $ \alpha + i\beta $ is a root of multiplicity $ s $ of the characteristic equation), multiply the assumed form by $ x^s $ to obtain an independent particular solution.[41][40] For simpler cases, such as $ g(x) = p(x) $ (a polynomial of degree $ m $), assume $ y_p(x) = A_m x^m + \cdots + A_0 $; if the constant term is in $ y_h $, multiply by $ x^s $ where $ s $ is the multiplicity of the zero root.[42] As an example, consider the equation $ y'' + y = x $. The assumed particular solution is $ y_p = ax + b $, since $ g(x) = x $ is a polynomial of degree 1. Differentiating gives $ y_p' = a $ and $ y_p'' = 0 $, so substituting yields $ 0 + (ax + b) = x $, or $ ax + b = x $. Equating coefficients provides $ a = 1 $ and $ b = 0 $, hence $ y_p = x $.[40][43] An alternative method is variation of parameters, which applies more generally but is particularly useful for constant-coefficient cases when undetermined coefficients is impractical. For a second-order equation $ y'' + p(x) y' + q(x) y = g(x) $ (with constants $ p $ and $ q $), let $ y_1 $ and $ y_2 $ be a fundamental set of homogeneous solutions, and assume $ y_p = u_1(x) y_1 + u_2(x) y_2 $. The functions $ u_1 $ and $ u_2 $ satisfy $ u_1' y_1 + u_2' y_2 = 0 $ and $ u_1' y_1' + u_2' y_2' = g(x) $, solved using the Wronskian $ W(y_1, y_2) = y_1 y_2' - y_2 y_1' $ to give
u1=y2g(x)W,u2=y1g(x)W. u_1' = -\frac{y_2 g(x)}{W}, \quad u_2' = \frac{y_1 g(x)}{W}.
Integrate to find $ u_1 $ and $ u_2 $, then form $ y_p $. For higher-order equations, extend to $ n $ functions using the appropriate determinant form of the Wronskian.[34][41][35]

Variable Coefficient Equations

First-Order Case

A first-order linear differential equation with variable coefficients is expressed in the standard form
dydx+p(x)y=g(x), \frac{dy}{dx} + p(x) y = g(x),
where p(x)p(x) and g(x)g(x) are continuous functions defined on an interval containing the independent variable xx.[44] To solve this equation exactly, the method of integrating factors is employed. An integrating factor μ(x)\mu(x) is defined as
μ(x)=exp(p(x)dx). \mu(x) = \exp\left( \int p(x) \, dx \right).
Multiplying both sides of the original equation by μ(x)\mu(x) yields
μ(x)dydx+μ(x)p(x)y=μ(x)g(x), \mu(x) \frac{dy}{dx} + \mu(x) p(x) y = \mu(x) g(x),
which simplifies to the exact derivative form
ddx(μ(x)y)=μ(x)g(x). \frac{d}{dx} \left( \mu(x) y \right) = \mu(x) g(x).
This transformation, first systematically developed by Leonhard Euler in 1763, allows integration of both sides with respect to xx.[45] Integrating gives
μ(x)y=μ(x)g(x)dx+C, \mu(x) y = \int \mu(x) g(x) \, dx + C,
where CC is the constant of integration. Solving for yy produces the general solution
y(x)=1μ(x)(μ(x)g(x)dx+C). y(x) = \frac{1}{\mu(x)} \left( \int \mu(x) g(x) \, dx + C \right).
For the homogeneous case, where g(x)=0g(x) = 0, the solution simplifies to yh(x)=Cμ(x)y_h(x) = \frac{C}{\mu(x)}, representing the general solution to dydx+p(x)y=0\frac{dy}{dx} + p(x) y = 0.[44] Consider the example dydx+1xy=x\frac{dy}{dx} + \frac{1}{x} y = x for x>0x > 0. Here, p(x)=1xp(x) = \frac{1}{x} and g(x)=xg(x) = x, so the integrating factor is μ(x)=exp(1xdx)=x\mu(x) = \exp\left( \int \frac{1}{x} \, dx \right) = x. Multiplying through by xx gives xdydx+y=x2x \frac{dy}{dx} + y = x^2, or ddx(xy)=x2\frac{d}{dx} (x y) = x^2. Integrating yields xy=x2dx=x33+Cx y = \int x^2 \, dx = \frac{x^3}{3} + C, so y=x23+Cxy = \frac{x^2}{3} + \frac{C}{x}. The term x23\frac{x^2}{3} is a particular solution, while Cx\frac{C}{x} is the homogeneous solution.

Higher-Order Case

Higher-order linear differential equations with variable coefficients generally lack closed-form solutions expressible in terms of elementary functions, unlike their constant-coefficient counterparts.[46] The absence of a general analytical method necessitates specialized techniques that exploit the structure of the equation or approximate the solution locally. These approaches are particularly useful for second- and higher-order equations where the coefficients $ p_i(x) $ vary, making exact integration infeasible.[47] One foundational technique for homogeneous equations is reduction of order, which lowers the order when at least one nontrivial solution $ y_1(x) $ is known. For a second-order equation $ y'' + p(x) y' + q(x) y = 0 $, assume a second solution of the form $ y_2(x) = v(x) y_1(x) $; substituting yields a first-order equation in $ v' $, solvable via an integrating factor akin to the first-order case.[48] This method extends to higher orders by iteratively reducing the equation, though it requires successive known solutions and can become cumbersome for $ n \geq 3 $.[49] It is especially valuable for equations with variable coefficients where symmetry or prior knowledge provides an initial solution. For equations with analytic coefficients, power series solutions provide a systematic way to obtain local approximations around an ordinary point $ x_0 $, where the coefficients $ p_i(x) $ are analytic. Assume a solution $ y(x) = \sum_{k=0}^{\infty} a_k (x - x_0)^k $, with derivatives $ y^{(m)}(x) = \sum_{k=m}^{\infty} \frac{k!}{(k-m)!} a_k (x - x_0)^{k-m} $. Substituting into the differential equation and equating coefficients of like powers of $ (x - x_0) $ to zero produces a recurrence relation for the $ a_k $, typically involving two arbitrary constants (e.g., $ a_0 $ and $ a_1 $) for second-order equations, yielding two linearly independent series solutions valid in a neighborhood of $ x_0 $.[47] This method converges within the radius of the nearest singularity of the coefficients.[46] When $ x_0 $ is a regular singular point—where $ (x - x_0) p_n(x) $, $ (x - x_0)^2 p_{n-1}(x) $, ..., $ (x - x_0)^n p_0(x) $ are analytic—the Frobenius method modifies the power series approach to handle potential singularities. Seek solutions of the form $ y(x) = (x - x_0)^r \sum_{k=0}^{\infty} a_k (x - x_0)^k $, with $ a_0 \neq 0 $. Substituting into the equation and collecting the lowest-order terms (in powers of $ (x - x_0) $) gives the indicial equation, a polynomial in $ r $ whose roots determine the exponents; for distinct roots differing by a non-integer, two independent Frobenius series solutions result.[50] If roots differ by an integer or are repeated, a second solution may involve a logarithmic term, but the method still yields formal series solutions.[51] Numerical methods complement these analytical techniques, especially for non-analytic coefficients or global behavior. The Euler method provides a simple forward approximation but is first-order accurate, while higher-order Runge-Kutta schemes, such as the fourth-order variant, offer improved precision by evaluating the right-hand side multiple times per step.[52] For higher-order equations, reduce to a first-order system (e.g., via $ \mathbf{y} = [y, y', \dots, y^{(n-1)}]^T $) and apply these integrators; modern software like MATLAB's ode45 implements adaptive Runge-Kutta methods, automatically adjusting step sizes for efficiency and error control.[53] A classic example is the Airy equation $ y'' - x y = 0 $, which arises in quantum mechanics and wave propagation, with an ordinary point at $ x = 0 $. Assuming $ y(x) = \sum_{k=0}^{\infty} a_k x^k $, substitution yields the recurrence $ a_{k+3} = \frac{a_k}{(k+3)(k+2)} $ for $ k \geq 0 $, with arbitrary $ a_0 $ and $ a_1 $, and $ a_2 = 0 $. This produces two linearly independent power series solutions: one of the form $ \sum_{k=0}^{\infty} c_k x^{3k} $ (starting with the constant term from $ a_0 $), and the other $ \sum_{k=0}^{\infty} d_k x^{3k+1} $ (starting with the $ x $ term from $ a_1 $), defining the Airy functions $ \mathrm{Ai}(x) $ and $ \mathrm{Bi}(x) $.[54] These series converge for all $ x $, illustrating the method's power for unbounded domains.[55]

Cauchy-Euler Equations

Cauchy-Euler equations, also known as Euler-Cauchy equations, form an important subclass of linear differential equations with variable coefficients, where the coefficients are powers of the independent variable xx. The general form of an nnth-order Cauchy-Euler equation is given by
anxny(n)+an1xn1y(n1)++a1xy+a0y=g(x), a_n x^n y^{(n)} + a_{n-1} x^{n-1} y^{(n-1)} + \cdots + a_1 x y' + a_0 y = g(x),
where the aia_i are constants and g(x)g(x) is the non-homogeneous term (with g(x)=0g(x) = 0 for the homogeneous case).[56][57] These equations arise in applications involving radial symmetry or power-law dependencies, such as in certain problems in physics and engineering.[58] For the homogeneous case (g(x)=0g(x) = 0), a standard solution method involves assuming a trial solution of the form y=xry = x^r, where rr is a constant to be determined. Substituting this into the equation yields the characteristic (or indicial) equation
anr(r1)(rn+1)+an1r(r1)(rn+2)++a1r+a0=0, a_n r(r-1)\cdots(r-n+1) + a_{n-1} r(r-1)\cdots(r-n+2) + \cdots + a_1 r + a_0 = 0,
a polynomial equation in rr of degree nn. The roots of this equation determine the general solution: for distinct real roots r1,,rkr_1, \dots, r_k, the solution is y(x)=c1xr1++ckxrky(x) = c_1 x^{r_1} + \cdots + c_k x^{r_k}; for a repeated root rr of multiplicity mm, the corresponding terms include xr(lnx)jx^r (\ln x)^{j} for j=0,1,,m1j = 0, 1, \dots, m-1; and for complex roots α±iβ\alpha \pm i\beta, the solution involves xαcos(βlnx)x^\alpha \cos(\beta \ln x) and xαsin(βlnx)x^\alpha \sin(\beta \ln x).[56][59] This approach leverages the self-similar structure of the equation under scaling transformations.[57] An alternative method for solving the homogeneous Cauchy-Euler equation uses the substitution x=etx = e^t (with t=lnxt = \ln x for x>0x > 0) and y(x)=u(t)y(x) = u(t), which transforms the equation into a linear differential equation with constant coefficients in the variable tt. Specifically, the derivatives transform as dydx=1xdudt\frac{dy}{dx} = \frac{1}{x} \frac{du}{dt} and higher derivatives follow via the chain rule, resulting in an equation of the form bndnudtn++b0u=0b_n \frac{d^n u}{dt^n} + \cdots + b_0 u = 0, solvable using standard constant-coefficient techniques. The solution u(t)u(t) is then expressed back in terms of xx via t=lnxt = \ln x. This substitution highlights the connection between Cauchy-Euler equations and constant-coefficient equations, as the power-law coefficients become constants after the change of variables.[57][60][61] For the non-homogeneous case (g(x)0g(x) \neq 0), the general solution is the sum of the homogeneous solution and a particular solution. After applying the substitution x=etx = e^t, y(x)=u(t)y(x) = u(t) to transform the equation to constant coefficients in tt, standard methods such as variation of parameters or undetermined coefficients can be used to find the particular solution in tt, which is then converted back to xx. Variation of parameters is particularly versatile for arbitrary g(x)g(x), involving the Wronskian of the homogeneous solutions.[62][57] As an illustrative example of the homogeneous case with a repeated root, consider the equation 9x2y+15xy+y=09x^2 y'' + 15 x y' + y = 0. The characteristic equation is 9r(r1)+15r+1=(3r+1)2=09r(r-1) + 15r + 1 = (3r + 1)^2 = 0, yielding a double root r=1/3r = -1/3. The general solution is y(x)=(c1+c2lnx)x1/3y(x) = (c_1 + c_2 \ln x) x^{-1/3}.[56]

Systems and Advanced Topics

Systems of Linear Equations

A system of linear ordinary differential equations (ODEs) can be expressed in vector-matrix form as Y(x)=A(x)Y(x)+G(x)\mathbf{Y}'(x) = \mathbf{A}(x) \mathbf{Y}(x) + \mathbf{G}(x), where Y(x)\mathbf{Y}(x) is an nn-dimensional vector of unknown functions, A(x)\mathbf{A}(x) is the n×nn \times n matrix of coefficients (which may depend on the independent variable xx), and G(x)\mathbf{G}(x) is an nn-dimensional vector representing the non-homogeneous term./3%3A_Systems_of_ODEs/3.3%3A_Linear_systems_of_ODEs)[63] This formulation generalizes the scalar case to multiple interdependent equations, common in applications like coupled physical systems or multi-compartment models.[64] For the constant coefficient homogeneous case, where A(x)=A\mathbf{A}(x) = \mathbf{A} is constant and G(x)=0\mathbf{G}(x) = \mathbf{0}, the system simplifies to Y=AY\mathbf{Y}' = \mathbf{A} \mathbf{Y}. The general solution is Y(t)=eAtY0\mathbf{Y}(t) = e^{\mathbf{A} t} \mathbf{Y}_0, where eAte^{\mathbf{A} t} is the matrix exponential, computed via the eigenvalues and eigenvectors of A\mathbf{A}, analogous to the characteristic equation in scalar ODEs.[65][66] If A\mathbf{A} has eigenvalues λi\lambda_i with corresponding eigenvectors vi\mathbf{v}_i, the solution involves terms like eλitvie^{\lambda_i t} \mathbf{v}_i, yielding exponential growth, decay, or oscillations depending on the real parts of λi\lambda_i.[67] In the general homogeneous case (G(x)=0\mathbf{G}(x) = \mathbf{0}), a fundamental matrix Φ(t)\Phi(t) whose columns are linearly independent solutions satisfies Φ=A(t)Φ\Phi' = \mathbf{A}(t) \Phi, and the general solution is Yh(t)=Φ(t)C\mathbf{Y}_h(t) = \Phi(t) \mathbf{C}, where C\mathbf{C} is a constant vector determined by initial conditions.[63][68] For non-homogeneous systems, the particular solution can be found using variation of parameters: assume Yp(t)=Φ(t)u(t)\mathbf{Y}_p(t) = \Phi(t) \mathbf{u}(t), where u(t)=Φ1(t)G(t)\mathbf{u}'(t) = \Phi^{-1}(t) \mathbf{G}(t), leading to u(t)=Φ1(t)G(t)dt\mathbf{u}(t) = \int \Phi^{-1}(t) \mathbf{G}(t) \, dt and thus Yp(t)=Φ(t)Φ1(t)G(t)dt\mathbf{Y}_p(t) = \Phi(t) \int \Phi^{-1}(t) \mathbf{G}(t) \, dt. The full solution is then Y(t)=Yh(t)+Yp(t)\mathbf{Y}(t) = \mathbf{Y}_h(t) + \mathbf{Y}_p(t).[69]/4.7%3A_Variation_of_Parameters_for_Nonhomogeneous_Linear_Systems) A representative example is a two-mass coupled oscillator system, modeled by the 2x2 system:
y1=ky1+c(y2y1),y2=ky2+c(y1y2), \begin{align*} y_1'' &= -k y_1 + c (y_2 - y_1), \\ y_2'' &= -k y_2 + c (y_1 - y_2), \end{align*}
which in first-order matrix form is Y=AY\mathbf{Y}' = \mathbf{A} \mathbf{Y} with A\mathbf{A} incorporating masses and spring constants k,ck, c. The eigenvalues of A\mathbf{A} are ±iω1\pm i \omega_1 for the symmetric mode (in-phase oscillation at frequency ω1=k\omega_1 = \sqrt{k}) and ±iω2\pm i \omega_2 for the antisymmetric mode (out-of-phase oscillation at higher frequency ω2=k+2c\omega_2 = \sqrt{k + 2c}), assuming unit masses as implied by the second-order equations, revealing decoupled vibrational behaviors.[70]/14%3A_Coupled_Linear_Oscillators) Decoupling is possible when A\mathbf{A} is diagonalizable, via a change of variables Y=PZ\mathbf{Y} = \mathbf{P} \mathbf{Z}, where P\mathbf{P} is the matrix of eigenvectors; this transforms the system to Z=DZ\mathbf{Z}' = \mathbf{D} \mathbf{Z} with diagonal D\mathbf{D} containing eigenvalues, allowing independent scalar solutions for each component of Z\mathbf{Z}.[71][72]

Holonomic Functions

A holonomic function f(x)f(x) is defined as a smooth function that satisfies a linear homogeneous ordinary differential equation with polynomial coefficients in xx. Formally, there exist polynomials P0(x),,Pn(x)P_0(x), \dots, P_n(x) with Pn(x)0P_n(x) \neq 0 such that [ P_n(x) \frac{d^n f}{dx^n} + P_{n-1}(x) \frac{d^{n-1} f}{dx^{n-1}} + \dots + P_1(x) \frac{df}{dx} + P_0(x) f(x) = 0.[73] This concept extends to multivariate cases, where ff satisfies a system of such equations. The notion originates from the algebraic framework of D-modules, introduced by Bernstein in the 1970s, where holonomic modules over the Weyl algebra (the ring of differential operators with polynomial coefficients) have minimal dimension, enabling finite representations of solutions.[74] Holonomic functions exhibit strong closure properties: they are closed under addition, multiplication by other holonomic functions, differentiation, and integration. If ff and gg are holonomic, then so are f+gf + g, fgf \cdot g, ff', and fdx\int f \, dx, with the resulting differential equations computable algorithmically via operations on their annihilating ideals in the D-module sense. This closure facilitates symbolic manipulation and proof of identities among special functions.[73] Prominent examples of holonomic functions include elementary functions like exponentials exe^x (satisfying ff=0f' - f = 0) and polynomials, as well as special functions such as Bessel functions Jν(x)J_\nu(x) (annihilated by x2y+xy+(x2ν2)y=0x^2 y'' + x y' + (x^2 - \nu^2) y = 0) and hypergeometric functions 2F1(a,b;c;x){}_2F_1(a,b;c;x) (satisfying a second-order equation with quadratic coefficients). These functions arise as exact solutions to linear differential equations in variable coefficient cases.[74] Key algorithms for working with holonomic functions include the Gosper-Zeilberger method, which automates the discovery and proof of hypergeometric identities by finding certificates via recurrences dual to the differential equations. Creative telescoping extends this to indefinite summation and integration, generating telescoping relations from the differential structure to evaluate sums or integrals exactly; modern implementations, such as the HolonomicFunctions package in Mathematica, support multivariate cases and integration with tools like Ore polynomials for efficient computation.[75][76] Applications of holonomic functions span combinatorics, where they prove identities for generating functions (e.g., binomial coefficients via recurrences), and physics, particularly in evaluating Feynman integrals in quantum field theory through creative telescoping to obtain exact parametric forms. These methods provide closed-form solutions where numerical approximation falls short, leveraging the algebraic structure for rigorous results.[77]

References

User Avatar
No comments yet.