Absolute value¶
Further topics · Chapter A.1 · Lecture notes (PDF) · Exercises: Absolute value · Slides (PDF)
1. Definition¶
Definition 1: absolute value
The absolute value \(|a|\) of a real number \(a\) is the following non-negative real number:
From the definition of absolute value it immediately follows that:
and, similarly, for non-strict inequalities:
2. Triangle inequality¶
Observation 1: triangle inequality
Proof
We write the two relations:
and add member to member:
So for \(\eqref{ass_2b}\), with \(\varepsilon=|b|+|c|\ge 0\) and \(a=b+c\), it follows \(\eqref{ass_3}\). □
-
The triangle inequality is also used in the following form:
\[\begin{equation} |d - e| \le |d-f| + |e-f| \qquad \forall d,e,f \in \mathbb{R} \label{ass_4} \end{equation}\]To obtain it, it suffices to set in \(\eqref{ass_3}\):
\[ b = d - f, \quad c = f-e \]and we get:
\[ |d - f +f-e|=|d -e| \le |d - f| + |f-e| = |d - f| + |e-f| \]since:
\[ |f - e| = |e-f| \qquad \forall e,f \in \mathbb{R} \] -
Finally, another form of the triangle inequality is:
\[\begin{equation} |g| \le |g-h| + |h| {\rm ~~~~~that~is~~~~~} |g| - |h| \le |g-h| \qquad \forall g,h \in \mathbb{R} \label{ass_AA} \end{equation}\]To obtain it, it suffices to set in \(\eqref{ass_3}\):
\[ b = g - h, \quad c = h \]
Observation 2: reverse triangle inequality
Proof
From \(\eqref{ass_AA}\), we have:
Similarly exchanging \(g\) for \(h\) in \(\eqref{ass_AA}\) we get:
then we have
Accordingly from \(\eqref{ass_2b}\), with \(\varepsilon = |g-h| \ge 0\) and \(a= |g| - |h|\), we get the reverse triangle inequality. □
-
The triangle inequality \(\eqref{ass_3}\) can easily be generalized to the case of \(k\) addends:
\[\begin{equation} \left| \sum_{i=1}^k b_i \right| \le \sum_{i=1}^k |b_i|. \label{ass_6} \end{equation}\] -
The following immediate properties also hold:
\[\begin{equation} |b\:c| = |b| \: |c|, \qquad \left| \frac{b}{c}\right|= \frac{|b|}{|c|}, \qquad |-b|=|b| \qquad \forall b,c \in \mathbb{R} ~ (c \neq 0 {\rm ~in~the~quotient}). \label{ass_7} \end{equation}\]