Vectors in Three Dimensions
A drone, a satellite, or a character in a video game doesn’t just move left-right and up-down: it moves in three dimensions. Adding a third axis lets you describe any point in space with three coordinates and any vector with three components. The good news is that everything from Cartesian vectors carries over, with one extra number.
Key ideas
Section titled “Key ideas”The 3-D coordinate system
Section titled “The 3-D coordinate system”Three-space uses three number lines, the -, - and -axes, that meet at the origin and are each perpendicular to the other two. On paper we draw them with the -axis to the right, the -axis up, and the -axis coming out of the page toward you (drawn slanting down and to the left).
This arrangement is right-handed: point the fingers of your right hand along the positive -axis and curl them toward the positive -axis; your thumb points along the positive -axis. Ontario courses, and most math and physics books, use right-handed systems. (For example, if points east and points north, then points up.)
Each pair of axes forms a coordinate plane: the -plane (where ), the -plane (), and the -plane (). Together the three planes split space into eight octants.
Plotting points
Section titled “Plotting points”The point is reached by moving units along the -axis, then units parallel to the -axis, then units parallel to the -axis. Drawing a box (rectangular prism) with one corner at and the opposite corner at makes the picture much easier to read.
Points and vectors
Section titled “Points and vectors”Just as in two dimensions, the point has position vector
and any vector equal to it is also . (Some books write or , and IB courses write it as a column, .) The same three numbers describe both a point and a vector; the brackets tell you which one is meant.
Unit vectors i, j and k
Section titled “Unit vectors i, j and k”The standard unit vectors in three-space are
and every vector is a linear combination of them: . For example, .
Magnitude and distance
Section titled “Magnitude and distance”Applying the Pythagorean theorem twice (once across the floor of the box, once up the height) gives
For points and , the vector between them is still “head minus tail”, and its magnitude is the distance :
Operations in component form
Section titled “Operations in component form”Add, subtract and multiply by scalars component by component, exactly as in 2-D:
All the properties of addition and scalar multiplication still hold. Two non-zero vectors are collinear when one is a scalar multiple of the other, and points , , are collinear when for some scalar . The midpoint of is .
Points on the line through two points
Section titled “Points on the line through two points”A point is on the line through and exactly when for some scalar . Adding to gives the coordinates of :
The value of tells you where is: gives , gives , gives the midpoint, values between and are between and , and or are beyond or behind .
To find where the line crosses a coordinate plane, set that plane’s coordinate to (for example for the -plane), solve for , and substitute back. You’ll turn this idea into full equations of lines in lines in 3-space.
3-D graphing software (such as GeoGebra 3D) is a great way to check a sketch, but everything on this page can be done by hand.
Worked examples
Section titled “Worked examples”Example 1: Locating points
Section titled “Example 1: Locating points”Describe where each point is, and sketch .
- (a)
- (b)
- (c)
Solution.
(a) Two coordinates are zero, so is on an axis: the negative -axis, units below the origin.
(b) , so is in the -plane.
(c) , so is in the -plane.
To sketch : mark on the -axis, move units parallel to the -axis to reach in the -plane, then go up units. Completing the box, as in the figure above, shows clearly where is.
Example 2: Magnitude and unit vector
Section titled “Example 2: Magnitude and unit vector”Let . Find , write in form, and find the unit vector in the direction of .
Solution.
. The unit vector is
Check: . ✓
Example 3: Distance and midpoint
Section titled “Example 3: Distance and midpoint”For and , find , the distance , and the midpoint of .
Solution. Head minus tail:
Midpoint: .
Example 4: Operations and collinearity
Section titled “Example 4: Operations and collinearity”- (a) For and , find .
- (b) Are the points , and collinear?
Solution.
(a)
(b) Find two vectors that share the point :
Compare components: . So . The vectors are parallel and share , so , and are collinear. (In fact is times as far from as is.)
Common mistakes
Section titled “Common mistakes”Drawing a left-handed system. If you put to the right and out of the page with up, the system is left-handed. Use the right-hand rule: fingers from to , thumb along .
Mixing up “on an axis” and “in a plane”. A point with one zero coordinate is in a coordinate plane (for example is in the -plane). A point with two zero coordinates is on an axis.
Forgetting the third component. is , not . Every formula from 2-D gets one extra term.
Subtracting in the wrong order, or mixing orders between components. is in every component. Writing but gives a vector that’s neither nor .
Checking only two components for collinearity. All three ratios must agree. and have matching first two ratios, but they aren’t collinear because .
Confusing a point with its position vector. is a location; is the arrow from the origin to it. You can add vectors, but adding points doesn’t mean anything on its own.
Practice
Section titled “Practice”1. (Warm-up) State whether each point is on an axis (which one?) or in a coordinate plane (which one?).
- (a)
- (b)
- (c)
Solution
(a) On the -axis (two coordinates are zero).
(b) In the -plane ().
(c) In the -plane ().
2. (Warm-up) Find the magnitude of each vector.
- (a)
- (b)
- (c)
Solution
(a) .
(b) .
(c) .
3. (Core) Let and . Find:
- (a)
- (b)
- (c)
Solution
(a) .
(b) .
(c) , so .
4. (Core) Find the distance between and .
Solution
, so
5. (Core) Let .
- (a) Find the unit vector in the direction of .
- (b) Find the vector of magnitude in the direction opposite to .
Solution
(a) , so the unit vector is .
(b) Multiply the unit vector by : . (That’s .) Check: . ✓
6. (Core) Find and so that and are collinear.
Solution
We need . The third components give , so .
Then , and , so .
Check: . ✓
7. (Core) A drone’s position is measured from its launch pad, with east, north and up, in metres. It flies in a straight line from to . Find its displacement vector and how far it flew, to one decimal place.
Solution
So the drone moved m west, m north, and m up. The distance is
8. (Core) Let and .
- (a) Find the point one-quarter of the way from to .
- (b) Find the point where the line through and crosses the -plane. Is it between and ?
Solution
, so a point on the line is .
(a) : .
(b) The -plane has : , so . The point is .
Since , the point is beyond , not between and . Check: ✓.
9. (Challenge) Show that the triangle with vertices , and is a right isosceles triangle, and find its perimeter.
Solution
, so the triangle is isosceles. Also , so by the converse of the Pythagorean theorem the angle at is a right angle.
Perimeter: .
10. (Challenge) Find the point on the -axis that is the same distance from as from .
Solution
A point on the -axis has the form . Set (squaring avoids square roots):
The point is . Check: and . ✓
Homework
Section titled “Homework”Try these independently after the practice questions. Show your setup and explain your reasoning. Use exact answers where possible, and check that your answers fit the question. Homework solutions are not provided on the published site.
When a square root isn’t a whole number, give the exact answer and a decimal rounded to two places (unless the question asks for something else).
Foundations
Section titled “Foundations”H1. (Foundations) Describe where each point is: on an axis (which one, and on which side of the origin?), in a coordinate plane (which one?), or in none of these.
- (a)
- (b)
- (c)
- (d) Sketch using a box. Give the coordinates of the corner of the box that lies directly below in the -plane.
H2. (Foundations)
- (a) Write in form and find .
- (b) Find the unit vector in the direction of , and check that its magnitude is .
- (c) Find .
H3. (Core) Let and .
- (a) Find .
- (b) Find .
- (c) Solve for the vector : . Check your answer by substituting it back.
H4. (Core) Consider the points , and .
- (a) Show that , and are collinear.
- (b) Is the midpoint of ? Explain using the midpoint formula.
- (c) Is the point on the same line? Explain.
- (d) The line through and crosses the -plane at a point . Find . (Hint: for some scalar , and has .)
H5. (Core) A tethered weather balloon’s position is measured from its winch at the origin, with east, north and up, in metres. It rises in a straight line from the winch to , then drifts straight to .
- (a) How far is from the winch, to one decimal place?
- (b) Find , describe it in words (east/west, north/south, up/down), and find the distance from to .
- (c) Suppose (hypothetically) the balloon’s tether is m long. Could the balloon actually reach point ? Show your calculation.
H6. (Core) A classroom is a rectangular box m long, m wide and m high. Place one floor corner at the origin, with the length along the -axis, the width along the -axis, and the height along the -axis.
- (a) Give the coordinates of the ceiling corner opposite the origin, and find the length of the room’s diagonal from the origin to that corner, to the nearest centimetre.
- (b) A light hangs from the centre of the ceiling. Give its coordinates, and find the length of a straight wire from the origin corner to the light, to the nearest centimetre.
Challenge
Section titled “Challenge”H7. (Challenge) Let .
- (a) Find all points on the -axis that are units from .
- (b) Explain why your answer to (a) has more than one point.
- (c) For which distance is there exactly one point on the -axis at distance from ? For which values of are there none? Explain.
H8. (Challenge) Use side lengths only (no angle measuring) for each part.
- (a) Show that the triangle with vertices , and is isosceles but not right-angled.
- (b) Show that the triangle with vertices , and is right-angled but not isosceles. State which vertex has the right angle, and find the area of the triangle.
H9. (Challenge) is a parallelogram with its vertices in that order around the shape. Three vertices are , and .
- (a) Find the coordinates of . Explain which pair of equal vectors you used.
- (b) Check your answer by showing that the diagonals and have the same midpoint.
- (c) Find the perimeter of the parallelogram.
H10. (Challenge) Noor is asked for the distance between and . She writes:
Answer these:
- (a) Explain Noor’s mistake.
- (b) Find the correct distance , and the unit vector in the direction of .
- (c) Explain why the correct distance can never be smaller than Noor’s value, for any two points. When would her method happen to give the right answer?