Difference between revisions of "Absolute value"
m (whitespace, for easier reading) |
|||
| Line 17: | Line 17: | ||
[[Category:Algebra]] | [[Category:Algebra]] | ||
| + | |||
| + | |||
| + | <b>If x is a negative number, then | x | = − x.</b> | ||
| + | |||
| + | This is incorrect. It should read "If x is a negative number, then | - x | = x." | ||
Revision as of 14:34, June 20, 2007
The absolute value of a number is a measure of the size of that number. The absolute value of <math>x</math> is written <math>|x|</math>.
- If <math>x</math> is a positive number, then <math>|x| = x</math>.
- If <math>x</math> is a negative number, then <math>|x| = -x</math>.
- If <math>x=0</math> then <math>|x| = 0</math>.
Absolute value has several useful properties. One is the multiplicative property. If <math>x</math> and <math>y</math> are two numbers, then <math>|xy| = |x| \times |y|</math>. Another is the triangle inequality, which is the fact that <math>|x+y| \leq |x| + |y|</math>. For example, if <math>x = 3</math> and <math>y = -5</math>, then <math>|x+y| = |3 + (-5)| = |3 - 5| = |-2| = 2</math>, while <math>|x| + |y| = |-5| + |3| = 5 + 3 = 8</math>. In this case, the triangle inequality is the fact that 2 is not more than 8.
Complex numbers also have an absolute value. If <math>z = x+iy</math> is a complex number with real part <math>x</math> and imaginary part <math>y</math>, then <math>|z| = \sqrt{x^2 + y^2}</math>. If we represent <math>z</math> as a point in the complex plane with coordinates <math>(x,y)</math>, then <math>|z|</math> is the distance from this point to the origin. The absolute value of complex numbers also has the multiplicative property and satisfies the triangle inequality.
Notes and references
If x is a negative number, then | x | = − x.
This is incorrect. It should read "If x is a negative number, then | - x | = x."