1. Motivation of Fourier Series
The one-dimensional heat equation is a second order partial differential equation
(1.1) ∂u
∂t(x, t) = ∂2u
∂x2(x, t).
Assume the solution u=u(x, t) obeys the initial condition u(x,0) =f(x) and the boundary condition
u(0, t) =u(1, t) = 0.
Suppose that u(x, t) = X(x)T(t) satisfies (1.1). Then X(x)T0(t) = X00(x)T(t). Dividing this equation byX(x)T(t),we obtain
T0(t)
T(t) = X00(x) X(x) .
The left hand side of the above equation is a function oft while the right hand side of the equation is a function of x. This can only happen when they are constant functions, i.e.
there is a constant A so that
T0(t)
T(t) = X00(x)
X(x) =−A.
Now, we obtain a system of ordinary differential equations:
X00(x) +AX(x) = 0, T0(t) +AT(t) = 0.
We obtain T(t) = e−AtT0 for some constant T0. The boundary condition implies X(0) = X(1) = 0.
Case 1. A is a positive number, i.e. A = k2 for some real number k. In this case, the characteristic polynomial of the second order ordinary differential equation is
λ2+k2 = 0.
Hence the characteristic polynomial has two conjugate complex roots λ = ±k. Then the general solution to the differential equation is given by
X(x) =C1coskx+C2sinkx.
Case 2. A= 0.Then X(x) =C1x+C2.
Case 3. A <0.Assume A=−k2 for some real number k.The characteristic polynomial is given by λ2−k2.Hence it has two distinct real roots ±k. The general solution to this equation is given by
X(x) =C1ekx+C2e−kx.
Using the boundary conditionsX(0) =X(1) = 0,we can check that in case 3,C1=C2 = 0.
In case 2,C1 =C2= 0.In case 1,X(x) =C2sinkx and thus X(1) =C2sink= 0.
We obtain that k=nπ forn≥1.Hence if we denote Xn(x) = sinnπx,thenXn(x) obeys Xn00(x) +n2π2Xn(x) = 0.
1
2
In this caseTn(t) =e−n2π2t obeys
Tn0(t) +n2π2Tn(t) = 0.
Hence if we denote un(x, t) = e−n2π2tsinnπx, then un(x, t) is a solution to (1.1) obeying un(0, t) = un(1, t) = 0. Now, we also need to find a solution u(x, t) satisfies the initial condition u(x,0) =f(x).Let {an} be a sequence of real numbers so that
u(x, t) =
∞
X
n=1
ane−n2t2sinnπx
obeys the initial conditionu(x,0) =f(x).(In fact, assuming the convergence of the infinite series, we knowu(0, t) =u(1, t) = 0.) Then we obtain
f(x) =
∞
X
n=1
ansinnπx.
Now, we want to express {an} in terms off(x).(The initial temperaturef(x) is given but an are unknown at this moment.) This motivates the study of Fourier series.