4.7.6 · D1Partial Differential Equations

Foundations — Half-range sine and cosine series

2,132 words10 min readBack to topic

This page assumes nothing. If the parent note used a symbol, we build it here from the ground up, in an order where each idea rests on the previous one.


1. What is a function ?

The picture is a curve on a grid. The horizontal axis is the input ; the vertical axis is the output height .

Figure — Half-range sine and cosine series

Why the topic needs it. The whole subject is about rewriting one function (say, the temperature along a rod) as a sum of simpler functions (waves). You cannot rewrite something until you know exactly what that something is: a height at every .


2. The interval and the length symbol

Picture a ruler laid down starting at . The right end sits at the mark . Everything the parent note does happens between these two marks.


3. The sine and cosine curves

Before we can build anything out of sines and cosines, we must see them.

Figure — Half-range sine and cosine series

The stretched versions and . The parent note writes these instead of plain . Two things are happening inside the bracket:

  • The factor rescales the wave so that it fits neatly on our interval of length instead of length .
  • The whole number () counts how many humps the wave makes across : is one gentle arch, wiggles twice as fast, and so on.
Figure — Half-range sine and cosine series

Why the topic needs sines and cosines specifically. They are the only shapes that keep their form when you differentiate them (a derivative of a sine is a cosine, of a cosine is a minus sine). Because the heat and wave equations involve derivatives, waves are the natural "atoms" a solution is built from. That is why Fourier chose them and not, say, straight lines.


4. Even and Odd functions — the mirror pictures

This is the engine of the whole topic, so we go slowly. See also Even and Odd Functions.

Figure — Half-range sine and cosine series

The multiplication rules (this is what kills half the coefficients). Just like signs in multiplication:

first second product
even even even
odd odd even
even odd odd

5. The integral sign

The formulas and are stuffed with . Here is what it means, from zero.

Figure — Half-range sine and cosine series

Integration by parts (why the worked examples use it). When you integrate a polynomial × wave like , no single rule handles the product directly. Integration by parts is the tool that trades a hard integral for an easier one by differentiating the polynomial (turning into ) while integrating the wave. It is the only elementary tool that shrinks the polynomial power, which is exactly the obstacle here.


6. The coefficients , and the sum

The special coefficient is the average height of — the steady background level before any wave is added. An even function can sit high above the axis on average; an odd one always averages to zero (equal positive and negative area), which is why the sine series has no constant term.


The prerequisite map

Function f of x

Interval 0 to L and length L

Sine and Cosine waves

Period and n humps

Even and Odd functions

Product rules even times odd

Integral as signed area

Odd integral is zero

Even integral doubles the half

Integration by parts

Coefficients a n and b n

Half range sine and cosine series

Read it top to bottom: the raw ideas (function, interval, waves, symmetry, integral) feed into the two "cancellation" facts, which feed into the coefficient formulas, which finally assemble into the half-range series of the parent note.


Worked micro-check


Equipment checklist

Hide the right side and test yourself. If any line stumps you, reread the matching section above before tackling the parent note.

What does mean in plain words?
A machine/rule giving one output height for each input ; its picture is a curve.
What does the interval represent?
All inputs from to ; the half of a full period we actually know.
Is even or odd, and what does that look like?
Even — it looks identical in a mirror across the vertical axis ().
Is even or odd, and what does that look like?
Odd — flip it upside-down and mirror it and it lands on itself ().
What is even × odd?
Odd.
What is odd × odd?
Even.
What does measure?
The signed area between the curve and the axis from to (below-axis counts negative).
Why is ?
Positive area on the right cancels the equal negative area on the left.
Why is ?
The left area is an identical same-sign copy of the right area.
What does count inside ?
How many half-waves (humps) the wave makes across .
What is equal to at and ?
Zero at both ends, for every whole number .
What is physically?
The average height of — the steady background level.
Why do the worked examples use integration by parts?
It is the only elementary tool that lowers the polynomial power inside polynomial × wave integrals.

Connections