In the majority of cases solving a homogenous linear ODE with constant coëfficients
𝑎0𝑦+𝑎1𝑦(1)+𝑎2𝑦(2)+⋯+𝑦(𝑛)=0
equates to solving the characteristic equation
𝑎0+𝑎1𝑟+𝑎2𝑟2+⋯+𝑎𝑛𝑟𝑛=0
where for any such 𝑟 a solution is given by 𝑦=𝑒𝑟𝑥.
In the cases where there are repeated roots,
a method such as reduction of order must be used to find a complete basis of solutions.
Second order
In the second order case
𝑦″+𝑎𝑦′+𝑏𝑦=0
the characteristic polynomial is
𝑟2+𝑎𝑟+𝑏=0
and a solution is given by
𝑦=𝐶1𝑒𝑟1𝑥+𝐶2𝑒𝑟2𝑥
If 𝑟1=𝑟2 (repeated roots), then an additional linearly independent solution is