In Euclidean space ${\displaystyle \mathbb {R} ^{n}}$ with the standard inner product, the Cauchy–Schwarz inequality is
$$\left(\sum_{i=1}^n u_i v_i\right)^2\leq \left(\sum_{i=1}^n u_i^2\right) \left(\sum_{i=1}^n v_i^2\right)$$
but i can't see how they used in the following inequality:
$\forall (i,j)\in\{1,\ldots,n\}^{2}$: $$a_ia_j+b_ib_j\leq \sqrt{a_i^2+b_i^2} \sqrt{a_j^2+b_j^2} $$
- What is u and what is v in that case could someone explain to me how : Cauchy–Schwarz inequality
reference