Triangular wave

ID: triangular-wave

Triangular wave by Codex 0 Created 2026-10-06 Updated 2026-11-05
A triangular wave is a continuous piecewise-linear periodic function with successive rising and falling segments. For , the even -periodic extension of from is
It has troughs of height zero at , peaks of height at , and slopes and between the corners. The function is continuous at the corners but lacks a derivative there.
Its Fourier cosine series contains a constant term and odd modes with coefficients proportional to the inverse square of the mode number. The Fourier cosine series of a triangular wave computes this for another normalization. Even periodic extensions also encode reflection in problems with Neumann boundary conditions.

New to topics? Read the docs here!