Study Guide

3D coordinate geometry

IB Mathematics: Analysis and Approaches HLΒ· Topic 3.7 3D coordinate geometryΒ· 15 min read

1. Core Concepts & Basic Formulasβ˜…β˜…β˜†β˜†β˜†β± 3 min

In 3D coordinate geometry, any point is represented by an ordered triple along three mutually perpendicular x, y, z axes that intersect at the origin . Most 2D coordinate geometry formulas extend naturally to 3D by adding a third coordinate term.

πŸ“˜ Definition

Distance between two points

For and

The straight-line distance between two points, derived from Pythagoras' theorem extended to 3D.

d=(x2βˆ’x1)2+(y2βˆ’y1)2+(z2βˆ’z1)2d = \sqrt{(x_2-x_1)^2 + (y_2-y_1)^2 + (z_2-z_1)^2}
πŸ“˜ Definition

Midpoint of a line segment

The midpoint is the average of each coordinate of the two endpoints.

M(x1+x22,y1+y22,z1+z22)M\left(\frac{x_1+x_2}{2}, \frac{y_1+y_2}{2}, \frac{z_1+z_2}{2}\right)
πŸ“ Worked Example

Find the distance between and , and the midpoint of segment .

  1. 1

    Identify coordinates and calculate differences:

  2. 2
    Ξ”x=4βˆ’1=3,Ξ”y=βˆ’2βˆ’2=βˆ’4,Ξ”z=1βˆ’(βˆ’3)=4\Delta x = 4-1=3, \Delta y = -2-2=-4, \Delta z = 1 - (-3)=4
  3. 3

    Substitute into the distance formula:

  4. 4
    d=32+(βˆ’4)2+42=9+16+16=41β‰ˆ6.40d = \sqrt{3^2 + (-4)^2 + 4^2} = \sqrt{9+16+16} = \sqrt{41} \approx 6.40
  5. 5

    Calculate midpoint by averaging coordinates:

  6. 6
    M(1+42,2+(βˆ’2)2,βˆ’3+12)=(2.5,0,βˆ’1)M\left(\frac{1+4}{2}, \frac{2+(-2)}{2}, \frac{-3+1}{2}\right) = (2.5, 0, -1)

Exam tip:

Always double-check the sign of coordinates when calculating differences, especially for negative values.

2. Equations of Lines and Planesβ˜…β˜…β˜…β˜†β˜†β± 5 min

We can represent lines and planes in 3D space using both vector and Cartesian forms, both of which are commonly used in IB exams.

πŸ“˜ Definition

Vector equation of a line

A line through point (position vector ) with direction vector is written as:

rβƒ—=aβƒ—+tdβƒ—,t∈R\vec{r} = \vec{a} + t\vec{d}, \quad t \in \mathbb{R}
πŸ“˜ Definition

Cartesian equation of a plane

A plane with normal vector and constant is written as:

nxx+nyy+nzz=dn_x x + n_y y + n_z z = d
πŸ“ Worked Example

Find the Cartesian equation of the plane that contains the point and has normal vector .

  1. 1

    We use the form , with .

  2. 2

    Substitute the point into the equation to solve for :

  3. 3
    d=(3)(2)+(βˆ’1)(0)+(2)(βˆ’1)=6βˆ’2=4d = (3)(2) + (-1)(0) + (2)(-1) = 6 - 2 = 4
  4. 4

    Write the final equation:

  5. 5
    3xβˆ’y+2z=43x - y + 2z = 4

Exam tip:

If given three points on a plane, calculate two direction vectors in the plane, then take their cross product to get the normal vector before finding the equation.

3. Intersections and Anglesβ˜…β˜…β˜…β˜…β˜†β± 4 min

A common exam question asks for the intersection of a line and a plane, or the angle between two lines, two planes, or a line and a plane. To find an intersection, substitute the parametric equation of the line into the plane equation and solve for the parameter .

πŸ“ Worked Example

Find the intersection point of the line and the plane .

  1. 1

    Write parametric coordinates from the line equation: .

  2. 2

    Substitute into the plane equation:

  3. 3
    (1+t)+2(2βˆ’t)βˆ’(3+t)=4(1+t) + 2(2-t) - (3+t) = 4
  4. 4

    Simplify and solve for :

  5. 5
    2βˆ’2t=4β€…β€ŠβŸΉβ€…β€Št=βˆ’12 - 2t = 4 \implies t = -1
  6. 6

    Substitute back to get coordinates:

  7. 7
    x=0,y=3,z=2β€…β€ŠβŸΉβ€…β€ŠIntersection: (0,3,2)x=0, y=3, z=2 \implies \text{Intersection: } (0, 3, 2)

For angles, the angle between two geometric objects equals the angle between their relevant vectors (normals for planes, direction vectors for lines), calculated using the dot product formula: .

4. Shortest Distance Calculationsβ˜…β˜…β˜…β˜…β˜†β± 3 min

The most frequently tested distance calculation is the shortest distance from a point to a plane. The formula for distance from point to plane is:

D=∣ax0+by0+cz0+d∣a2+b2+c2D = \frac{|ax_0 + by_0 + cz_0 + d|}{\sqrt{a^2 + b^2 + c^2}}
πŸ“ Worked Example

Find the shortest distance from to the plane .

  1. 1

    Identify values: .

  2. 2

    Calculate the absolute value of the numerator:

  3. 3
    ∣2(1)βˆ’1(1)+3(2)βˆ’8∣=βˆ£βˆ’1∣=1|2(1) - 1(1) + 3(2) - 8| = |-1| = 1
  4. 4

    Calculate the denominator:

  5. 5
    22+(βˆ’1)2+32=14\sqrt{2^2 + (-1)^2 + 3^2} = \sqrt{14}
  6. 6

    Final distance:

  7. 7
    D=114=1414β‰ˆ0.267D = \frac{1}{\sqrt{14}} = \frac{\sqrt{14}}{14} \approx 0.267

5. Common Pitfalls

Wrong move:

Dividing by zero when writing Cartesian line equations if a direction vector component is zero

Why:

If a direction vector component is zero, the corresponding coordinate is constant, so division by zero is undefined

Correct move:

Write the coordinate as a constant, e.g. if , add to the equation instead of dividing

Wrong move:

Using direction vectors instead of normal vectors to calculate the angle between two planes

Why:

The angle between two planes is defined as the angle between their normals, not direction vectors in the planes

Correct move:

Always use the normal vectors of both planes when calculating the angle between two planes

Wrong move:

Dropping the absolute value in the distance from point to plane formula

Why:

The numerator can be negative, leading to a negative distance which is incorrect and loses marks

Correct move:

Always keep the absolute value around the numerator to ensure a positive distance

Wrong move:

Assuming all non-parallel lines in 3D must intersect

Why:

Unlike 2D, 3D space allows skew lines: non-parallel lines that never intersect

Correct move:

Always check for a consistent solution when finding intersections; no solution means lines are skew

6. Quick Reference Cheatsheet

Concept

Formula

Distance between 2 points

Midpoint

Vector line equation

Plane (Cartesian form)

Distance from point to plane

Angle between vectors

7. Frequently Asked

Do I need to memorize the distance from a point to a plane formula?

Yes, this formula is not included in the IB formula booklet, so you must memorize it for exams.

When this came up on past exams

AI-estimated based on syllabus patterns β€” cross-check with official past papers for accuracy. Use only as revision-focus signals.

  • 2025 Β· 1

    Intersection of line and plane

  • 2024 Β· 2

    Distance from point to plane

  • 2023 Β· 1

    Angle between two planes

Going deeper

  • referenceIB AA HL Formula BookletBasic vector formulas are provided here, distance from point to plane is not

What's Next

Mastering 3D coordinate geometry is essential for solving multi-part vector questions that frequently appear as extended response questions in both IB AA HL Paper 1 and Paper 2. This topic is almost always combined with vector algebra concepts like cross product to create complex problems that test multiple skills. A solid foundation here also prepares you for further study of 3D transformations, volumes of revolution, and vector calculus at university level. Use the links below to build on the concepts you learned here.