A second-order linear ODE with variable-coefficients is given by
where
Bad news: There is no method to solving the general case above!
What we can do:
- If we have 2 linearly independent solutions to the corresponding homogeneous case
(call them& ) then .
Then use variation by parameters to find - If we have only one solution to the given ODE (call
)
Then we can use Reduction by Order to generatethat is independent from
Now go back to case 1 - When the coefficients
are “nice” then we can still find .
An example of “nice coefficient” is Cauchy-Euler Equation
where, and are constants.
Cauchy-Euler Equation
whereare constants.
The solutions to the corresponding homogeneous equationcan be found in the form for .
Herethen ,
So LHS=
when RHS: characteristic equation
which has 2 solnso
and are 2 linearly independent solutions
Thus
Cases of the Cauchy-Euler Equation
- If there are two distinct, real-valued solutions
. Then the general solution is given by - If there are complex solutions
. Then the general solution is given by - If there is a repeated/unique solution
then the general solution is given by
Remark: Homogeneous Cauchy-Euler equation can be converted into a 2nd order linear ODE with constant coefficients under the substitution