Second order linear PDEs
Introduction
As we have already seen, in solving certain PDEs, we use methods used in solving ordinary differential equations to determine the solution of PDEs. In this section we discuss second order, linear PDEs with two independent variables: for transient problems these depend on time, and space, , while for steady-state problems, these may depend on a two-dimensional space system in and (Cartesian) or and (polar). Examples of second order linear PDEs that we consider are the 1D wave, 1D diffusion and 2D Laplace equation given by Eqs. (2.78)-(2.80), respectively:
Before we move on to the general method of solving second order, linear PDEs we give some preliminaries on a class of ordinary differential equation (ODE) problems known as boundary-value problems (BVPs). Let us just note here that in Year I mathematics when you first encountered ODEs, the focus was on initial-value problems (IVPs) where initial conditions were given for the function (say, ) and its derivatives , etc) at the same point in the independent variable, say . Boundary value problems consist of a differential equation with an appropriate number of conditions describing the function and/or its derivatives. BVPs are generally more complicated than IVPs. For IVPs, and at least for linear ODEs, a unique, particular solution can be obtained.
Background: boundary-value problems
For BVPs the function and/or its derivatives are specified at different points of the independent variable; these are referred to as boundary conditions (BCs).
For example, consider the following ODE
where . Since (2.81) is a second order ODE, we require two BCs for the BVP to be fully specified. Any of the following sets of BCs (or combinations of them) is appropriate for the solution of a BVP like the one given by (2.81):
(i) and ,
(ii) and ,
(iii) and ;
where are constant boundary values, are the boundary points and, . Further, 'primes' denote differentiation with respect to . Unlike IVPs for which a unique solution was often guaranteed, depending on the constraints (i.e. BCs), BVPs might have:
(i) a unique solution, or
(ii) infinite solutions, or
(iii) no solution;
note that such behavior is easily possible even for the simplest, linear ODEs.
Solutions of BVPs
A function is a solution of a second order BVP if it
(i) is defined for all values of in the interval ,
(ii) is twice differentiable for all values of in the same interval,
(iii) satisfies the ODE [e.g. Eq. (2.81)],
(iv) satisfies the BCs at the two boundary points, say and .
Types of BCs
The solution of the BVP depends on the nature of the BCs. The three most common types of that we will encounter are given as follows,
(i) and Dirichlet
(ii) and Neumann BCs
(iii) and periodic BCs
Note that Dirichlet BCs specify the function at given boundary points while Neumann BCs specify the derivative of the function at given boundary points. These can have physical meaning as we will see later in the course when dealing with the solution of certain PDEs.
Eigenvalues, eigenfunctions & homogeneous BVPs
Consider the general, second order, linear differential equation given by (2.81) with a set of BCs . An ODE is defined to be homogeneous if the forcing term, is zero. Linear ODEs with have as a general solution:
where and are arbitrary constants and and are linearly independent solutions to the ODE. The general solution (2.82) is a result of the principle of superposition. Now, a homogeneous BVP is one for which and . If and/or any of the boundary values are nonzero, then the BVP is said to be inhomogeneous. More generally, we can define the homogeneity of a boundary condition using the following statement:
Definition 2.3 A boundary condition is homogeneous if and
satisfy the boundary condition and so does any linear combination, With Definition 2.3, it is easy to see that all types of boundary conditions given above are homogeneous (if ) including the periodic BCs. We are interested in BVPs in which we have a differential equation for an unknown function, say and a real parameter, which will be considered as an undetermined constant that we need to determine. At this point, we will only discuss a very simple second order linear ODE, namely:
The topic falls into a larger class of ODE problems known as Sturm-Liouville problems (SLPs). The simplest type of such problems lead to half Fourier sine/cosine series or full Fourier series as shown in this section. More complicated SLPs may lead to Bessel functions and Hermite polynomials. The theory behind SLPs justify the method of separation of variables for linear second order ODEs which we discuss in Subsec. 2.4.
Here, our objective is to solve ODE (2.83) together with 2 boundary conditions (we will deal with each set of BCs given above, separately). Solutions of BVPs are related to eigenvalues and eigenvectors of linear equations: consider a square matrix where we want to determine the values of that satisfy,
where are the eigenvalues, are the eigenvectors with (i.e. we want nontrivial solutions). The same idea applies to BVPs: eigenvalues exist for nontrivial solutions or eigenfunctions, i.e. when . The rest of this section deals with finding all eigenvalues, for which ODE (2.83) has nontrivial solutions subject to the aforementioned three types of BCs.
Nontrivial solutions
As mentioned in the previous section, we consider Eq. (2.83) which, despite being very simple, turns out to be extremely useful and relevant in the solution of linear PDEs describing physical problems. Again, the ODE is given by:
where the eigenvalues, can take any real value.
1. Homogeneous BVP with Dirichlet BCs (or fixed BCs)
Consider a set of homogeneous Dirichlet BCs on an arbitrary interval
where . In order to find all eigenvalues of the BVP (i.e. values of that give nontrivial solutions), we need to consider the following cases separately
For , the general solution of Eq. (2.85) is given by
Applying BCs (2.86) in (2.87),
From Eq. (2.89),
since we are seeking nontrivial solutions, we need hence we let to be 'free' and choose
from Eq. (2.90), the eigenvalues are , where . The corresponding eigenfunctions are given by
for any nonzero . Equation (2.91) may be re-written in terms of a general coefficient, say ,
For , the general solution of Eq. (2.85) is given by
Applying BCs (2.86) in (2.93),
From Eqs. (2.94) and (2.95), which, when substituted in (2.93), leads to the trivial solution for all values of .
is not an eigenvalue of the BVP
For , the general solution of Eq. (2.85) is given by
Applying BCs (2.86) in (2.96),
We would choose in Eq. (2.98) to be nonzero for nontrivial solutions. However, since can only be zero if its argument, is zero and, given that and , then Eq. (2.98) is only satisfied if .
since , for , the only possible solution is the trivial one, .
are not eigenvalues of the BVP
2. Homogeneous BVP with Neumann BCs (or no-flux BCs)
Next, we consider homogeneous Neumann-type BCs on an arbitrary interval
where .
For the case of , applying (2.99) in (2.87), leads to
and the corresponding eigenfunctions are
For the case of , applying (2.99) in (2.93), shows that is an eigenvalue and the corresponding eigenfunction is
where is nonzero. As for Case 1 , it can be shown that the BVP does not have strictly negative eigenvalues.
for homogeneous BVPs with Neumann BCs on all possible eigenvalues and corresponding eigenfunctions are given by
where corresponds to the zero eigenvalue [Eq. (2.100)] and the corresponding eigenfunction [Eq. (2.101)].
3. Homogeneous BVP with periodic BCs
Lastly, we consider the following set of BCs on
where . Applying BCs (2.102) in (2.87) and (2.93), we obtain the following eigenvalues and corresponding eigenfunctions,
where corresponds to the zero eigenvalue [Eq. (2.103)] and the corresponding eigenfunction [Eq. (2.104)]. Again, it can be shown that this BVP does not have strictly negative eigenvalues. Example 2.3 Find all the nontrivial solutions (i.e. nonzero), of the following BVP:
Solution Here, the ODE is Eq. (2.85) with . We want to find whether nontrivial solutions exist for this specific value of . The general solution for Eq. (2.105) is:
where and are arbitrary constants. Plugging the first boundary condition, in Eq. (2.106) yields . Differentiating Eq. (2.106) with respect to and applying the second boundary condition, (with )
In Eq. (2.106), this gives the solution as ; note this is the only nontrivial solution subject to the boundary conditions.