PX153 - D2 - solving 2nd order homogeneous ODEs
derivation
- consider
- we postulate the solution:
- looking for a solution across a range of y:
- this is the auxiliary equation, an algebraic equation that can be solved to find
$$\lambda_{1}=- \frac{1}{2}(1+\sqrt 7 i)$$$$\lambda_{2}= - \frac{1}{2}(1-\sqrt 7 i)$$
-
the general solution contains all possible solutions:
$$y(x)= e^{\lambda_{1}x}+e^{\lambda_{2}x}$$ -
for a particular solution, we have to apply boundary conditions
- eg: if
and
at
- eg: if
-
for an nth order ODE, the auxiliary equation will be an nth order polynomial. we need to find n linearly independent solutions, but we can have repeated roots
- eg: for
- the auxiliary equation:
- we only found one solution:
- in the case of repeated roots, if we have one solution,
, then try (multiply by the independent variable) - working through this:
- show that this satisfies
- the auxiliary equation:
- eg: for
summary
- for a 2nd order linear homogeneous ODE:
- try solution of the form
- find the auxiliary equation (quadratic in
) - if there are two distinct roots, GS:
- if there are repeated roots, GS:
\1\n\2\n
- try solution of the form