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.
Distance between two points
For and
The straight-line distance between two points, derived from Pythagoras' theorem extended to 3D.
Midpoint of a line segment
The midpoint is the average of each coordinate of the two endpoints.
Find the distance between and , and the midpoint of segment .
- 1
Identify coordinates and calculate differences:
- 2
- 3
Substitute into the distance formula:
- 4
- 5
Calculate midpoint by averaging coordinates:
- 6
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.
Vector equation of a line
A line through point (position vector ) with direction vector is written as:
Cartesian equation of a plane
A plane with normal vector and constant is written as:
Find the Cartesian equation of the plane that contains the point and has normal vector .
- 1
We use the form , with .
- 2
Substitute the point into the equation to solve for :
- 3
- 4
Write the final equation:
- 5
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 .
Find the intersection point of the line and the plane .
- 1
Write parametric coordinates from the line equation: .
- 2
Substitute into the plane equation:
- 3
- 4
Simplify and solve for :
- 5
- 6
Substitute back to get coordinates:
- 7
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:
Find the shortest distance from to the plane .
- 1
Identify values: .
- 2
Calculate the absolute value of the numerator:
- 3
- 4
Calculate the denominator:
- 5
- 6
Final distance:
- 7
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.
