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||) )
           

 

CH
Answered by Christopher H. Maths tutor

5657 Views

See similar Maths A Level tutors

Related Maths A Level answers

All answers ▸

A block of mass 5 kg is being pushed over level ground by rod at 60 degrees to horizontal with force 40 N with acc. 1.5 what is the frictional force of the surface and draw a diagram with the forces acting on the block


The rate of growth of a population of micro-organisms is modelled by the equation: dP/dt = 3t^2+6t, where P is the population size at time t hours. Given that P=100 at t=1, find P in terms of t.


(a) By using a suitable trigonometrical identity, solve the equation tan(2x-π/6)^2 =11-sec(2x-π/6)giving all values of x in radians to two decimal places in the interval 0<=x <=π .


How do you differentiate a polynomial?


We're here to help

contact us iconContact ustelephone icon+44 (0) 203 773 6020
Facebook logoInstagram logoLinkedIn logo

MyTutor is part of the IXL family of brands:

© 2026 by IXL Learning