Absolute value
The absolute value of a number is a measure of the size of that number. The absolute value of Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle x} is written Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle |x|} .
- If is a positive number, then .
- If is a negative number, then .
- If then .
Absolute value has several useful properties. One is the multiplicative property. If and are two numbers, then . Another is the triangle inequality, which is the fact that . For example, if and , then , while . In this case, the triangle inequality is the fact that 2 is not more than 8.
Complex numbers also have an absolute value. If is a complex number with real part and imaginary part , then Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle |z| = \sqrt{x^2 + y^2}} . If we represent Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle z} as a point in the complex plane with coordinates Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle (x,y)} , then Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle |z|} 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.