Solved Problems · Set 33

Fourier Series

Part 3 · Frequency Response — Set 31 showed a periodic input transforms to \(F_1(s)/(1-e^{-sT})\), a form that resists inversion entirely. The remedy is to stop looking for a closed form and break the waveform into sinusoids the circuit already knows how to handle.

Prof. Mithun Mondal 20 solved · 12 practice · 3 challenge GATE · ESE · University

Set 33 — Fourier Series

Sets 31 and 32 built a complete method for arbitrary inputs, but left one case unresolved. A periodic waveform transforms to \(F_1(s)/(1-e^{-sT_p})\), and that transcendental denominator has no finite partial-fraction expansion — the transform establishes where the poles are without offering any route to the response. The way out is to abandon the closed form. A periodic waveform is a sum of sinusoids, each of which a linear circuit handles by the phasor method of Set 20 — now properly justified by Set 31, Problem 16. Superposition then reassembles the answer. Along the way the harmonic picture explains a great deal that the time-domain view obscures: why a square wave has 48% distortion, why the third harmonic overloads a neutral conductor, and why the textbook power-factor formula gives the wrong answer whenever the supply voltage is itself distorted.

Textbook Chapter 18 · 20 solved · 12 practice · 3 challenge · 12 MCQs

i Method Recap
  • The trigonometric series for a waveform of period \(T\) and \(\omega_0 = 2\pi/T\):

    \[ f(t) = \frac{a_0}{2}+\sum_{n=1}^{\infty}\left[a_n\cos n\omega_0t+b_n\sin n\omega_0t\right] \]
    \[ a_n = \frac{2}{T}\int_0^Tf(t)\cos n\omega_0t\,dt, \qquad b_n = \frac{2}{T}\int_0^Tf(t)\sin n\omega_0t\,dt \]
  • The exponential form, more compact and the one that generalises:

    \[ f(t) = \sum_{n=-\infty}^{\infty}c_ne^{jn\omega_0t}, \qquad c_n = \frac{1}{T}\int_0^Tf(t)e^{-jn\omega_0t}\,dt \]
  • Symmetry shortcuts:

    SymmetryConditionConsequence
    Even\(f(-t) = f(t)\)All \(b_n = 0\)
    Odd\(f(-t) = -f(t)\)All \(a_n = 0\)
    Half-wave\(f(t\pm T/2) = -f(t)\)All even harmonics vanish
  • Response to a periodic input: treat each harmonic separately at \(s = jn\omega_0\), then superpose:

    \[ \mathbf{I}_n = \frac{\mathbf{V}_n}{\mathbf{Z}(jn\omega_0)} \]
  • RMS and power (Parseval):

    \[ F_{\text{rms}} = \sqrt{F_0^2+\sum_{n=1}^{\infty}F_{n,\text{rms}}^2}, \qquad P = \sum_{n=0}^{\infty}V_{n}I_{n}\cos\phi_n \]

    Harmonics of different order contribute no average power.

  • Convention: \(V_n\) and \(I_n\) are RMS values of the \(n\)-th harmonic unless stated otherwise; \(\phi_n\) is the phase of \(\mathbf{V}_n\) relative to \(\mathbf{I}_n\).

VideoWalkthrough
Problem 1CoreWhy Fourier Series

Explain precisely what problem the Laplace transform failed to solve for periodic inputs, and why decomposing into harmonics succeeds where a closed form does not.

Solution

The obstacle. Set 31, Problem 17 gave the transform of any periodic waveform:

\[ F(s) = \frac{F_1(s)}{1-e^{-sT_p}} \]

and driving a circuit \(H(s)\) gives

\[ Y(s) = \frac{H(s)F_1(s)}{1-e^{-sT_p}} \]

This is not a rational function. The factor \(1-e^{-sT_p}\) has infinitely many zeros, so there is no finite partial-fraction expansion and no finite sum of exponentials to invert to. The transform is correct and entirely useless for computation.

Where the difficulty really lies. Those infinitely many zeros are at

\[ s = \frac{j2\pi k}{T_p} = jk\omega_0, \qquad k = 0,\pm1,\pm2,\dots \]

All on the imaginary axis, evenly spaced at multiples of the fundamental. That is the harmonic structure, already present in the transform — the problem is not that the information is missing but that it is packed into a form no inversion technique can unpack.

The change of strategy. Rather than seeking one closed-form answer, decompose and superpose:

StepToolEstablished in
Write the input as a sum of sinusoidsFourier seriesThis set
Find the response to eachPhasors, \(\mathbf{Z}(jn\omega_0)\)Set 20
Add the responsesSuperpositionSet 11

Every ingredient already exists. The only new thing is the first step, and even that was implicit in Set 28, Problem 1's claim that \(H(j\omega)\) determines the response to any input.

What is given up, and what is gained:

Given upGained
A closed-form answerA numerically usable one
The transientDirect physical meaning — each term is a measurable frequency
Exactness in finitely many termsControllable accuracy — truncate where you like

The loss of the transient is deliberate, not accidental. Fourier series describes the steady state only — the condition after the circuit has settled into repeating its input's period. Set 31, Problem 16 established exactly when that is legitimate: the circuit must be stable.

Why this is the right trade in practice. Periodic excitation in power and electronics is almost always a steady-state question:

SituationWhat is wanted
Rectifier rippleSteady-state harmonic content
Inverter output qualityDistortion of the settled waveform
Neutral conductor sizingRMS current in normal operation
Transformer heatingLong-run losses per harmonic

None of these asks what happened in the first few cycles. The transient that Fourier discards is the part nobody was asking about.

Laplace answered the general question and could not compute the periodic case; Fourier answers a narrower question and computes it easily. The two are complementary rather than competing — and the harmonic frequencies Fourier uses are precisely the imaginary-axis zeros that made the Laplace form intractable.
AnswerThe factor \(1-e^{-sT_p}\) is transcendental with infinitely many zeros at \(jk\omega_0\), so no finite inversion exists. Decomposing into those same harmonics and superposing gives a computable steady-state answer, at the cost of the transient.
Problem 2ChallengeOrthogonality

Prove the orthogonality relations for sines and cosines, and use them to derive the coefficient formulas.

Solution

The claim. Over one period \(T = 2\pi/\omega_0\):

\[ \int_0^T\cos m\omega_0t\,\cos n\omega_0t\,dt = \begin{cases} 0 & m \ne n\\ T/2 & m = n \ne 0\\ T & m = n = 0 \end{cases} \]
\[ \int_0^T\sin m\omega_0t\,\sin n\omega_0t\,dt = \begin{cases}0 & m \ne n\\ T/2 & m = n \ne 0\end{cases} \]
\[ \int_0^T\sin m\omega_0t\,\cos n\omega_0t\,dt = 0 \quad\text{for all } m,n \]

The last is the strongest: a sine and a cosine are orthogonal even at the same frequency.

Proof of the first, by the product-to-sum identity:

\[ \cos m\omega_0t\cos n\omega_0t = \tfrac12\left[\cos(m-n)\omega_0t+\cos(m+n)\omega_0t\right] \]

Both terms are cosines at integer multiples of \(\omega_0\), and the integral of any such cosine over a whole period is zero — an integer number of complete cycles. The only exception is \(m = n\), where \(\cos(m-n)\omega_0t = \cos 0 = 1\) contributes \(T/2\).

Extracting a coefficient. Multiply the series by \(\cos m\omega_0t\) and integrate over a period:

\[ \int_0^Tf(t)\cos m\omega_0t\,dt = \int_0^T\left[\frac{a_0}{2}+\sum_n a_n\cos n\omega_0t+\sum_n b_n\sin n\omega_0t\right]\cos m\omega_0t\,dt \]

Orthogonality annihilates every term but one. All the sine products vanish; all the cosine products with \(n \ne m\) vanish; the \(a_0\) term vanishes. What survives is \(a_m(T/2)\):

\[ \boxed{\;a_m = \frac{2}{T}\int_0^Tf(t)\cos m\omega_0t\,dt\;} \]

and identically for \(b_m\) with a sine.

Why \(a_0/2\) rather than \(a_0\). Setting \(m = 0\) in the same formula:

\[ a_0 = \frac{2}{T}\int_0^Tf(t)\,dt = 2 \times \text{(mean value)} \]

so the DC term in the series is \(a_0/2 = \) the mean. The awkward factor of two exists purely so that one formula covers every \(n\) including zero — a convention worth remembering rather than deriving each time.

The geometric picture. Orthogonality makes the harmonics behave like perpendicular axes:

Vector spaceFunction space
Basis vectors \(\hat{e}_i\)\(\cos n\omega_0t\), \(\sin n\omega_0t\)
Dot product \(\mathbf{a}\cdot\mathbf{b}\)\(\int_0^Tfg\,dt\)
Perpendicular: \(\hat{e}_i\cdot\hat{e}_j = 0\)Orthogonal harmonics
Component \(\mathbf{a}\cdot\hat{e}_i\)Coefficient \(a_n\)

Finding a Fourier coefficient is projecting onto an axis — which is why each is computed independently of all the others, and why truncating the series is a genuine best approximation rather than a crude one.

The physical consequence, which Problem 13 develops: since different harmonics are orthogonal, a voltage harmonic of one order and a current harmonic of another produce no average power. Only matched pairs contribute — orthogonality is the reason power adds harmonic by harmonic.

Orthogonality is what makes the whole method work. Without it every coefficient would depend on every other, and the series would have to be solved as an infinite simultaneous system rather than computed one integral at a time. The same property makes energies and powers add without cross-terms.
AnswerProducts of harmonics integrate to zero over a period unless the orders match, giving \(T/2\). Multiplying the series by \(\cos m\omega_0t\) and integrating therefore isolates \(a_m = \frac{2}{T}\int_0^Tf\cos m\omega_0t\,dt\).
Problem 3CoreThe Square Wave

Find the Fourier series of a square wave of amplitude \(A\), odd about the origin, and interpret the result.

Solution

The waveform: \(f(t) = +A\) for \(0 < t < T/2\) and \(-A\) for \(T/2 < t < T\).

ObservationConsequence
Mean value is zero\(a_0 = 0\)
Odd: \(f(-t) = -f(t)\)All \(a_n = 0\) — only sines
Half-wave: \(f(t+T/2) = -f(t)\)All even harmonics vanish

Two symmetry arguments have eliminated three quarters of the work before any integration. Problem 4 justifies them.

Compute \(b_n\). Using the odd symmetry, integrate over the half period and double:

\[ b_n = \frac{4}{T}\int_0^{T/2}A\sin n\omega_0t\,dt = \frac{4A}{T}\left[\frac{-\cos n\omega_0t}{n\omega_0}\right]_0^{T/2} \]

With \(\omega_0T/2 = \pi\):

\[ b_n = \frac{4A}{n\omega_0T}\left[1-\cos n\pi\right] = \frac{2A}{n\pi}\left[1-(-1)^n\right] \]

Evaluate the bracket:

\(n\)\(1-(-1)^n\)\(b_n\)
Even00
Odd2\(4A/n\pi\)
\[ \boxed{\;f(t) = \frac{4A}{\pi}\left[\sin\omega_0t+\frac{1}{3}\sin3\omega_0t+\frac{1}{5}\sin5\omega_0t+\cdots\right]\;} \]

confirming the half-wave symmetry prediction independently.

The harmonic amplitudes, for the running example \(A = 100\) V at 50 Hz:

\(n\)FrequencyPeak (V)RMS (V)Relative
150 Hz127.3290.031.000
3150 Hz42.4430.010.333
5250 Hz25.4618.010.200
7350 Hz18.1912.860.143
9450 Hz14.1510.000.111

Note the fundamental exceeds the square wave's own amplitude — 127.3 V peak against 100 V. The higher harmonics subtract near the middle of each half-cycle to flatten the top, so the fundamental must overshoot for their sum to come out flat.

Check by evaluating the series at \(t = T/4\), where \(f = A\). There \(\sin(n\pi/2)\) alternates \(+1, -1, +1,\dots\) for \(n = 1,3,5,\dots\):

\[ A = \frac{4A}{\pi}\left[1-\frac13+\frac15-\frac17+\cdots\right] \;\Longrightarrow\; 1-\frac13+\frac15-\cdots = \frac{\pi}{4} \]

The Leibniz series for \(\pi\), obtained as a by-product. This is a genuine check: had the coefficient been wrong by any factor, the identity would fail.

The \(1/n\) decay is the slowest of any common waveform, and it is the direct consequence of the discontinuity:

\[ b_n \propto \frac{1}{n} \;\Longrightarrow\; \text{50 harmonics needed for 2% accuracy in amplitude} \]

Problem 10 makes the connection between smoothness and decay rate general, and Problem 9 shows the discontinuity never disappears no matter how many terms are kept.

A square wave is an infinite sum of odd harmonics, falling as \(1/n\). Its fundamental is 27% larger than the wave itself — a result that looks wrong until one realises the higher harmonics spend most of each half-cycle subtracting from it.
Answer\(f(t) = \frac{4A}{\pi}\sum_{n \text{ odd}}\frac{1}{n}\sin n\omega_0t\). For \(A = 100\) V the fundamental is 127.3 V peak (90.03 V rms), the third 42.4 V, the fifth 25.5 V.
Problem 4Exam levelSymmetry Shortcuts

Prove the three symmetry rules and show how much labour each saves.

Solution

aEven symmetry, \(f(-t) = f(t)\). The integrand of \(b_n\) is

\[ \underbrace{f(t)}_{\text{even}}\times\underbrace{\sin n\omega_0t}_{\text{odd}} = \text{odd} \]

and an odd function integrates to zero over a symmetric interval. Hence \(b_n = 0\) for all \(n\) — the series contains only cosines and a constant.

bOdd symmetry, \(f(-t) = -f(t)\). By the same argument with the roles exchanged:

\[ \underbrace{f(t)}_{\text{odd}}\times\underbrace{\cos n\omega_0t}_{\text{even}} = \text{odd} \;\Longrightarrow\; a_n = 0 \ \text{for all } n \]

including \(a_0\)an odd function has zero mean automatically.

cHalf-wave symmetry, \(f(t+T/2) = -f(t)\). Split the coefficient integral at the half period:

\[ a_n = \frac{2}{T}\left[\int_0^{T/2}f\cos n\omega_0t\,dt+\int_{T/2}^{T}f\cos n\omega_0t\,dt\right] \]

Substituting \(t = \tau+T/2\) in the second integral, and using \(\cos n\omega_0(\tau+T/2) = (-1)^n\cos n\omega_0\tau\):

\[ a_n = \frac{2}{T}\left[1-(-1)^n\right]\int_0^{T/2}f\cos n\omega_0t\,dt \]

The bracket vanishes for even \(n\). So half-wave symmetry kills every even harmonic — including the DC term — and the same argument applies to \(b_n\).

What each saves:

SymmetryEliminatesLabour saved
EvenAll \(b_n\)Half
OddAll \(a_n\) (and \(a_0\))Half
Half-waveAll even harmonicsHalf
Odd + half-waveAll \(a_n\) and all even \(b_n\)Three quarters

The square wave of Problem 3 has both, which is why only \(b_n\) for odd \(n\) needed computing — one integral instead of four families.

An important caution: symmetry depends on the time origin. Shifting the square wave by \(T/4\) makes it even instead of odd:

Origin choiceSeries contains
Odd about \(t=0\)Sines only
Even about \(t=0\)Cosines only
NeitherBoth

Choose the origin to create symmetry before integrating. Problem 18 shows the physical content is unaffected — only the split between sine and cosine terms changes, never the harmonic magnitudes.

Half-wave symmetry is different in kind. Unlike the other two it cannot be created or destroyed by shifting the origin:

\[ f(t+T/2) = -f(t) \ \text{is a property of the waveform's shape} \]

and it has real physical significance. Any waveform whose positive and negative half-cycles are identical in shape contains no even harmonics — which is why a symmetric inverter output or a balanced magnetic circuit produces only odd harmonics, and why the appearance of even harmonics signals an asymmetry such as DC offset or half-cycle saturation.

Two of the three symmetries are artefacts of where the clock was started; the third is real. Even and odd symmetry redistribute a fixed set of harmonic magnitudes between sine and cosine terms, but half-wave symmetry removes half the harmonics entirely — and its absence in a measured waveform is diagnostic.
AnswerEven → all \(b_n = 0\); odd → all \(a_n = 0\); half-wave → all even harmonics vanish. The first two depend on the time origin; half-wave symmetry does not, and its absence signals waveform asymmetry.
Problem 5Exam levelThe Exponential Form

Derive the exponential Fourier series, relate its coefficients to \(a_n\) and \(b_n\), and explain why negative frequencies appear.

Solution

Substitute Euler's formulas into the trigonometric series:

\[ \cos n\omega_0t = \frac{e^{jn\omega_0t}+e^{-jn\omega_0t}}{2}, \qquad \sin n\omega_0t = \frac{e^{jn\omega_0t}-e^{-jn\omega_0t}}{2j} \]

Collecting terms in \(e^{jn\omega_0t}\) and \(e^{-jn\omega_0t}\) gives

\[ \boxed{\;f(t) = \sum_{n=-\infty}^{\infty}c_ne^{jn\omega_0t}, \qquad c_n = \frac{1}{T}\int_0^Tf(t)e^{-jn\omega_0t}\,dt\;} \]

The relationships:

QuantityIn terms of \(a_n, b_n\)
\(c_0\)\(a_0/2\) — the mean
\(c_n\) (\(n>0\))\(\tfrac12\left(a_n-jb_n\right)\)
\(c_{-n}\)\(\tfrac12\left(a_n+jb_n\right) = c_n^*\)
\(\left|c_n\right|\)\(\tfrac12\sqrt{a_n^2+b_n^2}\)

For a real \(f(t)\), \(c_{-n} = c_n^*\) always. This conjugate symmetry is not a coincidence — it is exactly the condition that the sum comes out real.

Why negative frequencies. They are a bookkeeping device, not a physical claim:

\[ c_ne^{jn\omega_0t}+c_{-n}e^{-jn\omega_0t} = c_ne^{jn\omega_0t}+\left(c_ne^{jn\omega_0t}\right)^* = 2\,\text{Re}\left\{c_ne^{jn\omega_0t}\right\} \]

The pair combines into one real sinusoid. Each rotating phasor is complex; only their sum is physical. This is precisely the "take the real part" convention of Set 20, made symmetric — and the reward is that the algebra involves only exponentials, which multiply and differentiate trivially.

The square wave in exponential form. From Problem 3, \(a_n = 0\) and \(b_n = 4A/n\pi\) for odd \(n\):

\[ c_n = \frac{1}{2}\left(0-j\frac{4A}{n\pi}\right) = \frac{-j2A}{n\pi} \qquad (n \ \text{odd}) \]
\(n\)\(c_n\) for \(A = 100\)\(|c_n|\)
1\(-j63.66\)63.66
−1\(+j63.66\)63.66
3\(-j21.22\)21.22
−3\(+j21.22\)21.22

Each is half the trigonometric amplitude, the other half sitting at the mirror frequency. Adding the pair recovers the 127.3 V peak of Problem 3.

Why this form is preferred for everything beyond hand computation:

AdvantageDetail
One formula, not two\(c_n\) replaces \(a_n\) and \(b_n\)
Magnitude and phase directly\(|c_n|\) and \(\angle c_n\) — Problem 8's spectrum
Time shifts are trivialMultiply by \(e^{-jn\omega_0t_0}\) — Problem 18
Generalises to the transformProblem 19 — let \(T \to \infty\)

The last is decisive. The Fourier transform of Set 34 is the exponential series with the sum replaced by an integral, and that passage is invisible in the trigonometric form.

Negative frequencies are the price of writing a real sinusoid as a single exponential, and it is a price worth paying. The conjugate pair \(c_{-n} = c_n^*\) guarantees reality, and in exchange every operation — shifting, differentiating, convolving — becomes multiplication by an exponential.
Answer\(f(t) = \sum c_ne^{jn\omega_0t}\) with \(c_n = \frac1T\int_0^Tfe^{-jn\omega_0t}dt = \frac12(a_n-jb_n)\). For real \(f\), \(c_{-n} = c_n^*\), so each pair combines into one real sinusoid.
Problem 6Exam levelSawtooth and Triangle

Find the Fourier series of a sawtooth and a triangular wave, and account for the difference in their decay rates.

Solution

aThe sawtooth, rising linearly from \(-A\) to \(+A\) over one period and dropping instantly. It is odd, so only \(b_n\) survives:

\[ b_n = \frac{2}{T}\int_{-T/2}^{T/2}\frac{2At}{T}\sin n\omega_0t\,dt \]

Integrating by parts:

\[ b_n = \frac{2A}{n\pi}(-1)^{n+1} \]
\[ f(t) = \frac{2A}{\pi}\left[\sin\omega_0t-\frac{1}{2}\sin2\omega_0t+\frac{1}{3}\sin3\omega_0t-\cdots\right] \]

All harmonics present, both odd and even, with alternating signs. There is no half-wave symmetry — the waveform's two half-cycles are not mirror images, since one contains the discontinuity.

bThe triangular wave, which rises and falls linearly with no jump. Odd and half-wave symmetric:

\[ b_n = \frac{8A}{n^2\pi^2}(-1)^{(n-1)/2} \qquad (n \ \text{odd only}) \]
\[ f(t) = \frac{8A}{\pi^2}\left[\sin\omega_0t-\frac{1}{9}\sin3\omega_0t+\frac{1}{25}\sin5\omega_0t-\cdots\right] \]

Compare the three waveforms met so far, normalised to unit fundamental:

\(n\)Square (\(1/n\))Sawtooth (\(1/n\))Triangle (\(1/n^2\))
11.0001.0001.000
200.5000
30.3330.3330.111
50.2000.2000.040
70.1430.1430.020

The triangle's harmonics collapse far faster. Its seventh harmonic is 2% of the fundamental where the square wave's is 14% — a sevenfold difference, growing with \(n\).

The reason is the discontinuity. Square and sawtooth both jump; the triangle does not:

WaveformContinuityDecay
SquareJumps in \(f\)\(1/n\)
SawtoothJumps in \(f\)\(1/n\)
Triangle\(f\) continuous, \(f'\) jumps\(1/n^2\)

Problem 10 generalises this into a rule. The bandwidth a waveform demands is set by its sharpest feature, not its amplitude.

A useful relationship. The triangle is the integral of the square wave, and integrating divides each coefficient by \(jn\omega_0\):

\[ \frac{1}{n}\times\frac{1}{n} = \frac{1}{n^2}\;\checkmark \]

Integration in time is division by \(n\) in the spectrum — Set 31, Problem 6's theorem applied harmonic by harmonic. Differentiating a triangle gives a square wave, and correspondingly multiplies each coefficient by \(n\).

Why the sawtooth has even harmonics but the square wave does not. Both are discontinuous, so both decay as \(1/n\) — the difference is symmetry, not smoothness:

\[ \text{square: } f(t+T/2) = -f(t)\;\checkmark \qquad \text{sawtooth: } f(t+T/2) \ne -f(t) \]

Decay rate is governed by smoothness; which harmonics appear at all is governed by symmetry. The two questions are independent, and confusing them is a common error.

Two waveforms with identical decay rates can have completely different spectra. Square and sawtooth both fall as \(1/n\) because both jump, yet one has only odd harmonics and the other has all of them — smoothness sets the envelope, symmetry decides which lines are present within it.
AnswerSawtooth: \(b_n = \frac{2A}{n\pi}(-1)^{n+1}\), all harmonics, \(1/n\) decay. Triangle: \(b_n = \frac{8A}{n^2\pi^2}\), odd only, \(1/n^2\) decay — because it is continuous, being the integral of a square wave.
Problem 7Exam levelRectified Sines

Find the Fourier series of half-wave and full-wave rectified sines, and explain what the spectra say about smoothing requirements.

Solution

aHalf-wave rectified sine\(A\sin\omega_0t\) for the positive half-cycle, zero otherwise.

The DC term:

\[ c_0 = \frac{1}{2\pi}\int_0^{\pi}A\sin\theta\,d\theta = \frac{A}{\pi} = 0.3183A \]

The fundamental survives at half amplitude:

\[ b_1 = \frac{1}{\pi}\int_0^{\pi}A\sin^2\theta\,d\theta = \frac{A}{2} \]

The even harmonics:

\[ a_n = -\frac{2A}{\pi\left(n^2-1\right)} \qquad (n \ \text{even}) \]
\[ f(t) = \frac{A}{\pi}+\frac{A}{2}\sin\omega_0t-\frac{2A}{\pi}\left[\frac{\cos2\omega_0t}{3}+\frac{\cos4\omega_0t}{15}+\frac{\cos6\omega_0t}{35}+\cdots\right] \]

Odd harmonics above the first are entirely absent — an unusual spectrum, and one that follows from the waveform being a sine multiplied by a square wave of the same period.

bFull-wave rectified sine\(A|\sin\omega_0t|\). The period halves, so the "fundamental" of the rectified wave is at \(2\omega_0\):

\[ \text{DC} = \frac{2A}{\pi} = 0.6366A \]
\[ a_n = -\frac{4A}{\pi\left(4n^2-1\right)} \qquad\text{at frequency } 2n\omega_0 \]
\[ f(t) = \frac{2A}{\pi}-\frac{4A}{\pi}\left[\frac{\cos2\omega_0t}{3}+\frac{\cos4\omega_0t}{15}+\frac{\cos6\omega_0t}{35}+\cdots\right] \]

No fundamental at all, and twice the DC output. Both facts make full-wave rectification the better choice.

Compare the two, as fractions of the DC output:

ComponentHalf-waveFull-wave
DC\(0.318A\)\(0.637A\)
Lowest ripple frequency\(\omega_0\) (50 Hz)\(2\omega_0\) (100 Hz)
Largest ripple / DC\(0.5A/0.318A = 1.571\)\(0.424A/0.637A = 0.667\)
RMS\(A/2\)\(A/\sqrt2\)

Full-wave wins three times over: double the DC, less relative ripple, and the ripple that remains is at twice the frequency.

Why the ripple frequency matters most. A smoothing capacitor's attenuation goes as \(1/\omega\), so doubling the ripple frequency halves the required capacitance for the same ripple:

\[ \text{attenuation} \propto \frac{1}{\omega_{\text{ripple}}C} \]
RectifierRipple to filterRelative \(C\) needed
Half-wave1.571 × DC at 50 Hz1.00
Full-wave0.667 × DC at 100 Hz0.21

Combining both effects, a full-wave rectifier needs roughly a fifth of the smoothing capacitance — which is why half-wave rectification survives only in the least demanding applications.

The \(1/n^2\) decay is worth noticing. Both rectified waves have coefficients falling as \(1/n^2\) rather than \(1/n\):

\[ \frac{4A}{\pi\left(4n^2-1\right)} \sim \frac{A}{\pi n^2} \]

because neither waveform is discontinuous — the full-wave output has a corner at each zero crossing but no jump. By Problem 10's rule that gives \(1/n^2\), and it means the high harmonics are easily filtered.

Rectification is multiplication by a square wave, and multiplication in time shifts the spectrum. The full-wave case doubles the ripple frequency and removes the fundamental entirely — a change of spectrum that saves about 80% of the smoothing capacitance, and one that is invisible from the time-domain waveform alone.
AnswerHalf-wave: DC \(A/\pi\), fundamental \(A/2\), even harmonics \(-2A/[\pi(n^2-1)]\). Full-wave: DC \(2A/\pi\), no fundamental, harmonics \(-4A/[\pi(4n^2-1)]\) at even multiples — needing about a fifth the smoothing capacitance.
Problem 8CoreLine Spectra

Explain what a line spectrum shows, plot the square wave's, and set out what can be read from magnitude and phase spectra.

Solution

Definition. A line spectrum plots \(|c_n|\) against frequency \(n\omega_0\) — a set of discrete lines, one per harmonic:

FeatureMeaning
Line positionsMultiples of \(\omega_0\) — set by the period alone
Line heights\(|c_n|\) — set by the waveform's shape
Spacing\(\omega_0 = 2\pi/T\)
Gaps between linesGenuinely empty — no energy at non-harmonic frequencies

The last point is what makes a periodic signal special. A periodic waveform occupies discrete frequencies only, which is why a spectrum analyser shows a comb rather than a continuum.

The square wave's magnitude spectrum (\(A = 100\) V, 50 Hz):

Frequency\(|c_n|\) (V)RelativedB below fundamental
50 Hz63.661.0000.0
100 Hz0
150 Hz21.220.333−9.5
250 Hz12.730.200−14.0
350 Hz9.090.143−16.9
450 Hz7.070.111−19.1

A \(1/n\) envelope with every even line missing. On a log–log plot the envelope is a straight line of slope \(-20\) dB/decade — the same slope as a single pole, and for the same reason.

The phase spectrum plots \(\angle c_n\). For the odd square wave every \(c_n\) is purely imaginary:

\[ c_n = \frac{-j2A}{n\pi} \;\Longrightarrow\; \angle c_n = -90° \ \text{for all positive odd } n \]

Constant phase. Shifting the time origin would change this entirely while leaving the magnitude spectrum untouched — Problem 18.

What each spectrum tells you:

QuestionRead from
How much distortion?Magnitude — Problem 14
What bandwidth is needed?Magnitude envelope
Is there DC offset?The \(n=0\) line
Are there even harmonics?Magnitude — signals asymmetry
What does the waveform look like?Both — magnitude alone is not enough

The last is important and often forgotten. Two waveforms with identical magnitude spectra can look completely different, because rearranging the phases redistributes where the harmonics reinforce. A square wave and a narrow pulse train can share an envelope and share nothing else.

The bandwidth question, made concrete. To reproduce a 50 Hz square wave with harmonics down to 1% of the fundamental:

\[ \frac{1}{n} < 0.01 \;\Longrightarrow\; n > 100 \;\Longrightarrow\; f > 5\ \text{kHz} \]

A 50 Hz square wave needs 5 kHz of bandwidth — a hundred times its own repetition rate. For the triangle wave of Problem 6, \(1/n^2 < 0.01\) gives \(n > 10\), so 500 Hz suffices. The edges, not the period, set the bandwidth.

The line spectrum is the waveform's identity card. Line positions come from the period, heights from the shape, and the envelope's slope from the sharpest feature — so a glance at a spectrum reveals the repetition rate, the symmetry and the bandwidth demand at once.
AnswerDiscrete lines at multiples of \(\omega_0\), height \(|c_n|\). The square wave shows a \(1/n\) envelope (−20 dB/dec) with even lines absent and constant −90° phase. Magnitude alone does not determine the waveform — phase is needed too.
Problem 9ChallengeThe Gibbs Phenomenon

Investigate what happens near a discontinuity as more harmonics are added, quantify the overshoot, and explain why it does not contradict convergence.

Solution

The experiment. Sum \(N\) harmonics of a \(\pm1\) square wave and record the peak value near the jump:

HarmonicsPeakOvershoot above 1
51.188418.84%
111.181318.13%
251.179517.95%
1011.179017.90%
10011.179017.90%

The overshoot does not shrink. It converges to a fixed 17.90% and stays there however many terms are added — which is the phenomenon.

The exact value. The limit is

\[ \frac{2}{\pi}\int_0^{\pi}\frac{\sin u}{u}\,du - 1 = \frac{2}{\pi}\text{Si}(\pi)-1 = 0.17898 \]

involving the sine integral \(\text{Si}\). Quoted as a fraction of the total jump — here \(2\), from \(-1\) to \(+1\) — this is

\[ \frac{0.17898}{2} = 8.949\% \]

The 8.949% figure is the standard one, and the two numbers are frequently confused: 8.949% of the jump, which for a \(\pm A\) square wave reads as 17.9% of \(A\).

Why this does not contradict convergence. The series does converge — but not uniformly:

QuantityAs \(N\to\infty\)
Overshoot heightConstant at 8.949% of the jump
Overshoot width\(\to 0\) as \(1/N\)
Overshoot area\(\to 0\)
Error at any fixed point\(\to 0\)

The ripple gets narrower but never shorter, and slides ever closer to the discontinuity. Pick any point away from the jump and the series converges there perfectly well; the overshoot simply moves out of the way rather than diminishing.

At the discontinuity itself the series converges to the midpoint:

\[ f_{\text{series}}(t_0) = \frac{f(t_0^-)+f(t_0^+)}{2} \]

For the \(\pm A\) square wave, the series gives exactly zero at the jump. It splits the difference — a general property, not a special case.

Practical consequences, which are real rather than academic:

SituationEffect
Band-limiting a pulse9% overshoot at every edge
Digital signal through a filterRinging that can cause false triggering
Voltage rating of componentsMust allow for the overshoot
Anti-aliasing before samplingGibbs ringing on transitions

A sharp-cut filter applied to a square wave produces 9% overshoot regardless of how good the filter is — the overshoot comes from the truncation, not from any defect in the design.

The cure is to truncate gently. Instead of cutting the series off abruptly, taper the coefficients with a window:

TruncationOvershootCost
Abrupt (rectangular)8.9%None
Tapered (Hamming, Fejér, etc.)Nearly zeroSlower transition

This is exactly the trade of Set 30: sharpness against ringing. A Bessel filter's gentle roll-off is a taper in disguise, which is why it shows almost no overshoot on a step.

The Gibbs overshoot is a property of truncation, not of the waveform or the filter. Any abrupt band-limiting of a discontinuous signal produces 8.9% of the jump in overshoot — and the only remedy is to taper the cut-off, which costs transition sharpness in exactly the way Set 30's families do.
AnswerThe overshoot converges to \(\frac{2}{\pi}\text{Si}(\pi)-1 = 17.90\%\) of the half-amplitude, i.e. 8.949% of the jump, and never shrinks. It narrows as \(1/N\) instead, so convergence holds pointwise but not uniformly.
Problem 10Exam levelSmoothness and Decay

Establish the general relationship between a waveform's smoothness and its coefficient decay rate, and use it to predict bandwidth requirements.

Solution

The rule:

\[ \text{if the } k\text{-th derivative is the first to be discontinuous, then } |c_n| \sim \frac{1}{n^{k+1}} \]
First discontinuous derivativeDecayExample
\(f\) itself (\(k=0\))\(1/n\)Square, sawtooth
\(f'\) (\(k=1\))\(1/n^2\)Triangle, rectified sine
\(f''\) (\(k=2\))\(1/n^3\)Raised cosine
None — infinitely smoothFaster than any powerGaussian pulse

Why it holds. Integration by parts, applied to the coefficient integral, transfers a derivative onto \(f\) and produces a factor \(1/jn\omega_0\):

\[ c_n = \frac{1}{T}\int_0^Tf e^{-jn\omega_0t}dt = \frac{1}{jn\omega_0T}\left[\text{boundary}\right]+\frac{1}{jn\omega_0}c_n^{(f')} \]

Each integration by parts gains one power of \(n\) in the denominator — but only if the boundary term vanishes, which requires continuity. A jump makes the boundary term survive and stops the process, fixing the decay rate at that point.

Bandwidth for 1% accuracy, the practical consequence:

WaveformDecayHarmonics to 1%Bandwidth at 50 Hz
Square\(1/n\)1005 kHz
Triangle\(1/n^2\)10500 Hz
Raised cosine\(1/n^3\)5250 Hz

A twentyfold difference in bandwidth for waveforms of the same period and amplitude. This is why data transmission shapes its pulses — the raised-cosine pulse is used precisely because its \(1/n^3\) decay minimises the spectrum it occupies.

The reverse reading is equally useful. Given a spectrum, the decay rate identifies the sharpest feature:

Observed envelopeDiagnosis
−20 dB/decA discontinuity somewhere in the waveform
−40 dB/decContinuous but with corners
Falling fasterSmooth
Not falling at allImpulses present

The last row is the limiting case: an impulse train has coefficients that never decay, since \(\mathcal{L}\{\delta\} = 1\) is flat (Set 31, Problem 13). Infinite bandwidth is the price of an infinitely sharp feature.

The connection to filter roll-off. The envelope slopes are exactly those of Set 28:

\[ \frac{1}{n^k} \ \text{envelope} \;\longleftrightarrow\; -20k \ \text{dB/decade} \]

and the reason is the same in both cases — repeated integration. A waveform's spectrum falls off for the same mathematical reason a filter's response does, which is why filtering a waveform and smoothing it are the same operation.

Sharp features cost bandwidth, in direct and quantifiable proportion. One discontinuity condemns a waveform to \(1/n\) decay and a hundred harmonics; rounding the corners buys back a factor of twenty in bandwidth for no change in period or amplitude.
AnswerIf the \(k\)-th derivative is the first discontinuous one, \(|c_n| \sim 1/n^{k+1}\). A 50 Hz square wave needs 5 kHz for 1% accuracy; a triangle needs 500 Hz; a raised cosine 250 Hz.
Problem 11Exam levelResponse to a Periodic Input

A 100 V, 50 Hz square wave drives a series circuit with \(R = 10\ \Omega\) and \(L = 31.83\) mH. Find the steady-state current harmonic by harmonic.

Solution

1Note the circuit at the fundamental:

\[ X_L = \omega_0L = 2\pi(50)(0.03183) = 10\ \Omega = R \]
\[ \mathbf{Z}_1 = 10+j10 = 14.14\angle45°\ \Omega \]

A convenient choice: the circuit is at 45° at the fundamental, and becomes progressively more inductive at higher harmonics.

2The impedance at the \(n\)-th harmonic. Only the reactance scales:

\[ \mathbf{Z}_n = R+jn\omega_0L = 10+j10n \]

This is the entire method — evaluate \(\mathbf{Z}(s)\) at \(s = jn\omega_0\), which is legitimate by Set 31, Problem 16 because the circuit is stable.

3Divide each voltage harmonic by its own impedance:

\(n\)\(V_n\) (V rms)\(\left|\mathbf{Z}_n\right|\) (Ω)\(I_n\) (A rms)Phase
190.0314.146.3662−45.00°
330.0131.620.9490−71.57°
518.0150.990.3531−78.69°
712.8670.710.1819−81.87°
910.0090.550.1105−83.66°
118.19110.450.0741−84.81°

Each harmonic is treated as a completely separate problem — a different source, a different impedance, a different phase. Nothing couples them, because the circuit is linear.

4Assemble the answer:

\[ i(t) = 9.003\sin\left(\omega_0t-45°\right)+1.342\sin\left(3\omega_0t-71.6°\right)+0.499\sin\left(5\omega_0t-78.7°\right)+\cdots \]

in peak values (RMS \(\times\sqrt2\)). Convergence is rapid — the eleventh harmonic contributes barely 1% of the fundamental.

The two attenuation mechanisms compound, which is why convergence is so much faster than the input's:

\(n\)\(V_n/V_1\)\(I_n/I_1\)Extra attenuation
11.0001.0001.00×
30.3330.1492.24×
50.2000.0553.61×
70.1430.0295.00×
110.0910.0127.81×

The source falls as \(1/n\); the impedance rises roughly as \(n\); the current therefore falls as \(1/n^2\). The inductor has smoothed the current without any deliberate filtering.

Why the transient is missing, and when that matters. The method finds only the steady state:

\[ \tau = \frac{L}{R} = \frac{0.03183}{10} = 3.18\ \text{ms} = 0.16 \ \text{of a period} \]

so the circuit settles within about one cycle and the steady state is reached almost immediately. For a circuit with \(\tau \gg T\) the steady state might take hundreds of cycles to establish, and Fourier says nothing about what happens meanwhile — that is Laplace's territory.

A periodic input is a set of independent single-frequency problems. Every technique from Sets 20 to 27 applies to each one unchanged, and the only new work is finding the coefficients — after which the circuit analysis is entirely familiar.
Answer\(\mathbf{Z}_n = 10+j10n\), giving \(I_1 = 6.366\) A at \(-45°\), \(I_3 = 0.949\) A at \(-71.6°\), \(I_5 = 0.353\) A. Current harmonics fall as \(1/n^2\) — the source as \(1/n\) and the impedance rising as \(n\).
Problem 12CoreParseval and RMS

State Parseval's theorem for Fourier series and use it to find the RMS values in the running example.

Solution

The theorem. The mean square of a waveform is the sum of the mean squares of its harmonics:

\[ \frac{1}{T}\int_0^Tf^2\,dt = \left(\frac{a_0}{2}\right)^2+\sum_{n=1}^{\infty}\frac{a_n^2+b_n^2}{2} \]
\[ \boxed{\;F_{\text{rms}} = \sqrt{F_0^2+\sum_{n=1}^{\infty}F_{n,\text{rms}}^2}\;} \]

Squares add, not amplitudes. This follows directly from orthogonality (Problem 2): squaring the series produces cross-terms, and every one of them integrates to zero.

Verify on the square wave, whose RMS is obviously \(A\) since \(|f| = A\) always:

\[ V_{\text{rms}}^2 = \sum_{n \ \text{odd}}\left(\frac{4A}{n\pi\sqrt2}\right)^2 = \frac{8A^2}{\pi^2}\sum_{n \ \text{odd}}\frac{1}{n^2} \]

Using the known sum \(\sum_{n \text{ odd}}1/n^2 = \pi^2/8\):

\[ V_{\text{rms}}^2 = \frac{8A^2}{\pi^2}\cdot\frac{\pi^2}{8} = A^2 \;\Longrightarrow\; V_{\text{rms}} = A\;\checkmark \]

Exact. And read backwards, this is a derivation of the series \(1+\frac19+\frac1{25}+\cdots = \pi^2/8\) — a second number-theoretic by-product, after Problem 3's Leibniz series.

Convergence in practice. Truncating the sum:

Harmonics kept\(V_{\text{rms}}\) (V)Error
1 only90.03−10.0%
1, 394.90−5.1%
to 998.20−1.8%
to 9999.84−0.16%
to 199999.99−0.01%

The fundamental alone accounts for 90% of the RMS despite the waveform's severe distortion — because the harmonics enter as squares, and \(0.333^2 = 0.111\) is already small.

The current in the running example:

\[ I_{\text{rms}} = \sqrt{6.3662^2+0.9490^2+0.3531^2+0.1819^2+\cdots} = 6.4508\ \text{A} \]
QuantityValue
Fundamental alone6.3662 A
True RMS6.4508 A
Harmonic contribution1.3%

The harmonics add only 1.3% to the RMS current, even though they add 48% to the RMS voltage — because the inductor has removed most of them (Problem 11).

Why this matters for measurement. Two instruments give different readings on a distorted waveform:

InstrumentReadsOn the square wave
True-RMS meterThe Parseval sum100.0 V ✓
Average-responding, RMS-calibratedMean of \(|f|\) × 1.11111.1 V ✗

The second type is calibrated assuming a sine wave, where the form factor is 1.111. On a square wave it over-reads by 11%; on a peaky rectifier current it can under-read by 40%. Only a true-RMS instrument is trustworthy on a distorted waveform.

Parseval says energy is conserved between the time and frequency descriptions. Squares add because harmonics are orthogonal — which also means a modest-looking harmonic barely affects the RMS, while a severely distorted waveform can still be dominated by its fundamental.
Answer\(F_{\text{rms}} = \sqrt{\sum F_{n,\text{rms}}^2}\). For the square wave this gives exactly \(A\), using \(\sum_{n \text{ odd}}1/n^2 = \pi^2/8\). In the running example \(I_{\text{rms}} = 6.451\) A against a fundamental of 6.366 A.
Problem 13Exam levelPower with Harmonics

Show that harmonics of different orders contribute no average power, and compute the power in the running example two ways.

Solution

The average power is the mean of \(vi\) over a period. Substituting both series and multiplying out gives terms of the form

\[ \frac{1}{T}\int_0^TV_m\cos\left(m\omega_0t+\alpha\right)I_n\cos\left(n\omega_0t+\beta\right)dt \]

By orthogonality (Problem 2) this vanishes unless \(m = n\). A 150 Hz voltage and a 250 Hz current transfer no net energy, however large both may be.

Hence power adds harmonic by harmonic:

\[ \boxed{\;P = V_0I_0+\sum_{n=1}^{\infty}V_nI_n\cos\phi_n\;} \]

with \(V_n, I_n\) RMS and \(\phi_n\) the phase angle at that harmonic. Each harmonic behaves as an independent single-frequency circuit — Set 21's power theory applied term by term.

Compute for the running example, method 1 — sum \(V_nI_n\cos\phi_n\):

\(n\)\(V_n\)\(I_n\)\(\cos\phi_n\)\(P_n\) (W)
190.036.36620.7071405.29
330.010.94900.31629.00
518.010.35310.19611.25
712.860.18190.14140.33
9+0.26
Total416.12

Method 2 — all the power is dissipated in the resistor, so

\[ P = I_{\text{rms}}^2R = (6.4508)^2(10) = 416.12\ \text{W}\;\checkmark \]

Agreeing exactly. The second method is far quicker when the circuit has a single resistor, and it also confirms Parseval — the two are the same statement.

Where the power actually goes:

SourcePowerShare
Fundamental405.29 W97.40%
All harmonics10.83 W2.60%

The harmonics carry only 2.6% of the power despite the input being 48% distorted — because the inductor limits their current, and power goes as current squared.

The inductor consumes no average power at any harmonic, as expected:

\[ \phi_n^{(L)} = 90° \ \text{always} \;\Longrightarrow\; \cos\phi_n = 0 \]

so it exchanges reactive power at every harmonic while dissipating none — Set 21's result, holding independently at each frequency.

A caution about reactive power. Unlike \(P\), the definition of \(Q\) with harmonics is not settled:

QuantityStatus with harmonics
\(P\)Unambiguous — mean of \(vi\)
\(S = V_{\text{rms}}I_{\text{rms}}\)Unambiguous
\(Q\)Several competing definitions
\(S^2 = P^2+Q^2\)Fails — a third term is needed

The shortfall is called distortion power \(D\), with \(S^2 = P^2+Q^2+D^2\). The familiar power triangle of Set 21 is a two-dimensional picture of what is really a three-dimensional situation, and it applies only to sinusoidal operation.

Only matched harmonic pairs transfer power, so \(P\) adds term by term. But apparent power does not decompose the same way, and the neat right triangle of Set 21 breaks down — the mismatch between \(S\) and \(\sqrt{P^2+Q^2}\) is itself a measure of distortion.
Answer\(P = \sum V_nI_n\cos\phi_n = 416.12\) W, confirmed by \(I_{\text{rms}}^2R\). The fundamental carries 97.4%. Cross-harmonic terms vanish by orthogonality, but \(S^2 = P^2+Q^2\) no longer holds.
Problem 14CoreTotal Harmonic Distortion

Define THD, compute it for the square wave exactly, and compare the input and output distortion in the running example.

Solution

The definition — harmonic content relative to the fundamental:

\[ \text{THD} = \frac{\sqrt{\sum_{n=2}^{\infty}F_n^2}}{F_1} \]

using RMS values. A pure sinusoid has THD = 0, and the measure grows without bound as distortion increases.

Exact THD of a square wave. Since \(V_{\text{rms}} = A\) and \(V_1 = 4A/(\pi\sqrt2)\):

\[ \text{THD} = \frac{\sqrt{V_{\text{rms}}^2-V_1^2}}{V_1} = \sqrt{\frac{V_{\text{rms}}^2}{V_1^2}-1} \]
\[ = \sqrt{\frac{A^2\pi^2\cdot2}{16A^2}-1} = \sqrt{\frac{\pi^2}{8}-1} \]
\[ \boxed{\;\text{THD} = \sqrt{1.2337-1} = 0.4834 = 48.34\%\;} \]

A closed form, using the same \(\pi^2/8\) that appeared in Parseval. The relation \(\text{THD} = \sqrt{(F_{\text{rms}}/F_1)^2-1}\) is the quickest route whenever the true RMS is known.

Typical values, for calibration:

Waveform or sourceTHD
Pure sine0%
Utility supply (good)< 3%
Utility supply (limit, IEEE 519)5%
Triangle wave12.1%
Full-wave rectified sine — ripple factor48.3%
Full-wave rectified sine (about its 2\(\omega_0\) fundamental)22.7%
Square wave48.3%
Uncorrected rectifier input currentOften > 100%

Note the two rectifier entries measure different things. The ripple factor compares all AC content with the DC output and comes to \(\sqrt{\pi^2/8-1} = 48.3\%\) — numerically identical to the square wave's THD, since both reduce to the same expression. The THD proper compares the harmonics with the \(2\omega_0\) fundamental and is 22.7%.

THD can exceed 100% — it is referenced to the fundamental, not the total, so a waveform with more harmonic content than fundamental is entirely possible. A capacitor-input rectifier draws exactly such a current.

The running example, input against output:

QuantityFundamentalTrue RMSTHD
Voltage90.03 V100.00 V48.34%
Current6.3662 A6.4508 A16.35%

The inductor has cut the distortion by a factor of three without any deliberate filter design — simply because \(|\mathbf{Z}_n|\) rises with \(n\). Problem 16 pursues this.

An alternative definition exists and is used in power engineering:

\[ \text{THD}_F = \frac{\sqrt{\sum_{n\ge2}F_n^2}}{F_1} \qquad\text{versus}\qquad \text{THD}_R = \frac{\sqrt{\sum_{n\ge2}F_n^2}}{F_{\text{rms}}} \]
DefinitionSquare waveRange
\(\text{THD}_F\) (fundamental)48.34%0 to ∞
\(\text{THD}_R\) (total RMS)43.51%0 to 100%

Always state which is meant. \(\text{THD}_F\) is the usual convention and is assumed throughout here; \(\text{THD}_R\) is sometimes preferred because it is bounded.

What THD does not tell you. It is a single number summarising a whole spectrum:

QuestionAnswered by THD?
How much harmonic content?Yes
Which harmonics?No
Will it overload the neutral?No — needs the triplen content (Problem 17)
Will it excite a resonance?No — needs individual orders

Two waveforms with equal THD can have entirely different effects. Standards therefore specify individual harmonic limits as well as a total, precisely because the total hides the distribution.

THD compresses a spectrum into one number, and the compression loses exactly the information that matters most. A 5% THD concentrated in the third harmonic overloads a neutral conductor; the same 5% spread thinly across high orders does not — which is why individual limits accompany every total-distortion standard.
Answer\(\text{THD} = \sqrt{(F_{\text{rms}}/F_1)^2-1}\). For a square wave, \(\sqrt{\pi^2/8-1} = 48.34\%\) exactly. The \(RL\) circuit reduces this to 16.35% in the current.
Problem 15ChallengePower Factor

Compute the power factor in the running example, then test the standard formula \(\text{PF} = \cos\phi_1/\sqrt{1+\text{THD}_I^2}\) against it and explain the discrepancy.

Solution

Power factor is always defined the same way, harmonics or not:

\[ \text{PF} = \frac{P}{S} = \frac{P}{V_{\text{rms}}I_{\text{rms}}} \]

This definition never fails. It is the shortcuts that fail.

Compute directly from Problems 12 and 13:

\[ S = V_{\text{rms}}I_{\text{rms}} = (100.00)(6.4508) = 645.08\ \text{VA} \]
\[ \text{PF} = \frac{416.12}{645.01} = 0.6451 \]

Now the standard formula. It splits PF into displacement and distortion factors:

\[ \text{PF} = \underbrace{\cos\phi_1}_{\text{displacement}}\times\underbrace{\frac{I_1}{I_{\text{rms}}}}_{\text{distortion}} = \frac{\cos\phi_1}{\sqrt{1+\text{THD}_I^2}} \]
\[ = (0.7071)\left(\frac{6.3662}{6.4508}\right) = (0.7071)(0.98689) = 0.6978 \]

0.6978 against a true value of 0.6451 — an error of 8%. The formula is not approximately right here; it is wrong.

Why it fails. The derivation assumes the voltage is a pure sinusoid:

\[ \text{if } V_n = 0 \ \text{for } n>1, \ \text{then} \ P = V_1I_1\cos\phi_1 \ \text{only} \]

— all harmonic currents meet zero voltage and carry no power. Here the voltage is the square wave, so every harmonic has both voltage and current and every one contributes:

AssumptionThis case
Voltage sinusoidalFalse — THDV = 48.3%
Only the fundamental carries powerFalse — harmonics carry 2.6%
Formula validNo

The contrast makes it clear. Take the identical circuit with a pure 100 V rms sinusoid:

QuantitySquare-wave supplySinusoidal supply
\(V_{\text{rms}}\)100.00 V100.00 V
\(I_{\text{rms}}\)6.4508 A7.0711 A
\(P\)416.12 W500.00 W
\(\text{PF}\)0.64510.7071
Formula valid?NoYes

The same RMS voltage delivers 17% less power when it is a square wave, because the harmonic voltage meets a high impedance and achieves little.

When each approach is safe:

SituationUse
Sinusoidal voltage, distorted currentThe standard formula — the usual utility case
Distorted voltage\(P/S\) from first principles
Both distorted\(P/S\), computed harmonic by harmonic

The first row covers most real installations — the supply is reasonably sinusoidal and the load draws distorted current — which is exactly why the formula became standard, and why it is applied outside its range so often.

The displacement–distortion factorisation is a special case masquerading as a definition. It requires sinusoidal voltage, and the moment the supply itself is distorted the split becomes meaningless — only \(P/S\) survives, and it must be computed rather than factored.
AnswerTrue PF \(= 416.12/645.01 = 0.6451\). The standard formula gives 0.6978 — wrong by 8%, because it assumes sinusoidal voltage so that only the fundamental carries power. Here harmonics carry 2.6% of it.
Problem 16Exam levelFiltering

Quantify how the \(RL\) circuit of the running example filters the square wave, and connect the result to Set 30's filter design.

Solution

The mechanism. The transfer function from source voltage to current is

\[ \frac{\mathbf{I}_n}{\mathbf{V}_n} = \frac{1}{R+jn\omega_0L} \]

a first-order low-pass with corner at \(\omega = R/L\). Here \(R/L = 314.2\) rad/s \(= \omega_0\) exactly — the corner sits at the fundamental, which is why the fundamental is at 45°.

Harmonic by harmonic:

\(n\)Input \(V_n/V_1\)Output \(I_n/I_1\)Attenuation
11.0001.0001.00×
30.3330.14912.24×
50.2000.05553.61×
70.1430.02865.00×
90.1110.01746.40×
110.0910.01167.81×

The attenuation factor is \(|\mathbf{Z}_n|/|\mathbf{Z}_1|\), growing roughly linearly with \(n\). Combined with the source's own \(1/n\) fall, the current harmonics decay as \(1/n^2\).

The overall effect on distortion:

\[ \text{THD}_V = 48.34\% \;\longrightarrow\; \text{THD}_I = 16.35\% \]

A reduction by a factor of 2.96. A single inductor has done most of the work, which is why series line reactors are the standard first remedy for harmonic problems in industrial installations.

Improving it. To cut distortion further, move the corner frequency down:

\(\omega_c/\omega_0\)Effect on THDICost
1 (present)16.35%
0.1Roughly 10× smallerTen times the inductance
0.01Roughly 100× smallerFundamental also attenuated

The difficulty is that a first-order filter cannot separate the fundamental from the third harmonic sharply. They are only a factor of three apart, and 20 dB/decade gives just 9.5 dB over that span.

This is precisely Set 30's problem. The specification would be:

RequirementValue
Pass50 Hz, minimal loss
Reject150 Hz onward, heavily
Transition ratio\(\omega_s/\omega_p = 3\)

A transition ratio of 3 is generous by Set 30's standards — Challenge C1 there faced 1.2 — so a modest order suffices. For 40 dB of rejection at the third harmonic with 1 dB of passband loss, Set 30's formula gives \(n \ge 4.8\), hence a 5th-order Butterworth.

The alternative used in practice: tuned traps. Rather than a low-pass, place a series \(LC\) resonant at the offending harmonic (Set 29):

ApproachSuits
Low-pass reactorBroad-spectrum distortion
Tuned trapOne or two dominant harmonics
Active filterVarying or unpredictable spectra

A trap tuned to 150 Hz shunts the third harmonic to earth while barely loading the 50 Hz fundamental. It is far more economical than a high-order low-pass when the spectrum is known and stable — and Set 29, Problem 20 gave the detuning-reactor design that keeps it from resonating with the supply.

Every circuit filters, whether or not it was designed to. The \(RL\) circuit here was not a filter, yet it cut distortion threefold — and understanding that as a first-order low-pass immediately shows both why it works and what it would take to do better.
AnswerThe circuit is a first-order low-pass with corner at \(R/L = \omega_0\). Attenuation is \(|\mathbf{Z}_n|/|\mathbf{Z}_1|\), so current harmonics fall as \(1/n^2\) and THD drops from 48.3% to 16.4%.
Problem 17ChallengeTriplen Harmonics

Determine the phase sequence of each harmonic in a balanced three-phase system, and explain why the third harmonic overloads the neutral.

Solution

Set up the phases. In a balanced system phase \(b\) lags \(a\) by 120° and \(c\) by 240°. At the \(n\)-th harmonic that delay becomes

\[ \text{phase shift} = 120n° \pmod{360°} \]

because a fixed time delay corresponds to \(n\) times the phase angle at the \(n\)-th harmonic — Problem 18's time-shift result.

Work through the harmonics:

\(n\)\(120n \bmod 360\)Sequence
1120°Positive
2240°Negative
3ZERO
4120°Positive
5240°Negative
6ZERO
7120°Positive
9ZERO

The pattern repeats with period 3. Harmonics divisible by 3 — the triplens — have zero phase shift, meaning they are identical in all three lines at every instant.

The consequence at the neutral. The neutral carries the sum of the three line currents:

\[ i_N = i_a+i_b+i_c \]
Harmonic typeThree phasorsSum
Positive sequence120° apartZero
Negative sequence120° apartZero
Zero sequence (triplen)All in phase\(3\times\) one phase
\[ \boxed{\;I_N = 3I_{\text{triplen, per phase}}\;} \]

Triplens do not cancel — they add arithmetically. Everything else cancels perfectly in a balanced system.

The practical hazard. Consider a balanced load drawing 100 A of fundamental plus 30 A of third harmonic per phase:

ConductorCurrent
Each line\(\sqrt{100^2+30^2} = 104.4\) A
Neutral\(3 \times 30 = \mathbf{90}\) A

A neutral sized on the assumption that a balanced load needs none is now carrying 86% of the line current. This is a genuine and frequent cause of overheating — and it is invisible to a clamp meter reading only the fundamental.

Where the third harmonic comes from. Almost every non-linear single-phase load produces it:

SourceMechanism
Switch-mode power suppliesCapacitor-input rectifier draws peaky current
LED and fluorescent driversSame
Transformer magnetising currentSaturation of the \(B\)\(H\) curve
Phase-controlled dimmersChopped waveform

Note the common feature: all are half-wave symmetric, so they produce odd harmonics only — and the third is the largest of them. An office full of computers is a large, well-balanced, heavily triplen-producing load.

The remedies, all standard practice:

RemedyHow it works
Oversized neutralRated for up to 173% of line current
Delta windingZero-sequence currents circulate and are trapped
Zig-zag transformerProvides a low-impedance path to earth
Active filterInjects cancelling harmonics

The delta winding is why Dy is the standard distribution connection — Set 27 noted this as "harmonic trapping" without explaining it. The delta provides a closed loop in which the in-phase triplen currents can circulate, keeping them off the supply side entirely.

Triplen harmonics are the reason a neutral conductor can carry more current than the lines it serves. Because a fixed time delay is \(n\) times the phase delay, the 120° separation becomes 360° at the third harmonic — and three currents that should cancel instead add.
AnswerHarmonic \(n\) has phase shift \(120n \bmod 360\), so the sequence cycles positive–negative–zero. Triplens are zero sequence: in phase in all lines, giving \(I_N = 3I_{\text{triplen}}\) instead of zero.
Problem 18Exam levelTime Shifting

Determine how a time shift affects the Fourier coefficients, and explain why symmetry is origin-dependent but the spectrum is not.

Solution

Derive the rule. For \(g(t) = f(t-t_0)\):

\[ c_n^{(g)} = \frac{1}{T}\int_0^Tf(t-t_0)e^{-jn\omega_0t}dt \]

Substituting \(\tau = t-t_0\) and using periodicity:

\[ \boxed{\;c_n^{(g)} = c_ne^{-jn\omega_0t_0}\;} \]

Magnitude unchanged, phase rotated by \(-n\omega_0t_0\) — linear in \(n\), which is Set 31, Problem 7's delay theorem restricted to harmonic frequencies.

The key consequence:

\[ \left|c_n^{(g)}\right| = \left|c_n\right| \quad\text{for every } n \]
QuantityAffected by a shift?
Magnitude spectrumNo
Phase spectrumYes — rotated linearly in \(n\)
RMS valueNo (Parseval uses magnitudes)
THDNo
Split between \(a_n\) and \(b_n\)Yes
Apparent even/odd symmetryYes

This resolves Problem 4's puzzle. Whether a waveform looks even or odd depends on where the clock started, and shifting merely redistributes each harmonic between its sine and cosine parts — the magnitude \(\sqrt{a_n^2+b_n^2}\) is invariant.

Demonstrate on the square wave. Shifting by a quarter period, \(t_0 = T/4\):

\[ -n\omega_0t_0 = -n\cdot\frac{2\pi}{T}\cdot\frac{T}{4} = -\frac{n\pi}{2} \]
\(n\)Extra phaseOriginal \(\angle c_n\)New \(\angle c_n\)
1−90°−90°−180°
3−270°−90°
5−450° ≡ −90°−90°−180°
7−630° ≡ −270°−90°

All phases are now 0° or 180°, meaning every coefficient is real — the shifted wave is even, and its series contains only cosines. Same waveform, same spectrum, entirely different-looking series.

Why linear phase is a delay. The shift adds phase proportional to \(n\):

\[ \angle \propto -n \;\Longleftrightarrow\; \text{pure delay, no shape change} \]

This is Set 28, Problem 17's constant group delay, and Set 30, Problem 9's Bessel criterion, seen from the series side. If a filter shifted every harmonic by the same angle instead of the same time, the waveform would be distorted — which is exactly what a non-linear-phase filter does.

The practical moral for computation:

StepAction
1Choose the origin to make the waveform even or odd
2Compute the simpler series
3Shift back if the original timing matters

If only magnitudes are wanted — for RMS, THD or heating — step 3 can be skipped entirely. Most power-quality calculations need nothing more.

A time shift is a phase rotation proportional to harmonic number, and nothing else. Every physically meaningful quantity built from magnitudes — RMS, power, THD, heating — is untouched, which is why the choice of time origin is free and should be made to minimise the algebra.
Answer\(c_n \to c_ne^{-jn\omega_0t_0}\) — magnitudes unchanged, phases rotated linearly in \(n\). Shifting the square wave by \(T/4\) converts its sine series into a cosine series with an identical spectrum.
Problem 19ChallengeSeries to Transform

Show how the Fourier series becomes the Fourier transform as the period grows without bound, and identify what must change.

Solution

The limitation to remove. Everything so far has required strict periodicity — but a single pulse, a decaying transient or a speech waveform is not periodic. The trick is to treat such a signal as periodic with \(T \to \infty\).

What happens to the spectrum. Line spacing is \(\omega_0 = 2\pi/T\):

\(T\)Line spacing
0.02 s50 Hz
0.1 s10 Hz
1 s1 Hz
10 s0.1 Hz
\(\to\infty\)\(\to 0\)

The lines crowd together until they merge into a continuum. A discrete spectrum becomes a continuous one — which is the essential difference between series and transform.

What happens to the coefficients. Each is

\[ c_n = \frac{1}{T}\int_{-T/2}^{T/2}f(t)e^{-jn\omega_0t}dt \]

and the \(1/T\) drives every coefficient to zero. The individual lines vanish — which is why the transform cannot simply be the limit of the coefficients.

The fix: rescale before taking the limit. Define

\[ F(\omega) = \lim_{T\to\infty}Tc_n = \int_{-\infty}^{\infty}f(t)e^{-j\omega t}dt \]

Multiplying by \(T\) exactly cancels the shrinking factor. The Fourier transform of Set 34 — and the reconstruction becomes an integral:

\[ f(t) = \frac{1}{2\pi}\int_{-\infty}^{\infty}F(\omega)e^{j\omega t}d\omega \]

The correspondence, item by item:

Series (periodic)Transform (aperiodic)
Discrete lines at \(n\omega_0\)Continuous \(F(\omega)\)
\(\sum_n\)\(\frac{1}{2\pi}\int d\omega\)
\(c_n\) has units of \(f\)\(F(\omega)\) is a density, per unit frequency
Finite powerFinite energy
Parseval: \(\sum|c_n|^2\)Parseval: \(\frac{1}{2\pi}\int|F|^2d\omega\)

The units change is the conceptual step. \(F(\omega)\) is not "the amount at \(\omega\)" — no single frequency carries finite energy in a continuous spectrum — but a density that must be integrated over a band.

A worked illustration. Take a rectangular pulse of width \(\tau\) repeating with period \(T\). Its coefficients are

\[ c_n = \frac{A\tau}{T}\,\text{sinc}\left(\frac{n\omega_0\tau}{2}\right) \]
As \(T\) growsEnvelopeLines
Fixed \(\tau\)Unchanged — same sinc shapeCloser together, shorter
\(T\to\infty\)Same sincMerge into it

The envelope was the transform all along. The series samples it at multiples of \(\omega_0\); removing the periodicity simply fills in between the samples.

What Set 34 gains from the change:

New capabilityWhy the series could not
Aperiodic signalsSeries requires periodicity
Energy spectral densitySeries has discrete power lines
Bandwidth–duration reciprocityNeeds a continuum to state
Sampling theoryNeeds both descriptions together

The third is the one Set 28, Problem 19 has been owing since \(t_rf_c = 0.35\) was first observed.

The transform is the series with the period stretched to infinity and the coefficients rescaled to compensate. The spectral lines never disappear — they crowd together until they become a curve, and that curve was visible as the envelope of the series all along.
AnswerLine spacing \(2\pi/T \to 0\) and each \(c_n \to 0\), so define \(F(\omega) = \lim Tc_n = \int f e^{-j\omega t}dt\). The discrete spectrum becomes a continuous density, and the sum becomes \(\frac{1}{2\pi}\int d\omega\).
Problem 20ChallengeWhat Harmonics Explain

Draw together what the harmonic picture has explained, and identify what remains for Sets 34 and 35.

Solution

The method, complete:

StepToolProblem
1Exploit symmetry before integrating4
2Compute \(c_n\) or \(a_n, b_n\)2, 3
3Evaluate \(\mathbf{Z}(jn\omega_0)\) at each harmonic11
4Superpose the responses11
5Combine by Parseval for RMS and power12, 13

What the harmonic view explained that the time-domain view could not:

PhenomenonHarmonic explanation
Full-wave rectifiers need less smoothingRipple at \(2\omega_0\), no fundamental — Problem 7
Neutral conductors overheatTriplens are zero sequence — Problem 17
Dy is the standard connectionDelta traps zero-sequence currents — Problem 17
Average-responding meters misleadCalibrated for a sine's form factor — Problem 12
Band-limited pulses overshoot 9%Gibbs — Problem 9
Even harmonics signal a faultHalf-wave symmetry broken — Problem 4

Each is invisible in the time domain and obvious in the frequency domain.

The recurring warnings, all of one kind — a shortcut applied outside its range:

ShortcutFails whenProblem
\(\text{PF} = \cos\phi_1/\sqrt{1+\text{THD}^2}\)The voltage is distorted15
\(S^2 = P^2+Q^2\)Any harmonics present13
Average-responding meterThe waveform is not sinusoidal12
THD as a summaryThe distribution matters14
Neutral carries no currentTriplens present17

Every one is a sinusoidal-operation result quietly assumed to hold generally. Problem 15's 8% power-factor error is the sharpest instance.

What the method cannot do:

LimitationConsequence
Requires periodicityNo single pulses, no transients
Steady state onlySays nothing about the first cycles
Discrete spectrumCannot express bandwidth–duration relations
Assumes stabilitySet 31, Problem 16's condition

The first two are the price paid in Problem 1 for computability, and they were worth paying. The third is a genuine gap — the reciprocity between rise time and bandwidth needs a continuum to state at all.

The remaining programme:

SetTopicCloses
34The Fourier transformAperiodic signals; bandwidth–duration reciprocity
35Two-port networksCascades with loading — Set 32, Challenge C1

Set 34 follows directly from Problem 19: stretch the period to infinity and rescale. Set 35 addresses the one structural gap that has survived every method so far — that a two-stage circuit's transfer function is not the product of its stages'.

Fourier series trades generality for computability, and the trade pays because periodic operation is the normal condition of power systems. What it reveals — sequence, symmetry, distortion, spectral occupancy — are properties of the waveform that no amount of time-domain analysis makes visible.
AnswerFive steps: symmetry, coefficients, per-harmonic impedance, superposition, Parseval. It explains rectifier ripple, neutral overloading, delta windings and meter errors — but requires periodicity and gives only the steady state.
Practice

Practice Problems

Work each on paper before opening the answer. The answer is given so you can check yourself; the method is deliberately not.

  1. P1. A waveform is even. Which coefficients vanish?

    Show answer
    All \(b_n\) — the series contains only cosines and a constant — Problem 4.
  2. P2. A waveform satisfies \(f(t+T/2) = -f(t)\). What does its spectrum lack?

    Show answer
    All even harmonics, including DC — Problem 4.
  3. P3. Give the third-harmonic amplitude of a 200 V square wave.

    Show answer
    \(4(200)/(3\pi) = 84.88\) V peak, i.e. 60.02 V rms — Problem 3.
  4. P4. Why does a triangle wave converge faster than a square wave?

    Show answer
    It is continuous, so \(|c_n| \sim 1/n^2\) rather than \(1/n\) — Problem 10.
  5. P5. What is the DC value of a full-wave rectified sine of amplitude \(A\)?

    Show answer
    \(2A/\pi = 0.637A\) — twice the half-wave value — Problem 7.
  6. P6. A signal has \(V_1 = 100\) V, \(V_3 = 30\) V, \(V_5 = 20\) V rms. Find \(V_{\text{rms}}\).

    Show answer
    \(\sqrt{100^2+30^2+20^2} = 106.3\) V — Problem 12.
  7. P7. Find the THD of that signal.

    Show answer
    \(\sqrt{30^2+20^2}/100 = 36.06\%\) — Problem 14.
  8. P8. A 60 Hz fundamental drives a 0.1 H inductor. What is its impedance at the fifth harmonic?

    Show answer
    \(j5(2\pi)(60)(0.1) = j188.5\ \Omega\) — five times the fundamental value — Problem 11.
  9. P9. Does a 150 Hz voltage and a 250 Hz current transfer average power?

    Show answer
    No — different harmonics are orthogonal — Problems 2 and 13.
  10. P10. Which harmonics are zero sequence in a three-phase system?

    Show answer
    The triplens: 3, 6, 9, 12, … — Problem 17.
  11. P11. Each phase of a balanced load carries 40 A of third harmonic. What does the neutral carry?

    Show answer
    120 A — three times, since they are in phase — Problem 17.
  12. P12. A waveform is delayed by \(t_0\). What happens to \(|c_n|\)?

    Show answer
    Nothing — only the phases rotate, by \(-n\omega_0t_0\) — Problem 18.
Challenge

Challenge Problems

Each needs an idea rather than a formula. Decide what the governing principle is before opening the answer.

  1. C1. A capacitor-input rectifier draws current only near the supply peak. Model it as a rectangular pulse of adjustable conduction angle and show how THD and crest factor depend on that angle. Explain why power-factor correction capacitors do not help.

    Show answer
    The model. The capacitor holds the DC bus near the peak voltage, so the diodes conduct only while the supply exceeds it — a narrow pulse at each peak, alternating in sign. Idealise it as a rectangle of half-width \(\delta\) centred on each peak.

    Computed results, for unit pulse height:
    Conduction angle\(I_1\)\(I_{\text{rms}}\)THDCrest factor
    60°0.6370.57780.0%1.73
    40°0.4360.472115.3%2.12
    30°0.3290.408143.3%2.45
    20°0.2220.334186.8%2.99
    THD passes 100% below about 45° of conduction — the harmonic content then exceeds the fundamental, which is possible precisely because THD is referenced to the fundamental rather than the total (Problem 14).

    Why the current is so distorted. A narrow pulse is the extreme of Problem 10's rule: the sharper the feature, the slower the spectral decay. A rectangular pulse of width \(\tau\) has a sinc spectrum whose first null is at \(1/\tau\)the narrower the conduction, the more harmonics carry significant energy.

    Now the power factor. Take the 30° case with a sinusoidal supply, so Problem 15's formula is valid:
    FactorValue
    Displacement, \(\cos\phi_1\)≈ 1.00 — the pulse is centred on the peak
    Distortion, \(I_1/I_{\text{rms}}\)\(0.329/0.408 = 0.807\)
    Total PF0.807
    This is the crucial point. The displacement factor is already unity — the current is in phase with the voltage. The poor power factor is entirely distortion.

    Why capacitors cannot fix it. A power-factor capacitor supplies reactive current at the fundamental, correcting displacement:
    ProblemCapacitor helps?
    Lagging motor load (\(\cos\phi_1 = 0.8\))Yes — that is what it is for
    Rectifier distortion (\(\cos\phi_1 = 1\))No — nothing to correct
    Adding capacitance here makes matters worse, for two reasons. It introduces leading reactive current where none was needed, degrading the displacement factor from unity. And, more seriously, it forms a resonant circuit with the supply inductance — Challenge C2.

    The real remedies:
    RemedyEffect
    Series line reactorWidens the conduction angle — Problem 16
    Active PFC stageForces sinusoidal input current; PF > 0.99
    Multi-pulse rectifierCancels the low-order harmonics
    All three widen or reshape the conduction, rather than adding reactive compensation — because the deficit is in waveform shape, not in phase.
  2. C2. An 11 kV system with 100 MVA short-circuit level has a power-factor capacitor bank installed. Determine which bank sizes are dangerous, and how a detuning reactor fixes the problem.

    Show answer
    The mechanism. The supply is inductive; the capacitor bank is capacitive. Together they form a parallel resonant circuit as seen from the harmonic-producing load, and Set 29, Problem 9 showed a parallel resonance presents very high impedance at its resonant frequency.

    The resonant harmonic order. The system reactance is \(X_s = V^2/S_{sc}\) and the capacitor reactance \(X_c = V^2/Q_c\). Resonance requires \(hX_s = X_c/h\):
    \[ \boxed{\;h = \sqrt{\frac{S_{sc}}{Q_c}}\;} \]
    Testing bank sizes:
    \(Q_c\) (Mvar)\(h\)Verdict
    1.0010.00Between the 7th and 11th — acceptable
    2.007.07DANGEROUS — 7th harmonic
    4.005.00DANGEROUS — 5th harmonic
    6.254.00Safe — no significant 4th harmonic
    10.003.16Close to the 3rd — risky
    The 5th and 7th are exactly the dominant harmonics of a six-pulse converter drive, which is the commonest industrial harmonic source. A 4 Mvar bank on this system would be a serious mistake.

    What goes wrong. At \(h = 5\) the parallel combination presents an impedance of \(Q\) times the individual branch reactances (Set 29, Problem 9). A modest 5th-harmonic injection then produces:
    ConsequenceDetail
    Large harmonic voltageDistorts the whole busbar
    Capacitor overcurrentFuses blow; dielectric overheats
    Amplification, not filteringThe bank makes distortion worse
    The counter-intuitive point: the capacitor was installed to improve power quality and instead degrades it, because nobody checked \(\sqrt{S_{sc}/Q_c}\).

    The detuning reactor. Add a small series inductance so the branch is series resonant below the lowest troublesome harmonic. With reactor reactance \(p\) as a fraction of the capacitor's:
    \[ h_{\text{tuned}} = \frac{1}{\sqrt{p}} \]
    \(p\)\(h_{\text{tuned}}\)Protects against
    5%4.475th and above
    6%4.085th and above — the usual choice
    7%3.785th and above, more margin
    14%2.673rd and above
    Why this works. Above \(h_{\text{tuned}}\) the branch is net inductive, so it can no longer resonate with the inductive supply — parallel resonance between two inductances is impossible. The bank still supplies fundamental reactive power (it is capacitive at \(h=1\)) while behaving as an inductor at every harmonic of concern.

    The design rule: tune below the lowest harmonic present, never at it. Tuning exactly at the 5th would make an excellent filter and a fragile one — component drift or a change in \(S_{sc}\) would move the resonance onto the harmonic, and Set 30, Challenge C3's tolerance argument applies directly.
  3. C3. The 100 V, 50 Hz square wave drives a series \(RLC\) circuit with \(R = 5\ \Omega\), \(L = 50\) mH and \(C = 22.52\) µF. Find the current and explain the result.

    Show answer
    First identify the resonance:
    \[ f_0 = \frac{1}{2\pi\sqrt{LC}} = \frac{1}{2\pi\sqrt{(0.05)(22.52\times10^{-6})}} = 150.0\ \text{Hz} \]
    Exactly the third harmonic. The quality factor is
    \[ Q = \frac{1}{R}\sqrt{\frac{L}{C}} = \frac{1}{5}\sqrt{\frac{0.05}{22.52\times10^{-6}}} = 9.43 \]
    Harmonic by harmonic:
    \(n\)\(V_n\) (V)\(|\mathbf{Z}_n|\) (Ω)\(I_n\) (A)
    190.03125.760.7159
    330.015.006.0021
    518.0150.510.3565
    712.8689.900.1431
    910.00125.760.0795
    The third harmonic dominates completely. At resonance \(\mathbf{Z}_3 = R = 5\ \Omega\) — the reactances cancel exactly — while every other harmonic sees a large impedance.
    \[ \frac{I_3}{I_1} = \frac{6.002}{0.716} = \mathbf{8.38} \qquad\text{although}\qquad \frac{V_3}{V_1} = 0.333 \]
    A source harmonic three times smaller produces a current eight times larger — a swing of a factor of 25.

    The consequences:
    QuantityValueThird-harmonic share
    \(I_{\text{rms}}\)6.058 A98.2%
    \(P\)183.5 W98.2% (180.1 W)
    The current is very nearly a pure 150 Hz sinusoid — the circuit has extracted one harmonic from a square wave and discarded the rest. This is a selective filter in the sense of Set 29, and the third harmonic is now the fundamental of the current waveform.

    The hazard. Compute the capacitor voltage at the third harmonic:
    \[ V_{C3} = \frac{I_3}{3\omega_0C} = \frac{6.002}{2\pi(150)(22.52\times10^{-6})} = 282.8\ \text{V} \]
    \[ \frac{282.8}{30.01} = 9.42 = Q\;\checkmark \]
    283 V appears across the capacitor from a 30 V source harmonic — Set 29's voltage magnification, driven by a harmonic nobody intended to apply. The inductor carries an equal and opposite 283 V.

    Why this matters in practice. A designer sizing that capacitor from the source's fundamental would rate it for perhaps 150 V and watch it fail. The scenario is not contrived:
    Real situationMechanism
    PF capacitor resonating with supplyChallenge C2
    Cable capacitance with transformer leakageUnintended series resonance
    Filter tuned exactly on a harmonicWorks, but stresses its own components
    The lesson: a small harmonic meeting a resonance is more dangerous than a large one meeting a high impedance. Checking the spectrum against the resonant frequencies is a design step, not an afterthought — and Set 29's \(Q\) tells you exactly how large the magnification will be.
MCQ

Multiple-Choice Questions

Twelve questions in GATE/ESE style. Commit to an answer before opening the explanation.

  1. Q1. An odd function's Fourier series contains

    (a) cosines only   (b) sines only   (c) both   (d) a DC term only

    Show answer
    (b) — all \(a_n\), including \(a_0\), vanish — Problem 4.
  2. Q2. Half-wave symmetry \(f(t+T/2) = -f(t)\) eliminates

    (a) odd harmonics   (b) even harmonics   (c) the fundamental   (d) nothing

    Show answer
    (b), including DC — and unlike even/odd symmetry it cannot be created by shifting the origin — Problem 4.
  3. Q3. The \(n\)-th harmonic amplitude of a square wave of amplitude \(A\) is

    (a) \(A/n\)   (b) \(2A/n\pi\)   (c) \(4A/n\pi\) for odd \(n\)   (d) \(4A/n^2\pi\)

    Show answer
    (c), and zero for even \(n\) — Problem 3.
  4. Q4. A waveform continuous but with corners has coefficients decaying as

    (a) \(1/n\)   (b) \(1/n^2\)   (c) \(1/n^3\)   (d) exponentially

    Show answer
    (b) — the first discontinuous derivative is \(f'\) — Problem 10.
  5. Q5. The Gibbs overshoot at a discontinuity is about

    (a) 2% of the jump   (b) 9% of the jump   (c) 18% of the jump   (d) it vanishes as \(N\to\infty\)

    Show answer
    (b) — 8.949% of the total jump, which for a \(\pm A\) square wave reads as 17.9% of \(A\). It never vanishes; it narrows — Problem 9.
  6. Q6. A full-wave rectified sine of amplitude \(A\) has DC value

    (a) \(A/\pi\)   (b) \(2A/\pi\)   (c) \(A/2\)   (d) \(A/\sqrt2\)

    Show answer
    (b) \(= 0.637A\) — twice the half-wave value — Problem 7.
  7. Q7. The RMS of a waveform with harmonics is

    (a) the sum of the harmonic RMS values   (b) the square root of the sum of their squares   (c) the largest harmonic   (d) the fundamental

    Show answer
    (b) — Parseval, following from orthogonality — Problem 12.
  8. Q8. Average power is produced by

    (a) all voltage–current harmonic pairs   (b) only pairs of the same order   (c) only the fundamental   (d) only the DC term

    Show answer
    (b) — cross-order terms integrate to zero — Problem 13.
  9. Q9. The THD of a square wave is

    (a) 12.1%   (b) 33.3%   (c) 48.3%   (d) 100%

    Show answer
    (c) — exactly \(\sqrt{\pi^2/8-1}\) — Problem 14.
  10. Q10. The formula \(\text{PF} = \cos\phi_1/\sqrt{1+\text{THD}_I^2}\) requires

    (a) nothing   (b) sinusoidal voltage   (c) sinusoidal current   (d) a resistive load

    Show answer
    (b). With distorted voltage it gave 0.698 against a true 0.645 — Problem 15.
  11. Q11. Triplen harmonics in a balanced three-phase system are

    (a) positive sequence   (b) negative sequence   (c) zero sequence   (d) absent

    Show answer
    (c) — in phase in all three lines, so \(I_N = 3I_{\text{triplen}}\) — Problem 17.
  12. Q12. Delaying a periodic waveform by \(t_0\)

    (a) changes \(|c_n|\)   (b) changes only the phases   (c) changes the THD   (d) changes the RMS

    Show answer
    (b), by \(-n\omega_0t_0\) — every magnitude-based quantity is unchanged — Problem 18.
Formulas

Key Formulas

QuantityRelationNotes
Trigonometric series\(f = \dfrac{a_0}{2}+\sum\left[a_n\cos n\omega_0t+b_n\sin n\omega_0t\right]\)\(\omega_0 = 2\pi/T\)
Coefficients\(a_n = \dfrac{2}{T}\displaystyle\int_0^Tf\cos n\omega_0t\,dt\)Similarly \(b_n\) with sine
Exponential series\(f = \sum c_ne^{jn\omega_0t}\), \(c_n = \dfrac1T\displaystyle\int_0^Tfe^{-jn\omega_0t}dt\)\(c_{-n} = c_n^*\) for real \(f\)
Conversion\(c_n = \tfrac12\left(a_n-jb_n\right)\)\(|c_n| = \tfrac12\sqrt{a_n^2+b_n^2}\)
Square wave\(b_n = \dfrac{4A}{n\pi}\), odd \(n\)THD 48.34%
Sawtooth\(b_n = \dfrac{2A}{n\pi}(-1)^{n+1}\)All harmonics
Triangle\(b_n = \dfrac{8A}{n^2\pi^2}\), odd \(n\)THD 12.1%
Half-wave rectifiedDC \(= A/\pi\); \(b_1 = A/2\); \(a_n = \dfrac{-2A}{\pi(n^2-1)}\)Even harmonics
Full-wave rectifiedDC \(= 2A/\pi\); \(a_n = \dfrac{-4A}{\pi(4n^2-1)}\)Ripple at \(2\omega_0\)
Coefficient decay\(|c_n| \sim 1/n^{k+1}\)\(k\) = order of first discontinuous derivative
Gibbs overshoot\(\tfrac{2}{\pi}\text{Si}(\pi)-1\)8.949% of the jump
Harmonic response\(\mathbf{I}_n = \mathbf{V}_n/\mathbf{Z}(jn\omega_0)\)Then superpose
Parseval\(F_{\text{rms}} = \sqrt{F_0^2+\sum F_{n,\text{rms}}^2}\)Squares add, not amplitudes
Power\(P = V_0I_0+\sum V_nI_n\cos\phi_n\)Only matched orders contribute
THD\(\text{THD} = \dfrac{\sqrt{\sum_{n\ge2}F_n^2}}{F_1} = \sqrt{\left(\dfrac{F_{\text{rms}}}{F_1}\right)^2-1}\)Can exceed 100%
Power factor\(\text{PF} = P/\left(V_{\text{rms}}I_{\text{rms}}\right)\)Always valid
PF factorised\(\text{PF} = \dfrac{\cos\phi_1}{\sqrt{1+\text{THD}_I^2}}\)Only for sinusoidal voltage
Apparent power\(S^2 = P^2+Q^2+D^2\)\(D\) = distortion power
Sequence of harmonic \(n\)\(120n \bmod 360\)Triplens are zero sequence
Neutral current\(I_N = 3I_{\text{triplen}}\)Others cancel
Time shift\(c_n \to c_ne^{-jn\omega_0t_0}\)Magnitudes unchanged
Harmonic resonance\(h = \sqrt{S_{sc}/Q_c}\)Detune to \(1/\sqrt{p}\)
Pitfalls

Common Mistakes

  1. Adding harmonic amplitudes instead of their squares. RMS values combine by Parseval, never by simple addition — Problem 12.

  2. Using \(\text{PF} = \cos\phi_1/\sqrt{1+\text{THD}^2}\) with a distorted supply. It gave 0.698 where the true value was 0.645 — Problem 15.

  3. Assuming \(S^2 = P^2+Q^2\). Distortion power makes it a three-term relation — Problem 13.

  4. Expecting a balanced load to need no neutral. Triplens add rather than cancel — Problem 17.

  5. Trusting an average-responding meter on a distorted waveform. It over-reads a square wave by 11% — Problem 12.

  6. Believing more harmonics will remove the Gibbs overshoot. It narrows but never shrinks — Problem 9.

  7. Confusing decay rate with symmetry. Smoothness sets the envelope; symmetry decides which lines exist — Problem 6.

  8. Forgetting that \(a_0/2\), not \(a_0\), is the mean — Problem 2.

  9. Applying the series to a non-periodic signal. That requires the transform of Set 34 — Problem 19.

  10. Sizing a capacitor from the fundamental alone. A resonance can put \(Q\) times a small harmonic across it — Challenge C3.

Looking Ahead

Set 31 left one case genuinely unsolved: a periodic input transforms to \(F_1(s)/(1-e^{-sT_p})\), whose transcendental denominator has infinitely many zeros and no finite partial-fraction expansion. This set escaped by giving up the closed form. Those zeros sit at \(jk\omega_0\) — the harmonic frequencies — so decomposing the input into exactly those sinusoids, solving each with the phasor method of Set 20, and superposing gives a computable answer. The price is the transient, and for periodic operation in power systems that is a price worth paying.

The harmonic picture then explained a great deal that no time-domain analysis makes visible. A full-wave rectifier needs a fifth of the smoothing capacitance because its ripple sits at \(2\omega_0\) with no fundamental at all. Triplen harmonics are zero sequence, so three currents that ought to cancel instead add — which is why a balanced load can drive 90 A down a neutral and why the delta winding of a Dy transformer traps them. And an inductor that was never intended as a filter cut the distortion from 48.3% to 16.4%, simply because \(|\mathbf{Z}_n|\) rises with \(n\).

The recurring warning concerned shortcuts inherited from sinusoidal operation. The displacement–distortion factorisation of power factor gave 0.698 against a true 0.645 — an 8% error, because it assumes sinusoidal voltage so that only the fundamental carries power. The power triangle \(S^2 = P^2+Q^2\) fails outright and needs a distortion term. And Challenge C3 showed a source harmonic three times smaller than the fundamental producing a current eight times larger, with 283 V across a capacitor fed by a 30 V harmonic — because the circuit happened to resonate at 150 Hz.

Next: Set 34 — The Fourier Transform. Problem 19 has already shown the route: stretch the period to infinity, watch the line spacing \(2\pi/T\) collapse to zero, and rescale the vanishing coefficients by \(T\) to keep them finite. The discrete spectrum becomes a continuous density, and with it comes the result Set 28 has owed since \(t_rf_c = 0.35\) first appeared — the reciprocity between bandwidth and duration, which needs a continuum even to state.