# 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

y_{x} | Triangle wave (dimensionless) |

a | The amplitude of the wave (dimensionless) |

π | pi |

x | X-coordinate (dimensionless) |

p | The period of the wave (dimensionless) |