Wize High School Grade 12 Calculus Textbook > Vectors
Magnitude of a Vector

0:00 / 0:00
Magnitude of a 2D Vector
We can calculate the magnitude (a.k.a. length or size) of a vector in 2D using Pythagorean's Theorem:

Write it Down
The length of the vector is
Example
Find the lengths of the vectors and
Magnitude of a 3D Vector
We can calculate the magnitude of a vector in 3D using an extension of this formula.
Write it Down
The length of the vector is
Practice: Magnitude of a Vector
An aircraft's location is 200 miles from base, at a direction of 30° W of S, at an altitude of 35,000 ft. Find the distance between the aircraft and the base.
Note: 1 mile = 5280 feet

0:00 / 0:00
Unit Vector
A unit vector is a vector that has a magnitude of 1.
Example
Show that the following vectors are all unit vectors
is a unit vector
is a unit vector
is a unit vector
Finding a Unit Vector in a Certain Direction
Given a vector , the unit vector in the same direction as is
Example
Find the unit vector in the same direction as
or
Special Unit Vectors
In 2D, we have the following special unit vectors:
- → unit vector along the positive -axis
- → unit vector along the positive -axis
In 3D, we have the following special unit vectors:
- → unit vector along the positive -axis
- → unit vector along the positive -axis
- → unit vector along the positive -axis
Example
[2, -3, 1]
Practice: Unit Vector
Find the unit vector in the same direction as .

0:00 / 0:00
Directional Cosine for 3D Vectors
Given any vector in 3D, we can define the following angles:
- is the angle forms with the - axis
- is the angle forms with the - axis
- is the angle forms with the - axis
If is a unit vector, then ⟶ these 3 components are called the directional cosines of the vector .
General Directional Cosines
Given any vector ,