Study Guide

2D Coordinate Geometry

IB Mathematics: Analysis and Approaches HLΒ· Unit 3: Geometry & TrigonometryΒ· 15 min read

1. Distance and Midpoint Formulasβ˜…β˜†β˜†β˜†β˜†β± 5 min

Any point on the 2D coordinate plane is described by an ordered pair , where is the horizontal coordinate and is the vertical coordinate. Using Pythagoras' theorem, we can derive the distance between any two points.

πŸ“˜ Definition

Distance and Midpoint

For points ,

Distance: Midpoint:

Example:

Distance between and is 5 units, midpoint is

πŸ“ Worked Example

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

  1. 1

    Label coordinates:

  2. 2

    Substitute into the distance formula:

  3. 3
    d=(4βˆ’(βˆ’2))2+(βˆ’5βˆ’3)2=62+(βˆ’8)2=100=10d = \sqrt{(4 - (-2))^2 + (-5 - 3)^2} = \sqrt{6^2 + (-8)^2} = \sqrt{100} = 10
  4. 4

    Substitute into the midpoint formula:

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

    Final result: distance is 10 units, midpoint is

Exam tip:

Always double check negative signs when subtracting coordinates, this is the most common error in this topic.

2. Straight Line Equationsβ˜…β˜…β˜†β˜†β˜†β± 6 min

A straight line is a set of points that satisfy a linear relationship between and . Its gradient (slope) describes steepness, and lines can be written in three common forms, all accepted in IB exams unless specified otherwise.

πŸ“˜ Definition

Parallel and Perpendicular Lines

Parallel lines never intersect and have equal gradients: . Perpendicular lines intersect at and their gradients multiply to : .

Common line forms: 1. Gradient-intercept: ( = y-intercept), 2. Point-gradient: , 3. General: .

πŸ“ Worked Example

Find the equation of the line that passes through and is perpendicular to . Write your answer in general form.

  1. 1

    Rearrange the given line to find its gradient:

  2. 2
    2x+4yβˆ’5=0β€…β€ŠβŸΉβ€…β€Šy=βˆ’12x+542x + 4y - 5 = 0 \implies y = -\frac{1}{2}x + \frac{5}{4}
  3. 3

    Gradient of given line is . For perpendicular lines, find the required gradient:

  4. 4
    βˆ’12m=βˆ’1β€…β€ŠβŸΉβ€…β€Šm=2-\frac{1}{2}m = -1 \implies m = 2
  5. 5

    Use point-gradient form with the given point:

  6. 6
    yβˆ’(βˆ’2)=2(xβˆ’3)β€…β€ŠβŸΉβ€…β€Šy+2=2xβˆ’6y - (-2) = 2(x - 3) \implies y + 2 = 2x - 6
  7. 7

    Rearrange to general form:

  8. 8
    2xβˆ’yβˆ’8=02x - y - 8 = 0

Exam tip:

If the question asks for a specific form (e.g. general form), always give your answer in that form to earn full marks.

3. Intersections and Angle Between Two Linesβ˜…β˜…β˜…β˜†β˜†β± 7 min

Two distinct lines are either parallel (no intersection) or intersect at exactly one point. The intersection point satisfies both line equations, so we solve the system of linear equations to find its coordinates.

The acute angle between two lines with gradients and is calculated using the formula derived from the tangent compound angle identity:

tan⁑θ=∣m2βˆ’m11+m1m2∣,0βˆ˜β‰€ΞΈβ‰€90∘\tan\theta = \left|\frac{m_2 - m_1}{1 + m_1 m_2}\right|, \quad 0^\circ \leq \theta \leq 90^\circ
πŸ“ Worked Example

Find the acute angle between the lines and .

  1. 1

    Identify the gradients from the equations: ,

  2. 2

    Substitute into the angle formula:

  3. 3
    tan⁑θ=βˆ£βˆ’1βˆ’31+(3)(βˆ’1)∣=βˆ£βˆ’4βˆ’2∣=2\tan\theta = \left|\frac{-1 - 3}{1 + (3)(-1)}\right| = \left|\frac{-4}{-2}\right| = 2
  4. 4

    Calculate using arctangent:

  5. 5
    ΞΈ=arctan⁑(2)β‰ˆ63.4∘\theta = \arctan(2) \approx 63.4^\circ
  6. 6

    This is already acute, so it is the required angle.

βœ“ Quick check

Test your understanding:

  1. What is the angle between two perpendicular lines?

    • 30Β°

    • 45Β°

    • 90Β°

    • 180Β°

    Reveal answer
    2 β€”

    Perpendicular lines are defined as lines that intersect at a right angle (90Β°), which is consistent with the angle formula that gives undefined , corresponding to 90Β°.

4. Equations of Circlesβ˜…β˜…β˜…β˜†β˜†β± 6 min

A circle is defined as all points that are a fixed distance (radius ) from a fixed center point . We can derive the standard equation from the distance formula directly.

πŸ“˜ Definition

Circle Equation Forms

Center , radius

Standard form: . General form: , where center is and radius is .

πŸ“ Worked Example

Find the center and radius of the circle with equation .

  1. 1

    Group and terms, move the constant to the right-hand side:

  2. 2
    (x2βˆ’4x)+(y2+6y)=12(x^2 - 4x) + (y^2 + 6y) = 12
  3. 3

    Complete the square for both variables:

  4. 4
    (xβˆ’2)2βˆ’4+(y+3)2βˆ’9=12(x - 2)^2 - 4 + (y + 3)^2 - 9 = 12
  5. 5

    Simplify to get standard form:

  6. 6
    (xβˆ’2)2+(y+3)2=25(x - 2)^2 + (y + 3)^2 = 25
  7. 7

    Compare to standard form to get center and radius:

  8. 8

    Center = , Radius =

Exam tip:

The tangent to a circle is always perpendicular to the radius at the point of contact. This is the key property used for all tangent to circle exam questions.

5. Common Pitfalls

Wrong move:

Writing for a circle with center

Why:

Signs are flipped when moving from center coordinates to the standard equation

Correct move:

For center , use . A center at becomes

Wrong move:

Trying to use for a horizontal (gradient 0) line to find its perpendicular

Why:

This leads to division by zero, which is undefined

Correct move:

A horizontal line () has a vertical perpendicular (), and vice versa. Do not use the gradient product rule for these cases.

Wrong move:

Taking both positive and negative roots when calculating distance or radius

Why:

Distance and radius are scalar quantities, they are always positive

Correct move:

Only take the positive square root when calculating distance, radius or length of any segment.

Wrong move:

Leaving the negative result from the angle formula calculation, leading to an obtuse angle

Why:

The formula always requires an absolute value to get the acute angle between two lines, which is what exams ask for

Correct move:

Always take the absolute value of the fraction before calculating to get an angle between 0Β° and 90Β°.

6. Quick Reference Cheatsheet

Concept

Formula

Distance between

Midpoint of segment

Gradient of line

Parallel lines

Perpendicular lines

Circle (center , radius )

Acute angle between two lines

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 circle

  • 2024 Β· 2

    Angle between two lines

  • 2023 Β· 1

    Equation of tangent to circle

Going deeper

What's Next

2D coordinate geometry is the foundation for all higher geometry topics in IB AA HL, including 3D coordinate geometry, 2D and 3D vectors, and conic sections. Mastering the basic formulas and problem solving patterns here will make it much easier to solve more complex problems involving intersections, tangents, and distances in higher dimensions. Many IB exam problems combine 2D coordinate geometry with calculus (for finding tangents to curves) and trigonometry, so a solid understanding of this topic is essential to achieve a high overall grade.