5.5 Fourier series

Harmonic oscillator: my=ky, y=Acosωt+Bsinωt.

Wave: 2ut2=c22ux2. Methods.

1.

Reducing order. (tcx)(t+cx)u=0 By means of method of characteristic line, we could get the traveling-wave solution.

2.

Separation of variables. Assuming u(x,t)=U(t)V(x), then the original PDE becomes 2 ODEs, and then we could get the standing-wave solution.

Assuming a periodic function f with period T, can it be expressed in the form of f(x)=A0+A1cos2πxT+B1sin2πxT++Ancos2nπxT+Bnsin2nπxT+ and what’s its convergence?

Definition 5.5.1 Inner product of periodic functions. Assuming f,g are periodic functions with period 2π, then f.g=02πf(x)g(x)dx

When m,nN, notice that cosnx,cosmx=02πcos(n+m)x+cos(nm)x2dx={0nmπn=msinnx,sinmx=02πcos(nm)xcos(n+m)x2dx={0nmπn=mcosnx,sinmx=0

Assuming f(x)=A0+n=1+(Ancosnx+Bnsinnx) Then we have 02πf(x)cosnxdx=f(x),cosnx=Ancosnx,cosnx={2πA0n=0πAnn1 Therefore A0=12π02πf(x)dx,An=1π02πf(x)cosnxdx Similarly we have Bn=1π02πf(x)sinnxdx

Definition 5.5.2 Assuming f is periodic with period 2π, f is integrable and absolutely integrable, let An=1π02πf(x)cosnxdx,Bn=1π02πf(x)sinnxdx,nN which is called the Euler-Fourier formula, then the Fourier series of f is defined as f(x)A02+n=1+(Ancosnx+Bnsinnx)

Example 5.5.1 f(x)=πx2 when x(0,2π), f is periodic with period 2π, seek its Fourier series.

f is odd An=0,nN, and Bn=1π02ππx2sinnxdx=1n So its Fourier series is n=1+sinnxn. Yet we’ve already known that n=1+sinnxn=πx2,x(0,2π) So its Fourier series converges to itself when x2kπ,kZ.

Example 5.5.2 f(x)=x2 when x[π,π], f is periodic with period 2π, seek its Fourier series.

f is odd Bn=0,nN, and An=2π0πx2cosnxdx=4(1)nn2,nN So its Fourier series is π23+n=1+4(1)nn2cosnx. Yet we’ve already known that n=1+cosnxn2=π26+x22πx4,x[0,2π] Therefore, n=1+(1)nn2cosnx=n=1+cosn(x+π)n2=π26+(x+π)22π(x+π)4 After computation we could verify that its Fourier series constantly converges to itself.