Ramp function

The ramp function is an elementary unary real function, easily computable as the mean of its independent variable and its absolute value.

This function is applied in engineering (e.g., in the theory of DSP). The name ramp function can be derived by the look of its graph.

Contents

Definitions

The ramp function ( R(x): \mathbb{R} \rightarrow \mathbb{R}) may be defined analytically in several ways. Possible definitions are:

R(x)�:= \begin{cases} x, & x \ge 0; \\ 0, & x<0 \end{cases}
R(x)�:= \frac{x%2B|x|}{2}

this can be derived by noting the following definition of  \operatorname{max}(a,b) ,

 \operatorname{max}(a,b) = \frac{a%2Bb%2B|a-b|}{2}

for which a = x and b = 0

R\left( x \right)�:= xH\left( x \right)
R\left( x \right)�:= H\left( x \right) * H\left( x \right)
R(x)�:= \int_{-\infty}^{x} H(\xi)\,\mathrm{d}\xi

Analytic properties

Non-negativity

In the whole domain the function is non-negative, so its absolute value is itself, i.e.

\forall x \in \mathbb{R}: R(x) \geqslant 0

and

\left| R \left( x \right) \right| = R\left( x \right)

Derivative

Its derivative is the Heaviside function:

R'(x) = H(x)\ \mathrm{if}\ x \ne 0

From this property definition [5]. goes.

Fourier transform

 \mathcal{F}\left\{ R(x) \right\}(f)  =  \int_{-\infty}^{\infty}R(x) e^{-2\pi ifx}dx  =  \frac{i\delta '(f)}{4\pi}-\frac{1}{4\pi^{2}f^{2}}

Where δ(x) is the Dirac delta (in this formula, its derivative appears).

Laplace transform

The single-sided Laplace transform of R(x) is given as follows,

 \mathcal{L}\left\{ R\left( x \right)\right\} (s) = \int_{0}^{\infty} e^{-sx}R(x)dx = \frac{1}{s^2}.

Algebraic properties

Iteration invariance

Every iterated function of the ramp mapping is itself, as

 R \left( R \left( x \right) \right) = R \left( x \right) .

We applied the non-negative property.

References