Second order linear ODE: Difference between revisions
Line 62: | Line 62: | ||
This gives us a set of real fundamental solutions. | This gives us a set of real fundamental solutions. | ||
For repeated roots, use [[reduction of order]] to find a second solution. The second solution is of the form | |||
<math> | <math> | ||
te^{rt} | |||
</math> | </math> | ||
== Fundamental set of solutions == | == Fundamental set of solutions == |
Revision as of 05:10, 22 May 2024
Second order linear ODEs are in the following form:
Important types of second order linear ODEs include
- Homogeneous
- Constant coefficients (where p and q are constants)
Initial value problem
There are two arbitrary constants in the solution of a second order linear ODE, so we need two initial conditions.
Solutions
Constant coefficient, homogeneous
Whatever derived usually also works for variable coefficients.
These are the simplest kind. They have the general form
We can guess the form of the solution to be exponential, since exponential functions has the property of being the same after many differentiation.
We substitute in the guess and obtain the characteristic equation
Depending on the constants, it will give us anywhere from zero to two solutions: and
There are three cases: 2 real roots, complex conjugates, and repeated roots, depending on the discriminant.
For 2 real roots, the two solutions are always independent so we get general solution easy.
For complex conjugates, the following real solutions can be derived from Euler's formula. Since complex number + complex conjugate becomes real.
This gives us a set of real fundamental solutions.
For repeated roots, use reduction of order to find a second solution. The second solution is of the form
Fundamental set of solutions
Given that two linearly independent solutions are given, the general solution is of the following form
The independence of the solutions can be checked using the Wronskian. The two solutions are called a fundamental set of solutions.
This fundamental set always exists according to the General existence theorem.