Square wave

Square wave
Sine, square, triangle, and sawtooth waveforms
Sine, square, triangle, and sawtooth waveforms
General information
General definition
Fields of applicationElectronics, synthesizers
Domain, codomain and image
Domain
Codomain
Basic features
ParityOdd
Period1
AntiderivativeTriangle wave
Fourier series

A square wave is a non-sinusoidal periodic waveform in which the amplitude alternates at a steady frequency between fixed minimum and maximum values, with the same duration at minimum and maximum. In an ideal square wave, the transitions between minimum and maximum are instantaneous.

The square wave is a special case of a pulse wave which allows arbitrary durations at minimum and maximum amplitudes. The ratio of the high period to the total period of a pulse wave is called the duty cycle. A true square wave has a 50% duty cycle (equal high and low periods).

Square waves are often encountered in electronics and signal processing, particularly digital electronics and digital signal processing. Its stochastic counterpart is a two-state trajectory.