Login
📚 Differential Equations for Engineers
Chapters ▾
⇩ Download ▾

4.1 Boundary value problems

Before we tackle the Fourier series, we need to study the so-called boundary value problems (or endpoint problems). For example, suppose we have

x + λ x = 0 , x ( a ) = 0 , x ( b ) = 0 ,

for some constant λ, where x(t) is defined for t in the interval [a,b]. Unlike before, when we specified the value of the solution and its derivative at a single point, we now specify the value of the solution at two different points. Note that x=0 is a solution to this equation, so existence of solutions is not an issue here. Uniqueness of solutions is another issue. The general solution to x+λx=0 has two arbitrary constants present.to the power 1 It is, therefore, natural (but wrong) to believe that requiring two conditions guarantees a unique solution.

What is going on? We will be interested in finding which constants λ allow a nonzero solution, and we will be interested in finding those solutions. This problem is an analogue of finding eigenvalues and eigenvectors of matrices.

Function graph showing the parametric curve (pi, t) for t in [-1.25, 1.25] and y = sin(sqrt(la)*t) on t in [0, 3.14]. Adjustable parameter: λ in x″ + λx = 0 (la) = 2. Viewing window: x from -0.54 to 3.68, y from -1.31 to 1.31.
Every λ makes x = sin(√λ t) satisfy the left condition x(0) = 0, so only the right endpoint is ever in play. Drag λ from 0 to 17 and watch where the curve meets the dashed line t = π: it lands on the axis exactly four times, at λ = 1, 4, 9 and 16 — the eigenvalues k² — and misses at every value in between, including Lebl's λ = 2 shown here. Below λ = 1 the curve never gets back down to the axis at all, and at λ = 0 it lies flat along the axis — no nonzero solution survives, which is why Lebl rules 0 out as an eigenvalue as well.

Eigenvalue Problems

For basic Fourier series theory we will need the following three eigenvalue problems. We will consider more general equations, but we will postpone this until Chapter 5.

x + λ x = 0 , x ( a ) = 0 , x ( b ) = 0 , x + λ x = 0 , x ( a ) = 0 , x ( b ) = 0 ,

(4.1.1)

and

x + λ x = 0 ,       x ( a ) = x ( b ) ,       x ( a ) = x ( b ) ,

(4.1.3)

A number λ is called an eigenvalue of (4.1.1) (resp. (4.1.2) or (4.1.3)) if and only if there exists a nonzero (not identically zero) solution to (4.1.1) (resp. (4.1.2) or (4.1.3)) given that specific λ. The nonzero solution we found is called the corresponding eigenfunction.

Note the similarity to eigenvalues and eigenvectors of matrices. The similarity is not just coincidental. If we think of the equations as differential operators, then we are doing the same exact thing. Think of a function x(t) as a vector with infinitely many components (one for each t). Let L=d2dt2 be the linear operator. Then the eigenvalue/eigenfunction pair should be λ and nonzero x such that Lx=λx. In other words, we are looking for nonzero functions x satisfying certain endpoint conditions that solve (Lλ)x=0. A lot of the formalism from linear algebra still applies here, though we will not pursue this line of reasoning too far.

The following problem is the one that leads to the general Fourier series.

Orthogonality of Eigenfunctions

Something that will be very useful in the next section is the orthogonality property of the eigenfunctions. This is an analogue of the following fact about eigenvectors of a matrix. A matrix is called symmetric if A=AT. Eigenvectors for two distinct eigenvalues of a symmetric matrix are orthogonal. That symmetry is required. We will not prove this fact here. The differential operators we are dealing with act much like a symmetric matrix. We, therefore, get the following theorem.

Note that the terminology comes from the fact that the integral is a type of inner product. We will expand on this in the next section. The theorem has a very short, elegant, and illuminating proof so let us give it here. First note that we have the following two equations.

x 1 + λ 1 x 1 = 0         a n d         x 2 + λ 2 x 2 = 0 .

Multiply the first by x2 and the second by x1 and subtract to get

( λ 1 λ 2 ) x 1 x 2 = x 2 x 1 x 2 x 1 .

Now integrate both sides of the equation.

( λ 1 λ 2 ) a b x 1 x 2 d t = a b x 2 x 1 x 2 x 1 d t = a b d d t ( x 2 x 1 x 2 x 1 ) d t = [ x 2 x 1 x 2 x 1 ] t = a b = 0 .

The last equality holds because of the boundary conditions. For example, if we consider (4.1.1) we have x1(a)=x1(b)=x2(a)=x2(b)=0 and so x2x1x2x1 is zero at both a and b. As λ1λ2, the theorem follows.

We have seen previously that sin(nt) was an eigenfunction for the problem x+λx=0,x(0)=0,x(π)=0. Hence we have the integral

0 π sin ( m t ) sin ( n t ) d t = 0 , when  m = n .

Similarly,

0πcos(mt)cos(nt)dt=0,when m=n,and0πcos(nt)dt=0.

And finally we also get

ππsin(mt)sin(nt)dt=0,when m=n,andππsin(nt)dt=0,

ππcos(mt)cos(nt)dt=0,when m=n,andππcos(nt)dt=0,

and

ππcos(mt)sin(nt)dt=0(even if m=n).

Fredholm Alternative

We now touch on a very useful theorem in the theory of differential equations. The theorem holds in a more general setting than we are going to state it, but for our purposes the following statement is sufficient. We will give a slightly more general version in Chapter 5.

The theorem is also true for the other types of boundary conditions we considered. The theorem means that if λ is not an eigenvalue, the nonhomogeneous equation (4.1.4) has a unique solution for every right hand side. On the other hand if λ is an eigenvalue, then (4.1.4) need not have a solution for every f, and furthermore, even if it happens to have a solution, the solution is not unique.

We also want to reinforce the idea here that linear differential operators have much in common with matrices. So it is no surprise that there is a finite dimensional version of Fredholm alternative for matrices as well. Let A be an n×n matrix. The Fredholm alternative then states that either (AλI)x=0 has a nontrivial solution, or (AλI)x=b has a solution for every b.

A lot of intuition from linear algebra can be applied to linear differential operators, but one must be careful of course. For example, one difference we have already seen is that in general a differential operator will have infinitely many eigenvalues, while a matrix has only finitely many.

Application

Let us consider a physical application of an endpoint problem. Suppose we have a tightly stretched quickly spinning elastic string or rope of uniform linear density ρ. Let us put this problem into the xyplane. The x axis represents the position on the string. The string rotates at angular velocity ω, so we will assume that the whole xyplane rotates at angular velocity ω. We will assume that the string stays in this xyplane and y will measure its deflection from the equilibrium position, y=0, on the x axis. Hence, we will find a graph giving the shape of the string. We will idealize the string to have no volume to just be a mathematical curve. If we take a small segment and we look at the tension at the endpoints, we see that this force is tangential and we will assume that the magnitude is the same at both end points. Hence the magnitude is constant everywhere and we will call its magnitude T. If we assume that the deflection is small, then we can use Newton’s second law to get an equation

T y + ρ ω 2 y = 0 .

Let L be the length of the string and the string is fixed at the beginning and end points. Hence, y(0)=0 and y(L)=0. See Figure 1.

Diagram of a whirling string from 0 to L on the x-axis, bowed into one upward hump; an arrow labelled y marks the displacement and a looped arrow shows it spinning about the axis.
Figure 1: Whirling string.

We rewrite the equation as y+ρω2Ty=0. The setup is similar to Example 3, except for the interval length being L instead of π. We are looking for eigenvalues of y+λy=0,y(0)=0,y(L)=0 where λ=ρω2T. As before there are no nonpositive eigenvalues. With λ>0, the general solution to the equation is y=Acos(λx)+Bsin(λx). The condition y(0)=0 implies that A=0 as before. The condition y(L)=0 implies that sin(λL)=0 and hence λL=kπ for some integer k>0, so

ρ ω 2 T = λ = k 2 π 2 L 2 .

What does this say about the shape of the string? It says that for all parameters ρ, ω, T not satisfying the equation above, the string is in the equilibrium position, y=0. When ρω2T=k2π2L2, then the string will some distance B. We cannot compute B with the information we have.

Let us assume that ρ and T are fixed and we are changing ω. For most values of ω the string is in the equilibrium state. When the angular velocity ω hits a value ω=kπTLρ, then the string pops out and has the shape of a sin wave crossing the x-axis k1 times between the end points. For example, at k=1, the string does not cross the x-axis and the shape looks like in Figure 1. On the other hand, when k=3 the string crosses the x-axis 2 times, see Figure 2. When ω changes again, the string returns to the equilibrium position. The higher the angular velocity, the more times it crosses the x-axis when it is popped out.

Diagram of a whirling string from 0 to L, bowed into three half-arches, up then down then up, so it crosses the x-axis twice between the fixed ends while spinning about that axis.
Figure 2: Whirling string at the third eigenvalue (k=3).

For another example, if you have a spinning jump rope (then k=1 as it is completely ) and you pull on the ends to increase the tension, then the velocity also increases for the rope to stay "popped out".

Footnotes

[1] See Example 2.2.1 and Example 2.2.3.

[2] Recall that coshs=12(es+es) and sinhs=12(eses). As an exercise try the computation with the general solution written as x=Aeλt+Beλt (for different A and B of course).

[3] Named after the Swedish mathematician Erik Ivar Fredholm (1866–1927).

Adapted from Differential Equations for Engineers by Jiří Lebl (Oklahoma State University), hosted on LibreTexts (math.libretexts.org) and licensed under CC BY-SA 4.0. Changes were made. License: CC-BY-SA-4.0.