Calculus

Fourier Series

Fourier Series Logo

Applications of Fourier Series to Differential Equations

Solved Problems

Example 3.

Using Fourier series expansion, solve the heat conduction equation in one dimension Tt=k2Tx2 with the Dirichlet boundary conditions: T=T1 if x=0 and T=T2 if x=L. The initial temperature distribution is given by T(x,0)=f(x).

Solution.

First we should define the steady state temperature distribution under the given boundary conditions.

Consider the equation k2Tx2=0. Integrating, we find the general solution:

T0(x)=C1+C2x.

Find the coefficients C1 and C2 from the boundary conditions: T0(0)=T1, T0(L)=T2. As a result, we have

T0(x)=T1+(T2T1)xL.

Now we construct the time-dependent temperature solution. Introduce the new variable

y(x,t)=T(x,t)T0(x).

The boundary conditions for y(x,t) become

y(0,t)=y(L,t)=0,

The initial condition can be written in the form

y(x,0)=f(x)T0(x)=g(x).

Taking into account the new boundary conditions it's natural to apply the Fourier sine series expansion. Then

g(x)=n=0bnsinnπxL,

where the coefficients bn are defined by the formula

bn=2L0Lg(x)sinnπxLdx.

(We assume that these coefficients are known.)

We will search the general solution in the form of the series with time-dependent coefficients cn(t).

y(x,t)=n=0cn(t)sinnπxL.

Obviously, the boundary conditions y(0,t)=0 and y(L,t)=0 are satisfied for all times t>0. The initial conditions for cn(t) are

Substitute these expressions into the heat conduction equation Then

Multiply both sides of the last expression by and integrate on the interval using the orthogonality relations

Then we get

or

Solving this ODE for we obtain

Since in this case we can write

where is a constant depending on the initial conditions.

Taking into account that we get the solution for in the form

Consequently, the final solution for the heat equation is expressed through the formula

Example 4.

Find the solution of wave equation for a fixed string

with the boundary conditions (the string is fixed at the endponts). The initial displacement and velocity are given by

where and are some functions defined by the user, such that

Solution.

We will look for all periodic solutions in which the variables and are separated, that is in the form

Then

Substituting this into the wave equation, we obtain

Here the function on the left-hand side depends only on whereas the function on the right-hand side depends only on This can happen if both sides of the equation are constant. Hence,

If the constant is positive, we can put to get

with the general solution

Such solution cannot produce periodic functions in Therefore, we get that the constant is negative: Then our wave equation can be split into two ODEs:

Solving the first equation, we find that

where and are constants of integration.

Considering the boundary conditions for the fixed string, we set

Then

By setting (otherwise we would get the trivial solution ), we find that ( is an integer).

Thus, the so-called eigenvalues are

The corresponding eigenfunctions are written as

For the second equation yields

Thus, we can write:

Here is a positive integer, and are arbitrary constants depending on the initial conditions.

Now we can combine the general solution of the wave equation as a linear combination of the particular solutions:

Assuming that the series is differentiable, we find that

Determine the constants and using the initial conditions:

As one can see, we should expand the functions and into the series based on the orthogonal system By the formulas for Fourier coefficients,

Thus, the solution to the wave equation with the given boundary and initial conditions is given by the infinite series

where the coefficients and are defined by the formulas given above.

The first term of the series is called the fundamental tone, the other terms are called harmonics. The period and frequency of a harmonic are given by the formulas

Example 5.

Find the solution to Laplace's equation

on a circle with the boundary condition

Solution.

We will find the solution in polar coordinates The relationship between cartesian and polar coordinates is given by the standard formulas (Figure ):

Laplace’s equation on the unit circle
Figure 1.

In polar coordinates, the function becomes depending on the variables and Obviously, is a -periodic function in Similarly, the boundary function becomes the function depending only on the angle

The Laplace's equation in polar coordinates is

We will seek the solution as a Fourier series expansion:

where the Fourier coefficients and depend on the radius

Assuming that the function is smooth enough, so we may differentiate it twice with respect to and we obtain

Substituting this into the Laplace's equation yields

Since this expression is equal to zero for all and we conclude that

Thus, we have got the system of ODEs instead of the original PDE. (This method was proposed by Joseph Fourier in ). It is important, that each ODE in the system can be solved independently.

We can check directly that the functions

satisfy the last differential equations.

Here the constants and must be found from initial conditions to the ODEs. To get these initial conditions, we expand into Fourier series the function defining the boundary conditions for the Laplace's equation. This yields:

Equating coefficients of and in this expression, we obtain that

Hence, the system of ODEs has solutions

Thus, the solution to the Laplace's equation is given by

where are known numbers defined by the boundary conditions.

We can simplify this answer. Substitute the explicit expressions for the coefficients

Notice that

Therefore,

One can show that using the formula the term in the square brackets reduces to the infinite geometric series whose sum is

Then the answer is given by

The last expression is called Poisson's integral for the unit circle.

Page 1 Page 2