The exponential ansatz
Constant coefficients are essential here. y, y′ and y″ enter only linearly.[1]
Substitution gives e^(λt) times the characteristic polynomial. Since the exponential never vanishes, the polynomial must be zero. Linearity makes linear combinations of solutions into solutions. Two independent solutions span the general homogeneous solution.[1]
Distinguish three root cases
In the complex case,β≠0. The factor e^(αt) decays only for α<0, grows for α>0 and gives undamped oscillation for α=0.[1][2]
At a repeated root, two identical exponentials would not be independent. The extra factor t supplies the second solution, verified by direct differentiation. For complex roots, Euler’s formula converts the conjugate pair into real sine and cosine solutions.[1]
Initial data, units and forcing
Insert y(t0) and y′(t0) into the correct general form and solve the two linear equations for C1, C2. With physical time,λ and b/a have inverse-time units, and c/a has inverse-squared-time units. For ay″+by′+cy=r(t), write y=yh+yp. The particular ansatz depends on r and must be adjusted for resonance; no arbitrary general ODE solver is assumed here.[2]
Two worked examples
Distinct real roots
- Given
- y″−3y′+2y=0, y(0)=1, y′(0)=0.
- Find
- Solve the initial-value problem.
The polynomial factors with roots 1 and 2.
The initial data determine both constants.
Result: y(t)=2eᵗ−e2ᵗ.
Check: Differentiation and substitution give zero residual and both correct initial values.
A repeated characteristic root
- Given
- y″+4y′+4y=0, y(0)=1, y′(0)=0.
- Find
- Handle the repeated-root case.
The characteristic root−2 is repeated.
Apply the initial function and derivative values.
Result: y(t)=(1+2t)e−2ᵗ.
Check: y′=−4te−2ᵗ and y″=(8t−4)e−2ᵗ make the ODE residual zero.
Recall the method later with the formula’s flashcards.
10 flashcards · English materials
Already have an account? Sign in for flashcardsAvailable from Essential. A ready-made formula set, no AI credits required. Article exercises are not all included.
Five exercises with solutions
Calculate · Foundation
Solve y″−y=0 with y(0)=2, y′(0)=0.
Show hint
The roots are±1.
Learning goal: Determine constants in an exponential basis.
Error analysis · Application
For(λ+1)2=0, the proposed answer is(C1+C2)e−ᵗ. What is missing?
Show hint
Two independent solutions are needed.
Learning goal: Explain the t-factor for a repeated root.
Show solution and calculation
Both constants multiply the same solution.
The second independent solution is te−ᵗ, so y=(C1+C2t)e−ᵗ.
Interpret · Application
What follows from roots 1±2i?
Show hint
Separate real and imaginary parts.
Learning goal: Do not equate complex roots with damping.
Show solution and calculation
The real form is eᵗ(C1cos2t+C2sin2t).
Nontrivial solutions have a growing exponential envelope, not damping.
Rearrange · Foundation
Form the characteristic polynomial for 2y″+6y′+4y=0.
Show hint
Divide consistently by 2 or retain all factors.
Learning goal: Normalize nonmonic equations consistently.
Transfer · Challenge
Check yp=−t cos t/2 for y″+y=sin t.
Show hint
Differentiate the product twice.
Learning goal: Verify a resonant particular solution by substitution.
Show solution and calculation
Its derivatives are−cos t/2+t sin t/2 and sin t+t cos t/2; adding yp leaves sin t.
It is a particular solution, not every initial-value solution.
Check your understanding with the formula’s reference test.
6 test questions · English materials
Already have an account? Sign in for the testAvailable from Essential. A ready-made formula set, no AI credits required. Article exercises are not all included.
Useful next steps
For a simpler initial-value equation before this method, see First-order linear differential equation.
Converting complex exponentials to sine and cosine uses Euler's Formula.
Another method for suitable forced initial-value problems is the Laplace Transform.
Sources for this explanation
Quanta · Updated November 8, 2026
Editorial responsibility: Quanta Study editorial team
Review scope
This explanation, 2 worked examples and 5 exercises are available in German and English. Structure, source references and mathematical notation undergo automated checks. Calculations, model assumptions and both language versions receive a separate AI review.
An independent, named human subject review has not yet been documented. Our exercise numbers are worked examples, rather than measurements published by the cited sources.
Editorial responsibility, sources and methodsChange history
- Added three characteristic-root cases, correct growth interpretation, initial data and a resonance check in DE/EN.
Cite this reference page
Quanta. Second-Order Linear ODE with Constant Coefficients. Updated November 8, 2026. https://quanta-study.de/en/formula-sheet/lineare-differentialgleichung-zweiter-ordnung
When citing a specific scientific statement, also cite the specialist source linked to that statement.