DP Math AI · HL / SL · Geometry and Trigonometry

SL 3.1—3d space, volume, angles, midpoints

Get started
Notes

Introduction to 3D Coordinate Space

In 2D, every point is located using two coordinates (x,y). In three-dimensional space, we add a third axis , the z-axis , perpendicular to both the x- and y-axes. Every point in 3D space is then described by an ordered triple (x,y,z).

Ordered Triple: A set of three numbers (x,y,z) that uniquely identifies the position of a point in 3D space. The x- and y-values describe horizontal position (as in 2D), while the z-value describes height or depth.

Think of the corner of a room: the floor gives you x and y, and the height up the wall gives you z. Any point in that room can be reached by moving along all three axes.

Note

The three axes are mutually perpendicular. The origin (0,0,0) is the point where all three axes meet. Positive z is typically "upward" or "out of the page" depending on orientation.

Distance Between Two Points in 3D Space

The distance formula in 3D is a direct extension of the 2D Pythagorean theorem , we simply include the difference in the z-coordinates as well.

3D Distance Formula: The distance d between two points (x1​,y1​,z1​) and (x2​,y2​,z2​) in 3D space is:
d=(x2​−x1​)2+(y2​−y1​)2+(z2​−z1​)2​

The logic: moving from point 1 to point 2, you travel Δx in the x-direction, Δy in the y-direction, and Δz in the z-direction. The straight-line distance is the diagonal of the 3D rectangular box formed by these three steps , found using the Pythagorean theorem applied twice.

Analogy

In 2D, the distance formula finds the hypotenuse of a right triangle. In 3D, it finds the long diagonal of a rectangular box , just one extra step of Pythagoras!

Example

Calculate the distance between A(1,2,3) and B(4,6,8).

Step 1: Identify the coordinate differences.
Δx=4−1=3,Δy=6−2=4,Δz=8−3=5

Step 2: Apply the formula.
d=32+42+52​=9+16+25​=50​=52​

The distance between A and B is 52​≈7.07 units.

Common Mistake

Students often forget to square each difference individually before adding. Make sure you compute (x2​−x1​)2, not x22​−x12​ , these are not the same thing!

Free preview

9 more sections in this topic

Next topic →SL 3.2—2d and 3d trig
Koncepts

Learn it properly. Then practise like it's the real paper.

Start free

Features

  • Lessons
  • Past papers
  • Library
  • Homework Help
  • Duels

More

  • For parents
  • Compare
  • Plans & pricing
  • DP for students

Legal

  • Privacy
  • Terms
  • Account deletion

© 2026 Koncepts (product of PrepAiro, Inc). All rights reserved.
DP, IB, EE and TOK are terms of the International Baccalaureate Organization.

Made for IB DP students.