1

$\mid\sum_{i=1}^{n} x_i\mid\leq \sum_{i=1}^{n}\mid x_i\mid$

If $n$ is even we will divide the sum into groups of $2$ $x$'s namely $\mid x+x \mid \leq \mid x\mid+\mid x \mid$ and will repeat the process to get $\mid\sum_{i=1}^{n} x_i\mid\leq \sum_{i=1}^{n}\mid x_i\mid$

If $n$ is odd, we will divide the sum into an even number of $x$'s called $a$ and the leftover $x$ called $b$, by using the proof for even $n$ and the triangle inequality

$\mid a+b\mid\leq \mid a \mid +\mid b \mid= \mid\sum_{i=1}^{n} x_i\mid\leq \sum_{i=1}^{n}\mid x_i\mid$

Is the proof valid?

gbox
  • 13,645

0 Answers0