<?xml version="1.0" encoding="UTF-8"?>

<record version="1" id="1517">
 <title>Periodic Functions, Harmonics, and Why Fourier Series Exist</title>
 <name>PeriodicFunctionsHarmonicsAndWhyFourierSeriesExist</name>
 <created>2026-10-22 02:29:09</created>
 <modified>2026-10-22 02:29:09</modified>
 <type>Topic</type>
 <creator id="1" name="bloftin"/>
 <modifier id="1" name="bloftin"/>
 <comment>added a computational resource</comment>
 <author id="1" name="bloftin"/>
 <classification>
	<category scheme="pacs" code="02.30.Nw"/>
	<category scheme="pacs" code="02.30.Lt"/>
 </classification>
 <defines>
	<concept>periodic function</concept>
	<concept>period</concept>
	<concept>fundamental period</concept>
	<concept>frequency</concept>
	<concept>angular frequency</concept>
	<concept>phase</concept>
	<concept>phase shift</concept>
	<concept>harmonic</concept>
	<concept>fundamental frequency</concept>
	<concept>harmonic number</concept>
	<concept>commensurate frequencies</concept>
	<concept>partial sum</concept>
 </defines>
 <synonyms>
	<synonym concept="Periodic Functions, Harmonics, and Why Fourier Series Exist" alias="FS01"/>
 </synonyms>
 <keywords>
	<term>Fourier series</term>
	<term>periodic function</term>
	<term>period</term>
	<term>frequency</term>
	<term>angular frequency</term>
	<term>phase</term>
	<term>harmonics</term>
	<term>superposition</term>
	<term>partial sums</term>
	<term>commensurate frequencies</term>
	<term>square wave</term>
 </keywords>
 <preamble>% this is the default PhysicsLibrary preamble.  as your knowledge
% of TeX increases, you will probably want to edit this, but
% it should be fine as is for beginners.

% almost certainly you want these
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{amsfonts}

% used for TeXing text within eps files
%\usepackage{psfrag}
% need this for including graphics (\includegraphics).
% If you use \includegraphics{figure} with no file extension, PhysicsLibrary
% will prefer figure.png before falling back to figure.eps.
\usepackage{graphicx}
\DeclareGraphicsExtensions{.png,.jpg,.jpeg,.pdf,.eps}
% for neatly defining theorems and propositions
%\usepackage{amsthm}
% making logically defined graphics
%\usepackage{xypic}

% there are many more packages, add them here as you need them

% define commands here</preamble>
 <content>\section*{FS01: Periodic Functions, Harmonics, and Why Fourier Series Exist}

Fourier series begin with a simple observation: many physical motions repeat.

A pendulum oscillates.
A vibrating string repeats its motion.
An alternating voltage cycles.
A rotating shaft returns to the same orientation.
A repeating pulse train returns after each pulse interval.

The first goal of Fourier analysis is therefore not to compute coefficients.
It is to understand the mathematical structure of repetition.

This lecture develops that structure in small steps:

\begin{itemize}
\item what it means for a function to be periodic,
\item the difference between a period and the fundamental period,
\item frequency and angular frequency,
\item amplitude and phase,
\item harmonics and harmonic number,
\item why integer multiples of one fundamental frequency fit together naturally,
\item why sums of harmonics remain periodic,
\item how simple harmonics begin to build complicated repeating waveforms.
\end{itemize}

The Fourier coefficient formulas are deliberately postponed.
At the end of this article, the natural next question will be:

\begin{itemize}
\item How can we measure how much of a particular harmonic is present in a function?
\end{itemize}

FS02 answers that question by introducing inner products of functions.

\section{Periodic functions}

A function $f$ is periodic if there exists a positive number $T$ such that

\begin{equation}
f(x+T)=f(x)
\label{eq:periodic_definition}
\end{equation}

for every $x$ for which both sides are defined.

The number $T$ is called a period of the function.

Equation~\eqref{eq:periodic_definition} says that if we move forward by $T$, the function value repeats exactly.

For a time-dependent function,

\begin{equation}
f(t+T)=f(t),
\end{equation}

so the system returns to the same function value after every interval $T$.

\begin{center}
\includegraphics[width=0.92\textwidth,keepaspectratio]{FS01_fig01_periodic_vs_nonperiodic.png}

{\small Figure 1. A periodic function repeats after a fixed horizontal displacement $T$. A nonperiodic function has no single positive displacement that reproduces the complete graph for all values of the independent variable.}
\end{center}

\subsection{The independent variable does not have to be time}

Fourier series are often introduced with time-dependent oscillations, but the independent variable can be many things.

Examples include:

\begin{itemize}
\item time $t$,
\item position $x$ along a string,
\item angle $\theta$ around a circle,
\item position along a repeating crystal lattice,
\item spatial coordinate in a periodically repeated boundary condition.
\end{itemize}

For this reason, the notation

\begin{equation}
f(x+T)=f(x)
\end{equation}

should be understood generically.

When the independent variable is time, $T$ has units of time.
When the independent variable is distance, the period has units of distance.

\section{A period is not always the fundamental period}

Suppose

\begin{equation}
f(t)=\cos(\omega t).
\end{equation}

If $T$ is one period, then

\begin{equation}
\cos[\omega(t+T)]
=
\cos(\omega t)
\end{equation}

for all $t$.

Because cosine repeats when its argument increases by $2\pi$,

\begin{equation}
\omega T=2\pi
\end{equation}

is the smallest positive choice.

Thus

\begin{equation}
T=\frac{2\pi}{\omega}.
\label{eq:T_omega}
\end{equation}

But if $T$ is a period, then

\begin{equation}
2T,
\qquad
3T,
\qquad
4T,
\qquad\ldots
\end{equation}

are also periods because the function repeats after any whole number of cycles.

The \emph{fundamental period} is the smallest positive period.

We will denote it by

\begin{equation}
T_0.
\end{equation}

For

\begin{equation}
f(t)=\cos(\omega t),
\end{equation}

the fundamental period is

\begin{equation}
T_0=\frac{2\pi}{\omega}.
\end{equation}

\section{Frequency}

Frequency counts cycles per unit time.

If one complete cycle requires time $T_0$, then the number of cycles completed in one unit of time is

\begin{equation}
f_0=\frac{1}{T_0}.
\label{eq:f_period}
\end{equation}

The SI unit of frequency is the hertz:

\begin{equation}
1\ {\rm Hz}=1\ {\rm cycle/s}.
\end{equation}

For example, if

\begin{equation}
T_0=0.25\ {\rm s},
\end{equation}

then

\begin{align}
f_0
&amp;=\frac{1}{0.25\ {\rm s}}
\\
&amp;=4\ {\rm Hz}.
\end{align}

The system completes four cycles each second.

\section{Angular frequency}

One complete cycle corresponds to an angular advance of

\begin{equation}
2\pi\ {\rm rad}.
\end{equation}

If the cycle takes time $T_0$, then the angular rate is

\begin{equation}
\omega_0
=
\frac{2\pi}{T_0}.
\label{eq:omega_period}
\end{equation}

Using

\begin{equation}
f_0=\frac{1}{T_0},
\end{equation}

we obtain

\begin{equation}
\omega_0=2\pi f_0.
\label{eq:omega_frequency}
\end{equation}

Therefore the three quantities are related by

\begin{equation}
f_0=\frac{1}{T_0},
\qquad
\omega_0=2\pi f_0,
\qquad
T_0=\frac{2\pi}{\omega_0}.
\label{eq:T_f_omega}
\end{equation}

\begin{center}
\includegraphics[width=0.9\textwidth,keepaspectratio]{FS01_fig02_circle_frequency.png}

{\small Figure 2. A sinusoid can be viewed as the projection of uniform circular motion. One full revolution is one cycle, corresponding to an angular advance of $2\pi$ radians. This gives $\omega_0=2\pi/T_0=2\pi f_0$.}
\end{center}

\subsection{Why radians are especially natural}

Radians make the phase of a sinusoid directly proportional to angle.

The argument

\begin{equation}
\omega_0t
\end{equation}

is dimensionless because

\begin{equation}
[\omega_0]=\frac{1}{\rm time}
\end{equation}

when radians are treated as dimensionless angular measure.

After one period,

\begin{align}
\omega_0(t+T_0)
&amp;=\omega_0t+\omega_0T_0
\\
&amp;=\omega_0t+2\pi.
\end{align}

Cosine and sine therefore return to the same values.

\section{Amplitude}

Consider

\begin{equation}
y(t)=A\cos(\omega_0t).
\end{equation}

The constant $A$ is the amplitude.

For $A&gt;0$,

\begin{equation}
-A\le y(t)\le A.
\end{equation}

The amplitude controls vertical scale, not the rate at which the waveform repeats.

Thus changing $A$ does not change the period:

\begin{equation}
A\cos[\omega_0(t+T_0)]
=
A\cos(\omega_0t).
\end{equation}

\section{Phase}

A more general sinusoid is

\begin{equation}
y(t)=A\cos(\omega_0t+\phi).
\label{eq:phase_form}
\end{equation}

The constant $\phi$ is the phase angle.

It tells us where in its cycle the oscillation is located when $t=0$.

At $t=0$,

\begin{equation}
y(0)=A\cos\phi.
\end{equation}

The phase can also be interpreted as a horizontal shift.

Factor $\omega_0$ from the argument:

\begin{align}
\omega_0t+\phi
&amp;=
\omega_0
\left(
 t+\frac{\phi}{\omega_0}
\right).
\end{align}

Thus

\begin{equation}
A\cos(\omega_0t+\phi)
=
A\cos
\left[
\omega_0
\left(
 t+\frac{\phi}{\omega_0}
\right)
\right].
\end{equation}

Relative to $A\cos(\omega_0t)$, the graph is shifted left by

\begin{equation}
\frac{\phi}{\omega_0}.
\end{equation}

Equivalently, if we write

\begin{equation}
y(t)=A\cos[\omega_0(t-t_s)],
\end{equation}

then the corresponding phase is

\begin{equation}
\phi=-\omega_0t_s.
\end{equation}

\begin{center}
\includegraphics[width=0.9\textwidth,keepaspectratio]{FS01_fig03_phase_shift.png}

{\small Figure 3. Two sinusoids can have the same amplitude and frequency but different phase. A positive phase in $A\cos(\omega t+\phi)$ shifts the graph to the left by $\phi/\omega$.}
\end{center}

\section{Combining sine and cosine at the same frequency}

Fourier series use both sine and cosine terms.
It is useful to see that a sine-plus-cosine pair at one frequency is still just one sinusoid with a different amplitude and phase.

Start with

\begin{equation}
y(t)=A\cos(\omega t)+B\sin(\omega t).
\label{eq:sin_cos_pair}
\end{equation}

Suppose we want to rewrite this as

\begin{equation}
y(t)=C\cos(\omega t-\delta).
\label{eq:amp_phase_target}
\end{equation}

Use the identity

\begin{equation}
\cos(\alpha-\beta)
=
\cos\alpha\cos\beta
+
\sin\alpha\sin\beta.
\end{equation}

Then

\begin{align}
C\cos(\omega t-\delta)
&amp;=
C\cos(\omega t)\cos\delta
\\
&amp;\quad+
C\sin(\omega t)\sin\delta.
\end{align}

Compare with Equation~\eqref{eq:sin_cos_pair}.
The cosine coefficients must match:

\begin{equation}
A=C\cos\delta.
\label{eq:A_Cdelta}
\end{equation}

The sine coefficients must also match:

\begin{equation}
B=C\sin\delta.
\label{eq:B_Cdelta}
\end{equation}

Square both equations and add:

\begin{align}
A^2+B^2
&amp;=
C^2\cos^2\delta
+
C^2\sin^2\delta
\\
&amp;=
C^2(\cos^2\delta+\sin^2\delta)
\\
&amp;=C^2.
\end{align}

Therefore

\begin{equation}
C=\sqrt{A^2+B^2}.
\label{eq:C_amplitude}
\end{equation}

Divide Equation~\eqref{eq:B_Cdelta} by Equation~\eqref{eq:A_Cdelta}:

\begin{equation}
\frac{B}{A}=\tan\delta.
\end{equation}

Thus the phase may be written carefully as

\begin{equation}
\delta=\operatorname{atan2}(B,A),
\label{eq:delta_atan2}
\end{equation}

which places the angle in the correct quadrant.

This result will later let us move freely between sine-cosine coefficients and amplitude-phase descriptions.

\section{What is a harmonic?}

Suppose a periodic function has fundamental period

\begin{equation}
T_0.
\end{equation}

Its fundamental frequency is

\begin{equation}
f_0=\frac{1}{T_0},
\end{equation}

and its fundamental angular frequency is

\begin{equation}
\omega_0=\frac{2\pi}{T_0}.
\end{equation}

The frequencies

\begin{equation}
f_n=nf_0,
\qquad
n=1,2,3,\ldots
\end{equation}

are called harmonics.

Equivalently,

\begin{equation}
\omega_n=n\omega_0.
\end{equation}

The integer $n$ is the harmonic number.

Thus:

\begin{itemize}
\item $n=1$ is the fundamental or first harmonic,
\item $n=2$ is the second harmonic,
\item $n=3$ is the third harmonic,
\item and so on.
\end{itemize}

The corresponding sinusoidal basis functions are

\begin{equation}
\cos(n\omega_0t),
\qquad
\sin(n\omega_0t).
\end{equation}

\begin{center}
\includegraphics[width=0.9\textwidth,keepaspectratio]{FS01_fig04_harmonic_stack.png}

{\small Figure 4. The first four harmonics. Higher harmonic number means more oscillations within the same fundamental period $T_0$. The $n$th harmonic completes exactly $n$ cycles while the fundamental completes one.}
\end{center}

\section{The period of the $n$th harmonic}

The $n$th harmonic is

\begin{equation}
y_n(t)=\cos(n\omega_0t).
\end{equation}

Its angular frequency is

\begin{equation}
\omega_n=n\omega_0.
\end{equation}

Therefore its smallest positive period is

\begin{align}
T_n
&amp;=\frac{2\pi}{\omega_n}
\\
&amp;=\frac{2\pi}{n\omega_0}
\\
&amp;=\frac{1}{n}
\frac{2\pi}{\omega_0}
\\
&amp;=\frac{T_0}{n}.
\end{align}

So the second harmonic repeats twice as fast as the fundamental, the third harmonic three times as fast, and so on.

But an important subtlety is that every harmonic also repeats after the larger interval $T_0$.

For the $n$th harmonic,

\begin{align}
\cos[n\omega_0(t+T_0)]
&amp;=
\cos(n\omega_0t+n\omega_0T_0)
\\
&amp;=
\cos(n\omega_0t+2\pi n)
\\
&amp;=
\cos(n\omega_0t).
\end{align}

Thus $T_0$ is a common period of every integer harmonic.

This fact is one of the central reasons Fourier series use integer multiples of a fundamental frequency.

\section{Why integer harmonics line up after one fundamental period}

Suppose a sinusoidal basis function has angular frequency $\omega$ and must fit a period $T_0$.

We require

\begin{equation}
\cos[\omega(t+T_0)]
=
\cos(\omega t)
\end{equation}

for every $t$.

The phase advance over one period must therefore be a whole number of turns:

\begin{equation}
\omega T_0=2\pi n,
\qquad
n\in\mathbb Z.
\end{equation}

Solve for $\omega$:

\begin{equation}
\omega
=
\frac{2\pi n}{T_0}.
\end{equation}

But

\begin{equation}
\omega_0=\frac{2\pi}{T_0}.
\end{equation}

Hence

\begin{equation}
\omega=n\omega_0.
\label{eq:integer_harmonics}
\end{equation}

The harmonic frequencies are therefore not arbitrary.
They are exactly the sinusoidal frequencies that complete an integer number of cycles in the interval $T_0$.

\begin{center}
\includegraphics[width=0.92\textwidth,keepaspectratio]{FS01_fig05_harmonics_line_up.png}

{\small Figure 5. Integer harmonics all return to their starting phase after the common interval $T_0$. This is the geometric reason the Fourier basis is naturally indexed by integer harmonic number.}
\end{center}

\section{Superposition of harmonics remains periodic}

Consider a finite harmonic sum

\begin{equation}
S_N(t)
=
A_0
+
\sum_{n=1}^{N}
\left[
A_n\cos(n\omega_0t)
+
B_n\sin(n\omega_0t)
\right].
\label{eq:finite_harmonic_sum}
\end{equation}

Evaluate it one fundamental period later:

\begin{align}
S_N(t+T_0)
&amp;=
A_0
\\
&amp;\quad+
\sum_{n=1}^{N}
A_n\cos[n\omega_0(t+T_0)]
\\
&amp;\quad+
\sum_{n=1}^{N}
B_n\sin[n\omega_0(t+T_0)].
\end{align}

Use

\begin{equation}
\omega_0T_0=2\pi.
\end{equation}

Then

\begin{equation}
n\omega_0T_0=2\pi n.
\end{equation}

Therefore

\begin{equation}
\cos(n\omega_0t+2\pi n)
=
\cos(n\omega_0t)
\end{equation}

and

\begin{equation}
\sin(n\omega_0t+2\pi n)
=
\sin(n\omega_0t).
\end{equation}

Hence

\begin{equation}
S_N(t+T_0)=S_N(t).
\label{eq:harmonic_sum_periodic}
\end{equation}

Any finite sum of integer harmonics is therefore periodic with common period $T_0$.

Its fundamental period can sometimes be smaller than $T_0$ if some low harmonics are absent, but $T_0$ is always a period.

\section{The constant or DC component}

The term

\begin{equation}
A_0
\end{equation}

in Equation~\eqref{eq:finite_harmonic_sum} does not oscillate.

It is a constant offset.

In time-dependent signal language, it is often called the DC component.

Adding a constant does not change periodicity:

\begin{equation}
A_0=A_0.
\end{equation}

Geometrically, the constant component simply shifts the entire waveform upward or downward.

Later, the real Fourier series will conventionally write this constant term as

\begin{equation}
\frac{a_0}{2}.
\end{equation}

FS05 will derive why this factor of $1/2$ appears.

\section{How harmonics build a more complicated waveform}

Consider

\begin{align}
S(t)
&amp;=
1
+2\cos(\omega_0t)
\\
&amp;\quad-
0.75\sin(2\omega_0t)
\\
&amp;\quad+
0.40\cos(3\omega_0t).
\label{eq:example_harmonic_sum}
\end{align}

This contains:

\begin{itemize}
\item a constant component $1$,
\item a first-harmonic cosine of amplitude $2$,
\item a second-harmonic sine of amplitude $0.75$ with a negative sign,
\item a third-harmonic cosine of amplitude $0.40$.
\end{itemize}

Each piece is simple.
Their sum is less obviously sinusoidal.

\begin{center}
\includegraphics[width=0.92\textwidth,keepaspectratio]{FS01_fig06_superposition.png}

{\small Figure 6. Superposition of a constant term and the first three harmonics. The individual components are simple sinusoids, but their sum already produces a visibly more complicated repeating waveform.}
\end{center}

This is the central Fourier idea in its simplest form:

\begin{itemize}
\item complicated periodic shape can arise from simple periodic components,
\item the frequencies are organized as integer harmonics,
\item amplitudes and phases determine the detailed shape.
\end{itemize}

\section{Commensurate frequencies}

Integer harmonics are an especially simple example of \emph{commensurate frequencies}.

Two angular frequencies $\omega_1$ and $\omega_2$ are commensurate if their ratio is rational:

\begin{equation}
\frac{\omega_1}{\omega_2}
=\frac{p}{q}
\end{equation}

for integers $p$ and $q$.

If the ratio is rational, a common period can exist.

For example, consider

\begin{equation}
f(t)=\cos(6t)+\sin(9t).
\end{equation}

The frequencies are

\begin{equation}
6\ {\rm rad/s}
\end{equation}

and

\begin{equation}
9\ {\rm rad/s}.
\end{equation}

Both are integer multiples of

\begin{equation}
3\ {\rm rad/s}.
\end{equation}

Thus choose

\begin{equation}
\omega_0=3\ {\rm rad/s}.
\end{equation}

Then

\begin{equation}
6=2\omega_0,
\qquad
9=3\omega_0.
\end{equation}

The two terms are the second and third harmonics of the common fundamental.

The common fundamental period is

\begin{align}
T_0
&amp;=\frac{2\pi}{\omega_0}
\\
&amp;=\frac{2\pi}{3}\ {\rm s}.
\end{align}

\section{Incommensurate frequencies need not produce a periodic sum}

Now consider

\begin{equation}
g(t)=\sin(2t)+\sin(\sqrt{2}\,t).
\end{equation}

Suppose, for contradiction, that this sum has a common period $P$ inherited from both sinusoidal components.

The first component would require

\begin{equation}
2P=2\pi m
\end{equation}

for some integer $m$.

The second would require

\begin{equation}
\sqrt{2}\,P=2\pi n
\end{equation}

for some integer $n$.

Divide the second relation by the first:

\begin{equation}
\frac{\sqrt{2}}{2}
=
\frac{n}{m}.
\end{equation}

But the left side is irrational while the right side is rational.

This is impossible.

Therefore the two component periods have no common integer multiple, and the sum does not repeat with one finite fundamental period.

This example explains why Fourier series for a function of period $T_0$ use a discrete set of commensurate frequencies

\begin{equation}
n\omega_0.
\end{equation}

\section{Preview of the real Fourier series}

The real Fourier series has the form

\begin{equation}
f(t)
\sim
\frac{a_0}{2}
+
\sum_{n=1}^{\infty}
\left[
a_n\cos(n\omega_0t)
+
b_n\sin(n\omega_0t)
\right].
\label{eq:fourier_preview}
\end{equation}

At this stage, Equation~\eqref{eq:fourier_preview} should be read structurally rather than computationally.

It says:

\begin{itemize}
\item one constant component may be present,
\item the first harmonic may contain sine and cosine pieces,
\item the second harmonic may contain sine and cosine pieces,
\item the third harmonic may contain sine and cosine pieces,
\item the pattern continues to higher harmonic number.
\end{itemize}

We have not yet derived

\begin{equation}
a_n
\qquad\hbox{or}\qquad
b_n.
\end{equation}

That derivation must wait until we know how to measure the similarity between two functions.

\section{Partial sums}

An infinite series cannot be drawn by adding infinitely many terms one at a time.

Instead we use a partial sum.

Define

\begin{equation}
S_N(t)
=
\frac{a_0}{2}
+
\sum_{n=1}^{N}
\left[
a_n\cos(n\omega_0t)
+
b_n\sin(n\omega_0t)
\right].
\label{eq:partial_sum}
\end{equation}

The integer $N$ tells us the highest harmonic retained.

For example:

\begin{itemize}
\item $S_1$ contains only the constant and first harmonic,
\item $S_2$ includes harmonics through $n=2$,
\item $S_{10}$ includes harmonics through $n=10$.
\end{itemize}

The sequence

\begin{equation}
S_1,
\quad
S_2,
\quad
S_3,
\quad\ldots
\end{equation}

is what we actually study when asking whether a Fourier series converges.

\section{Square-wave preview}

A classic example is the odd square wave.

Later, FS07 will derive its coefficients from first principles.
For now, accept the preview formula

\begin{equation}
S_N(t)
=
\frac{4}{\pi}
\sum_{\substack{n=1\\n\ {\rm odd}}}^{N}
\frac{1}{n}\sin(nt).
\label{eq:square_preview}
\end{equation}

The first approximation keeps only the first harmonic:

\begin{equation}
S_1(t)=\frac{4}{\pi}\sin t.
\end{equation}

Including the third harmonic gives

\begin{equation}
S_3(t)
=
\frac{4}{\pi}
\left(
\sin t+\frac13\sin3t
\right).
\end{equation}

Including the fifth harmonic gives

\begin{equation}
S_5(t)
=
\frac{4}{\pi}
\left(
\sin t
+\frac13\sin3t
+\frac15\sin5t
\right).
\end{equation}

As additional odd harmonics are added, the graph becomes increasingly square-like.

\begin{center}
\includegraphics[width=0.94\textwidth,keepaspectratio]{FS01_fig07_square_partial_sums.png}

{\small Figure 7. Preview of square-wave synthesis. Adding odd harmonics changes a smooth sinusoid into a waveform with increasingly flat plateaus and increasingly sharp transitions. FS07 will derive the coefficients rather than assume them.}
\end{center}

The figure contains an important warning.
Near the jump, the approximation develops overshoot.
This does not disappear in the simple way one might first expect.
The phenomenon is studied carefully in FS15 and FS16.

\section{Why adding higher harmonics changes shape}

Higher harmonics oscillate more rapidly.

The first harmonic controls large-scale variation over the entire period.
The second harmonic can add structure on half-period scales.
The tenth harmonic can add structure on scales about one-tenth of the period.

Thus harmonic number is connected to scale:

\begin{itemize}
\item low harmonic number describes broad features,
\item high harmonic number describes finer features.
\end{itemize}

This is the beginning of the spectral viewpoint.

Later we will see a deeper connection between smoothness and the rate at which high-harmonic coefficients decrease.

\section{Why Fourier series are plausible}

We can now give a careful answer to the title question.

Fourier series are plausible for periodic functions because:

\begin{enumerate}
\item Sine and cosine are themselves periodic.
\item The integer harmonics all share the required common period $T_0$.
\item Linear combinations of those harmonics remain periodic.
\item Amplitudes and phases provide enough freedom to change the waveform shape.
\item Higher harmonics supply progressively finer variation within one period.
\end{enumerate}

However, these facts do not yet prove that every periodic function equals its Fourier series at every point.

Different notions of convergence must be distinguished.
Discontinuities require special care.
Some functions are better behaved than others.

Those questions are postponed until FS14 through FS16.

At this stage, the correct conclusion is more modest:

\begin{itemize}
\item integer harmonic sinusoids form a natural candidate basis for representing periodic functions.
\end{itemize}

The next several lectures develop the mathematics needed to make that statement precise.

\section{Worked Example 1: period, frequency, and angular frequency}

Suppose a repeating signal has period

\begin{equation}
T_0=5.0\ {\rm ms}.
\end{equation}

Convert to seconds:

\begin{equation}
T_0=5.0\times10^{-3}\ {\rm s}.
\end{equation}

The frequency is

\begin{align}
f_0
&amp;=\frac{1}{T_0}
\\
&amp;=\frac{1}{5.0\times10^{-3}\ {\rm s}}
\\
&amp;=200\ {\rm Hz}.
\end{align}

The angular frequency is

\begin{align}
\omega_0
&amp;=2\pi f_0
\\
&amp;=2\pi(200)
\\
&amp;=400\pi\ {\rm rad/s}
\\
&amp;\approx1256.64\ {\rm rad/s}.
\end{align}

\section{Worked Example 2: amplitude-phase conversion}

Rewrite

\begin{equation}
y(t)=3\cos(\omega t)+4\sin(\omega t)
\end{equation}

as one cosine.

The combined amplitude is

\begin{align}
C
&amp;=\sqrt{3^2+4^2}
\\
&amp;=5.
\end{align}

The phase is

\begin{align}
\delta
&amp;=\operatorname{atan2}(4,3)
\\
&amp;\approx53.13^\circ.
\end{align}

Therefore

\begin{equation}
y(t)
=
5\cos(\omega t-53.13^\circ).
\end{equation}

The original sine and cosine terms were not two distinct frequencies.
They were two quadrature components of one sinusoid at the same frequency.

\section{Worked Example 3: finding a common fundamental}

Consider

\begin{equation}
f(t)=2\cos(6t)-\sin(9t).
\end{equation}

The angular frequencies are

\begin{equation}
6\ {\rm rad/s}
\qquad\hbox{and}\qquad
9\ {\rm rad/s}.
\end{equation}

Their greatest common angular frequency is

\begin{equation}
\omega_0=3\ {\rm rad/s}.
\end{equation}

Then

\begin{equation}
6=2\omega_0
\end{equation}

and

\begin{equation}
9=3\omega_0.
\end{equation}

Thus the waveform contains the second and third harmonics of the fundamental.

Its fundamental period is

\begin{align}
T_0
&amp;=\frac{2\pi}{3}\ {\rm s}
\\
&amp;\approx2.094\ {\rm s}.
\end{align}

\section{Worked Example 4: identifying harmonic content}

Consider

\begin{align}
f(t)
&amp;=
2
+3\cos(\omega_0t)
\\
&amp;\quad-
\sin(2\omega_0t)
+0.5\cos(3\omega_0t).
\end{align}

The components are:

\begin{itemize}
\item DC component: $2$,
\item first harmonic: cosine amplitude $3$,
\item second harmonic: sine coefficient $-1$,
\item third harmonic: cosine amplitude $0.5$,
\item all harmonics above $n=3$: absent.
\end{itemize}

Every oscillating term has frequency equal to an integer multiple of $\omega_0$, so the entire function has $T_0=2\pi/\omega_0$ as a period.

\section{Worked Example 5: a smaller fundamental period can hide inside a chosen period}

Consider

\begin{equation}
f(t)=\cos(2\omega_0t)+\frac12\sin(4\omega_0t).
\end{equation}

Both terms repeat after

\begin{equation}
T_0=\frac{2\pi}{\omega_0},
\end{equation}

so $T_0$ is certainly a period.

But the first term has period

\begin{equation}
\frac{T_0}{2},
\end{equation}

and the second has period

\begin{equation}
\frac{T_0}{4}.
\end{equation}

After $T_0/2$:

\begin{align}
\cos\left[2\omega_0\left(t+\frac{T_0}{2}\right)\right]
&amp;=\cos(2\omega_0t+2\pi)
\\
&amp;=\cos(2\omega_0t),
\end{align}

and

\begin{align}
\sin\left[4\omega_0\left(t+\frac{T_0}{2}\right)\right]
&amp;=\sin(4\omega_0t+4\pi)
\\
&amp;=\sin(4\omega_0t).
\end{align}

Therefore $T_0/2$ is a period of the whole function.

The chosen $T_0$ was a common period, but it was not the fundamental period.

This is why the phrase \emph{fundamental period} must be used carefully.

\section{Physical examples of harmonic decomposition}

The harmonic viewpoint appears throughout physics.

\subsection*{Vibrating string}

A string fixed at both ends supports normal modes with frequencies

\begin{equation}
f_n=nf_1.
\end{equation}

An arbitrary initial shape can be decomposed into those spatial harmonics.

\subsection*{Acoustics}

A musical tone may contain a fundamental plus overtones.
The relative harmonic amplitudes help determine timbre.

\subsection*{Electrical signals}

A periodic voltage can be decomposed into a DC term plus sinusoidal harmonics.
A linear circuit can then be analyzed one frequency at a time.

\subsection*{Periodic forcing}

A nonsinusoidal periodic force acting on an oscillator can be written as a sum of harmonic forces.
Because the oscillator equation is linear, the individual harmonic responses can be superposed.

\subsection*{Partial differential equations}

The heat and wave equations naturally produce sinusoidal eigenfunctions under common boundary conditions.
Fourier series then become a method for matching arbitrary initial data.

These applications are developed later in the FS sequence rather than assumed here.

\section{What FS01 has not yet answered}

We now know why the harmonic frequencies

\begin{equation}
\omega_n=n\omega_0
\end{equation}

are natural for a period-$T_0$ problem.

But several major questions remain:

\begin{itemize}
\item How do we determine the coefficient of one particular harmonic?
\item Why do unwanted harmonics disappear when extracting a coefficient?
\item Why are sine and cosine special relative to one another over a complete period?
\item Under what conditions does the infinite series converge to the original function?
\item What happens at a discontinuity?
\end{itemize}

The first three questions require the ideas of inner product and orthogonality.

\begin{center}
\includegraphics[width=0.9\textwidth,keepaspectratio]{FS01_fig08_series_learning_bridge.png}

{\small Figure 8. FS01 establishes the frequency structure of the Fourier basis. FS02 and FS03 next supply the inner-product and orthogonality machinery needed to extract individual harmonic coefficients.}
\end{center}

\section{Self-check questions}

A learner should be able to answer the following before moving to FS02.

\begin{enumerate}
\item What equation defines a periodic function?
\item What is the difference between a period and the fundamental period?
\item How are $T_0$, $f_0$, and $\omega_0$ related?
\item What does phase change geometrically?
\item What is the $n$th harmonic?
\item Why does the $n$th harmonic complete exactly $n$ cycles during one fundamental period?
\item Why is any finite sum of integer harmonics periodic with common period $T_0$?
\item What does the constant or DC component do to a waveform?
\item What is a partial sum?
\item Why can incommensurate frequencies fail to produce a periodic sum?
\item Why is a Fourier-series representation plausible but not yet proven by this lecture?
\end{enumerate}

\section{Practice exercises}

\begin{enumerate}
\item Show directly that $\sin(5t)$ has fundamental period $2\pi/5$.

\item A signal has frequency $60\ {\rm Hz}$. Find its period and angular frequency.

\item A cosine has angular frequency $20\pi\ {\rm rad/s}$. Find its frequency and period.

\item Rewrite $5\cos(\omega t)+12\sin(\omega t)$ as one cosine with a phase shift.

\item Identify the harmonic numbers present in
\begin{equation}
f(t)=1-2\sin(3\omega_0t)+4\cos(7\omega_0t).
\end{equation}

\item Determine a fundamental angular frequency for
\begin{equation}
f(t)=\cos(8t)+\sin(12t).
\end{equation}
Then determine the fundamental period.

\item Show that
\begin{equation}
\cos(2t)+\cos(3t)
\end{equation}
is periodic and find its fundamental period.

\item Explain why
\begin{equation}
\sin t+\sin(\sqrt3\,t)
\end{equation}
has no common period inherited from both component sinusoids.

\item Verify directly that the finite harmonic sum in Equation~\eqref{eq:finite_harmonic_sum} satisfies $S_N(t+T_0)=S_N(t)$.

\item Plot the square-wave partial sums $S_1$, $S_3$, and $S_5$ from Equation~\eqref{eq:square_preview}. Describe what changes and what does not.
\end{enumerate}

\section{Summary}

A periodic function satisfies

\begin{equation}
f(t+T)=f(t).
\end{equation}

The smallest positive period is the fundamental period $T_0$.

Frequency and angular frequency are

\begin{equation}
f_0=\frac{1}{T_0},
\qquad
\omega_0=2\pi f_0.
\end{equation}

The integer harmonics are

\begin{equation}
\omega_n=n\omega_0.
\end{equation}

The $n$th harmonic completes $n$ cycles during one fundamental period and therefore returns to its starting phase after $T_0$.

Consequently, finite sums of integer harmonics are periodic with common period $T_0$.

Amplitude determines scale.
Phase determines horizontal position within the cycle.
Higher harmonics add progressively finer structure to a waveform.

These facts explain why sine and cosine harmonics are natural building blocks for periodic functions.

The next article, FS02, asks how to measure the amount of one basis function inside another function.
The answer begins by generalizing the vector dot product to an inner product of functions.

\section*{References}

\begin{thebibliography}{9}

\bibitem{FS00}
PhysicsLibrary,
\emph{FS00: Fourier Series Roadmap, Motivation, and Learning Path}.

\bibitem{Churchill}
R. V. Churchill and J. W. Brown,
\emph{Fourier Series and Boundary Value Problems},
McGraw-Hill.

\bibitem{Kreyszig}
E. Kreyszig,
\emph{Advanced Engineering Mathematics},
Wiley.

\bibitem{Arfken}
G. B. Arfken, H. J. Weber, and F. E. Harris,
\emph{Mathematical Methods for Physicists},
Academic Press.

\end{thebibliography}</content>
</record>
