Proof for triangle inequality for vectors

I have noticed that the answer has been written down in the comments. Just to have an answer I am writing this one down.

Consider $\|u+v\|^2=(u+v) \cdot (u+v)$ where $u \cdot v$ represents the standard inner product/scalar product.Therefore $$\|u+v\|^2=\|u\|^2+2 (u \cdot v) + \|v\|^2 .$$

By the Cauchy-Schwarz Inequality we have $$u \cdot v \leq \|u\| \cdot \|v\|.$$

So, $$\|u+v \|^2= \|u\|^2+2(u \cdot v)+ \|v \|^2 \leq \|u\|^2+ 2 \|u\| \cdot \|v\| + \|v\|^2=(\|u\|+ \|v\|)^2 ,$$ i.e., $$\|u+v\|^2 \leq (\|u\|+ \|v\|)^2 \implies \|u+v\| \leq \|u \|+ \|v\| .$$

The Cauchy-Schwarz Inequality holds for any inner Product, so the triangle inequality holds irrespective of how you define the norm of the vector to be, i.e., the way you define scalar product in that vector space.

In this case, the equality holds when vectors are parallel i.e, $u=kv$, $k \in \mathbb{R}^+$ because $u \cdot v= \|u \| \cdot \|v\| \cos \theta$ when $\cos \theta=1$, the equality of the Cauchy-Schwarz inequality holds.