724 views

### How do I find the angle between 2 vectors?

First, we need to recall 2 basic definitions of vector operations:

The dot product is defined on vectors u=[u1, u2,...un] and v=[v1, v2,..., vn] as u . v = u1v1+u2v2+...+unvn
The length (norm) of a vector v=[v1, v2,..., vn] is the nonnegative scalar defined as ||v||=√(v . v)=√(v12+v22+...+vn2)

Note that u & v must be the same size to compute the dot product.

Now the formula for the angle, θ, between 2 vectors is as follows:

cos(θ)=(u . v)/(||u|| ||v||)

Notice that u & v can be any size so long as they are both the same size. That is, this formula can be used to find the angle between vectors in 2 dimensions and also to find the angle between vectors in 100 dimensions, however hard that is to imagine.

A handy rearrangement of that formula to isolate θ is:

θ=cos-1( (u . v)/(||u|| ||v||) )

3 years ago

Answered by Christopher, an A Level Maths tutor with MyTutor

## Still stuck? Get one-to-one help from a personally interviewed subject specialist

#### 354 SUBJECT SPECIALISTS

£26 /hr

Degree: PGCE Secondary Mathematics (Other) - Leeds University

Subjects offered:Maths, Further Mathematics

Maths
Further Mathematics

“I am currently completing 2 PGCEs in Leeds. I have always had a passion for maths and my objective is to help as many as possible reach their full potential.”

£26 /hr

Degree: Physics (Bachelors) - Durham University

Subjects offered:Maths, Physics+ 2 more

Maths
Physics
Further Mathematics
Chemistry

“Hi, I'm Sam Crawford. I'm studying Maths and Physics at Durham University, with an offer from Cambridge for next year, and I absolutely love both subjects.”

£20 /hr

Degree: Mathematics with Physics (Bachelors) - Cambridge University

Subjects offered:Maths, Physics+ 1 more

Maths
Physics
.STEP.

“My approach is centred on deep understanding, and I constantly engage and encourage students to build both confidence and enthusiasm!”

Currently unavailable: no new students

Degree: Mathematics (Bachelors) - Edinburgh University

Subjects offered:Maths, Physics+ 1 more

Maths
Physics
Further Mathematics

“Hi, I'm currently studying Maths at Edinburgh University and looking to tutor A-level Maths and Physics.”

### You may also like...

#### Other A Level Maths questions

How do you take the derivative of a^x ?

How to factorise any quadratic expression

How do I differentiate "messy" functions?

Differentiate x^2+6x+1

We use cookies to improve your site experience. By continuing to use this website, we'll assume that you're OK with this.