Definition 1.1.1. Let $x\in \mathbb R$.
- $0$ is the number such that $x+0=x$ for all $x$.
- $1$ is the nonzero number such that $x\cdot 1=x$ for all $x$.
- We define the negative $x$, denoted by $-x$, as the number such that $x+(-x)=0$.
- Let $x\ne0$. We define the reciprocal of $x$, denoted by $1/x$, as the number such that $x\cdot (1/x)=1$.
Definition 1.1.2. Let $x\in \mathbb R$. We define the absolute value of $x$ as follows:
\[\vert x\vert := \begin{cases} x, & x \ge 0,\\ -x, & x < 0. \end{cases}\]Theorem 1.1.3. Let $x,y\in \mathbb R$. Then
- $\vert x\vert \ge 0$
- $\vert x\cdot y\vert = \vert x\vert \cdot \vert y\vert$
- $\vert x+y\vert \le \vert x\vert +\vert y\vert$
- $\vert x\vert ^2 = x^2$
- $\vert x\vert = 0 \Rightarrow x = 0$
Definition 1.1.4 (Square Root). Let $x,y\in \mathbb R$ and $x\ge 0$.
\[\sqrt{x}=y :\Longleftrightarrow y \ge 0,\ y^2=x\]Theorem 1.1.5. Let $x\in \mathbb R$. Then
- $\sqrt{x^2}=\vert x\vert$
- $(\sqrt{x})^2=x$
Definition 1.1.6.
-
(Harmonic Mean) For $x+y\ne 0$,
\[HM(x,y):=\frac{2xy}{x+y}\] -
(Geometric Mean) For $xy\ge 0$,
\[GM(x,y):=\sqrt{xy}\] -
(Arithmetic Mean)
\[AM(x,y):=\frac{x+y}{2}\] -
(Quadratic Mean)
\[QM(x,y):=\sqrt{\frac{x^2+y^2}{2}}\] -
(Weighted Arithmetic Mean) For $w_i\ge 0$ and $\sum_{i=1}^{n}w_i=1$,
\[WAM(x_1,\ldots,x_n):=\sum_{i=1}^{n}w_i x_i\]
Theorem 1.1.7.
\[\min(x_1,\ldots,x_n) \le \operatorname{mean}(x_1,\ldots,x_n) \le \max(x_1,\ldots,x_n)\]Theorem 1.1.8.
\[HM \le GM \le AM \le QM\]