Intuition The ONE core idea
A repeating wiggle can be rebuilt by adding together simple sine and cosine waves , and each wave's "amount" is found by a projection — multiply, then integrate over one full period. This whole page teaches you the alphabet (the symbols, the integral, the waves, orthogonality) so that the coefficient derivation reads like plain sentences.
The parent note uses a lot of notation as if you already knew it: f ( x ) , [ − L , L ] , sin L nπ x , ∫ − L L , "odd/even", "orthogonality", a 0 /2 . Below we earn every one of them from zero , each building on the one before. A smart 12-year-old should be able to start at line one.
f ( x )
x is a number we feed in (think: a position along a line, or a moment in time). f ( x ) is the number that comes out . The letter f is just the name of the machine; f ( x ) means "the output of machine f when you put x in."
The picture: a curve on a graph. The horizontal axis is x ; the height of the curve above each x is f ( x ) .
Why the topic needs it: the thing we want to rebuild — a sound wave, a temperature profile, a voltage — is exactly such a curve f ( x ) .
Definition Periodic function and period
2 L
A function is periodic if its graph repeats forever, copy after copy . The width of one copy is called the period . Here we call that width 2 L , so one full copy sits on the interval from x = − L to x = + L , written [ − L , L ] .
The symbol [ − L , L ] just means "all the x values from − L up to L , endpoints included." The letter L is a half-period : half the width of one copy. If the period is 2 π , then L = π (that is Example 2 in the parent).
The picture: one tile of a wallpaper pattern, from − L on the left to + L on the right; the whole wall is that tile stamped over and over.
Why the topic needs it: we only ever study one period . If we get f right on [ − L , L ] , periodicity fills in everything else for free.
sin and cos
Imagine a point walking around a circle of radius 1 . cos ( θ ) is its horizontal position (how far right); sin ( θ ) is its vertical position (how far up). The angle θ is how far around the circle you have walked.
As θ grows, both trace smooth up-and-down waves. They are the purest possible wiggles — one hump up, one hump down, repeat.
Intuition Why sine and cosine and not some other wiggle?
Because they are the "atoms" of periodic motion: nothing repeats more smoothly. Any messy repeating curve can be built by stacking these atoms at different speeds. That is the entire promise of Fourier series.
We do not just use sin x ; we use sin L nπ x . Let us unpack that angle piece by piece.
L π x : as x runs from − L to L , this angle runs from − π to π — exactly one full wave across one period. This is the slowest wave, n = 1 .
The integer n = 1 , 2 , 3 , … is the harmonic number . Multiplying the angle by n makes the wave wiggle n times faster, so n complete waves fit in one period.
Why the topic needs it: every one of these has period dividing 2 L , so any sum of them repeats every 2 L — matching f . Different n = different pitch; the coefficients say how loud each pitch is.
∑ means "add them all up"
∑ n = 1 ∞ ( stuff with n ) is shorthand for: ==plug in n = 1 , then n = 2 , then n = 3 , ... forever, and add every result==. The n = 1 below and the ∞ above say where to start and stop.
The picture: a stack of waves laid on top of each other, their heights added at every x to make the final curve.
Why the topic needs it: the Fourier series
f ( x ) = 2 a 0 + ∑ n = 1 ∞ [ a n cos L nπ x + b n sin L nπ x ]
is such an endless sum. The a n , b n are the loudness knobs.
Definition Fourier coefficients
a n = ==how much of the cosine wave of harmonic n == is in f . b n = ==how much of the sine wave of harmonic n ==. a 0 is a special one tied to the constant (average) level of f .
Think of a graphic-equaliser: each a n and b n is one slider setting.
Intuition Why is the constant written
a 0 /2 , not a 0 ?
Pure bookkeeping. Writing it as 2 a 0 makes the single formula a n = L 1 ∫ − L L f cos L nπ x d x work even for n = 0 (because cos 0 = 1 ). One formula covers everything — that is the only reason.
Definition Definite integral
∫ − L L g ( x ) d x is the ==area between the curve g and the horizontal axis==, from x = − L to x = L , counting area above the axis as positive and area below as negative.
The picture: shade the region under the curve. Above the axis = "+" shading, below = "−" shading. The integral is (+ shading) minus (− shading).
Intuition Why an integral, and why the whole period?
An integral is a fancy average-and-total machine. Over one whole period, any pure sine or cosine has equal area above and below the axis — the "+" cancels the "−", giving zero . That cancellation is the sharp knife that isolates one coefficient at a time.
Even: the graph is a mirror image across the vertical axis — f ( − x ) = f ( x ) . (Example: cos , or x 2 .)
Odd: the graph has 180° rotational symmetry about the origin — f ( − x ) = − f ( x ) . (Example: sin , or x .)
Two facts do heavy lifting:
An odd function has equal + and − area over [ − L , L ] , so ∫ − L L ( odd ) d x = 0 .
even × even = even , odd × odd = even , even × odd = odd (same rule as sign multiplication).
Why the topic needs it: if f is odd, every a n vanishes before you compute anything (Example 1 and 2 in the parent). If f is even, every b n vanishes. This is why the parent says "check symmetry first." See Even and odd functions .
Definition Orthogonality (in words)
Two waves are orthogonal on [ − L , L ] if ==multiplying them and integrating over one full period gives 0 ==. It means they "point in different directions" and don't contaminate each other.
Intuition Functions as vectors
Picture each wave as an arrow. The operation "multiply the two functions, then integrate" behaves exactly like a dot product of arrows: it is 0 when the arrows are perpendicular. Different-frequency sines and cosines are all mutually perpendicular. To read off one coordinate of an arrow you project onto that one axis — here you "project" f onto one wave by multiply-then-integrate, and every other wave contributes 0 . This single trick is what makes the coefficient formulas fall out cleanly. See Orthogonality of functions .
Function f of x - a curve
Period 2L on interval minus L to L
Sine and cosine from a spinning circle
Building waves cos and sin of n pi x over L
Summation sign adds all waves
Integral is signed area over one period
Orthogonality waves do not overlap
Even and odd symmetry shortcut
Coefficient formulas a0 an bn
Once these foundations are solid, the same machinery powers Half-range Fourier series (sine and cosine) , Complex (exponential) Fourier series , Parseval's theorem , Convergence of Fourier series (Dirichlet conditions) , and Separation of variables for the heat equation .
Cover the right-hand side and test yourself. Each ::: line is a self-check.
What does f ( x ) mean in one sentence? The output of machine f when the input is the number x — the height of a curve above the point x .
What is L ? The half-period: half the width of one repeating copy, so one copy fills [ − L , L ] and the period is 2 L .
Geometrically, what are cos θ and sin θ ? The horizontal and vertical position of a point walking around a unit circle after turning through angle θ .
How many full waves does sin L nπ x make across [ − L , L ] ? Exactly n full waves — n is the harmonic number counting oscillations per period.
What does ∑ n = 1 ∞ tell you to do? Plug in n = 1 , 2 , 3 , … forever and add every resulting term.
What does ∫ − L L g d x compute? The signed area between g and the horizontal axis over one full period (above = +, below = −).
Why is ∫ − L L sin L nπ x d x = 0 ? A full period of a pure wave has equal area above and below the axis, so they cancel.
What is an odd function and what does it do to a n ? f ( − x ) = − f ( x ) (180° symmetry about the origin); it forces every cosine coefficient a n = 0 .
What is an even function and what does it do to b n ? f ( − x ) = f ( x ) (mirror symmetry across the vertical axis); it forces every sine coefficient b n = 0 .
In plain words, what does "orthogonal" mean for two waves? Multiply them and integrate over one period and you get 0 — they don't overlap, like perpendicular arrows.
Why is the constant term written a 0 /2 and not a 0 ? So the single formula a n = L 1 ∫ f cos L nπ x d x also gives the right constant at n = 0 .