Math graphic
πŸ“ Concept diagram

01-04 - Coordinate Geometry (2D)

Phase: 1 | Subject: 01-04 Prerequisites: 01-02-linear-equations.md, 01-03-linear-inequalities.md Next subject: 01-05-linear-functions.md


Learning Objectives

By the end of this subject, you will be able to:

  1. Plot points and interpret coordinates on the Cartesian plane
  2. Calculate the distance between any two points using the distance formula
  3. Find the midpoint of a line segment using the midpoint formula
  4. Calculate the gradient (slope) of a line from two points
  5. Understand the sign and magnitude of gradient

Core Content

The Cartesian Plane

RenΓ© Descartes invented this system in the 1600s. It links algebra (equations) with geometry (shapes) by using two perpendicular number lines:

$         y
         |
    II   |   I
         |
---------+--------- x
         |
    III  |   IV
         |
$

A point is written as (x, y): - x-coordinate (horizontal position): positive = right, negative = left - y-coordinate (vertical position): positive = up, negative = down

Plotting Points

Example: Plot (3, 2), (-1, 4), (2, -3), (-2, -1)

Start at origin (0, 0): - (3, 2): right 3, up 2 - (-1, 4): left 1, up 4 - (2, -3): right 2, down 3 - (-2, -1): left 2, down 1

Distance Between Two Points

Given points A(x₁, y₁) and B(xβ‚‚, yβ‚‚), the distance d comes from Pythagoras' theorem:

$d = √[(xβ‚‚ - x₁)Β² + (yβ‚‚ - y₁)Β²]
$

Why this works: Imagine a right triangle where AB is the hypotenuse. The horizontal leg has length |xβ‚‚ - x₁| and the vertical leg has length |yβ‚‚ - y₁|. By Pythagoras: dΒ² = (xβ‚‚ - x₁)Β² + (yβ‚‚ - y₁)Β²

Example: Distance between (2, 3) and (6, 8)

  1. x₁ = 2, y₁ = 3, xβ‚‚ = 6, yβ‚‚ = 8
  2. d = √[(6 - 2)² + (8 - 3)²]
  3. d = √[4² + 5²]
  4. d = √[16 + 25]
  5. d = √41 β‰ˆ 6.40

Midpoint Formula

The midpoint M of segment AB has coordinates that are the AVERAGE of the endpoints:

$M = ((x₁ + xβ‚‚)/2, (y₁ + yβ‚‚)/2)
$

Example: Midpoint of (1, 4) and (7, 10)

  1. x-coordinate: (1 + 7)/2 = 4
  2. y-coordinate: (4 + 10)/2 = 7
  3. Midpoint: (4, 7)

Check: (4, 7) is exactly halfway. Distance to (1, 4): √[(4-1)Β² + (7-4)Β²] = √[9+9] = √18. Distance to (7, 10): √[(7-4)Β² + (10-7)Β²] = √[9+9] = √18. Equal! βœ“

Gradient (Slope)

⚠️ THIS IS CRITICAL β€” gradient is the foundation of all rate-of-change thinking. In calculus, the gradient formula (yβ‚‚-y₁)/(xβ‚‚-x₁) becomes the derivative. Understanding gradient now will make calculus much easier later.

Gradient measures how steep a line is. It's the "rise over run":

$m = (yβ‚‚ - y₁) / (xβ‚‚ - x₁)
$

Positive gradient: line goes UP from left to right (uphill) Negative gradient: line goes DOWN from left to right (downhill) Zero gradient: horizontal line (flat) Undefined gradient: vertical line (straight up)

Example: Gradient from (1, 2) to (5, 10)

  1. Rise: 10 - 2 = 8
  2. Run: 5 - 1 = 4
  3. m = 8/4 = 2

This means for every 1 unit right, we go 2 units up.

Example: Gradient from (3, 7) to (6, 1)

  1. Rise: 1 - 7 = -6
  2. Run: 6 - 3 = 3
  3. m = -6/3 = -2

This line goes downhill: for every 1 unit right, we go 2 units down.

Important Properties

  1. Parallel lines have the SAME gradient
  2. Perpendicular lines have gradients that are NEGATIVE RECIPROCALS: m₁ Γ— mβ‚‚ = -1
  3. If m₁ = 2, then mβ‚‚ = -1/2
  4. If m₁ = -3/4, then mβ‚‚ = 4/3

Common pitfall β€” vertical lines: A vertical line has equation x = c. Its gradient is UNDEFINED (division by zero: run = 0). You cannot use the gradient formula for vertical lines β€” the formula gives a zero denominator. Similarly, a horizontal line has gradient 0.

Common pitfall β€” distance formula ordering: The distance formula uses (xβ‚‚-x₁)Β² and (yβ‚‚-y₁)Β². Since squaring eliminates the sign, the order of subtraction DOES NOT matter: (xβ‚‚-x₁)Β² = (x₁-xβ‚‚)Β². You can subtract in whichever order gives positive numbers for easier mental math.



Key Terms

Worked Examples

Example 1: Find the distance between (-2, 5) and (4, -1)

  1. x₁ = -2, y₁ = 5, xβ‚‚ = 4, yβ‚‚ = -1
  2. d = √[(4 - (-2))² + (-1 - 5)²]
  3. d = √[6² + (-6)²]
  4. d = √[36 + 36]
  5. d = √72 = √(36 Γ— 2) = 6√2 β‰ˆ 8.49

Example 2: Find the midpoint of (3, -4) and (9, 8)

  1. x-coordinate: (3 + 9)/2 = 6
  2. y-coordinate: (-4 + 8)/2 = 2
  3. Midpoint: (6, 2)

Example 3: Find the gradient of the line through (2, 3) and (5, 11), then determine if it's parallel to the line through (0, 1) and (3, 10)

  1. First line: m = (11 - 3)/(5 - 2) = 8/3
  2. Second line: m = (10 - 1)/(3 - 0) = 9/3 = 3
  3. 8/3 β‰  3, so the lines are NOT parallel


Quiz

Q1: What does the concept of Parallel lines primarily refer to in this subject?

A) A computational error related to Parallel lines B) The definition and application of Parallel lines C) A historical anecdote about Parallel lines D) A visual representation of Parallel lines

Correct: B)

Q2: What is the primary purpose of Perpendicular lines?

A) It replaces all other methods in this domain B) It is primarily a historical notation system C) It is used only in advanced research contexts D) It is used to perpendicular lines in mathematical analysis

Correct: D)

Q3: Which statement about The Cartesian Plane is TRUE?

A) The Cartesian Plane is mentioned only as a historical footnote B) The Cartesian Plane is an advanced topic beyond this subject's scope C) The Cartesian Plane is a fundamental concept covered in this subject D) The Cartesian Plane is not related to this subject

Correct: C)

Q4: Based on the worked examples in this subject, what is the correct result?

A) A different result from a common mistake B) 3. Not parallel. C) An unrelated numerical value D) The inverse of the correct answer

Correct: B)

Q5: How are The Cartesian Plane and Plotting Points related?

A) The Cartesian Plane is a special case of Plotting Points B) The Cartesian Plane and Plotting Points are completely unrelated topics C) The Cartesian Plane and Plotting Points are closely related concepts D) The Cartesian Plane is the inverse of Plotting Points

Correct: C)

Q6: What is a common pitfall when working with Distance Between Two Points?

A) The main error with Distance Between Two Points is using it when it is not needed B) A common mistake is confusing Distance Between Two Points with a similar concept C) Distance Between Two Points has no common misconceptions D) Distance Between Two Points is always computed the same way in all contexts

Correct: B)

Q7: When should you apply Midpoint Formula?

A) Midpoint Formula is not practically useful B) Apply Midpoint Formula to solve problems in this subject's domain C) Avoid Midpoint Formula unless explicitly instructed D) Use Midpoint Formula only in pure mathematics contexts

Correct: B)

Practice Problems

  1. Find the distance between (0, 0) and (3, 4)
    Click for answer

√[(3-0)² + (4-0)²] = √[9+16] = √25 = 5

  1. Find the midpoint of (2, 5) and (8, 9)
    Click for answer

((2+8)/2, (5+9)/2) = (5, 7)

  1. Find the gradient of the line through (1, 2) and (4, 8)
    Click for answer

(8-2)/(4-1) = 6/3 = 2

  1. Find the gradient of the line through (3, 7) and (6, 1)
    Click for answer

(1-7)/(6-3) = -6/3 = -2

  1. Are the lines through (0, 0), (2, 3) and (1, 1), (3, 7) parallel?
    Click for answer

First: 3/2 = 1.5. Second: (7-1)/(3-1) = 6/2 = 3. Not parallel.

  1. Find the distance between (-1, -2) and (3, 4)
    Click for answer

√[(3-(-1))Β² + (4-(-2))Β²] = √[4Β² + 6Β²] = √[16+36] = √52 = 2√13 β‰ˆ 7.21


Summary

Key takeaways:


Pitfalls



Next Steps

Next up: 01-05-linear-functions.md