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.
Homogeneous solutions obey superposition, while a fixed forcing term gives a particular solution plus homogeneous solutions
. Details. 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.
Inhomogeneous linear differential equation Created 2026-09-24 Updated 2026-10-14
An inhomogeneous linear differential equation has a nonzero forcing term. Its general solution is one particular solution plus the general solution of the associated homogeneous linear differential equation.
Linear differential equation Created 2026-09-24 Updated 2026-10-20
A scalar linear differential equation of order has the formHere 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 isHere 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.
For , the derivatives are and . Substituting gives . The independent solutions have Wronskian on , so they form a fundamental system of solutions.
Divide the inhomogeneous linear differential equation by and use variation of parameters. Choosing integrals from one gives the particular solutionThus . The first boundary condition gives . The integral endpoint terms cancel when differentiating , so the second givesConsequentlyCollect the coefficient of on either side of . A suitable Green function isThe two pieces agree at , , and for . For an interior source point its derivative jump isThus multiplication by the leading coefficient gives unit in a ring source strength. Away from , both pieces solve the homogeneous linear differential equation. With continuous , the integral representation has the required second derivative and solves the equation pointwise in .
For uniqueness, the difference of two solutions is . Its boundary conditions give and , forcing . Hence the solution is unique. This is the mixed Green function for an Euler operator with exponents one and two.
Past exam of the mathematics course of the University of Cambridge 2001 ia Paper 2 2B Solution Created 2026-09-24 Updated 2026-10-14
The homogeneous characteristic equation is , so its solutions are and . Because the forcing contains the latter exponential, set . Direct differentiation reduces the inhomogeneous linear differential equation toA polynomial particular solution is , since . ThereforeThe exponentially growing first term cannot be canceled by the decaying second term, so boundedness at positive infinity requires . The initial condition sets . Hence
Past exam of the mathematics course of the University of Cambridge 2004 ia Paper 2 2B Solution Created 2026-09-24 Updated 2026-10-14
Write . Direct differentiation givesThe homogeneous linear differential equation therefore has . A linearly independent pair of solutions isTheir Wronskian is , which never vanishes; the argument also includes .
For the inhomogeneous linear differential equation, the same substitution gives . Since implies , and then implies , integration gives . Thus the required solution of the initial value problem is
Past exam of the mathematics course of the University of Cambridge 2005 ia Paper 2 6B Solution Created 2026-09-24 Updated 2026-10-14
Substitution of the power series, with termwise differentiation, gives the coefficient identityThus and are arbitrary, and all power series solutions of the Hermite differential equation areAn empty product is one. For a nonterminating branch the ratio of consecutive terms in its own parity subsequence is asymptotic to , hence tends to zero for every fixed . The ratio test proves convergence everywhere; the resulting power series can be differentiated termwise and indeed solve the differential equation. A terminating branch is already a polynomial.
The boundary condition forces ; the solution is odd. Apart from the zero solution, which works for every , a polynomial occurs exactly when an odd index satisfies . Before that index the odd coefficients are nonzero, and after it they vanish. Thus the odd polynomial solutions of the Hermite differential equation haveEquivalently, comparison of leading polynomial coefficients gives , proving that no other nonzero polynomial is possible. Normalizing by , the polynomials of degree below six areEach can be multiplied by an arbitrary nonzero constant; these are normalized odd Hermite polynomials.
Let . The forcing in the final inhomogeneous linear differential equation is precisely the displayed degree-five eigenfunction , with . HenceDirect differentiation gives , and . Among polynomial solutions this choice is unique: a polynomial in the kernel of must be constant, and its value at zero eliminates that constant.
Past exam of the mathematics course of the University of Cambridge 2010 ia Paper 2 7A b Solution Created 2026-09-24 Updated 2026-10-14
The forcing vector has the eigenvector decompositionThere is no component in the zero eigenvalue direction. The scalar inhomogeneous linear differential equations in this basis areFor the first, a particular solution is . For the third, multiplying by the integrating factor gives . Consequently for every real When , the resonant component vanishes and a particular solution is , of the stipulated constant-vector form. If , substituting would require . In the eigenbasis the left side has zero component, while the right side has component . This is impossible. The factor is therefore unavoidable: it is resonance in a differential equation.
Past exam of the mathematics course of the University of Cambridge 2017 iii Paper 336 1 b Solution Created 2026-10-03 Updated 2026-10-06
Apply the method of multiple scales with independent fast time and slow time . A preliminary slow time produces no resonant forcing at first order, so its leading amplitudes are constant; the first nontrivial modulation is at . Write , withAt order , the inhomogeneous linear differential equation is . Absorbing its homogeneous part into the amplitudes givesAt order , the forcing is . Its resonant Fourier series coefficients areThe solvability condition in the method of multiple scales sets both coefficients to zero, giving the amplitude equations. DefineFor bounded initial conditions , , the requested leading approximation isThis holds on bounded intervals of , hence , with the constant in the error allowed to depend on the bounded interval. If desired, retain the displayed and adjust by to match initial conditions at that order. No particular initial conditions were supplied.
Since , the matrix exponential is when . When , put and replace this with . At it is . Thus the leading second instability tongue of a weak Mathieu oscillator has exponentially growing solutions for , and the leading modulation is bounded for every initial condition precisely whenAt either displayed endpoint, is a nonzero nilpotent operator; some initial conditions give a secular term proportional to . This leading calculation alone must not be mistaken for an exact finite- stability decision at the endpoints.
For an exact small- interpretation, put . The standard Mathieu equation parameters are and . Its two relevant Mathieu characteristic values are obtained by projecting onto even and odd Fourier series modes. Near the unperturbed value , the even modes have diagonal entries and adjacent couplings in an orthonormal basis; the odd modes have diagonal entries and couplings . Substituting into their characteristic polynomials givesHigher modes of the Fourier series first contribute at higher order. Therefore the fourth-order edges of the second Mathieu instability tongue areFloquet theory gives boundedness of every solution outside the closed gap, or , in this fixed- neighborhood. At the actual gap edges the second independent solution is generically unbounded. In particular, if is fixed exactly at or , it lies just outside the true gap and is stable for each sufficiently small positive . The strict boxed criterion is the robust leading-order, uniformly separated criterion; the endpoints require this higher-order refinement, and their amplification bounds need not remain uniform as .
Past exam of the mathematics course of the University of Cambridge 2021 ib Paper 3 4D Solution Created 2026-09-24 Updated 2026-09-25
Forthe Euler-Lagrange equation isorThe general solution of this inhomogeneous linear differential equation isThe condition gives , and the condition at gives . Therefore
The characteristic equation has a repeated root , suggesting the substitution . By the product rule,so . The inhomogeneous linear differential equation reduces to . Two integrations giveThereforeThe two arbitrary constants account for the repeated-root homogeneous solution.
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 solutionThe 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 givesIntegrating 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 isIts 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.
