The triangular function can also be represented as the product of the rectangular and absolute value functions:
The function is useful in signal processing and communication systems engineering as a representation of an idealized signal, and as a prototype or kernel from which more realistic signals can be derived. It also has applications in pulse code modulation as a pulse shape for transmitting digital signals and as a matched filter for receiving the signals. It is also equivalent to the triangular window sometimes called the Bartlett window.
Note that in some cases the triangle function may be defined to have a base of length 1 instead of length 2: