Home › Physics › Waves and Oscillations › Fourier Analysis of Triangular Waves
Waves and Oscillations

Fourier Analysis of Triangular Waves

A triangular wave is a periodic, non-sinusoidal waveform with linear ramps between alternating peak values. Its Fourier series representation consists exclusively of fundamental and odd harmonic components whose amplitudes decay inversely with the square of the harmonic number.

UP TGT ScienceUP PGT PhysicsStudy Notes + Practice

Scope and prerequisites

TGT core

Definition of triangular wave, fundamental frequency, peak-to-peak amplitude, and basic understanding of harmonic content.

PGT extension

Complete Fourier series coefficient evaluation using integral calculus, odd harmonic suppression of even terms, power spectrum distribution, and Parseval's relation.

Prerequisites

  • Periodic functions and orthogonality of trigonometric functions
  • Fourier series expansion for even and odd functions
  • RMS value and average power of periodic signals

Definition and Waveform Symmetry

  • A standard symmetric triangular wave x(t) with period T and peak amplitude A oscillates between -A and +A.
  • The function possesses odd symmetry about the origin, meaning x(-t) = -x(t), which results in an a_0 average term and all cosine coefficients (a_n) vanishing identically.
  • The waveform is continuous everywhere, and its first derivative is a square wave with alternating discontinuous steps of finite magnitude.

Harmonic Content and Amplitude Decay

  • The Fourier series of a symmetric triangular wave contains only odd harmonics: fundamental, third, fifth, seventh, and so on.
  • The amplitude of the nth harmonic decreases quadratically as 1/n² relative to the fundamental frequency.
  • Because of the 1/n² dependence, higher-order harmonics attenuate much faster than those of a square wave (which decay as 1/n), making the triangular wave a smoother waveform.

Power Distribution in Frequency Spectrum

  • Total average power of a periodic wave is distributed among its DC and harmonic frequency components.
  • The RMS value of a triangular wave of peak amplitude A is given by A / sqrt(3).
  • By Parseval's theorem, the sum of the squares of the RMS values of all harmonic components equals the square of the signal RMS value.

Differentiation and Integration Relations

  • The time derivative of a symmetric triangular wave produces a symmetric square wave with the same period.
  • Conversely, integrating a symmetric square wave yields a triangular wave, highlighting the linear relationship between spectral slopes.
  • Differentiating a continuous waveform reduces the exponent of its harmonic amplitude decay by 1 (changing 1/n² to 1/n).

Derivations

Fourier Series of a Symmetric Triangular Wave

Conditions: Symmetric triangular wave defined over [-T/2, T/2] with x(t) = (4A/T)t for 0 <= t <= T/2 and x(t) = -(4A/T)t for -T/2 <= t <= 0

  • Establish the Fourier series expansion: x(t) = a_0/2 + su$m_{n=1}^{\infty} [a_n \cos(nomega_0 t) + b_n \sin(nomega_0 t)] with \omega_0 = 2pi/T$.
  • Evaluate $a_0 = (2/T) \int_{-T/2}^{T/2} x(t) dt = 0 due$ to odd symmetry, and $a_n = (2/T) \int_{-T/2}^{T/2} x(t) \cos(nomega_0 t) dt = 0$ because the integrand is odd.
  • Calculate the sine coefficients: $b_n = (4/T) \int_{0}^{T/2} (\frac{4A}{T}t) \sin(nomega_0 t) dt$.
  • Integrate by parts: $b_n = \frac{16A}{T^2} [ -t \frac{\cos(nomega_0 t)}{nomega_0} + \frac{\sin(nomega_0 t)}{(nomega_0)^2} ]_{0}^{T/2}$.
  • Substitute limits noting omega_0 T/$2 = \pi: b_n = \frac{8A}{n^2 \pi^2} [ 1 - \cos(npi) ]$.
  • Simplify for odd n: $b_n = \frac{16A}{n^2 \pi^2}$ for n = 1, 3, 5, ... and $b_n = 0$ for even n.

Result: x(t) = \frac{8A}{pi^2} [ sin(omega_0 t) - \frac{1}{9}sin(3omega_0 t) + \frac{1}{25}sin(5omega_0 t) - ... ]

RMS Value of a Triangular Wave

Conditions: Periodic triangular wave with peak amplitude A and period T

  • Write the definition of root-mean-square value: $X_{rms} = \sqrt{ \frac{1}{T} \int_{0}^{T} [x(t)]^2 dt }$.
  • Use the linear equation for the first quarter-cycle: x(t) = \frac{4A}{T} t for 0 <= t <= T/4.
  • Due to symmetry over four identical quarter-cycles, set X_{rms}^2 = \frac{4}{T} \int_{0}^{T/4} (\frac{4A}{T} t)^2 dt$.
  • Evaluate the integral: int_{0}^{T/4} t^2 d$t = \frac{(T/4)^3}{3} = \frac{T^3}{192}$.
  • Multiply by the prefactor: \frac{4}{T} \frac{16A^2}{T^2} \frac{T^3}{192} = \frac{64 A^2}{192} = \frac{A^2}{3}.

Result: $X_{rms} = \frac{A}{\sqrt{3}}$

Formula sheet

Formula / lawEquationVariables and unitsConditions
Angular Frequency$$\omega_0 = \frac{2\pi}{T} = 2\pi f$$T = time period, f = frequency
rad s&sup{-1}
Universal periodic wave relation
Fourier Series Expansion (Triangular Wave)$$x(t) = \frac{8A}{\pi^2} \sum_{n=1,3,5...}^{\infty} \frac{(-1)^{(n-1)/2}}{n^2} \sin(n\omega_0 t)$$A = peak amplitude, n = harmonic index, t = time
m or V
Symmetric triangular wave
Harmonic Amplitude Expression$$b_n = \frac{8A}{\pi^2 n^2} \sin\left(\frac{n\pi}{2}\right)$$$b_n = amplitude of nth sine harmonic$
m or V
For odd values of n
RMS Value of Triangular Wave$$X_{rms} = \frac{A}{\sqrt{3}}$$A = peak amplitude
m or V
Symmetric zero-mean triangular wave
Average (Full-Wave Rectified) Value$$X_{avg} = \frac{A}{2}$$A = peak amplitude
m or V
Over a half-cycle
Power in nth Harmonic$$P_n = \frac{b_n^2}{2} = \frac{32 A^2}{\pi^4 n^4}$$$P_n = average power in nth harmonic component$
W (or normalized)
Standard 1 ohm load resistance assumption
Time Derivative Relation$$\frac{dx(t)}{dt} = \text{Square Wave}$$x(t) = triangular wave function
m s&sup{-1} or V s&sup{-1}
Except at instantaneous reversal points
Crest Factor$$C_f = \frac{A}{X_{rms}} = \sqrt{3} \approx 1.732$$$C_f = crest factor$
Dimensionless
Triangular wave

Graphs and experiments

Time-Domain Symmetric Triangular Waveform

Draw: A plot of displacement x(t) versus time t showing linear ramps rising from -A to +A at $t = T/4$ and falling from +A to -A at $t = 3T/4$.

Interpret: Illustrates the piecewise linear nature and temporal symmetry (odd function about t=0).

Exam use: Used in identifying time period T, peak amplitude A, and slope changes.

Frequency Spectrum (Amplitude vs. Frequency)

Draw: Discrete spectral lines at frequencies f_0, 3f_0, 5f_0, etc., with heights scaling proportionally to 1, 1/9, 1/25.

Interpret: Demonstrates rapid spectral roll-off and absence of even harmonics.

Exam use: Tested in questions regarding relative amplitude of the third or fifth harmonic.

Differentiator Circuit Response

Draw: Input triangular waveform alongside the output square wave generated by an operational amplifier differentiator.

Interpret: Shows that differentiating a triangular wave yields a square wave due to constant slope intervals.

Exam use: Conceptual link between wave shapes and linear analog circuit operations.

Solved numericals

TGT core

A symmetric triangular wave has a peak amplitude of 10 V. Calculate its RMS value.

  • Identify the peak amplitude: A = 10 V.
  • Apply the formula for the RMS value of a triangular wave: $X_{rms} = A / \sqrt(3)$.
  • Substitute values: $X_{rms} = 10 / \sqrt(3) \approx 10 / 1.732 = 5.77 V$.

Answer: 5.77 V

PGT extension

Find the ratio of the power contained in the third harmonic to that in the fundamental harmonic for a symmetric triangular wave.

  • Recall that the amplitude of the nth harmonic for a triangular wave varies as b_n propto 1/n².
  • The fundamental amplitude is b_1 and the third harmonic amplitude is $b_3 = b_1 / 3^{2} = b_1 / 9$.
  • Power is proportional to the square of the amplitude: P_n propto b_n^2.
  • Calculate the power ratio: P_3 / $P_1 = (b_3 / b_1)^2 = (1 / 9)^2 = 1 / 81$.

Answer: 1 / 81

PGT extension

A triangular wave has a fundamental frequency of 50 Hz and a peak amplitude of 5 units. Write the expression for its second harmonic term.

  • Recall the Fourier series of a symmetric triangular wave contains only odd harmonics (n = 1, 3, 5, ...).
  • The coefficient for any even harmonic (such as n = 2) is zero due to half-wave and quarter-wave symmetries.
  • Therefore, the second harmonic term has an amplitude of zero.

Answer: 0 (Even harmonics are absent)

Assumptions and limitations

  • Assumes ideal piecewise linear segments with instantaneous slope reversals, which is physically unrealizable in real electronic circuits due to finite bandwidth limitations.

Common misconceptions

Common error: Triangular waves contain both even and odd harmonics like general periodic signals.

Correct: Symmetric triangular waves contain only odd harmonics.

The odd half-wave symmetry eliminates all even cosine and sine harmonic terms.

Common error: Harmonic amplitudes in a triangular wave decay as 1/n.

Correct: Harmonic amplitudes decay as 1/n².

The 1/n decay rate belongs to square waves; continuous triangular waves have smoother corners leading to faster 1/n² attenuation.

Quick revision

  • Triangular wave Fourier series has only odd sine harmonics with 1/n² amplitude decay and RMS value equal to A / sqrt(3).
  • Angular Frequency: omeg$a_0 = \frac{2\pi}{T} = 2\pi f$
  • Fourier Series Expansion (Triangular Wave): x(t) = \frac{8A}{\pi^2} \sum_{n=1,3,5...}^{\infty} \frac{(-1)^{(n-1)/2}}{n^2} \sin(n\omega_0 t)

Must remember

  • A symmetric triangular wave has odd symmetry ($x(-t) = -x(t)$), which causes the average value ($a_0$) and all cosine coefficients ($a_n$) to vanish identically.
  • The Fourier series of a symmetric triangular wave contains exclusively odd harmonics ($n = 1, 3, 5, ...$).
  • The amplitude of the $n$-th harmonic in a triangular wave decreases quadratically as $1/n^2$, unlike square waves which decay as $1/n$.
  • The RMS value of a symmetric triangular wave with peak amplitude $A$ is given by $X_{rms} = \frac{A}{\sqrt{3}}$.
  • Differentiating a symmetric triangular wave with respect to time yields a symmetric square wave.

Glossary

Symmetric Triangular WaveA continuous periodic waveform that alternates linearly between $-A$ and $+A$ with equal rise and fall times.
Harmonic ContentThe set of sinusoidal frequencies present in a complex periodic waveform, which are integer multiples of the fundamental frequency.
Crest FactorThe ratio of the peak amplitude to the root-mean-square (RMS) value of a waveform, equal to $\sqrt{3}$ for a triangular wave.
Parseval's TheoremA theorem stating that the total average power of a periodic signal equals the sum of the average powers of its individual harmonic components.

Comparison between Triangular Wave and Square Wave Fourier Characteristics

FeatureTriangular WaveSquare Wave
Harmonic ComponentsOdd harmonics only ($1, 3, 5, ...$)Odd harmonics only ($1, 3, 5, ...$)
Amplitude Decay RateProportional to $1/n^2$Proportional to $1/n$
Waveform ContinuityContinuous everywhere, derivative is discontinuousDiscontinuous steps (finite magnitude)
RMS Value ($A = \text{Peak}$)$A / \sqrt{3}$$A$

Practice Quiz

Choose an option to reveal the explanation.

1. What type of symmetry does a standard symmetric triangular wave $x(t)$ possess about the origin?

Explanation: A symmetric triangular wave satisfies $x(-t) = -x(t)$, which defines odd symmetry about the origin.

2. Which Fourier coefficients vanish identically for a symmetric triangular wave?

Explanation: Due to odd symmetry, all cosine coefficients ($a_n$) and the average DC term ($a_0$) are zero, leaving only sine terms.

3. How do the harmonic amplitudes of a symmetric triangular wave decay with increasing harmonic index $n$?

Explanation: The harmonic amplitudes of a continuous triangular wave decrease quadratically as $1/n^2$ due to the smoothness of the waveform.

4. What is the root-mean-square (RMS) value of a symmetric triangular wave with peak amplitude $A$?

Explanation: Integrating the squared triangular function over its period yields an RMS value of $X_{rms} = \frac{A}{\sqrt{3}}$.

5. What waveform is produced when you take the time derivative of a symmetric triangular wave?

Explanation: Differentiating the linear slopes of a triangular wave yields alternating constant levels, producing a symmetric square wave.

6. Which harmonics are present in the Fourier expansion of a symmetric triangular wave?

Explanation: Symmetric triangular waves contain only odd harmonics ($1, 3, 5, ...$) because of half-wave and odd symmetries.

7. What is the crest factor ($C_f$) of a symmetric triangular wave?

Explanation: The crest factor is defined as Peak / RMS = $A / (A / \sqrt{3}) = \sqrt{3} \approx 1.732$.

8. Differentiating a continuous waveform typically changes the exponent of its harmonic amplitude decay by what amount?

Explanation: Differentiation introduces a factor of $n$ in the frequency domain, which reduces the decay exponent by $1$ (e.g., changing $1/n^2$ to $1/n$).

9. What is the angular frequency $\omega_0$ of a periodic wave with time period $T$?

Explanation: The fundamental angular frequency is defined universally as $\omega_0 = \frac{2\pi}{T} = 2\pi f$.

10. Why do triangular waves attenuate higher-order harmonics faster than square waves?

Explanation: Higher smoothness in the time domain corresponds to faster spectral roll-off ($1/n^2$ vs $1/n$). Triangular waves are continuous.

11. What is the average value of a symmetric zero-mean triangular wave over a complete cycle?

Explanation: A symmetric zero-mean triangular wave spends equal areas above and below the time axis, resulting in a net DC average of zero over a full cycle.

12. What does Parseval's theorem equate for a periodic signal?

Explanation: Parseval's theorem relates signal power in the time domain to the sum of powers in the frequency domain harmonic components.

13. If the peak amplitude of a triangular wave is $A$, what is the full-wave rectified average value over a half-cycle?

Explanation: The average value of a triangular wave over a half-cycle is $X_{avg} = \frac{A}{2}$.

14. Which relation correctly expresses the $n$-th harmonic sine amplitude $b_n$ for a symmetric triangular wave?

Explanation: The standard Fourier coefficient formula for a symmetric triangular wave yields $b_n = \frac{8A}{\pi^2 n^2} \sin\left(\frac{n\pi}{2}\right)$ for odd $n$.

15. What is the physical meaning of integrating a symmetric square wave?

Explanation: Integration of constant segments of a square wave produces linear ramps, which form a symmetric triangular wave.

PYQ Patterns

These are pattern-based practice questions. Authentic year labels are only used when verified from a source.

1. The Fourier series expansion of a symmetric triangular wave of peak amplitude $A$ and period $T$ consists of:

Explanation: Symmetric triangular waves possess odd symmetry and contain only odd sine terms whose amplitudes decay as $1/n^2$.

2. What is the RMS value of a symmetric triangular wave having peak amplitude $10\text{ V}$?

Explanation: The RMS value of a triangular wave is $X_{rms} = \frac{A}{\sqrt{3}}$. Substituting $A = 10\text{ V}$ gives $10/\sqrt{3}\text{ V}$.

3. The time derivative of a symmetric triangular wave function results in which of the following waveforms?

Explanation: Differentiating the linear upward and downward slopes of a triangular wave produces alternating positive and negative constants, forming a square wave.

4. How does the power in the $n$-th harmonic ($P_n$) of a triangular wave scale with the harmonic index $n$?

Explanation: Since $b_n \propto 1/n^2$, and power $P_n = b_n^2 / 2$, the harmonic power scales as $1/n^4$.

5. For a symmetric triangular wave, why are the cosine coefficients ($a_n$) equal to zero in its Fourier expansion?

Explanation: Odd symmetry ($x(-t) = -x(t)$) ensures that integration involving cosine terms (which are even functions) evaluates to zero over a symmetric period.

6. What is the crest factor of a symmetric triangular wave with peak amplitude $A$?

Explanation: The crest factor is $C_f = \frac{A}{A/\sqrt{3}} = \sqrt{3} \approx 1.732$.

Timed Topic Test

Attempt these questions under a ten-minute limit using a separate timer.

1. Which of the following harmonic components has the largest amplitude in the Fourier expansion of a symmetric triangular wave?

Explanation: Since amplitudes decay as $1/n^2$, the fundamental component ($n = 1$) has the largest amplitude.

2. If the fundamental frequency of a symmetric triangular wave is $50\text{ Hz}$, what frequency is its third harmonic?

Explanation: The third harmonic is $3 \times 50\text{ Hz} = 150\text{ Hz}$.

3. What is the value of $\sin(n\pi/2)$ when $n$ takes successive odd values $1, 3, 5, 7, ...$?

Explanation: For $n = 1, 3, 5, 7$, $\sin(\pi/2) = 1$, $\sin(3\pi/2) = -1$, $\sin(5\pi/2) = 1$, alternating in sign as $(-1)^{(n-1)/2}$.

4. Which waveform has a faster harmonic amplitude attenuation: square wave or triangular wave?

Explanation: Triangular wave harmonics decay as $1/n^2$, whereas square wave harmonics decay as $1/n$. Thus, triangular waves attenuate faster.

5. What is the average value of a symmetric triangular wave calculated over a half-cycle (from $0$ to $T/2$)?

Explanation: The full-wave rectified average or half-cycle average value of a symmetric triangular wave is $A / 2$.

6. In the Fourier series of a symmetric triangular wave, what is the coefficient of the third harmonic relative to the fundamental?

Explanation: Since harmonic amplitudes are proportional to $1/n^2$, the amplitude of the third harmonic ($n=3$) is $(1/3^2) = 1/9$ of the fundamental.

7. If a symmetric triangular wave has a peak-to-peak amplitude of $V_{pp} = 12\text{ V}$, what is its peak amplitude $A$?

Explanation: Peak amplitude $A$ is half of the peak-to-peak amplitude, so $A = 12 / 2 = 6\text{ V}$.

8. According to Parseval's theorem, if the RMS value of a triangular wave is $X_{rms}$, how is it related to the RMS values of its harmonic components $X_{n,rms}$?

Explanation: Parseval's theorem states that the total mean-squared value (square of RMS) equals the sum of the mean-squared values of all individual harmonic components: $X_{rms}^2 = \sum_{n} X_{n,rms}^2$.

9. What is the primary reason why even harmonics are absent in a symmetric triangular wave?

Explanation: Half-wave symmetry ($x(t \pm T/2) = -x(t)$) combined with odd symmetry ensures that all even harmonics vanish.

10. What happens to the Fourier harmonic amplitudes if the peak amplitude $A$ of a triangular wave is doubled?

Explanation: Fourier coefficients $b_n$ depend linearly on peak amplitude $A$ ($b_n \propto A$), so doubling $A$ doubles all harmonic amplitudes.