FS01E1: Periodic-Function and Harmonic-Building Exercises
This companion is designed to make the ideas in FS01 automatic before any Fourier coefficient
formula is introduced.
The problems focus on:
- recognizing periodicity,
- distinguishing a period from the fundamental period,
- converting among T, f, and ω,
- interpreting phase,
- combining sine and cosine at one frequency,
- identifying harmonic number,
- finding common fundamental frequencies,
- distinguishing commensurate from incommensurate frequencies,
- proving finite harmonic sums remain periodic,
- evaluating early square-wave partial sums.
The guiding rule is simple:
- do not memorize a period or harmonic result until you can reproduce it from the
definitions.
Figure 1. Periodicity means exact repetition after a horizontal shift. A function may have many
periods, but the fundamental period is the smallest positive one.
1 Problem set
All problems appear before the complete solutions.
Problem 1: test periodicity directly
Show directly from the definition that
is periodic. Determine its fundamental period.
Then show that twice the fundamental period is also a period.
Problem 2: from frequency to period and angular frequency
A periodic electrical signal has frequency
Find:
- the fundamental period T0,
- the angular frequency ω0,
- the number of cycles completed in 0.50 s.
Problem 3: from angular frequency to period
A cosine has angular frequency
Find its ordinary frequency and fundamental period.
Then verify the period by checking the phase advance over one cycle.
Problem 4: phase as a horizontal shift
Consider
Determine:
- amplitude,
- angular frequency,
- ordinary frequency,
- period,
- phase angle,
- time shift relative to 3 cos(4t).
State whether the waveform is shifted to the right or left.
Problem 5: combine sine and cosine at one frequency
Rewrite
in the form
Derive C and δ rather than quoting them.
Problem 6: identify harmonic content
For
identify:
- the DC component,
- every harmonic number present,
- the sine and cosine coefficients of each present harmonic,
- the highest harmonic number.
Problem 7: find a common fundamental from two frequencies
Consider
Find the smallest positive angular frequency ω0 for which both terms are integer harmonics.
Then find the fundamental period.
Problem 8: common period by direct component periods
For
find the period of each component separately.
Then determine the smallest common positive period of the sum.
Verify your answer by direct substitution into f(t + T).
Problem 9: a hidden smaller fundamental period
Suppose
The number
is certainly a period.
Show that it is not the fundamental period and find the actual fundamental period.
Problem 10: commensurate frequencies written in an awkward way
Consider
Determine a fundamental angular frequency and the fundamental period.
State the harmonic numbers of all three terms.
Problem 11: prove that an incommensurate pair has no common period
Consider
Assume a common period T exists.
Use the individual sinusoidal periodicity conditions to show that this would force
to be
rational.
Conclude that no finite common period exists.
Problem 12: prove that a finite harmonic sum is periodic
Let
Prove directly that
when
Do not simply say that every term is periodic. Carry the phase shift through the sine and cosine
arguments.
Problem 13: build and sample a finite harmonic waveform
Consider
| y(t) | = 2 + 3 cos(ω0t) − sin(2ω0t) | |
|
| + 0.5 cos(3ω0t). | (17) |
Evaluate the waveform at
Explain why the first and last values must agree before doing any arithmetic.
Problem 14: square-wave partial sums
Use
and
Evaluate all three at
and at
Describe how adding the third and fifth harmonics changes the result.
Problem 15: distinguish common period from fundamental period
A learner says:
- “If every term repeats after T0, then T0 must be the fundamental period of the sum.”
Give a counterexample and explain exactly what is wrong with the statement.
Problem 16: physical harmonic interpretation
A vibrating system contains frequencies
Assume these are all harmonics of one fundamental.
Determine:
- the fundamental frequency,
- the harmonic number of each listed frequency,
- the fundamental period,
- whether a 480 Hz component would fit the same harmonic family.
2 Hints
- A sinusoid repeats when its phase changes by an integer multiple of 2π.
- To find a common fundamental angular frequency among integer-valued frequencies,
look for their greatest common divisor.
- A common period need not be the smallest common period.
- For amplitude-phase conversion, expand C cos(ωt − δ) using the cosine subtraction
identity.
- For an incommensurate pair, write one integer phase condition for each sinusoid and
divide them.
- In the square-wave problem, use the exact values of sin(π∕2), sin(3π∕2), sin(5π∕2),
sin(π∕6), sin(π∕2), and sin(5π∕6).
3 Complete worked solutions
Solution 1: test periodicity directly
Start with
A period T must satisfy
for every t.
Substitute:
| f(t + T) | = sin[5(t + T)] | (27)
|
| = sin(5t + 5T). | (28) |
Sine repeats when its phase increases by 2πm, where m is any integer:
Therefore
The smallest positive value occurs at
Hence the fundamental period is
Now test twice that value:
Then
| f(t + 2T0) | = sin  | (34)
|
| = sin(5t + 4π) | (35)
|
| = sin(5t). | (36) |
Thus 2T0 is also a period, but it is not the fundamental period.
Solution 2: frequency, period, and angular frequency
Given
use
Therefore
| T0 | = s | (39)
|
| ≈ 0.0166667 s. | (40) |
In milliseconds,
Angular frequency is
Therefore
| ω0 | = 2π(60) | (43)
|
| = 120π rad∕s | (44)
|
| ≈ 376.99 rad∕s. | (45) |
The number of cycles in a time interval Δt is
For
| N | = (60 cycles∕s)(0.50 s) | (48)
|
| = 30 cycles. | (49) |
Solution 3: angular frequency to ordinary frequency
Given
use
Thus
| f | =  | (52)
|
| = 10 Hz. | (53) |
The period is
| T0 | =  | (54)
|
| = 0.10 s. | (55) |
Now verify the phase advance:
| Δϕ | = ωT0 | (56)
|
| = (20π)(0.10) | (57)
|
| = 2π. | (58) |
A 2π phase advance is one complete cycle, so the period is correct.
Solution 4: phase as a horizontal shift
The waveform is
Compare with
Therefore
The ordinary frequency is
| f | =  | (62)
|
| =  | (63)
|
| = Hz | (64)
|
| ≈ 0.63662 Hz. | (65) |
The period is
| T0 | =  | (66)
|
| =  | (67)
|
| = s. | (68) |
To convert phase angle into time shift, factor the argument:
4t − | = 4 . | (69) |
Hence
The waveform is shifted to the right by
Figure 2. The same-frequency sine and cosine coefficients can be viewed as perpendicular
components. Their resultant magnitude and angle give the amplitude-phase form.
Solution 5: amplitude-phase conversion
Start with
Assume
Use the cosine subtraction identity:
Therefore
| C cos(ωt − δ) | = C cos δ cos(ωt) | (75)
|
| + C sin δ sin(ωt). | (76) |
Match the cosine coefficient:
Match the sine coefficient:
Square both equations and add:
| C2 cos 2δ + C2 sin 2δ | = 52 + 122 | (79)
|
| C2(cos 2δ + sin 2δ) | = 25 + 144 | (80)
|
| C2 | = 169. | (81) |
Thus
Now divide the sine equation by the cosine equation:
| tan δ | = . | (83) |
Hence
The result is
Solution 6: identify harmonic content
The function is
The constant term is the DC component:
The term
is the third harmonic because its angular frequency is
Its sine coefficient is
and its cosine coefficient is zero.
The term
is the seventh harmonic.
Its cosine coefficient is
and its sine coefficient is zero.
Therefore the present harmonic numbers are
and the highest harmonic number is
Solution 7: greatest common angular frequency
The angular frequencies are
We seek the largest angular frequency that divides both into integers.
The greatest common divisor is
Thus
Then
and
So the waveform contains the second and third harmonics.
The fundamental period is
| T0 | =  | (100)
|
| =  | (101)
|
| = s. | (102) |
Figure 3. Finding a common fundamental frequency is analogous to finding a greatest common
divisor when all angular frequencies are integer multiples of one underlying frequency.
Solution 8: common period from the component periods
For
the period is
For
the period is
We need the smallest positive T satisfying
for integers m and n.
Set
Cancel π:
The smallest positive integers are
Therefore
Now verify directly:
| f(t + 2π) | = cos[2(t + 2π)] + cos[3(t + 2π)] | (112)
|
| = cos(2t + 4π) + cos(3t + 6π) | (113)
|
| = cos(2t) + cos(3t) | (114)
|
| = f(t). | (115) |
Thus the fundamental period is
Solution 9: hidden smaller fundamental period
The waveform is
The first term has period
| T1 | =  | (118)
|
| = . | (119) |
The second term has period
| T2 | =  | (120)
|
| = . | (121) |
The smallest common positive period of T0∕4 and T0∕8 is
Indeed, over T0∕4, the first harmonic term completes one cycle and the second completes two
cycles.
Therefore the actual fundamental period is
The originally chosen T0 is a period, but it is four times larger than necessary.
Figure 4. A chosen common period can hide a smaller fundamental period. Here both harmonics
repeat after only one quarter of the original period T0.
Solution 10: commensurate frequencies in awkward form
The angular frequencies are
Find their greatest common divisor:
Therefore
The harmonic numbers are
and
Thus the fifth, seventh, and ninth harmonics are present.
The fundamental period is
| T0 | = s. | (130) |
Solution 11: incommensurate frequencies
Assume
has a common period T.
For the first sine to repeat,
for some integer m.
For the second sine to repeat,
for some integer n.
Substitute the first condition into the second:
(2πm) | = 2πn. | (134) |
Cancel 2π:
Thus
The right side is rational because n and m are integers.
But
is irrational.
This is a contradiction.
Therefore no finite common period exists.
Figure 5. Integer-related frequencies repeatedly realign after a common period. Incommensurate
frequencies such as 1 and
do not possess an exact finite realignment time.
Solution 12: prove a finite harmonic sum is periodic
Start from Equation (14):
| SN(t) | = A0 + ∑
n=1N . | (137) |
Evaluate at t + T0:
| SN(t + T0) | = A0 + ∑
n=1N An cos(nω0(t + T0)) | |
|
| + Bn sin(nω0(t + T0)) . | (138) |
Distribute the argument:
Since
we have
| nω0T0 | = nω0 | (141)
|
| = 2πn. | (142) |
Therefore
Because n is an integer,
Similarly,
Hence every term in the sum returns to its original value, and
This proves that any finite sum of integer harmonics has T0 as a common period.
It does not prove that T0 is always the smallest period.
Solution 13: sample a finite harmonic waveform
The waveform is
| y(t) | = 2 + 3 cos(ω0t) − sin(2ω0t) | |
|
| + 0.5 cos(3ω0t). | (147) |
Let
Then
At 𝜃 = 0:
| y(0) | = 2 + 3(1) − 0 + 0.5(1) | (150)
|
| = 5.5. | (151) |
At 𝜃 = π∕2:
| y(π∕2) | = 2 + 3(0) − sin π + 0.5 cos(3π∕2) | (152)
|
| = 2. | (153) |
At 𝜃 = π:
| y(π) | = 2 + 3(−1) − sin 2π + 0.5 cos 3π | (154)
|
| = 2 − 3 − 0.5 | (155)
|
| = −1.5. | (156) |
At 𝜃 = 3π∕2:
| y(3π∕2) | = 2 + 3(0) − sin 3π + 0.5 cos(9π∕2) | (157)
|
| = 2. | (158) |
At 𝜃 = 2π:
| y(2π) | = 2 + 3(1) − sin 4π + 0.5 cos 6π | (159)
|
| = 5.5. | (160) |
The first and last values had to agree because 2π is one complete fundamental phase
advance.
| ω0t | y(t) |
|
|
| 0 | 5.5 |
| π∕2 | 2 |
| π | −1.5 |
| 3π∕2 | 2 |
| 2π | 5.5 |
Figure 6. The sampled waveform is built from a DC offset plus first, second, and third harmonics.
The separate components repeat together after one common fundamental period.
Solution 14: square-wave partial sums
At
we use
Thus
S1 | =  | (163)
|
| ≈ 1.27324. | (164) |
For S3,
S3 | =   | (165)
|
| =  | (166)
|
| ≈ 0.84883. | (167) |
For S5,
S5 | =   | (168)
|
| =  | (169)
|
| ≈ 1.10347. | (170) |
Now evaluate at
Use
and
Therefore
S1 | =   | (175)
|
| =  | (176)
|
| ≈ 0.63662. | (177) |
For S3,
S3 | =   | (178)
|
| =  | (179)
|
| ≈ 1.06103. | (180) |
For S5,
S5 | =   | (181)
|
| =  | (182)
|
| ≈ 1.18836. | (183) |
Adding harmonics does not simply increase or decrease the value everywhere. The new harmonics
reshape the waveform differently at different points.
Figure 7. The first three odd-harmonic partial sums at two sample phases. Each added harmonic
can raise the approximation at one point and lower it at another.
Solution 15: common period versus fundamental period
The learner’s claim is false because a common period may be larger than necessary.
Use the counterexample
Both terms repeat after
so T0 is a period.
But the first term has period
and the second term has period
Both therefore repeat after
Hence the fundamental period is at most T0∕2. Indeed it is exactly T0∕2.
The corrected statement is:
- if every term repeats after T0, then T0 is a common period of the sum;
- an additional check is required to determine whether a smaller positive common period
exists.
Solution 16: physical harmonic interpretation
The listed frequencies are
Their greatest common divisor is
Therefore the fundamental frequency is
The harmonic numbers are
and
Thus the first, second, third, and fifth harmonics are present.
The fundamental period is
| T0 | =  | (196)
|
| ≈ 8.333 × 10−3 s | (197)
|
| = 8.333 ms. | (198) |
For 480 Hz,
so it would be the fourth harmonic and fits the same harmonic family.
4 What should now feel automatic
Before moving to FS02, a learner should be able to do the following without guessing:
- test a candidate period by substitution,
- find the fundamental period of a single sinusoid,
- convert among T, f, and ω,
- convert same-frequency sine and cosine terms to amplitude-phase form,
- identify harmonic numbers from frequency multiples,
- determine common fundamentals for commensurate frequencies,
- prove the periodicity of a finite harmonic sum,
- explain why a common period need not be fundamental,
- prove that a simple irrational frequency ratio prevents exact periodic repetition,
- interpret a partial sum as a finite harmonic waveform.
Figure 8. FS01E1 completes the arithmetic and algebra needed before function-space ideas begin.
FS02 will reinterpret harmonic extraction as projection using an inner product of functions.
5 Further practice
- Find the fundamental period of sin(14t).
- Determine the fundamental period of cos(6t) + sin(10t).
- Find the common fundamental angular frequency of 18, 30, and 42 rad∕s.
- Determine whether sin(2t) + cos(πt) is periodic.
- Convert −8 cos(ωt) + 6 sin(ωt) to one cosine using atan2 for the phase quadrant.
- Construct a finite harmonic sum containing a DC term, the second harmonic, and the
fifth harmonic only.
- Give an example where T0 is a period of every term but the sum has fundamental
period T0∕3.
- Evaluate S5(π∕4) for the square-wave preview formula.
6 Summary
Periodic-function work begins with the definition
For one sinusoid,
Integer harmonics have frequencies
Commensurate component frequencies can share a finite common period. Incommensurate
frequencies generally do not.
A finite harmonic sum is periodic because every harmonic gains an integer multiple of 2π in phase
after one common period.
The main unresolved question is no longer which frequencies fit together. It is how to extract the
amount of one harmonic from a general function.
That requires a notion of projection for functions, which begins in FS02.
References
References
[1] PhysicsLibrary, FS01: Periodic Functions, Harmonics, and Why Fourier Series Exist.
[2] PhysicsLibrary, FS00: Fourier Series Roadmap, Motivation, and Learning Path.