Ramp Function

From GM-RKB
(Redirected from Max Function)
Jump to navigation Jump to search

A Ramp Function is an Unary Function defined as [math]\displaystyle{ R(x) := \max(x,0) }[/math]



References

2018

  • (Wikipedia, 2018) ⇒ https://en.wikipedia.org/wiki/Ramp_function Retrieved:2018-2-18.
    • The ramp function is a unary real function, whose graph is shaped like a ramp. It can be expressed by numerous definitions, for example "0 for negative inputs, output equals input for non-negative inputs". The term "ramp" can also be used for other functions obtained by scaling and shifting, and the function in this article is the unit ramp function (slope 1, starting at 0).

      This function has numerous applications in mathematics and engineering, and goes by various names, depending on the context.

      Definitions

      The ramp function (R(x) : ℝ → ℝ0+) may be defined analytically in several ways. Possible definitions are:

      • A piecewise function:
        • [math]\displaystyle{ R(x) := \begin{cases} x, & x \ge 0; \\ 0, & x\lt 0 \end{cases} }[/math]
      • The max function:
        • [math]\displaystyle{ R(x) := \max(x,0) }[/math]
      • The mean of an independent variable and its absolute value (a straight line with unity gradient and its modulus):
        • [math]\displaystyle{ R(x) := \frac{x+|x|}{2} }[/math]
this can be derived by noting the following definition of max(a,b),
[math]\displaystyle{ \max(a,b) = \frac{a+b+|a-b|}{2} }[/math]
for which a = x and b = 0
  • [math]\displaystyle{ R\left( x \right) := xH(x) }[/math]
  • The convolution of the Heaviside step function with itself:
  • [math]\displaystyle{ R\left( x \right) := H(x) * H(x) }[/math]
  • [math]\displaystyle{ R(x) := \int_{-\infty}^{x} H(\xi)\,d\xi }[/math]
  • [math]\displaystyle{ R(x) := \langle x\rangle }[/math]