The angle between two nonzero vectors is the smallest angle from one vector’s direction to the other, determined from their dot product by cosθ=∥a∥∥b∥a⋅b, using component form in two or three dimensions and 0≤θ≤180∘ (or 0≤θ≤π). The signs of the dot product identify acute, right, or obtuse relationships; the zero vector has no direction and therefore no defined angle, supporting geometric reasoning about perpendicularity, projections, and vector applications.
Detailed Explanation: Determine the angle between two vectors
For two nonzero vectors a and b, the angle θ between them is found using the dot product formula:
cosθ=∣a∣∣b∣a⋅b.
The angle is always chosen between 0∘ and 180∘.
Worked example
Find the angle between
a=(21)andb=(13).
Step 1: Find the dot product.
Multiply corresponding components and add:
a⋅b=(2)(1)+(1)(3)=2+3=5.
Step 2: Find the length of each vector.
For a:
∣a∣=22+12=5.
For b:
∣b∣=12+32=10.
Step 3: Substitute into the formula.
cosθ=(5)(10)5=505=21.
Step 4: Use the inverse cosine.
θ=cos−1(21)=45∘.
Therefore, the angle between the vectors is
45∘.
Because the dot product was positive, the angle is acute. In general:
If a⋅b>0, the angle is acute.
If a⋅b=0, the vectors are perpendicular, so the angle is 90∘.
If a⋅b<0, the angle is obtuse.
The zero vector cannot be used because it has no direction, so its angle with another vector is undefined.
Learn by doing: Determine the angle between two vectors
Click a topic below to practice the foundational skills you'll need, learn the steps, or master this skill
Practice with unlimited practice problems
Practice:
Vectors - Dot Product - Grid, Geometric Formula and Dot Product to Angle