Open Mathhh

Three-dimensional coordinates

Vectors · worksheets 41 to 50 · 3 min read

I can

  • find the distance between two points in space
  • find the midpoint of two points
  • reflect a point and find the foot of a perpendicular

Key idea

A point in space has three coordinates (x, y, z).

The distance between A and B is the square root of (difference in x)² + (difference in y)² + (difference in z)². The midpoint is the average of each coordinate.

Reflections change signs:

  • in the x-axis: y and z change sign
  • in the y-axis: x and z change sign
  • in the z-axis: x and y change sign
  • in the origin: all three change sign
  • in a plane such as the yz-plane: only the coordinate that is zero on that plane changes sign (x for the yz-plane)

The foot of the perpendicular from P to a plane keeps two coordinates and makes the third 0. For the xy-plane, z becomes 0.

Worked examples

Example 1: Find the distance AB where A(1, 2, 3) and B(5, −2, 5).

Watch it: the distance AB where A(1, 2, 3) and B(5, −2, 5), step by step:

  1. Subtract the coordinates: 5 − 1, −2 − 2 and 5 − 3.
  2. Square each difference: 16, 16 and 4. Add them.
  3. The square root of 36 is 6.
  4. The distance is 6.
  5. A and B joined by a straight line of length 6.
  1. Differences: 4, −4, 2.
  2. Squares: 16 + 16 + 4 = 36.
  3. The square root of 36 is 6.

AB = 6

Example 2: Find the midpoint of A(2, −4, 6) and B(8, 0, −2).

Watch it: the midpoint of A(2, −4, 6) and B(8, 0, −2), step by step:

  1. x: (2 + 8) ÷ 2 = 5.
  2. y: (−4 + 0) ÷ 2 = −2.
  3. z: (6 + (−2)) ÷ 2 = 2.
  4. Halfway between A and B.
  5. M is halfway along AB.
  1. x: (2 + 8) ÷ 2 = 5.
  2. y: (−4 + 0) ÷ 2 = −2.
  3. z: (6 + (−2)) ÷ 2 = 2.

The midpoint is (5, −2, 2).

Example 3: Reflect P(3, −2, 4) in the y-axis.

Watch it: reflect P(3, −2, 4) in the y-axis, step by step:

  1. A point on the y-axis does not move.
  2. Reflecting in the y-axis flips the other two coordinates.
  3. x = 3 becomes −3, z = 4 becomes −4.
  4. The image of P is (−3, −2, −4).
  5. P and its mirror image on the other side of the y-axis.
  1. The y-axis keeps y. So y stays −2.
  2. x and z change sign: 3 becomes −3 and 4 becomes −4.

The reflection is (−3, −2, −4).

Try it

Find the distance AB where A(1, 1, 1) and B(3, 3, 2).
Show answer3
Find the distance AB where A(0, 0, 0) and B(2, 3, 6).
Show answer7
Find the midpoint of AB where A(−2, 5, 1) and B(4, 1, 7).
Show answer(1, 3, 4)
Find the reflection of P(5, −3, 2) in the z-axis.
Show answer(-5, 3, 2)
Find the reflection of P(2, −1, 6) in the yz-plane.
Show answer(-2, -1, 6)
Find the foot of the perpendicular from P(−1, 4, −6) to the xy-plane.
Show answer(-1, 4, 0)

Common mistakes

  • Changing the wrong signs for an axis reflection. The coordinate with the same name as the axis stays the same.
  • Forgetting the z difference when finding a distance.
  • Putting 0 in the wrong place for the foot. For the xy-plane the zero goes in the z place.

Remember

  • Distance: square the three differences, add, take the square root.
  • Midpoint: average each coordinate.
  • The foot of the perpendicular makes one coordinate 0.

Practise this

Worksheets 41 to 50 of Vectors practise this note. Sign in to Mathhh, write your answers by hand and see your marks straight away.

Open Mathhh

More Vectors notes

Keep learning

All Vectors notes · All study notes