Half-Range Fourier Sine and Cosine Series
Extending Half an Interval: When Sines and Cosines Belong
A half-range problem supplies a function only on 0 < x < L. To use Fourier methods, extend that function to a periodic function on -L < x < L. An odd extension satisfies F(-x) = -F(x) and has a sine-only Fourier series.
An even extension satisfies F(-x) = F(x) and has a cosine-only series. The extension is a modeling choice that encodes the behavior at the endpoint x = 0.
For an odd extension, f(x) = sum b_n sin(n pi x/L), where b_n = (2/L) integral from 0 to L of f(x) sin(n pi x/L) dx.
For an even extension, f(x) = a_0/2 + sum a_n cos(n pi x/L), where a_n = (2/L) integral from 0 to L of f(x) cos(n pi x/L) dx.
The factor two arises because the full integral over the symmetric extension reduces to twice the supplied half-interval integral.
In a vibrating string or heat equation, homogeneous Dirichlet boundary data such as u(0,t) = 0 naturally match sine modes because every sine vanishes at both ends.
Homogeneous Neumann data such as u_x(0,t) = 0 naturally match cosine modes because every cosine has zero derivative at x = 0. At x = L, the selected eigenfunctions impose the companion condition.
Do not select a series merely because the supplied function looks odd or even on the positive interval; parity is a property of the extension.
A function f is prescribed only for 0 < x < L and will be represented by a half-range cosine series. Which identity defines its standard even extension F for all 0 < x < L?
On 0 < x < 2, let f(x) = x. For the half-range sine series f(x) = sum b_n sin(n pi x/2), what is b_1?