Absolute value

From Prime-Wiki
Jump to: navigation, search

The absolute value of a real number is defined as:

[math]|x| = x[/math] when [math]x\geq 0[/math]

[math]|x| = -x[/math] when [math]x\lt 0[/math]

The absolute value of a complex number z = x + iy is defined as:

[math]|z| = \sqrt{x^2+y^2}[/math]

where we take the positive value of the square root. Note that when y = 0, both definitions are equivalent.

Geometrically, the absolute value of a number represents its distance from the origin.

External links