Second Order Differential Equations
Lineal second order differential equations are of the form:
Usually we look at constant coefficient second order linear differential equations:
If
Homogeneous , constant coefficient, linear, 2nd order D.E
If
If we further assume that the D.E. is 2nd order then the general solution will be this superposition.
Let's assume that solutions will be of the form: $$y(t) =e^{rt}$$
and its derivatives :
Exponentials can never be zero, so if indeed the solutions are of this form then it will be true that:
This is the Characteristic equation for the initial D.E. It is a quadratic equation, meaning it will have two root
These two roots have 3 possible forms :
Real distinct roots, r1≠r2
And solve for initial conditions or boundary conditions
Complex roots r1,2 = λ±μ i
If the roots are of the form
and the corresponding solutions
Since we started only with real numbers the solutions must also be real. We can find 2 new real solutions by adding and subtracting y1 and y2 and then superpose those to get the general solution
Euler's Formula :
We split the solutions to exponentials with real and imaginary components:
Linear combination of the two solutions to arrive at a real solution:
So the General solution can be written as the linear combination of u1 and u2:
Double roots, r1=r2=r
We have only one solution and we need a second one (2nd order). The roots of the quadratic are:
Since we have a double root :
The first solution will be :
Let's suppose that there is a second solution in the form of :
If we plug y2 and its derivatives on the initial D.E we will end up with this equation:
but the second part is 0 and exponentials and the constant a cannot be zero (otherwise it would not be 2nd order):
The c and k constants can be integrated into the constant of the general solution and we are left with: