The graph of the absolute value function for real numbers .
In mathematics , the absolute value of a real number
x
{\displaystyle x}
, written as
|
x
|
{\displaystyle |x|}
or
abs
(
x
)
{\displaystyle {\text{abs}}(x)}
, is the value of
x
{\displaystyle x}
when the sign is dropped (or
x
{\displaystyle x}
without its sign).[ 1] [ 2] That is,
|
x
|
=
x
{\displaystyle |x|=x}
for a positive
x
{\displaystyle x}
,
|
x
|
=
− − -->
x
{\displaystyle |x|=-x}
for a negative
x
{\displaystyle x}
, and
|
0
|
=
0
{\displaystyle |0|=0}
For example, the absolute value of 3 is 3, and the absolute value of −3 is also 3 (
|
x
|
=
|
− − -->
x
|
{\displaystyle |x|=|-x|}
). The absolute value of a real number may be thought of as its distance from zero . It can be defined as follows:
{
x
if
x
≥ ≥ -->
0
− − -->
x
if
x
<
0
{\displaystyle {\begin{cases}\ \ \ x&{\mbox{if}}\ \ x\geq 0\\-x&{\mbox{if}}\ \ x<0\\\end{cases}}}
Because a distance is always positive, the absolute value of a number is always positive.
Similarly, the absolute value of a complex number may be thought of as its distance from the origin.
It is defined by the equation [ 2]
|
a
+
b
i
|
=
a
2
+
b
2
{\displaystyle |a+bi|={\sqrt {a^{2}+b^{2}}}}
Properties
Real numbers
For any real number
x
{\displaystyle x}
, its absolute value is denoted by
|
x
|
{\displaystyle |x|}
(a vertical bar on each side of the quantity ), and is defined as[ 3]
{
x
if
x
≥ ≥ -->
0
− − -->
x
if
x
<
0
{\displaystyle {\begin{cases}\ \ \ x&{\mbox{if}}\ \ x\geq 0\\-x&{\mbox{if}}\ \ x<0\\\end{cases}}}
The absolute value of
x
{\displaystyle x}
is always either positive or zero , but never negative . From an analytic geometry point of view, the absolute value of a real number is that number's distance from zero along the real number line . The absolute value of the difference of two real numbers is the distance between them.
In calculus , the absolute value function is differentiable except at 0 . It is continuous everywhere.
In linear algebra , the norm of a vector is defined similarly as the distance from the tip of the vector to the origin. This is similar to the way the absolute value of a complex number is defined.
The square root notation without sign represents the positive square root. So, it follows that:
|
a
|
=
a
2
{\displaystyle |a|={\sqrt {a^{2}}}}
which is another definition of absolute value.[ 4]
The absolute value has the following four main properties:
|
a
|
≥ ≥ -->
0
{\displaystyle |a|\geq 0}
(1 )
Non-negativity (the absolute value of a number is never negative)
|
a
|
=
0
⇔ ⇔ -->
a
=
0
{\displaystyle |a|=0\Leftrightarrow a=0}
(2 )
Zero-definiteness (the absolute value of a number is zero if and only if this number is zero)
|
a
+
b
|
≤ ≤ -->
|
a
|
+
|
b
|
{\displaystyle |a+b|\leq |a|+|b|}
(3 )
Subadditivity (the absolute value of
a
{\displaystyle a}
plus
b
{\displaystyle b}
is less than or equal to the absolute value of
a
{\displaystyle a}
plus the absolute value of
b
{\displaystyle b}
)
|
a
b
|
=
|
a
|
⋅ ⋅ -->
|
b
|
{\displaystyle |ab|=|a|\cdot |b|}
(4 )
Multiplicativeness (the absolute value of
a
{\displaystyle a}
times
b
{\displaystyle b}
is equal to the absolute value of
a
{\displaystyle a}
times the absolute value of
b
{\displaystyle b}
)
Other important properties of the absolute value include:
|
|
a
|
|
=
|
a
|
{\displaystyle ||a||=|a|}
(5 )
Idempotence (the absolute value of the absolute value is the absolute value)
|
+
a
|
=
|
− − -->
a
|
{\displaystyle |+a|=|-a|}
(6 )
Symmetry (the absolute value of a number is the same as the absolute value of its opposite )
|
a
− − -->
b
|
=
0
⇔ ⇔ -->
a
=
b
{\displaystyle |a-b|=0\Leftrightarrow a=b}
(7 )
Identity of indiscernibles (equivalent to zero-definiteness)
|
a
− − -->
b
|
≤ ≤ -->
|
a
− − -->
c
|
+
|
c
− − -->
b
|
{\displaystyle |a-b|\leq |a-c|+|c-b|}
(8 )
Triangle inequality (equivalent to subadditivity)
|
a
− − -->
b
|
≥ ≥ -->
|
|
a
|
− − -->
|
b
|
|
{\displaystyle |a-b|\geq ||a|-|b||}
(9 )
Double absolute value (equivalent to subadditivity)
|
a
b
|
=
|
a
|
|
b
|
(if
b
≠ ≠ -->
0
)
{\displaystyle \left\vert {\frac {a}{b}}\right\vert ={\frac {|a|}{|b|}}{\mbox{ (if }}b\neq 0)}
(10 )
Preservation of division (equivalent to multiplicativeness)
Two other useful properties related to inequalities are:
|
a
|
≤ ≤ -->
b
⇔ ⇔ -->
− − -->
b
≤ ≤ -->
a
≤ ≤ -->
b
{\displaystyle |a|\leq b\Leftrightarrow -b\leq a\leq b}
|
a
|
≥ ≥ -->
b
⇔ ⇔ -->
a
≤ ≤ -->
− − -->
b
or
b
≤ ≤ -->
a
{\displaystyle |a|\geq b\Leftrightarrow a\leq -b{\mbox{ or }}b\leq a}
These relations may be used to solve inequalities involving absolute values. For example:
|
x
− − -->
3
|
≤ ≤ -->
9
⟺ ⟺ -->
− − -->
9
≤ ≤ -->
x
− − -->
3
≤ ≤ -->
9
⟺ ⟺ -->
− − -->
6
≤ ≤ -->
x
≤ ≤ -->
12
{\displaystyle |x-3|\leq 9\Longleftrightarrow -9\leq x-3\leq 9\Longleftrightarrow -6\leq x\leq 12}
Diagram showing
|
z
|
{\displaystyle |z|}
, the absolute value of
z
{\displaystyle z}
.
Complex numbers
For a complex number
z
=
a
+
b
i
{\displaystyle z=a+bi}
, where
a
{\displaystyle a}
is the real part of
z
{\displaystyle z}
and
b
{\displaystyle b}
is the imaginary part of
z
{\displaystyle z}
,[ 2]
|
z
|
=
|
a
+
b
i
|
=
x
2
+
y
2
{\displaystyle |z|=|a+bi|={\sqrt {x^{2}+y^{2}}}}
Related pages
References