Even and Odd Fourier Series for f(x) = π − x on (0, π)
At a glance
- 1. Choose an extension
For a half-range expansion, extend the function evenly for a cosine series or oddly for a sine series.
- 2. Compute coefficients
Use the half-range coefficient integrals on zero to pi and simplify separately for even and odd indices.
- 3. Write each series
The even extension gives a cosine series with only odd harmonics; the odd extension gives all sine harmonics.
- 4. Check convergence
On the interval, both series equal the function; at jumps, a Fourier series converges to the midpoint of its one-sided limits.
For a function specified only on , “the even and odd Fourier series” usually means its two half-range expansions. The cosine series comes from reflecting the function evenly across ; the sine series comes from reflecting it oddly. The coefficients—and the periodic functions represented—are therefore different.
For , the even extension produces a cosine series with only odd-indexed cosine terms. The odd extension produces a sine series with every positive integer frequency. Both equal at each point strictly inside the original interval.
Half-range coefficient formulas
A cosine half-range expansion on has the form
where
A sine half-range expansion has the form
The factor is the half-range normalization for an interval of length . The constant term in the cosine series is , not .
Even extension: cosine series
First calculate the constant coefficient:
For , integration by parts gives
If is even, this coefficient is zero. If is odd, it is . Thus the cosine expansion is
Equivalently, the sum can be written as .
This series represents the even periodic extension, which on is . It is continuous at the endpoints when repeated with period , and its cosine coefficients decay as .
Odd extension: sine series
For the sine coefficients,
So the odd half-range expansion is
Here the odd periodic extension on equals for positive and for negative . It has a jump at , which explains why its sine coefficients decrease only as .
A quick check at
The function value is . In the cosine series, every term vanishes because , leaving . In the sine series, the even-indexed terms vanish and the odd-indexed terms alternate:
by the alternating arctangent series. The two expansions agree with the function, despite having different terms and convergence behavior.
Convergence and endpoint values
On every point , both Fourier series converge to . The cosine series also converges to the even extension’s endpoint values: at it gives , and at it gives .
For the odd extension, the periodic function jumps at . A Fourier series at a jump converges to the average of the left- and right-hand limits, so the sine series has value there—not . At , the periodic odd extension is continuous with value , and the series converges to .
Common mistakes
- Using the full-range coefficient factor: For these half-range formulas, use in the integrals, not .
- Forgetting the half in the constant term: The cosine series begins with .
- Dropping parity-dependent terms incorrectly: In the cosine series, even indices vanish and odd indices remain. In the sine series, every coefficient is .
- Treating the extensions as identical: A cosine series and a sine series represent different periodic extensions; they happen to match the original function on .
- Assuming the sine series equals the endpoint value of the original formula: At , its value is determined by the odd extension’s jump and is the midpoint, .
References
- Fourier Series and Boundary Value Problems — James Ward Brown and Ruel V. Churchill
Spotted an error? Send a correction. Read how we write and check articles in our editorial policy.