Geometry & Coordinate Geometry

RoadmapsAptitude

Scenario

Finding the shortest delivery route for a Zepto rider cutting across a rectangular park using Pythagoras, rather than riding along the roads.

Mental model

Geometry maps physical shapes. Coordinates map them onto a GPS grid.

Pure geometry is about rules that lines and angles follow when they meet. Coordinate geometry takes those rules and plots them on an x-y axis so we can use algebra to find distances and slopes.

Formula

Distance formula: d = sqrt((x2-x1)^2 + (y2-y1)^2). Slope: m = (y2-y1)/(x2-x1). Pythagoras: a^2 + b^2 = c^2. Area of triangle (coordinates): 0.5 x |x1(y2-y3) + x2(y3-y1) + x3(y1-y2)|. Midpoint: ((x1+x2)/2, (y1+y2)/2). Parallel lines: m1 = m2. Perpendicular lines: m1 x m2 = -1. Line equation: y = mx + c (slope-intercept form).

The distance formula is literally Pythagoras applied to the x-y plane. The change in x and change in y are the two legs of the right triangle. The area formula for coordinates is a shortcut for checking if three points are collinear (area = 0 if collinear).

Worked example

Problem: Find the distance between points A(1, 2) and B(4, 6). Also find the midpoint of AB.

  1. Distance: d = sqrt((4-1)^2 + (6-2)^2) = sqrt(3^2 + 4^2) = sqrt(9 + 16) = sqrt(25) = 5.
  2. Recognise the 3-4-5 Pythagorean triplet: no calculation even needed.
  3. Midpoint: ((1+4)/2, (2+6)/2) = (5/2, 8/2) = (2.5, 4).
  4. Sanity-check: Distance from A(1,2) to midpoint(2.5,4) = sqrt(1.5^2 + 2^2) = sqrt(2.25 + 4) = sqrt(6.25) = 2.5. Half of 5. Correct.

Answer: Distance = 5 units, Midpoint = (2.5, 4).

Problem: Find the slope of the line passing through (3, 5) and (7, 13). Is this line parallel or perpendicular to y = 2x + 1?

  1. Slope m = (13 - 5) / (7 - 3) = 8 / 4 = 2.
  2. The given line y = 2x + 1 also has slope 2.
  3. Since m1 = m2 = 2, the lines are parallel (not the same line, just same steepness).
  4. Sanity-check for perpendicular: a perpendicular line would have slope -1/2. Our line has slope 2, so NOT perpendicular.

Answer: Slope = 2. The line is parallel to y = 2x + 1.

Shortcuts

Common mistakes

Glossary

collinear
Points that all lie exactly on the same straight line.
slope
A number that measures how steep a straight line is.
parallel
Lines that never meet because they have the exact same steepness.

Recall questions

Questions & answers

Find the distance between the points (2, 3) and (5, 7).

5

Approach: dx = 5-2 = 3. dy = 7-3 = 4. Distance = sqrt(3^2 + 4^2) = sqrt(25) = 5. Recognise the 3-4-5 triplet.

If a triangle has sides 6, 8, and 10, what is its area?

24

Approach: 6, 8, 10 is a Pythagorean triplet (6-8-10 = 2x(3-4-5)). Right triangle. Area = (1/2) x 6 x 8 = 24.

Continue learning

Previous: Linear & Quadratic Equations

Return to Aptitude Roadmap