Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I would like to know if my way of solution is good.

I have to find the angle between the vector $[2,2]$ and $[-1,2]$

$$\theta = \arccos{\left( \frac{[2,2]\cdot[-1,2]}{\sqrt{8} \cdot \sqrt{5}}\right)} = \arccos{\left( \frac{2}{\sqrt{8}\cdot\sqrt{5}}\right)} = \arccos{\left(\frac{2\sqrt{5}}{5\sqrt{8}}\right)} \approx 71.57^{\circ}$$

thanks in advance

share|cite|improve this question
The algebraic-geometry tag is inappropriate for this question. – littleO Nov 1 '12 at 20:31

Yes, you are correctly using the standard way of computing the angle between two vectors, $\vec{u},\vec{v}\in\mathbb{R}^{2}$ through their inner product:


Which given your vectors $\vec{u}=[2,2]$ and $\vec{v}=[-1,2]$, gives us:

$$\theta=\arccos{\left(\frac{4-2}{\sqrt{2^{2}+2^{2}}\cdot\sqrt{(-1)^{2}+2^{2}}}\right)}\approx 71.57^{\circ}$$

Which matches your solution.

share|cite|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.