Difference between revisions of "Absolute value"
From Maths
(Created page with "The absolute value is sometimes called "abs" ==Definition== The absolute value is a function <math>|\cdot|:\mathbb{R}\rightarrow\mathbb{R}</math> given by: <mat...") |
(→Examples: and notably, |0|=0) |
||
Line 17: | Line 17: | ||
# <math>|-2|=2</math> | # <math>|-2|=2</math> | ||
# <math>|2|=2</math> | # <math>|2|=2</math> | ||
− | + | # <math>|0|=0</math> | |
{{Definition|Real Analysis}} | {{Definition|Real Analysis}} |
Revision as of 17:56, 18 March 2016
The absolute value is sometimes called "abs"
Definition
The absolute value is a function |⋅|:R→R given by:
|x|={xx≥0−xotherwise
It simply returns the positive value of a number.
Note
More strictly the function should be given as: |⋅|:R→R≥0
Examples
- |−2|=2
- |2|=2
- |0|=0