Definition:Positive Part

Definition
Let $X$ be a set, and let $f: X \to \overline \R$ be an extended real-valued function.

Then the positive part of $f$, $f^+: X \to \overline \R$, is the extended real-valued function defined by:


 * $\forall x \in X: f^+ \left({x}\right) := \max \left\{{0, f \left({x}\right)}\right\}$

where the maximum is taken with respect to the extended real ordering.

Also defined as
Some sources insist that $f$ be a real-valued function instead.

However, $\R \subseteq \overline \R$ by definition of $\overline \R$.

Thus, the definition given above incorporates this approach.

Also see

 * Definition:Negative Part, the natural associate of positive part