So I read online that to find angle $\theta$ between two vectors $v=(v_1,...,v_n)$ and $u=(u_1,...,u_n)$, we solve for $\cos(\theta)=\frac{u \text{ dot } v}{\|u\|\|v\|}$. But I don't understand why? why is this formula true?
I understand that the squared norm of a vector $u$ is $\sum_1^n u_i^2$ by the Pythagoras theorem. Would this help prove the result?
