Homogeneous linear differential equation Created 2026-09-29 Updated 2026-10-14
A homogeneous linear differential equation is a linear differential equation with identically zero forcing term, . On a common interval, its solutions of a differential equation form the vector space , the kernel of a linear map. They include the zero function and are closed under addition and scalar multiplication. For any two solutions of a differential equation and constant scalars , linearity gives : this is the superposition principle. The scalars must be constant; variable multipliers introduce extra derivatives.
For example, has general solution , where is any constant real number. A short verification uses the product rule: , so is constant. For and , the sum is and also solves the same homogeneous linear differential equation. At , their values are approximately , and . Every curve is a multiple of one exponential function; the solution space of a homogeneous linear differential equation has dimension one. Both and in this example and the following diagram are dimensionless mathematical variables.
Now keep the same differential operator but prescribe the forcing term . The inhomogeneous linear differential equation has particular solution and general solution . The initial conditions select, respectively,
At , their values are approximately , and . The midpoint solves the same inhomogeneous linear differential equation, because . The sum instead satisfies , so it fails the equation with forcing term . More generally, a linear combination of solutions of a differential equation for the same fixed nonzero forcing term retains that forcing term precisely when its scalar weights add to one. This is the affine space structure, rather than unrestricted superposition within that fixed family.
On the left, all three curves solve the same homogeneous linear differential equation. On the right, share the particular solution , and the shaded difference is the homogeneous solution . The dashed sum has twice the forcing term, even though its starting value coincides with that of . Adding the two initial conditions also adds their inputs; taking their midpoint averages both. This distinction makes the superposition principle useful for assembling responses to different inputs without mistaking that assembly for a solution of a differential equation with the original input. See MIT's superposition notes, including the particular solution one half.
Integrating factor Created 2026-09-24 Updated 2026-10-14
An integrating factor is a nonzero multiplier that makes a differential equation directly integrable. For a first-order linear differential equation, it gathers the unknown function and its derivative into one product rule expression. Suppose and are continuous functions on an interval containing , and consider the initial value problem
Define and . The exact solution of a differential equation throughout that interval is
The definite integral fixes , so the initial condition appears without an extra constant to determine. If the equation originally has a coefficient multiplying , first divide by that coefficient on an interval where it is nonzero; a zero of that coefficient needs separate attention. See OpenStax's first-order linear equations chapter for this normalization and the integrating factor procedure.
For a concrete balance, solve with . Here , so multiplying the entire ordinary differential equation gives . Accumulating from zero to gives
The computed values are , and . Its derivative is , which verifies exactly. Interpreting as a steady input and as proportional removal explains the shape: initially all input increases , then removal catches up. The constant particular solution balances input and removal, and the homogeneous solution is the transient response that corrects it to the initial condition. Because this autonomous differential equation has a time-independent right-hand side, is also an equilibrium point.
Figure 1.
A steady input becomes a constant particular solution plus a decaying transient
. Details.
The first panel adds the particular solution and homogeneous solution; the second shows the same balance in rates, . This links the algebra to a physical accounting rule. Newton's law of cooling has this form with and , while an electrical circuit can have a varying input. In both cases the integrating factor systematically handles the input rather than requiring a guess for a particular solution.
Variable coefficients work just as directly. For , , the integrating factor is , and
Thus , and . The derivative verifies , including at zero, where both coefficient and input vanish. No division by is necessary. The general solution is : is a constant particular solution, and solves the associated homogeneous linear differential equation. Although this special forcing term admits a constant trajectory, this is a nonautonomous differential equation: it depends explicitly on time. Merely setting its right-hand side to zero at one instant would not establish a constant solution of a differential equation; at every state has zero slope.
Figure 2.
Variable-rate trajectories share a constant particular solution and forget initial data by a factor of exp minus t squared
. Details.
The direction field shows the selected trajectory leaving its initially horizontal tangent line. For , the difference between any two solutions of a differential equation is multiplied by , rather than in the constant-rate example. This dependence on elapsed history is clearer if the exact formula is rewritten as
For , each contribution from the input at is weighted by the accumulated coefficient between and . The homogeneous solution remembers the initial condition; the particular solution given by the second term accumulates the forcing term with zero initial value. This decomposition differs from choosing a constant particular solution, but gives the same total. Initial-data memory tends to zero when ; a negative accumulated coefficient instead amplifies it. The reciprocal relation between integrating factor and homogeneous solution is developed in MIT's notes on solutions to linear first-order equations.
Why does the trick work? The fundamental theorem of calculus and chain rule give . Consequently the product rule gives
Integrating this identity and dividing by the positive exponential function produces the stated formula. Any nonzero constant multiple of works equally well; normalization is a convenience. This is the beauty of the method: a sum involving an unknown function becomes one exact derivative, leaving only an integral of known functions. See Oregon State's product-rule derivation. The related integrating factor for a differential one-form extends the idea of making an expression exact beyond this linear setting.
Linear differential equation Created 2026-09-24 Updated 2026-10-20
A scalar linear differential equation of order has the form
Here the coefficients and the forcing term are prescribed functions of the independent variable . A classical solution of a differential equation is an -times differentiable function satisfying the identity at every point of its interval. The unknown function and its derivatives enter to the first power, without products between them or coefficients depending on . Equivalently, the differential operator is a linear map: for constant scalars ,
The forcing term may be zero, giving a homogeneous linear differential equation, or nonzero, giving an inhomogeneous linear differential equation. Linearity of does not mean that every function graph of a solution of a differential equation is a straight line.
To use the usual order- initial value problem theory on an interval , assume that throughout and that all and are continuous functions there. Dividing by normalizes the highest derivative; specifying at then selects one solution of a differential equation throughout . A zero of needs separate analysis: one cannot divide through it and retain these conclusions. The first-order normalization appears in OpenStax's definition and standard form of linear equations; the corresponding system theorem is in MIT's existence and uniqueness notes for linear systems.
The coefficients need not be linear functions of . For example, is a linear differential equation on , although is quadratic. Its solution of a differential equation with initial condition is : its derivative is , so substitution gives , and . The zero of the highest coefficient at explains the domain restriction. In contrast, , and are nonlinear ordinary differential equations because of their dependence on the unknown function. Variable coefficients and nonlinear ordinary differential equations are different issues; see MIT's definitions and examples of first-order linear equations.
The practical benefit of linearity is that it separates the effect of the initial condition from the effect of the forcing term. Once one particular solution satisfies , every solution of a differential equation is
Here is the kernel of a linear map, consisting of solutions of a differential equation to the associated homogeneous linear differential equation. Indeed, , and conversely . Thus the family for a fixed forcing term is an affine space obtained by translating . If is not identically zero, the zero function is absent, so this family is not a vector space under the usual operations on functions. This short argument explains why a general solution is a particular solution plus a homogeneous solution.
A differential equation whose evolution rule depends explicitly on time. A time-varying coefficient or forcing term can make a system nonautonomous. Unlike an autonomous differential equation, the state alone need not determine its future without the current time.
The characteristic equation has roots , giving the homogeneous solution . For the sinusoidal forcing term, is a particular solution, since its second derivative cancels and . The zero initial displacement gives ; zero initial derivative gives . Thus
The transient response decays as , leaving the steady-state response . Near zero, and , so the sketch starts with and a horizontal tangent line.
Figure 1.
The decaying transient brings the initially stationary solution to a sinusoidal response
. Solid: the complete solution. Dashed: the surviving term. The lower panel resolves the exponentially decaying difference. Details.
Variation of parameters Created 2026-09-24 Updated 2026-10-18
Variation of parameters replaces the constants in a complementary solution by functions to construct a particular solution.
For the inhomogeneous linear differential equation , assume are continuous functions on an interval , and are linearly independent homogeneous solutions there. With and , variation of parameters constructs the particular solution
The Wronskian has no zeros on , so these quotients are defined. For , normalize first: , not .[ref]
To derive the formula, write and impose . This auxiliary choice removes extra terms from the first derivative. Substitution into the inhomogeneous linear differential equation leaves . The two linear equations for have determinant , and Cramer's rule gives
Integrating from makes . Arbitrary integration constants contribute only homogeneous solutions; adding supplies the general solution.
For a worked example, use the same homogeneous solutions and the forcing term in . With and ,
Consequently the particular solution selected by zero initial conditions is
Its value and first derivative vanish at zero. Direct substitution confirms the forcing term: the differential operator annihilates the last two terms and maps to . The two integrals therefore build a response from known homogeneous solutions, even when the forcing term has no convenient elementary guess.