Take the 2-minute tour ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

This question already has an answer here:

Let $k\in \mathbb Z$; is there a name for the function $f(k)$ below? $$ f(k) = \text{max}(k, 0) $$

share|improve this question

marked as duplicate by Jonas Meyer, Davide Giraudo, Conifold, Brian Fitzpatrick, amWhy Aug 15 at 19:49

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

2  
In optimization, the generalized form of your function $f(x,c) = \max(x-c,0)$ is often referred to as a hinge function. –  cardinal Mar 6 '11 at 19:44

2 Answers 2

up vote 10 down vote accepted

This could be called the "positive part" of $k$ and denoted $f(k)=k^+$.

share|improve this answer

Write $|x| = |x|_{+} + |x|_{-}$, where $|x|_{\pm} = \pm x \theta(\pm x)$, where $\theta$ is the Heaviside step function. Then your function is the restriction of the function $|x|_{+}$, the positive part of the absolute value function, that is, on $\mathbb{Z}$.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.