Overview
Readings Alexander & Sadiku, Ch 17 · Lecture notes: Notes 7, The Fourier Transform (despite the title, the notes cover the Fourier series, for periodic signals)
So far every AC source has been a pure sinusoid. Real periodic signals usually aren’t: square waves from a digital clock, sawtooths from a sweep generator, the chopped-up output of a rectifier. This chapter handles them with one idea:
Any periodic signal is a DC level plus a sum of sinusoids whose frequencies are whole-number multiples of the signal’s own frequency.
That sum is the Fourier series. It turns a hard problem into many easy ones. A linear circuit can’t create new frequencies (see Ch 14: Sine In, Sine Out), so it treats each sinusoid separately. Solve the circuit once per frequency with ordinary phasors, then add the answers up. That’s superposition.
The whole chapter in plain words
- Fourier series: a recipe for rebuilding a periodic wave from a DC level and a stack of sinusoids.
- Harmonics: the sinusoids in the stack, at 1, 2, 3, … times the wave’s own frequency.
- Coefficients: how much of each harmonic is in the wave. Each is an average over one period.
- Symmetry: an even wave has only cosines, an odd wave only sines. Spot it and half the work disappears.
- Circuit response: solve one phasor problem per harmonic (the impedances change with frequency!), then add the time-domain answers.
- Power and rms: each harmonic contributes its own power. Different harmonics never interact.
Solving the problems turns each of these into a recipe.
Background pages
- Ch 14: Frequency Response: a circuit’s response at each frequency is . Here you evaluate it at
- Impedance: and change from harmonic to harmonic
Worked examples sit right after the concept they use. Try each one on paper before opening the answer. The coefficient integrals almost always need integration by parts or the two facts and .
Notes
The Trigonometric Fourier Series
What you're learning
- About: Writing any periodic wave as a DC term plus sines at multiples of .
- Goal: Find , and by integrating, and write the series in amplitude-phase form.
- Connects to: Sinusoids and phasors, and Ch 14’s “sine in, sine out”.
A function is periodic with period if for all . Its fundamental frequency is
The Fourier series writes as a DC term plus sinusoids at , , , …:
| Term | Name |
|---|---|
| the DC component: the average value of | |
| the fundamental, at the signal’s own frequency | |
| the harmonics, at |
Finding the coefficients
Any full period works as the range, to or to . Pick whichever makes easiest to write down.
Why these formulas work. Over one full period, the product of two different harmonics averages to zero, and so does any sine times any cosine. (Each product is a sum of sinusoids by the product-to-sum identities, and a whole number of cycles of a sinusoid averages to zero.) So when you multiply (17.1) by and average over a period, every term vanishes except the term, which averages to . The integral “picks out” one coefficient at a time. That’s where the 2 in comes from: it undoes the .
Amplitude-phase form
At each frequency, a cosine plus a sine is a single shifted cosine:
- The minus sign is easy to drop. It comes from : matching this to needs and .
- Check the quadrant. A calculator’s only returns to . Use the signs of and to place , or think of as the angle of the phasor .
The pair , against is the signal’s spectrum: which frequencies it contains, and how much of each.
Two shortcuts that save a lot of conversions
- , so a pure-sine term has phasor .
- , so a negative gives .
Example 17.1: Sawtooth wave
Find the Fourier series of the sawtooth in Figure 17.1. It rises linearly from 0 to 10 V over each period of s, then drops back to 0.
Figure 17.1: Sawtooth, period 1 s, peak 10 V.
Show answerHide answer
Set up. , and over one period for .
DC term. The average of a ramp from 0 to 10 is the halfway value:
Cosine terms. By parts (, ):
Sine terms.
Series.
In amplitude-phase form, and (since and , the phasor points straight up).
Why . Take away the DC level and runs from to around each jump. It’s odd (see the next section), so it has no cosines.
Figure 17.2 shows the series rebuilding the wave. One term gives a sine wave with the right period. Each extra term sharpens the ramp and the drop.
Figure 17.2: The first 1, 3 and 15 terms of the series (with ), against the sawtooth (dashed). Near each jump the sum overshoots by about 9% however many terms you keep (the Gibbs phenomenon).
Notes check
- The notes’ figure shows a 10 V peak, but their working uses (a 1 V peak), giving and . Those are this answer divided by 10. The series is linear, so scaling the wave scales every coefficient.
- The notes write , which would give here. Their answer of is right; it follows from , Eq. (17.4).
Symmetry
What you're learning
- About: Shortcuts from even, odd and half-wave symmetry.
- Goal: Spot which coefficients are zero before you integrate.
- Connects to: The coefficient integrals above.
Before integrating, check the wave for symmetry. It can tell you which coefficients are zero.
| Symmetry | Test | Coefficients |
|---|---|---|
| Even | : a mirror image across the vertical axis | , only cosines. |
| Odd | : flipped across both axes | , only sines. |
Why. Cosine is even and sine is odd. An even wave can’t contain any odd ingredient, so it has no sines. An odd wave has no cosines, and its average is zero, so too. Over a symmetric range, the product of an odd function with an even one integrates to zero, while the remaining integral is twice the integral over half a period. That’s why the formulas use and .
Subtract the DC level first
A wave that’s neither even nor odd often becomes odd or even once you remove its average. The sawtooth in Example 17.1 minus 5 is odd. The square wave in Example 17.5 minus 1 is odd. Find first, then check the rest for symmetry.
Example 17.2: Odd pulse wave
Find the Fourier series of in Figure 17.3. Each period of s has a pulse of from to and from to , and is zero otherwise.
Figure 17.3: Odd pulse wave, period 4 s.
Show answerHide answer
Symmetry. Flip the graph across both axes and it lands on itself, so is odd: .
Sine terms. , so . On the half period to , from 0 to 1 and from 1 to 2:
Series.
This is a Fourier sine series. The first few terms show the pattern:
| 1 | 0 | |
| 2 | ||
| 3 | 0 | |
| 4 | 1 | 0 |
| 5 | 0 |
Every fourth harmonic is missing.
Circuit Response to a Periodic Source
What you're learning
- About: A circuit’s response to a periodic source that isn’t a pure sine.
- Goal: Use superposition: find once, apply it to every harmonic, and add the responses.
- Connects to: Transfer functions from Ch 14, and phasor analysis.
Replace the periodic source with its Fourier series: a DC source in series with one sinusoidal source per harmonic. The circuit is linear, so superposition lets you find the response to each source alone and add.
Steps:
- Write the source as a Fourier series.
- Transform the circuit to the frequency domain at , keeping as a variable: , . Work out the response for a general once (a transfer function, voltage divider, and so on).
- Find each component’s response.
- DC (): inductors are shorts, capacitors are opens.
- Harmonic : write the source term as a phasor and multiply by .
- Add the responses in the time domain: .
You can't add the harmonic phasors to each other. They're at different frequencies, so each one only means something with its own attached. Convert every harmonic back to the time domain first, then add.
Example 17.3: RL circuit with a square-wave source
In Figure 17.4, , H, and
(a square wave between 0 and 1 V with period 2 s). Find .
Figure 17.4: Circuit for Example 17.3. The output is taken across the inductor.
Show answerHide answer
Predict. At DC the inductor is a short, so . At high frequency it’s an open, so . This is a high-pass filter: it removes the V average and passes the higher harmonics.
Response for harmonic . Here , so and . Voltage divider:
DC (). , and , so , as predicted.
Harmonic (odd). The source term has phasor . Multiply:
Back to time and add.
The first three terms ():
As grows, and the phase , so the high harmonics come through unchanged: the filter passes the sharp edges and blocks the average.
Example 17.4: Current through an inductor
In Figure 17.5, , H, the right-hand branch ( and in series) totals , and
Find , the current through the inductor.
Figure 17.5: Circuit for Example 17.4.
Show answerHide answer
Response for harmonic . Here , so and . The source sees in series with ( parallel to the 4 Ω branch):
Current division between the inductor and the 4 Ω branch:
DC (). and the inductor is a short (it also shorts out the 4 Ω branch), so A.
Harmonic . The source term is . Since , the bracket has phasor , so
The angles cancel exactly.
Back to time and add.
The notes don't give and separately. Only their sum matters, and the notes' impedance uses 4 Ω.
Average Power and RMS
What you're learning
- About: Power and rms values when a signal contains many harmonics.
- Goal: Add the DC power and each harmonic’s own power, and compute rms from the coefficients.
- Connects to: AC average power, .
Write the voltage and current of an element in amplitude-phase form:
The average power is . Multiplying out gives products of every voltage term with every current term. Every product of two different harmonics averages to zero (the same fact that made the coefficient formulas work). Only matching pairs survive:
The total power is the DC power plus each harmonic’s own power. Harmonics never transfer power with each other.
The same reasoning applied to gives the rms value:
Peak or rms?
In (17.5) and (17.6), and are peak amplitudes; the turns each into rms squared. If you use rms values instead, drop the : . The notes’ boxed formula keeps the but labels and “RMS phasor values”. With the , they must be peak.
Example 17.5: Power from a square wave
In Figure 17.6, the source is a square wave of V for and V for (period s), and . Find the Fourier series of , its rms value, , and the average power delivered to .
Figure 17.6: Square wave source for Example 17.5, driving a 10 Ω resistor.
Show answerHide answer
DC term.
Symmetry. Subtract the DC: is then , an odd square wave. So .
Sine terms. :
Series.
Current. The load is a resistor, so every harmonic is just divided by 10:
RMS, keeping the first three harmonics (), from (17.6):
Average power.
Exact values, for comparison. The rms of a square wave is easy to find directly: is 9 for half the period and 1 for the other half, so
The three harmonics (plus DC) capture of the power. Each extra harmonic adds a little more, and the infinite series gives exactly 0.5 W.
Key formulas
Fourier series
Coefficients
Amplitude-phase form
- Place in the right quadrant: it’s the angle of
Symmetry
| Coefficients | |
|---|---|
| Even, | ; |
| Odd, | ; |
Useful values (for integer )
Average power and rms (, peak)
Solving the problems
| The question asks you to… | Type | Worked in |
|---|---|---|
| find the Fourier series of a waveform | Coefficients | Examples 17.1, 17.2, 17.5 |
| find a circuit’s response to a periodic source | Circuit response | Examples 17.3, 17.4 |
| find the rms value or average power | Power and rms | Example 17.5 |
Coefficients
- Read off the graph and compute .
- Write piece by piece over one convenient period.
- first: the average value. Often you can see it from the graph (area over one period, divided by ).
- Check symmetry, of itself or of . Even: skip . Odd: skip . Use the half-period formulas.
- Integrate. For or use parts. Simplify with and .
- Check which give zero (often every even ), and write the series.
- If asked for amplitude-phase form: and = angle of .
Circuit response
- Get the source’s Fourier series (given, or from the recipe above). Note .
- Redraw the circuit with and , and find the output in terms of the input for a general .
- Predict with DC and high frequency: shorts and opens tell you the answer and what happens as .
- DC term: solve with shorted, open.
- Harmonic : convert the source term to a phasor (), multiply by the circuit’s response at .
- Convert each harmonic back to and add. List the first few terms numerically if asked.
Power and rms
- Put the voltage and current in amplitude-phase form, with peak amplitudes.
- : DC power plus for each harmonic present in both and .
- : square root of DC squared plus half the sum of the squared amplitudes.
- For a resistor, . If the wave is simple, check against the time-domain rms.
Common mistakes
- Forgetting the (or with symmetry) in and , or using it in , which is
- Dropping the minus in , or putting in the wrong quadrant
- Using the same or for every harmonic. They depend on
- Adding phasors from different harmonics. Convert each to the time domain, then add
- Forgetting the DC term’s response (shorted inductors, open capacitors)
- Writing as a phasor with angle . It’s
- Mixing peak and rms in the power formula. With the , amplitudes are peak
- Ignoring the scale of the wave. Doubling the wave doubles every coefficient
- Assuming a few harmonics give the exact rms. The truncated series always comes out a little low