柯西不等式
$\bullet$ 二维形式的柯西不等式:
$$(a^{2} + b^{2})(c^{2} + d^{2}) \geq (ac + bd)^{2}$$
当且仅当 $ad = bc$ 时等号成立。
$\bullet$ 三维形式的柯西不等式:
$$(a_{1}^{2} + a_{2}^{2} + a_{3}^{2})(b_{1}^{2} + b_{2}^{2} + b_{3}^{2}) \geq (a_{1}b_{1} + a_{2}b_{2} + a_{3}b_{3})^{2}$$
当且仅当 $\frac{a_{1}}{b_{1}} = \frac{a_{2}}{b_{2}} = \frac{a_{3}}{b_{3}}$ 时等号成立。
$\bullet$ 一般形式的柯西不等式:
$$(a_{1}^{2} + a_{2}^{2} + \cdots + a_{n}^{2})(b_{1}^{2} + b_{2}^{2} + \cdots + b_{n}^{2}) \geq (a_{1}b_{1} + a_{2}b_{2} + \cdots + a_{n}b_{n})^{2} \\
\Rightarrow \sum_{i=1}^{n}a_{i}^{2}\sum_{i=1}^{n}b_{i}^{2} \geq \left ( \sum_{i=1}^{n}a_{i}b_{i} \right )^{2}$$
当且仅当 $\frac{a_{1}}{b_{1}} = \frac{a_{2}}{b_{2}} = \cdots = \frac{a_{n}}{b_{n}}$ 时等号成立。
式子的左边是两个平方和的乘积,式子右边是交叉项和的平方。
证明:
定义函数 $f(x)$ 为
$$f(x) = (a_{1} + b_{1}x)^{2} + (a_{2} + b_{2}x)^{2} + \cdots + (a_{n} + b_{n}x)^{2}$$
将 $f(x)$ 转化为二元函数的标准形式 $y = ax^{2} + bx + c$ 得
$$f(x) = (b_{1}^{2} + b_{2}^{2} + \cdots + b_{n}^{2})x^{2} + 2(a_{1}b_{1} + a_{2}b_{2} + \cdots + a_{n}b_{n})x + (a_{1}^{2} + a_{2}^{2} + \cdots + a_{n}^{2})$$
因为 $f(x) \geq 0$,所以它只有一个解或无解,即
$$\Delta = 4(a_{1}b_{1} + a_{2}b_{2} + \cdots + a_{n}b_{n})^{2} - 4(b_{1}^{2} + b_{2}^{2} + \cdots + b_{n}^{2})(a_{1}^{2} + a_{2}^{2} + \cdots + a_{n}^{2}) \leq 0$$
所以
$$(a_{1}^{2} + a_{2}^{2} + \cdots + a_{n}^{2})(b_{1}^{2} + b_{2}^{2} + \cdots + b_{n}^{2}) \geq (a_{1}b_{1} + a_{2}b_{2} + \cdots + a_{n}b_{n})^{2}$$
令函数 $f(x) = 0$,则每个平方项都必须为 $0$,即
$$a_{1} + b_{1}x = 0 \Rightarrow x = -\frac{a_{1}}{b_{1}} \\
a_{2} + b_{2}x = 0 \Rightarrow x = -\frac{a_{2}}{b_{2}} \\
\vdots \\
a_{n} + b_{n}x = 0 \Rightarrow x = -\frac{a_{n}}{b_{n}}$$
则要使函数有零点,即 $\Delta = 0$,则必须有
$$\frac{a_{1}}{b_{1}} = \frac{a_{2}}{b_{2}} = \cdots = \frac{a_{n}}{b_{n}}$$
证毕