Maths Concepts illustration
Maths ConceptsGrade 8-10

Coordinate Geometry Explained: Distance Formula, Midpoint & Graphs

✍️By The Practise Ground Team📅24 February 2026⏱️8 min readShare
Coordinate Geometry infographic showing Cartesian plane, distance formula, and midpoint on dark navy background

Coordinate geometry is where algebra meets geometry. Instead of just describing shapes with words or equations, we can plot them on a grid, visualize them, and work with them mathematically.

This skill is crucial for physics (motion graphs), economics (supply-demand curves), engineering (design), and data visualization.

The Coordinate System

The Cartesian Plane

The Cartesian plane (named after René Descartes) consists of:

  • X-axis: Horizontal line
  • Y-axis: Vertical line
  • Origin: Point (0,0) where axes intersect
  • Quadrants: Four regions created by the axes
CODEBLOCK0

Coordinates (x, y)

Every point on the plane is defined by two numbers:

  • x-coordinate: Distance from origin along X-axis (right is positive, left is negative)
  • y-coordinate: Distance from origin along Y-axis (up is positive, down is negative)
  • Example points:
  • (3, 4): 3 units right, 4 units up → Quadrant I
  • (-2, 5): 2 units left, 5 units up → Quadrant II
  • (-3, -4): 3 units left, 4 units down → Quadrant III
  • (5, -2): 5 units right, 2 units down → Quadrant IV
  • Plotting Points

    To plot point (3, 4):

    1. Start at origin (0, 0)
    2. Move 3 units right along X-axis
    3. Move 4 units up parallel to Y-axis
    4. Mark the point
    To plot (-2, -3):
  • Start at origin (0, 0)
  • Move 2 units left along X-axis
  • Move 3 units down parallel to Y-axis
  • Mark the point
  • Practice: Try plotting (4, -3), (-1, 2), (0, 5), (-4, 0)

    Distance Formula

    The distance between two points P(x₁, y₁) and Q(x₂, y₂) is:

    d = √[(x₂ - x₁)² + (y₂ - y₁)²]

    This comes from the Pythagorean theorem!

    Example 1: Find distance between (1, 2) and (4, 6)

  • x₁ = 1, y₁ = 2
  • x₂ = 4, y₂ = 6
  • d = √[(4-1)² + (6-2)²]
  • d = √[3² + 4²]
  • d = √[9 + 16]
  • d = √25
  • d = 5 units
  • Example 2: Find distance between (-3, 2) and (2, -1)

  • d = √[(2-(-3))² + (-1-2)²]
  • d = √[5² + (-3)²]
  • d = √[25 + 9]
  • d = √34
  • d ≈ 5.83 units
  • Application: Maps and Navigation

    On a map with coordinates:

  • City A: (0, 0)
  • City B: (300, 400) [in km]
  • Distance = √[300² + 400²] = √[90,000 + 160,000] = √250,000 = 500 km

    This is the straight-line distance (as the crow flies).

    Midpoint Formula

    The midpoint between two points P(x₁, y₁) and Q(x₂, y₂) is:

    M = [(x₁ + x₂)/2, (y₁ + y₂)/2]

    The midpoint is simply the average of the coordinates!

    Example 1: Find midpoint of (2, 6) and (8, 2)

  • M = [(2+8)/2, (6+2)/2]
  • M = [10/2, 8/2]
  • M = (5, 4)
  • This point (5, 4) is exactly halfway between the two points.

    Example 2: Find midpoint of (-2, 3) and (4, -1)

  • M = [(-2+4)/2, (3+(-1))/2]
  • M = [2/2, 2/2]
  • M = (1, 1)
  • Application: Finding the Center

    If you know the endpoints of a diameter of a circle:

  • Endpoints: A(1, 3) and B(7, 9)
  • Center: [(1+7)/2, (3+9)/2] = (4, 6)
  • Straight Lines: The Equation y = mx + c

    A straight line can be represented as: y = mx + c

    Where:

  • m = slope (steepness of the line)
  • c = y-intercept (where the line crosses the Y-axis)
  • Understanding Slope

    Slope represents how much y changes when x increases by 1.

    m = (y₂ - y₁)/(x₂ - x₁)

    Example 1: Find slope of line through (1, 2) and (3, 6)

  • m = (6 - 2)/(3 - 1)
  • m = 4/2
  • m = 2
  • For every 1 unit right, the line goes 2 units up.

    Example 2: Find slope of line through (2, 5) and (4, 1)

  • m = (1 - 5)/(4 - 2)
  • m = -4/2
  • m = -2
  • Negative slope: line goes down-right.

    Types of Slopes

    Positive slope (m > 0): Line goes up from left to right Zero slope (m = 0): Horizontal line Negative slope (m < 0): Line goes down from left to right Undefined slope: Vertical line

    Finding the Equation of a Line

    Given: Two points (1, 3) and (3, 7)

    Step 1: Find slope

  • m = (7 - 3)/(3 - 1) = 4/2 = 2
  • Step 2: Use y = mx + c and substitute one point

  • Using (1, 3): 3 = 2(1) + c
  • 3 = 2 + c
  • c = 1
  • Step 3: Write equation

  • y = 2x + 1
  • Verification: Check with second point (3, 7)

  • y = 2(3) + 1 = 7 ✓
  • Special Lines

    Parallel Lines

    Lines with the same slope never meet.

    Example: y = 2x + 1 and y = 2x - 3
  • Both have slope m = 2
  • Both are parallel
  • Perpendicular Lines

    If one line has slope m, a perpendicular line has slope -1/m.

    Example:
  • Line 1: y = 2x + 1 (slope = 2)
  • Line 2: y = -1/2 x + 5 (slope = -1/2)
  • They're perpendicular (2 × (-1/2) = -1)
  • Graphing: Bringing It All Together

    To graph a line y = 2x + 1:

  • Find y-intercept: When x = 0, y = 1. Point (0, 1)
  • Use slope: From (0, 1), move right 1, up 2 to get (1, 3)
  • Find another point: From (1, 3), move right 1, up 2 to get (2, 5)
  • Draw the line: Connect these points extending in both directions
  • To graph a circle:

    Equation: (x - h)² + (y - k)² = r²
  • Center: (h, k)
  • Radius: r
  • Example: (x - 2)² + (y + 1)² = 9
  • Center: (2, -1)
  • Radius: 3
  • Plot center, then mark points 3 units away in all directions.

    Real-World Applications

    Physics: Motion Graphs

    Distance vs. Time graph:

  • Horizontal line: object at rest
  • Positive slope: moving in positive direction
  • Negative slope: moving backward
  • Steeper slope: faster motion
  • Economics: Supply and Demand

  • Demand curve: usually negative slope (lower price → higher demand)
  • Supply curve: usually positive slope (higher price → more supply)
  • Intersection: market equilibrium
  • Engineering: Design

    Coordinate geometry helps design buildings, bridges, circuits, and more. Every blueprint uses coordinates.

    Data Visualization

    Scatter plots, line graphs, and charts all use coordinate geometry to represent data relationships visually.

    Common Mistakes in Coordinate Geometry

    Mistake 1: Confusing coordinates
  • (3, 4) ≠ (4, 3)
  • Order matters! First is x, second is y
  • Mistake 2: Wrong signs in distance formula
  • d = √[(x₂ - x₁)² + (y₂ - y₁)²]
  • The negatives get squared (always positive)
  • Mistake 3: Slope calculation order
  • m = (y₂ - y₁)/(x₂ - x₁) [correct]
  • m = (x₂ - x₁)/(y₂ - y₁) [wrong!]
  • Mistake 4: Confusing y-intercept with origin
  • y-intercept is where the line crosses Y-axis
  • Origin is always (0, 0)
  • Practice on The Practise Ground

    Master coordinate geometry through interactive visualizations:

  • Plot points and verify
  • Calculate distances and midpoints
  • Find equations of lines
  • Graph linear equations
  • Real-world application problems
  • See geometry come alive!

    FAQ

    Why is coordinate geometry important?

    It bridges algebra and geometry. It's used in physics, engineering, economics, computer graphics, and GPS technology. Essential modern skill.

    How do I remember the distance formula?

    It's the Pythagorean theorem! The distance is the hypotenuse of a right triangle with legs (x₂ - x₁) and (y₂ - y₁).

    Is the slope formula always (y₂ - y₁)/(x₂ - x₁)?

    Yes, always! Remember: rise over run. Rise is the change in y (vertical), run is the change in x (horizontal).

    How are coordinate geometry and vectors related?

    Vectors use coordinates too! A vector from (1, 2) to (4, 6) is (3, 4). Coordinate geometry is the foundation for vector mathematics.

    Universal Application Across All Curricula

    Coordinate geometry is a cornerstone of mathematics education worldwide. CBSE and ICSE emphasize practical applications and problem-solving. Cambridge IGCSE extends into more complex transformations and vectors. IB programmes integrate coordinate geometry with calculus and analytical thinking. Despite different approaches, the fundamental concepts—points, distances, lines, and relationships—are identical across all systems. Master them once, and you're prepared for any curriculum.

    Found this helpful?

    Share it with your classmates and friends on WhatsApp — help them ace their Maths too!

    Related Posts

    Practice What You've Learned

    Ready to Practice?

    Test your skills with our free interactive quizzes. Over 23,400 questions covering English, Maths, Science and more.