'

Triangle wave (in trigonometric terms)

Description

A triangle wave is a non-sinusoidal waveform named for its triangular shape. It is a periodic, piecewise linear, continuous real function. Like a square wave, the triangle wave contains only odd harmonics, due to its odd symmetry. However, the higher harmonics roll off much faster than in a square wave (proportional to the inverse square of the harmonic number as opposed to just the inverse). The triangle wave can be expressed In terms of sine and arcsine with period p and amplitude a.

Related formulas

Variables

yxTriangle wave (dimensionless)
aThe amplitude of the wave (dimensionless)
πpi
xX-coordinate (dimensionless)
pThe period of the wave (dimensionless)