4.7.6 · D5Partial Differential Equations
Question bank — Half-range sine and cosine series
Before you start, refresh three foundations this page leans on: Even and Odd Functions (the symmetry that deletes half the coefficients), Dirichlet Conditions (what the series does at a jump), and the Fourier Series — full range we specialise from.
True or false — justify
An "extension" means the invented values we place on so that a function known only on becomes a full-period function on . Keep that picture in mind for every item.
A half-range sine series and a half-range cosine series of the same agree on
True — both reproduce the same on the open interval ; they only differ in the invented values outside (one odd, one even), so on the physical interval they represent the identical function.
The half-range sine series can represent (a nonzero constant) exactly at every point of
False — the odd extension forces the series to at (odd functions have ), and the periodic extension jumps at , so the sine series equals only on the open , converging to the midpoint at the ends.
Because for a sine series, the sine series has no constant (average) term
True — the odd extension is antisymmetric about the origin, so its average over a full period is ; there is simply no to carry.
If two functions have the same values on they must have the same half-range sine coefficients
True — depends only on on ; whatever happens elsewhere is irrelevant because we never integrate there.
The period of the extended function in a half-range expansion is
False — the period is ; we know only half of that period (namely ), which is exactly why it is called "half-range."
For an even extension, the sine coefficients vanish because is odd
True — (even)(odd) odd, and an odd function integrated over the symmetric interval gives , killing every .
The half-range cosine series always converges at least as fast as the sine series for the same
False in general — it converges faster only when the even extension is smoother than the odd one; if already vanishes at the ends, the odd extension can be the continuous one and win.
Spot the error
Each statement below contains a flaw a careful student can catch. Find it and say why it breaks.
" on has sine coefficients , so the series converges quickly."
Wrong decay rate — the odd extension of is a sawtooth with a jump at , and jump discontinuities give , the slow rate. The rate belongs to the cosine series (whose even extension is continuous).
"To get the sine series I use with the standard formula."
You cannot — is undefined on , so that integral has no integrand there. The valid route is to choose the odd extension, which turns into ; the factor is the fingerprint of that choice.
"The cosine series of on is with no separate constant term."
Missing the term — the even extension of is , whose average over a period is nonzero, so the constant term is essential; dropping it shifts the whole series down by .
"At the sine series of on equals , matching ."
No — the periodic odd extension jumps from (just left of ) to (just right), so by the midpoint rule the series converges to , not .
"Since sine series suit fixed ends, I'll use a sine series for an insulated rod."
Backwards — insulated (zero-slope) ends are Neumann conditions, which need functions with zero derivative at the ends. has zero slope at , so cosine is the match; sine matches zero-value (Dirichlet) ends.
"Doubling the integral is just a convention; the plain would also work."
No — the factor comes from folding a symmetric integrand: for an even integrand . Using halves every coefficient and the series would reconstruct , not .
Why questions
Why does forcing to be odd delete every cosine coefficient?
Because is even, so (odd )(even ) is an odd integrand, and any odd function integrated over the symmetric cancels to — leaving only the sine (oddodd even) terms.
Why are we free to choose the extension at all?
The boundary conditions of the PDE only specify on the physical interval ; nothing constrains , so the values there are ours to invent — we pick the symmetry that makes the series match the BCs.
Why does the smoothness of the extension control how fast the coefficients decay?
A jump in the periodic extension forces slow decay, a continuous-but-kinked one gives , and each extra continuous derivative buys another power of — Fourier coefficients "feel" the worst discontinuity of the extension.
Why does the sine series automatically satisfy ?
Every basis function is zero at and at (since ), so any sum of them vanishes there — exactly what fixed-end (Dirichlet) problems demand.
Why does the cosine series carry a term while the sine series does not?
is the average value of ; an even extension keeps this average, but an odd extension has average by antisymmetry, so its constant term is absent.
Why does the cosine basis pair naturally with insulated (Neumann) ends?
is zero at , so each cosine has zero slope at the ends — matching a "no heat flow through the boundary" condition.
Why can two very different-looking extensions give the same answer on ?
Both are built to reproduce on by construction; the extension only decides the behaviour outside that interval, which the physics never sees.
Edge cases
A "degenerate" input is one where the general rule needs a second look — a constant, a zero, an endpoint, or a limit. These are where marks are lost.
What is the half-range sine series of ?
Every , so the series is identically — the trivial but valid consistency check.
Take on : does its cosine series have any terms?
No — the even extension of a constant is still the constant, so and all for ; the "series" is just the constant , the pure average.
For the sine series of on , what happens at the endpoints?
The odd extension jumps from to across and again at , so the series converges to (the midpoint) at both ends, even though on the open interval.
As , what must (or ) do for any legitimate satisfying Dirichlet's conditions?
They must tend to (Riemann–Lebesgue) — coefficients that don't vanish would mean the series cannot converge; the rate of that decay is what smoothness controls.
If is already odd on but you only feed it and take a cosine series, what do you get?
You get the cosine series of its even reflection, not of itself off ; on it still equals , but the reconstructed function outside is the mirror image, not the original odd .
At a point where the periodic extension is continuous, what does the series converge to?
Exactly — the midpoint rule only bites at jumps; where the extension is continuous, Dirichlet's theorem gives pointwise convergence to the function value.
What half-range series would you choose for a rod with one fixed end () and one insulated end ()?
Neither pure sine nor pure cosine — mixed boundary conditions need the odd-quarter/eighth-range basis like , which vanishes at one end and has zero slope at the other. (See Neumann Boundary Conditions and Heat Equation — separation of variables.)
Connections
- Half-range sine and cosine series (index 4.7.6) — the parent note these traps drill.
- Even and Odd Functions — the symmetry that every "why" answer above leans on.
- Dirichlet Conditions — the midpoint rule behind all the endpoint edge cases.
- Fourier Series — full range — where the doubled-integral factor of comes from.
- Heat Equation — separation of variables — Dirichlet ends sine.
- Wave Equation on a finite string — fixed ends sine.
- Neumann Boundary Conditions — insulated ends cosine.