-
-
HOME
-
-
PDF (letter size)
Small note on solving second order ode using
eigenvalues approach
January 31, 2024 Compiled on January 31, 2024 at 4:11am
1 Conditions for using BVP eigenvalue method
We are only here talking about second order linear ode of the form with boundary
conditions. If it is an IVP ode, then this note does not apply. The first thing to check for is
that B.C. are homogeneous. Which means they are equal to zero. An example is or and so
on. The BC do not have to be in terms of unknown . They can be for example. If the BC
are not homogeneous then we have to do some preprocessing which is not considered
here.
There are two general cases. The first is if the ode itself has an unknown in it or not. For
example would qualify. Also will qualify. The second general case is that the ode has no
unknown it is. Which means all the coefficients are known. So we have then a total of 4 cases
to consider:
- The ode has at least one unknown in it such as but the BC have no unknown.
For example . This is a BVP eigenvalue problem. The above gives the solution
- The ode has at least one unknown in it such as and also BC have unknown. For
example where here is unknown. This is also BVP eigenvalue problem
- The ode has NO unknown in it such as but BC have at least one unknown. For
example where here is unknown. This is BVP but not an eigenvalue problem.
There is one eigenfunction The solution will have the unknown in it.
- The ode has NO unknown in it such as and also BC have no unknown. For
example . This is BVP but not an eigenvalue problem. The solution is in this
case.
In the above, only 1,2 are considered BVP eigenvalue problems. The others are just BVP
problems. In (3), even though there is no eigenvalues (because the ODE has no unknown in
it), we still give conditions for non-trivial solution, because depending on value of this can
happen. In (4), only trivial solution is possible.
2 Example 1
Let us solve the second order BVP
If the boundary condition do not have an arbitrary in them, i.e. if happened to be for
example then this can be solved using normal methods giving as solution and there is
nothing more to say.
But if we try to solve this using normal methods with , where is now a symbol and not a
number, we will see that the result will be also be which is the trivial solution
again.
But there is a non-trivial solution to this when is symbol (undefined length). We have to use
eigenvalue/eigenfunction method instead of normal methods to find this non-trivial solution.
And this note is to show the difference.
First we will solve
Using normal methods. Since this is constant coefficient ode, then the characteristic equation
is
This means the basis solutions are and the general solution is Which can be written using
Euler formula as Now we apply boundary conditions to find . When the above becomes
Hence (1) now becomes And when the above gives So we conclude here that since is
not known and can not be zero, which results in trivial solution The difference
between the above method and the eigenvalue/eigenfunction method to solving
BVP, is that in (2), we do not choose , but instead we find values for that makes
instead of the constant and thus avoiding trivial solution. We know that when
but since this becomes Hence The values above are called the eigenvalues of
the ode. These are the values that gives non trivial solution. The general solution
now becomes above is the eigenfunction. There is only one eigenfuction in this
example. The above says that the solution is trivial only when does not satisfy
.
Mathematica DSolve command handles this automatically and gives both trivial and
non-trivial and the conditions on .
3 Example 2
Another variation of this problem is when the ode has the arbitrary value in the
ode itself, instead of in the boundary condition as in the above example. Now
the boundary conditions do not have an arbitrary symbol in them. An example
is
Let us solve this using normal method again. Since this is constant coefficient ode, then the
characteristic equation is
Hence the general solution is
At the above gives And (3) becomes At the above gives And we conclude that which gives
the trivial solution Now the ode is solved using eigenvalue/eigenvector approach. Starting
from and since we do not know what is, we have to check each possible case. We assume
is real value in all of this.
case Hence and we let where . The roots then are and the general solution is At the
above gives So the solution becomes At the above becomes But is only zero when or
which is not the case here. This means only other option is which leads to trivial solution.
Hence is not valid assumption.
case The roots now are double root. In other words, the ode is . Hence the general solution
is At this gives . Hence . At this gives . Which means the trivial solution . So is again not
a valid assumption.
case The roots now are which means the general solution is At the above gives and the
solution now becomes At the above gives For non-trivial solution we want . This means or
Notice that because we assumed we can’t pick values. We also can not pick . The general
solution hence becomes In the above are called the eigenvalues and are called the
eigenfunctions. In this example, there is one eigenfunction associated with each eigenvalue
.
4 Example 3
Final example is when the ode has an arbitrary value (the eigenvalue) in the ode itself and
the boundary condition also has an arbitrary value.
Let us solve this using normal method again. Since this is constant coefficient ode, then the
characteristic equation is
Hence the general solution is
At the above gives And (3) becomes At the above gives And since can not be
zero, we conclude that which gives the trivial solution Now the problem is solved
using eigenvalue/eigenvector approach. Starting from and since we do not know
what is, we have to check each possible case. We assume is real value in all of
this.
case Hence and we let where . The roots then are and the general solution is At the
above gives So the solution becomes At the above becomes But is only zero when or (since
can not be zero), which is not the case here. This means only other option is which leads to
trivial solution. Hence is not valid assumption.
case The roots now are double root. In other words, the ode is . Hence the general solution
is At this gives . Hence . At this gives . Which means since can not be zero. Hence the
trivial solution . So is again not a valid assumption.
case The roots now are which means the general solution is At the above gives and the
solution now becomes At the above gives For non-trivial solution we want . This means or
Hence the general solution now becomes In the above are called the eigenvalues and are
called the eigenfunctions. This is basically the same solution as second example, with the
difference is that the length is now unknown and not a specific value as before. That is why
the length shows in the eigenvalues.