Second order linear ODE: Difference between revisions

From Rice Wiki
No edit summary
 
(6 intermediate revisions by the same user not shown)
Line 22: Line 22:
= Solutions =
= Solutions =
== Constant coefficient, homogeneous ==
== Constant coefficient, homogeneous ==
Whatever derived usually also works for variable coefficients.
These are the simplest kind. They have the general form
These are the simplest kind. They have the general form


Line 45: Line 47:
Depending on the constants, it will give us anywhere from zero to two solutions: <math>y_1</math> and <math>y_2</math>
Depending on the constants, it will give us anywhere from zero to two solutions: <math>y_1</math> and <math>y_2</math>


Based on [[Abel's theorem]], the general solution is of the following form
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.
 
<math>
\frac{1}{2}(y_1+y_2)= e^{\lambda t}\cos (\mu t)
</math>
 
<math>
\frac{1}{2i}(y_1-y_2)= e^{\lambda t}\sin (\mu t)
</math>
 
where <math>\lambda</math> is the real term, and the <math>\mu</math> is the imaginary term.
 
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>
te^{rt}
</math>
 
== Fundamental set of solutions ==
 
Given that two linearly independent solutions are given, the general solution is of the following form


<math>
<math>
y(t) = c_1 y_1+c_2 y_2
y(t) = c_1 y_1+c_2 y_2
</math>
</math>
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]].

Latest revision as of 04:10, 10 June 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.

where is the real term, and the is the imaginary term.

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.