Homogeneous Equations with Constant Coefficients
What function equals a fixed combination of its own second derivative, first derivative, and itself, always? This question is not idle curiosity. It is the mathematical heart of a spring bouncing on a dashpot. It also governs a resistor-inductor-capacitor circuit relaxing to equilibrium, and countless other systems obeying a linear restoring law. The equation , with constant real coefficients , models exactly this kind of process. Remarkably, it can be solved completely by an algebraic trick. Guessing an exponential solution reduces the differential equation to a quadratic equation. The importance of this equation goes far beyond the specific examples that motivate it. It is the prototype for an entire method. That method replaces derivatives by powers of an unknown . It extends to equations of any order. It also underlies the treatment of forced and resonant systems later on. Understanding this case thoroughly matters greatly. This includes exactly why the guess works and why two solutions suffice. Doing so builds the technical vocabulary needed for every constant-coefficient linear equation that follows. That vocabulary includes characteristic equation, fundamental set, and Wronskian. The big picture is this: a linear, constant-coefficient, homogeneous ODE of order always has solutions built from exponentials. The exponents are roots of an ordinary polynomial. For the second-order case treated here, that polynomial is a quadratic, . Its two roots — when real and distinct — hand us two independent exponential solutions immediately. Everything else follows from combining these two building blocks. This includes the general solution, initial value problems, and the role of the Wronskian. These combinations use the linear structure already established for Fundamental Sets and General Solutions. This article proves, from first principles, that has general solution . This holds whenever the characteristic equation has two distinct real roots . Along the way we verify linear independence rigorously via the Wronskian. We work two asymmetric numerical examples in full. We also show precisely what fails — and why — when the discriminant hypothesis is dropped. This sets up the passage to Complex and Repeated Roots and eventually to Method of Undetermined Coefficients.
- The equation () is solved by guessing , which converts it into the characteristic equation .
- Each real root of the characteristic equation gives one solution ; two distinct real roots give two solutions.
- Distinct roots automatically give a fundamental set — their Wronskian is nonzero for every , computable in closed form.
- The general solution is , and are pinned down uniquely by any initial condition .
- Equal discriminant zero (repeated root) breaks the argument: alone is not enough, foreshadowing Complex and Repeated Roots.
- Key idea: exponentials turn differentiation into multiplication, so a linear ODE with constant coefficients becomes an algebraic (polynomial) equation in the exponent.
Where this lives today
The characteristic equation method for is the entry point to an enormous range of applications. In mechanics, it governs the free (unforced) motion of a damped spring–mass system, ; distinct real roots correspond to the overdamped regime in which the mass returns to equilibrium without oscillating. In electrical engineering, the same equation with (inductance), (resistance), (inverse capacitance) describes the free response of a series RLC circuit, and overdamped roots describe circuits that decay to zero current without ringing. In control theory, the roots of the characteristic polynomial are precisely the poles of the system's transfer function, and their sign and reality determine stability and the qualitative shape of the response — real negative roots mean stable, non-oscillatory decay. The same idea, viewed through linear algebra, is the special case of finding eigenvalues of the companion matrix associated to a linear ODE system; this connection generalizes the method to arbitrary order and to systems of first-order equations, a viewpoint essential in numerical methods and in the study of dynamical systems more broadly (Strogatz-style phase plane analysis of linear systems near an equilibrium relies on exactly this eigenvalue classification). In probability and statistics, linear recurrence relations with constant coefficients — the discrete analogue — are solved by an entirely parallel characteristic-root method, underlying the analysis of Markov chains and generating functions. In numerical analysis and scientific computing, understanding the exact solution behavior for distinct real roots provides the baseline against which numerical ODE solvers (Euler's method, Runge–Kutta) are validated for accuracy and stability.
Ask the tutor: How does the general solution formula change when the characteristic equation has complex conjugate roots instead of real distinct ones?
Let with . The equation
is called a second-order linear homogeneous differential equation with constant coefficients. A solution is a twice-differentiable function satisfying the equation for all . Associated to it is the characteristic (auxiliary) equation
a quadratic equation in the unknown , obtained formally by substituting and dividing out the nonzero factor . The quantity is the discriminant. This article treats the case , in which the characteristic equation has two distinct real roots
Intuition
The exponential function has a defining property that makes it the natural candidate for solving any linear equation with constant coefficients: differentiating it just multiplies it by . So if , then and , and every term in becomes a multiple of the same function . The differential equation collapses to an algebraic statement about the exponent : the polynomial must vanish. This is the entire idea. Solving a second-order linear ODE with constant coefficients is equivalent to factoring a quadratic. Once we have two distinct real roots , we get two solution functions and . Because the ODE is linear (a fact already used in constructing general solutions from fundamental sets), any combination is again a solution. The remaining question — whether this two-parameter family captures every solution — is answered by checking that is a fundamental set, i.e. that its Wronskian never vanishes. Geometrically, distinct real roots correspond to two different exponential growth/decay rates; the solution space is the plane spanned by these two "basis" curves, and no scalar combination of one can reproduce the other unless the rates coincide.
Central theorem
Let with , and suppose the discriminant is strictly positive, so that the characteristic equation has two distinct real roots . Then: 1. The functions and are both solutions of on . 2. is a fundamental set of solutions: their Wronskian is nonzero for every . 3. Every solution of on is of the form
for unique constants ; conversely every such expression is a solution. 4. For any and any prescribed values , there is a unique solution satisfying , , obtained by solving a nonsingular linear system for .
We proceed in four steps, using direct verification, the Wronskian test, and the existence–uniqueness theorem for linear ODEs (already established in the theory of Fundamental Sets and General Solutions).
Step 1: and are solutions. Let be any root of , real or complex, and set . This function is smooth (infinitely differentiable) on with
Substituting into the left side of the ODE,
Since satisfies and for every (the exponential function never vanishes), the right-hand side is identically . Hence solves the ODE for every . Applying this to and gives that and are both solutions. This proves part 1.
Step 2: The Wronskian is nonzero everywhere. By definition, the Wronskian of is
Compute directly:
Since by hypothesis, the factor is a nonzero real constant, and is strictly positive for every real . Therefore for every . This proves part 2: no cancellation, no special value of , can make the Wronskian vanish, because the two factors are respectively a fixed nonzero number and an everywhere-positive function.
Step 3: General solution. We must show that the two-parameter family exhausts all solutions, and that the coefficients are uniquely determined. Every combination is a solution. This follows from linearity of the differential operator : for any solutions and constants ,
using linearity of differentiation and Step 1. So solves the ODE for every choice of constants. Every solution has this form. Let be an arbitrary solution of the ODE on , and fix any point (say for concreteness — the argument is identical for any base point). Because has nonzero Wronskian at by Step 2, the linear system
has a unique solution , since its coefficient matrix has determinant . Define for these particular constants. By the previous paragraph, is a solution of the ODE, and by construction it satisfies the same initial data as :
Both and solve the same linear, constant-coefficient (hence continuous-coefficient) second-order ODE and agree at to first order. By the uniqueness part of the existence–uniqueness theorem for linear ODEs — applicable here because lets us write the equation in the standard form with continuous coefficients on all of , and the initial value problem for such an equation has exactly one solution on the entire real line — we conclude for all . Hence , as required. This proves part 3, and uniqueness of was already established via the nonzero determinant.
Step 4: Initial value problems. Part 4 restates the system solved in Step 3 with arbitrary and data arbitrary: since for every (Step 2), the linear system
is nonsingular and has a unique solution for any right-hand side. This constants pair gives the unique solution to the initial value problem, by the same uniqueness argument as in Step 3.
∎Worked examples
Example 1 — asymmetric coefficients, initial value problem. Solve with , . Step 1 — characteristic equation. Substituting gives
The discriminant is , so distinct real roots exist. By the quadratic formula,
Since is a perfect square this factors cleanly: , confirming . Step 2 — general solution. By the theorem,
Step 3 — apply initial conditions. Compute . At :
From the first equation, . Substitute:
Then . Step 4 — check. At : ✓. And ✓. So
This solution grows without bound as (dominated by the term) and tends to as too (dominated there by ), illustrating a saddle-type behavior typical of roots of opposite sign.
Example 2 — both roots negative, boundary-style data at a nonzero base point. Solve subject to , . Step 1 — characteristic equation. Here :
Discriminant check: , consistent with two distinct real roots. Step 2 — general solution.
Step 3 — apply data at (not , to test the general argument in Step 4 of the theorem). We have , so
Let and to simplify: and , i.e. , i.e. . Substitute into the first equation:
Then . Converting back,
Step 4 — check. ✓. And ✓. So
Both exponents decay (), so as : this is the overdamped-decay regime, exactly matching a mechanical system with heavy damping and no oscillation.
Drop the hypothesis and see what breaks. Consider
Here , and the characteristic equation is , with discriminant . There is only one root, (with multiplicity two), not two distinct roots. Following the (now inapplicable) construction naively, we would try to write the general solution as . But this simplifies to , which is really just for a single constant — a one-parameter family, not the two-parameter family a second-order equation requires. Concretely, take the Wronskian of the pair itself: it is
for every , since the two functions are literally identical (not merely proportional — the same function). The proof's Step 2 computed ; when , the factor vanishes identically, and the whole argument for a fundamental set collapses. Consequently one cannot solve an arbitrary initial value problem using only multiples of : e.g. has no solution of the form , since that forces . The correct fundamental set in this repeated-root case turns out to be — a genuinely different construction, developed under Complex and Repeated Roots, which restores a nonzero Wronskian and hence a valid two-parameter general solution. This shows precisely why (equivalently ) is not a cosmetic hypothesis but the load-bearing assumption of the theorem.
Scope, edge cases & common traps
| Situation | What happens | Where it's handled |
|---|---|---|
| Two distinct real roots; theorem above applies directly | this article | |
| Repeated real root; need second solution | Complex and Repeated Roots | |
| Complex conjugate roots ; real solutions via | Complex and Repeated Roots | |
| Not a second-order equation at all; reduces to first-order linear | outside this theorem's hypotheses | |
| Nonhomogeneous equation | General solution needs a particular solution added to the homogeneous one | Method of Undetermined Coefficients |
The mathematician behind it
Origins · 1 minLeonhard Euler and how this was discovered
Euler systematically developed the method of substituting (or, in his notation, exponential trial solutions) into linear differential equations with constant coefficients, turning them into algebraic equations for the exponent. This technique — now called the characteristic equation method — appears in his work on linear ODEs in the 1740s and became the standard tool for solving such equations, later formalized and extended by his successors to higher order equations and to the complex-root and repeated-root cases.
Why does substituting work at all?
Because differentiation acts on as multiplication by : each derivative brings down one factor of . Substituting this trial function into a linear constant-coefficient equation makes every term a multiple of , and since is never zero, the equation reduces to the vanishing of the polynomial coefficient — the characteristic equation. This is not a lucky guess; it reflects the deeper fact that constant-coefficient linear differential operators are diagonalized by exponential functions, the same reason exponentials are eigenfunctions of the derivative operator.
Do I always get exactly two independent solutions from a quadratic?
When the discriminant is positive, yes: the two distinct real roots give two solutions with a nonzero Wronskian, hence a fundamental set. When the discriminant is zero, the quadratic has only one root (with multiplicity two), and naively you get only one independent exponential solution; the second one, , must be found by another method. When the discriminant is negative, the two roots are complex conjugates, giving two independent complex solutions that combine into two independent real solutions via sines and cosines. In every case you end up with exactly two independent real solutions, matching the order of the equation.
What if ?
Then the equation is not truly second order: it degenerates to , a first-order linear homogeneous equation with solution (assuming ). The characteristic "equation" becomes linear rather than quadratic, producing only one root, consistent with the equation having only a one-parameter solution family. The hypothesis in the definition is what guarantees the equation is genuinely second order and the characteristic polynomial is genuinely quadratic.
Why must I check the Wronskian rather than just trust that two different roots give independent solutions?
Formally, the theorem does not merely assert independence — it proves it, via the explicit closed-form Wronskian . This is worth doing rigorously because independence is what license the claim that every solution is captured by the two-parameter family; without a provably nonzero Wronskian, the "general solution" formula could in principle miss solutions or double-count directions. In this particular case the computation is easy and confirms the intuition, but the habit of checking is essential once equations get more complicated (e.g. with repeated or complex roots).
How does this connect to systems of equations and eigenvalues?
Any second-order equation can be rewritten as a first-order linear system for the vector , whose coefficient matrix (in companion form) has characteristic polynomial exactly (up to a constant factor). The roots are the eigenvalues of that matrix, and correspond to motion along the associated eigenvectors. This is the bridge between the scalar ODE technique taught here and the matrix exponential / eigenvalue methods used for linear systems and in phase-plane analysis of planar dynamical systems.
Can the roots be equal in magnitude but opposite in sign, like ?
Yes, and this is still covered by the theorem as long as , since . This case arises for example from , whose characteristic equation factors as . The general solution can be rewritten using hyperbolic functions as , an equivalent but sometimes more convenient basis; both are valid fundamental sets because they're related by an invertible linear change of basis.
What comes next after distinct real roots?
The natural next steps are the two remaining cases of the discriminant: (a repeated real root, requiring the second solution ) and (complex conjugate roots, requiring Euler's formula to extract real sine/cosine solutions) — both treated under Complex and Repeated Roots. After the homogeneous theory is complete, the natural extension is to nonhomogeneous equations , solved by adding a particular solution found via Method of Undetermined Coefficients or variation of parameters.