Section 10.1 of the textbook says a lot about the question of whether or not linear boundary value problems have solutions and whether those solutions are unique, but it doesn’t actually tell you how to solve them. Fortunately, you have already seen all the mathematical ideas you need: a little bit of linear algebra, and, for inhomogeneous problems, the methods of undetermined coefficients and variation of parameters
Homogeneous problems
Suppose we want to solve the homogeneous boundary value problem (BVP)
Let’s try. The boundary conditions can be written:
This can be rearranged into a vector equation
How does this works in practice?
Example 1
Example 2
Consider the same problem but let it be defined instead on the interval
Can you see why the first example works but the second example fails? The solution
Inhomogeneous problems
Using undetermined coefficients
In sections 3.5 and 3.6 of Boyce, we learn to solve inhomogeneous second order ODE using the methods of undetermined coefficients and the method of variation of parameters. Recall that these problems take the form
Plugging this solution into the boundary conditions yields
and the solvability of this system depends on whether the matrix on the left-hand side has zero determinant.
Example
Now we solve the same problem but with a nonhomogeneous term:
For this problem, it’s easy enough to solve for
Variation of parameters
The undetermined coefficient method only works for constant coefficient problems where the inhomogeneous term takes a particular form. When it fails, we can use the variation of paramters method.
Consider the inhomogeneous boundary value problem (BVP)
Other boundary conditions
In the above problem, our boundary conditions depended on the values of the function
Exercises
Solve
Solve
Note that undetermined coefficients is sufficient for this problem. A sometimes useful formula for the inverse of a matrix is assuming that this determinant is non-zero.Consider this last example again, except place the right-hand boundary condition at a point
rather than . For which values of does the problem have a unique solution?Here is one that requires the variation of parameters method:
To get you started, note that the two homogeneous solutions are and .
Solutions to Exercises
Solutions will be posted here after the due date.