Triangle function

from Wikipedia, the free encyclopedia
Triangle function

The triangle function , also tri function, triangle function or tent function, is a mathematical function with the following definition:


Equivalent to this, it can also be defined as a convolution of the rectangular function with itself, as is clearly shown in the figure below:

Convolution of two rectangular functions results in the triangular function

The triangle function can be scaled using a parameter :

The triangle function is mainly used in the field of signal processing for the representation of idealized signal curves. In addition to the Gaussian function , the Heaviside function and the rectangular function, it is used to describe elementary signals. Technical applications are in the area of optimal filters or window functions such as the Bartlett window .

The Fourier transformation of the triangle function gives the squared si function :

General form

In general, one would like to scale the triangle function. The stretching in the x-direction and the height at the top are of interest here. Half the period, i.e. the distance from the start of the triangular function to the center point, is used for the stretching . The height at the point is through



The derivative of the triangle function is a sum of two rectangular functions:

which can also be represented as the sum of three jump functions :

where the period, the center and the height of the triangular function represent. The prefactor therefore appears as the slope of the triangle function in the derivative.

Triangular oscillation

In contrast to the triangle function shown here, a triangular oscillation is a periodic function that results from the periodic continuation of the interval , generally supplemented by a constant offset. A triangular oscillation in the narrower sense does not contain a constant component , so the minima and maxima are equal in terms of amount.

The function

or the Fourier series

omega with for the amplitude and for the angular frequency generates a continuous triangular signal.

Generalized and with the sine basic function of the form

in harmony follows:



  • Hans Dieter Lüke: Signal transmission . 6th edition. Springer Verlag, 1995, ISBN 3-540-54824-6 .