Study Guide

2D and 3D coordinate geometry

IB Mathematics: Analysis and Approaches SLΒ· 6 min read

1. Core Formulas for 2D and 3D Coordinatesβ˜…β˜…β˜†β˜†β˜†β± 15 min

All core coordinate geometry concepts extend naturally from 2D to 3D by adding a third perpendicular axis, the -axis. Every point in 3D space is represented by three coordinates , compared to two coordinates in 2D.

πŸ“˜ Definition

Distance between two points

The straight-line distance between two points is an extension of Pythagoras' theorem, adding an extra term for the -coordinate difference in 3D.

Example:

Distance from to is

πŸ“ Worked Example

Find the distance between and , and the coordinates of their midpoint.

  1. 1

    Recall the 3D distance formula:

  2. 2
    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}
  3. 3

    Substitute the coordinates of the two points:

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

    Simplify to get the final distance:

  6. 6
    d=25+9+4=38β‰ˆ6.16d = \sqrt{25 + 9 + 4} = \sqrt{38} \approx 6.16
  7. 7

    The midpoint is the average of each coordinate, so:

  8. 8
    M=(2+(βˆ’3)2,βˆ’1+22,4+62)=(βˆ’0.5,0.5,5)M = \left(\frac{2 + (-3)}{2}, \frac{-1 + 2}{2}, \frac{4 + 6}{2}\right) = (-0.5, 0.5, 5)

2. Equations of Lines in 2D and 3Dβ˜…β˜…β˜…β˜†β˜†β± 20 min

Lines can be expressed in multiple forms. In 2D, the common form is , but this does not work for 3D lines. All lines in both 2D and 3D can be written in vector form.

πŸ“˜ Definition

Vector equation of a line

A line passing through a point with position vector in the direction of direction vector is given by , where is a scalar parameter.

πŸ“ Worked Example

Find the vector equation of the line passing through and .

  1. 1

    Calculate the direction vector by subtracting the position vectors of the two points:

  2. 2
    d=(4βˆ’1,βˆ’1βˆ’3,1βˆ’(βˆ’2))=(3,βˆ’4,3)\mathbf{d} = (4 - 1, -1 - 3, 1 - (-2)) = (3, -4, 3)
  3. 3

    Choose the first point as the position vector :

  4. 4
    a=(1,3,βˆ’2)\mathbf{a} = (1, 3, -2)
  5. 5

    Substitute into the general vector line equation:

  6. 6
    r=(13βˆ’2)+t(3βˆ’43),t∈R\mathbf{r} = \begin{pmatrix}1 \\ 3 \\ -2\end{pmatrix} + t\begin{pmatrix}3 \\ -4 \\ 3\end{pmatrix}, \quad t \in \mathbb{R}

3. Equations of Planes in 3Dβ˜…β˜…β˜…β˜…β˜†β± 20 min

A plane is a flat 2D surface extending infinitely through 3D space. It is most commonly written in scalar product form or Cartesian form for exam problems.

πŸ“˜ Definition

Scalar product form of a plane

A plane with normal vector (perpendicular to the plane) passing through a point with position vector is given by , where is a constant.

πŸ“ Worked Example

Find the Cartesian equation of the plane passing through with normal vector .

  1. 1

    Start with the scalar product form :

  2. 2

    Calculate by substituting the given point into the equation:

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

    Let to get the Cartesian form:

  5. 5
    3xβˆ’y+4z=103x - y + 4z = 10

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

Common exam problems ask for the intersection of a line and a plane, and the angle between two lines or between a line and a plane. Both problems rely on substitution and the scalar product formula.

πŸ“ Worked Example

Find the intersection point of the line and the plane .

  1. 1

    Write the parametric coordinates of the line: , ,

  2. 2

    Substitute these into the plane equation:

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

    Expand and solve for :

  5. 5
    3+9tβˆ’3+4tβˆ’8+12t=10β€…β€ŠβŸΉβ€…β€Š25t=18β€…β€ŠβŸΉβ€…β€Št=18253 + 9t - 3 + 4t - 8 + 12t = 10 \implies 25t = 18 \implies t = \frac{18}{25}
  6. 6

    Substitute back to get the intersection point:

  7. 7
    (7925,325,425)=(3.16,0.12,0.16)\left(\frac{79}{25}, \frac{3}{25}, \frac{4}{25}\right) = (3.16, 0.12, 0.16)

5. Common Pitfalls

Wrong move:

Omitting the -coordinate term when calculating distance in 3D

Why:

Students often forget to extend the 2D distance formula to 3D, leading to incorrect results

Correct move:

Always add the term when calculating distance between two 3D points

Wrong move:

Using a point on the line as the direction vector, instead of subtracting points

Why:

Students often confuse the coordinates of the second point with the direction vector for a line through two points

Correct move:

Always calculate direction vector as for a line through two points

Wrong move:

Using the same parameter for two lines when checking for intersection

Why:

Parameters are independent for each line, so forcing to be the same leads to incorrectly concluding lines are skew

Correct move:

Use different parameters (e.g. for line 1, for line 2) when solving for intersection of two lines

Wrong move:

Using for the angle between a line and plane

Why:

The angle between the direction vector and normal is the complement of the required angle

Correct move:

Use for the angle between a line and plane

6. Quick Reference Cheatsheet

Concept

2D Formula

3D Formula

Distance between two points

Midpoint of two points

Line equation

or

Plane equation

Not applicable

,

Angle between two lines

Angle between line and plane

Not applicable

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.

  • 2022 Β· 1

    3D line intersection problem

  • 2023 Β· 2

    Distance from point to plane calculation

What's Next

2D and 3D coordinate geometry is the foundation for all geometric problem solving in IB AA SL. This topic is heavily linked to vector operations, which you use constantly to write equations and solve intersection problems. Mastery of these core formulas and methods is critical, as coordinate geometry appears in both Paper 1 and Paper 2, often combined with trigonometry or calculus to create multi-part exam questions. After mastering this sub-topic, you will build on this knowledge to solve more advanced problems including distances from points to lines and planes, and applications of coordinate geometry to real-world modelling problems.