You can use Pythagoras' theorem to calculate the magnitude of a vector, ∣a∣. To find a unit vector in the direction of a given vector, divide the vector by its magnitude. A vector can be written in magnitude-direction form, with the direction defined by its angle relative to one of the coordinate axes.
Magnitude of a vector
The diagram shows the vector a inclined at an angle θ to the positive x-axis.
The magnitude of a vector is its length. You can use Pythagoras' theorem to calculate the magnitude of vector a, written as ∣a∣.
If:
Then:
a∣a∣=xi+yj=(xy)=x2+y2
Example 1
Find the exact magnitude of r=(35).
∣r∣=32+52=9+25=34
Note: You are asked for the exact value, so you can leave your answer in surd form.
Unit vectors
A unit vector is any vector with a magnitude of 1. You have come across the unit vectors i and j that go along the positive x- and y-axes, respectively. A unit vector of a given vector a can be written as aˆ and is found as follows:
aˆ=∣a∣a
If the magnitude of a is 5, a unit vector of a is:
aˆ=5a
Example 2
If r=6i−8j, find a unit vector in the direction of r.
First, you need to find the magnitude of r.
∣r∣=62+(−8)2=36+64=100=10
For a unit vector in the direction of r:
rˆ=∣r∣r=106i−8j=102(3i−4j)=51(3i−4j)
Magnitude-direction form
A vector can be defined by its magnitude and its angle relative to the x- or y-axes. This is its magnitude-direction form.
Vector a has magnitude ∣a∣ and is at angle θ to the positive x-axis.
You can use trigonometry for right-angled triangles to find the horizontal and vertical components of a.
a=(∣a∣cosθ∣a∣sinθ)
Example 3
Vector p has a magnitude of 8 and makes an angle of 60°with the positive x-axis. Write p in component form.