Differential EquationsFourier Series and Boundary Value Problems3 of 6
Fourier Series and Boundary Value Problems · 3
Convergence and the Gibbs Phenomenon
We build Fourier series by adding smooth sine and cosine waves, and we need to know what height that infinite sum actually settles on at any point x.
1
Convergence at Smooth Points, Jumps, and Boundaries
We want to find the height a Fourier series converges to at a smooth point inside its interval, right at a vertical jump, and at the left and right edges of the interval.
Convergence at Smooth Points, Jumps, and Boundaries
Text solution
Interior point x=0The line on [−2,2] is unbroken at x=0, so the Fourier series settles directly onto the height of the line there.
Height at x=0:2
Copy the interval to check the boundary x=2Because sines and cosines repeat forever, the series repeats the line on [2,6] and [−6,−2], putting the end of our line at height 4 against the start of the next copy at height 0.
Jump at x=2:from 4 on the left to 0 on the right
Midpoint of the boundary jumpAt any jump, the wave sum passes right through the middle between the left and right heights.
24+0=2
Even when a curve has no jumps inside [−2,2], repeating it creates a jump at the boundaries whenever its left and right ends sit at different heights.
Repeating the curve creates a jump at the boundaries whenever its two ends don’t match in height, and the Fourier series always lands halfway between them.
2
The Gibbs Overshoot
At a jump, the wave sum crosses through the midpoint, but right next to the jump the waves spike too high on one side and dip too low on the other before settling down. What happens to this Gibbs overshoot as we add more waves?
The Gibbs Overshoot
Text solution
Total jump heightFind the full vertical distance from the bottom of the step to the top.
8−(−2)=10
9% Gibbs overshootTake 9% of the total jump height to find how far the wave sum goes past each corner.
0.09×10=0.9
Maximum spike and minimum dipAdd the overshoot to the top height of the jump and subtract it from the bottom height.
MaximumMinimum=8+0.9=8.9=−2−0.9=−2.9
For every step height, the wave sum crosses through the midpoint of the jump and overshoots both the top and bottom corners by 9% of the vertical gap, flattening out completely only when the two halves meet at the same height.
At any vertical step, the wave sum crosses right through the middle of the jump and overshoots both corners by 9% of the gap, flattening out only when the two sides meet.
3
Pointwise vs. Uniform Convergence
Because the 9% overshoot never shrinks away, we distinguish pointwise convergence, where the wave sum settles onto the right value at any single point you pick, from uniform convergence, where the entire wave sum settles onto the function everywhere at once with no lingering overshoot.
Pointwise vs. Uniform Convergence
Text solution
Check the interior of [−π,π]The parabola f(x)=x2 is smooth and unbroken across the entire interval, so there are no interior jumps.
At x=0:f(0)=02=0
Check whether the endpoints match when copiedFind the height at the left and right ends of [−π,π] to see if repeating the graph creates a boundary jump.
f(−π)f(π)=(−π)2=π2=π2
Conclusion on convergenceBecause both ends meet at height π2, the repeating graph has no jumps anywhere, so the series converges uniformly to x2 at every point (including π2 at x=±π) with no Gibbs overshoot.
4
Finding Exact Infinite Sums with Fourier Series
Now that we know the exact height a Fourier series converges to at any point x, we can find the exact sum of an infinite number series like
1+221+321+421+⋯=?
by plugging a specific value of x into a known Fourier series so the sines and cosines turn into +1 and −1.
Finding Exact Infinite Sums with Fourier Series
f(x)=x2 on [−π,π]
3π2−4(cosx−22cos2x+32cos3x−⋯)
1+221+321+421+⋯=?
Text solution
First example: Using the Fourier series for f(x)=x2 on [−π,π]
3π2−4(cos(x)−22cos(2x)+32cos(3x)−42cos(4x)+⋯)
Plug in x=π to make every fraction positiveAt x=π, the cosines alternate as cos(π)=−1,cos(2π)=+1,cos(3π)=−1, turning every term inside the parentheses negative so multiplying by −4 makes them all positive.
At every point x along [−π,π], the cosine series adds up to the height of the repeating parabola x2, and at x=0 and x=π all the cosines equal +1 or alternate between −1 and +1.
At every point on the repeating parabola, the cosine series adds up to the curve's height, and at the bottom and corners all the cosines become one or minus one to leave a clean sum of fractions.
5
Worked Example: Convergence and Overshoot on a Piecewise Graph
Now let's put smooth points, interior jumps, boundary jumps, and the Gibbs overshoot together on a single piecewise function. On [−3,3], a function sits flat at height 2 from −3 to 0, jumps to 6 at x=0, and slopes straight down from (0,6) to (3,4). Where does its Fourier series converge at x=−1,x=0, and x=3, and what are the highest and lowest values it reaches near x=0?
Worked Example: Convergence and Overshoot on a Piecewise Graph
Text solution
Copy the graph and check the smooth point x=−1Sketch one copy of [−3,3] to the left and right; at x=−1, the graph sits on the flat piece at height 2 with no jump.
Convergence at x=−1:2
Midpoint of the interior jump at x=0At x=0, the graph jumps from 2 on the left to 6 on the right, so the series lands halfway between them.
22+6=4
Midpoint of the boundary jump at x=3At x=3, our sloped line ends at height 4 on the left while the next copy starts at height 2 on the right.
24+2=3
9% Gibbs overshoot near x=0Take 9% of the jump height at x=0, then add it to the top corner (6) and subtract it from the bottom corner (2).
Jump heightOvershootMaximum near x=0Minimum near x=0=6−2=4=0.09×4=0.36=6+0.36=6.36=2−0.36=1.64
Key concepts
Every question about how a Fourier series behaves comes down to picturing the interval copied to the left and right and checking whether the graph is connected or jumps:
Where the series converges at a point x
Connected point (no averaging needed): If the repeating graph is unbroken at x, including at a boundary where the left and right ends of the interval meet at the same height (like f(x)=x2 on [−π,π], where (−π)2=π2), the series lands directly on the function's height f(x).
Interior or boundary jump (midpoint of the two sides): If the graph jumps at x, or if copying the interval puts two different endpoint heights together at the boundary, the series lands halfway between the left and right heights:
2left height+right height(for a jump from 2 to 6, it lands on 22+6=4)
Overshoot and type of convergence
Gibbs overshoot (9% of the jump): At any interior or boundary jump, the wave sum goes past both the top and bottom of the jump by 0.09×(top−bottom). For a step from −2 to 8, the jump is 8−(−2)=10 and the overshoot is 0.09×10=0.9, giving a peak of 8+0.9=8.9 and a dip of −2−0.9=−2.9.
Pointwise vs. uniform convergence: Any jump inside the interval or at a mismatched boundary leaves a 9% overshoot that gets squeezed closer to the jump as you add more waves without shrinking in height, so the series converges only pointwise. Only when the graph has no interior jumps and its left and right endpoints match in height does the series converge uniformly with no Gibbs overshoot anywhere.
Exact sum of an infinite number series
Plug in x=0,π, or 2π to turn cos(nx) or sin(nx) into +1 and −1 with the signs in your target sum, and set the expression equal to the height the Fourier series converges to at that x (which is the midpoint if x sits on a jump).
6
Practice
1
A function jumps from −4 on the left of x=0 to 16 on the right of x=0. What value does its Fourier series converge to right at x=0, and what are the maximum value it spikes up to and the minimum value it dips down to near x=0 when a huge number of waves are used?
First average −4 and 16 for the crossing point at x=0, then find the full vertical distance from −4 up to 16 to take 9% of it.
At x=0, the Fourier series converges to the midpoint between the left and right sides:
2−4+16=6
Next, find the total vertical height of the jump from −4 up to 16:
Jump height=16−(−4)=20
(Watch out: don't subtract 16−4=12 here. Going from −4 up to 0 and then up to 16 is a total climb of 20. Using 12 gives an overshoot of 1.08, which leads to the wrong peak 17.08 and wrong dip −5.08.)
Take 9% of the jump height of 20:
Overshoot=0.09×20=1.8
Add the overshoot to the top of the jump and subtract it from the bottom:
MaximumMinimum=16+1.8=17.8=−4−1.8=−5.8
Converges to 6; maximum 17.8, minimum −5.8.
2
On the interval [−2,2], a function is given by the straight line f(x)=3x+4, which rises from height −2 at x=−2 to height 10 at x=2. Where does its Fourier series converge at the interior point x=1, and where does it converge at the boundary x=−2?
At x=1, check whether the line is connected. At x=−2, sketch one copy of the line to the left on [−6,−2] to see what height meets −2 at that boundary.
At the interior point x=1, the straight line is smooth and connected, so the series converges directly to the function's height there:
f(1)=3(1)+4=7
At the boundary x=−2, copying the interval to the left puts the right end of the previous copy (at height 10) against the left end of our interval (at height −2). (Watch out: don't just plug x=−2 into 3x+4 to get −2. Because the two ends of the interval don't match, repeating the graph creates a jump between 10 and −2 at the boundary.)
The Fourier series converges to the midpoint of that boundary jump:
210+(−2)=4
7 at x=1, and 4 at x=−2.
3
Three functions are defined on [−π,π]: (A) f(x)=2x, (B) f(x)=π2−x2, and (C) f(x)=0 for −π≤x<0 and f(x)=x2 for 0≤x≤π. For which of these functions does the Fourier series converge uniformly with no Gibbs overshoot anywhere, and why do the others fail?
None of these three functions have a jump inside [−π,π] (even (C) connects at x=0, since 02=0). Check the endpoint heights at x=−π and x=π for each one.
All three functions are connected inside [−π,π], so we check whether their left and right endpoints match when repeated:
For (A): f(−π)=−2π and f(π)=2π, which do not match.
For (B): f(−π)=π2−(−π)2=0 and f(π)=π2−π2=0, which match at height 0.
For (C): f(−π)=0 and f(π)=π2, which do not match.
(Watch out: it is easy to include (C) alongside (B) because its two pieces meet cleanly at x=0 with 02=0, but its outer endpoints at −π and π are at heights 0 and π2, creating a boundary jump when copied.)
Both (A) and (C) have jumps and Gibbs overshoots at the boundaries and converge only pointwise. Only (B) converges uniformly with no Gibbs overshoot.
4
On the interval [−4,4], a function is flat at height 1 for −4≤x<0, jumps to 5 at x=0, and then slopes straight up from 5 at x=0 to 11 at x=4. With a very large number of terms, what is the highest value the Fourier series reaches near x=0, and what is the highest value it reaches near the boundary x=4?
Watch out: take 9% of the jump 5−1=4, not 9% of 5, which would give 5.45; and add 0.36 to the top corner 5, not to the midpoint 3, which would give 3.36.
Near x=0, use the jump from 1 to 5. Near x=4, copy the interval to [4,12] to see what height the graph drops to on the right side of x=4.
Near x=0, the graph jumps from 1 on the left to 5 on the right, so the jump height is 5−1=4:
Overshoot near x=0Maximum near x=0=0.09×4=0.36=5+0.36=5.36
(Watch out: take 9% of the jump 5−1=4, not 9% of 5, which would give 5.45; and add 0.36 to the top corner 5, not to the midpoint 3, which would give 3.36.)
At the boundary x=4, the sloped line ends at height 11 on the left while the next copy starts at height 1 on the right, creating a boundary jump of 11−1=10:(Watch out: the next copy starts at height 1, not 0, so the boundary jump is 11−1=10 rather than 11, which would give the wrong peak 11.99.)
Overshoot near x=4Maximum near x=4=0.09×10=0.9=11+0.9=11.9
5.36 near x=0, and 11.9 near x=4.
5
On [−π,π], the continuous function defined by f(x)=x(π+x) on [−π,0] and f(x)=x(π−x) on [0,π] has the Fourier series
π8(sin(x)+33sin(3x)+53sin(5x)+73sin(7x)+⋯)
Use this Fourier series to find the exact sum of
1−331+531−731+⋯
Watch out: don't forget the π8 in front of the parentheses and stop at 4π2, and be sure to multiply by 8π rather than π8, which would give 2π.
What value of x turns sin(x),sin(3x),sin(5x),… into +1,−1,+1,…?
Plug in x=2π, where sin(2π)=1,sin(23π)=−1,sin(25π)=1, and so on. At x=2π, the function is smooth and connected at height
f(2π)=2π(π−2π)=4π2
Set the plugged-in series equal to 4π2:
4π2=π8(1−331+531−731+⋯)
Multiply both sides by 8π to get the sum by itself: (Watch out: don't forget the π8 in front of the parentheses and stop at 4π2, and be sure to multiply by 8π rather than π8, which would give 2π.)
1−331+531−731+⋯=8π⋅4π2=32π3
6
On [−π,π], a function is defined by f(x)=0 for −π≤x<0 and f(x)=π−x for 0≤x≤π. Its Fourier series is
Watch out: because x=0 sits right on a jump, don't plug x=0 into f(0)=π−0=π and set the series equal to π, which would give the wrong sum 83π2, or set it equal to the left side 0, which would give −8π2.
Pick an x that makes every sin(nx)=0 and every cos(nx)=1, then check whether the graph is connected or jumps at that x.
Plug in x=0, where every sin(n⋅0)=0 and every cos(n⋅0)=1, reducing the Fourier series to
4π+π2(1+321+521+721+⋯)
At x=0, the function jumps from 0 on the left to π−0=π on the right, so the Fourier series converges to the midpoint of the jump:
20+π=2π
(Watch out: because x=0 sits right on a jump, don't plug x=0 into f(0)=π−0=π and set the series equal to π, which would give the wrong sum 83π2, or set it equal to the left side 0, which would give −8π2.)
Set the plugged-in series equal to the midpoint 2π, subtract 4π, and multiply by 2π: