Second-order linear ODEs with constant coefficients
The general solution of is the homogeneous solution plus a particular solution: use the characteristic equation for the first and undetermined coefficients for the second.
Basic, Standard, Advanced: University Year 2+
Math problem generator
Characteristic equation and general solution
Substituting into gives the characteristic equation .
- Distinct real roots , :
- Double root :
- Complex roots :
The initial conditions and give two equations for and .
Undetermined coefficients
Guess the form of a particular solution from the right side , substitute, and solve for the coefficients.
- a polynomial: a polynomial of the same degree
- :
- or :
- a sum: the sum of the particular solutions (superposition)
If or is a characteristic root, multiply the trial form by (by for a double root). For example, has a particular solution of the form .
Euler equations
For , substituting gives ; with distinct real roots, . (The substitution turns it into a constant-coefficient equation.)
Worked examples
Find the solution of the differential equation satisfying .
Hint
If the roots are , the general solution is .
Answer
Solution
Solving the characteristic equation,
The general solution is
From the initial conditions,
Hence
Find the particular solution of the differential equation that is a polynomial.
Hint
The right side has degree 2, so try , substitute and compare coefficients.
Answer
Solution
Substituting and comparing coefficients,
Hence
Find a particular solution of the form .
Hint
is a characteristic root, so cannot work; multiply by .
Answer
Solution
The characteristic roots are
Substituting , the terms cancel and
Hence
Practice problems
Find the solution of the differential equation satisfying .
Hint
If the characteristic equation has a double root , the general solution is .
Answer
Solution
The characteristic equation is
The general solution is
From the initial conditions,
Hence
Find a particular solution of the form .
Hint
Find particular solutions for each term on the right separately and add them (superposition).
Answer
Solution
For the term, substituting ,
For the linear terms, substitute and compare coefficients:
Hence
Find the solution of the (Euler-type) equation satisfying .
Hint
Substituting gives (or substitute ).
Answer
Solution
Substituting ,
The general solution is
From the initial conditions,
Hence