MTH 124 · Coordinate Geometry
Our notes
2 min readThe coordinate plane
A point is written (x, y). Coordinate geometry turns shapes into equations so that algebra can answer geometry questions.
Distance and midpoint
For A(x₁, y₁) and B(x₂, y₂):
- Distance AB = √[(x₂ − x₁)² + (y₂ − y₁)²] (Pythagoras).
- Midpoint M = ((x₁ + x₂)/2, (y₁ + y₂)/2).
Worked example. A(1, 2), B(4, 6). AB = √(3² + 4²) = √25 = 5. Midpoint = (2.5, 4).
Dividing a line in a ratio
The point P that divides AB internally in the ratio m : n is
P = ((m x₂ + n x₁)/(m + n), (m y₂ + n y₁)/(m + n)).
For external division, replace n by −n.
Worked example. Divide A(1, 2) to B(4, 6) in the ratio 2 : 1. P = ((2·4 + 1·1)/3, (2·6 + 1·2)/3) = (3, 14/3). Check: P is two-thirds of the way from A: 1 + (2/3)(3) = 3 ✓.
Gradient
Gradient (slope) m = (y₂ − y₁)/(x₂ − x₁) = tan θ, where θ is the angle the line makes with the positive x-axis.
- Horizontal line: m = 0. Vertical line: m undefined.
- Parallel lines: equal gradients. Perpendicular lines: m₁m₂ = −1.
For AB above, m = 4/3, so θ = tan⁻¹(4/3) ≈ 53.1°.
Collinear points
Three points are collinear if the gradient from the first to the second equals the gradient from the second to the third (or if the triangle they make has area 0).
Example. (0, 1), (2, 5), (3, 7): gradients 4/2 = 2 and 2/1 = 2, so collinear.
Area of a triangle
For vertices (x₁, y₁), (x₂, y₂), (x₃, y₃):
Area = ½ |x₁(y₂ − y₃) + x₂(y₃ − y₁) + x₃(y₁ − y₂)|.
Worked example. (0, 0), (4, 0), (0, 3): Area = ½ |0 + 4(3 − 0) + 0| = 6 square units, which matches ½ × base 4 × height 3 ✓.
For a polygon, list the vertices in order around the shape and use the "shoelace" pattern: ½ |Σ (xᵢ yᵢ₊₁ − xᵢ₊₁ yᵢ)|.
Locus
A locus is the path of a point that obeys a rule. Write P = (x, y), turn the rule into an equation, simplify.
Example. Points equidistant from A(1, 0) and B(3, 0): (x − 1)² + y² = (x − 3)² + y² gives −2x + 1 = −6x + 9, so x = 2 (the perpendicular bisector of AB).
Exams usually ask: distance, midpoint and ratio division; show three points are collinear; area of a triangle or quadrilateral; find a locus and name it.
Common mistake: mixing up the order in the ratio formula. m goes with the far point B, n with A.
Written by the UniHive team in our own words. Spotted a mistake? Tell us on WhatsApp.
Read
-
Best pick College Algebra 2e, 2.1 The Rectangular Coordinate Systems and Graphs
(opens openstax.org in a new tab)
OpenStax, College Algebra 2e, 2.1 The Rectangular Coordinate Systems and Graphs, CC BY-NC-SA 4.0 · licence
-
Section formula
(opens en.wikipedia.org in a new tab)
Wikipedia, Section formula, CC BY-SA 4.0 · licence
-
Shoelace formula
(opens en.wikipedia.org in a new tab)
Wikipedia, Shoelace formula, CC BY-SA 4.0 · licence
Watch
-
Distance Formula
7 min · ≈ 32 MB · about ₦18
(opens youtube.com in a new tab)
-
Midpoint Formula
11 min · ≈ 50 MB · about ₦28
(opens youtube.com in a new tab)
-
Dividing line segments according to ratio
4 min · ≈ 18 MB · about ₦10
(opens youtube.com in a new tab)
-
Area of a Triangle With Vertices - Geometry
5 min · ≈ 23 MB · about ₦13
(opens youtube.com in a new tab)
-
Calculus 1 Lecture 0.1: Lines, Angle of Inclination, and the Distance Formula
49 min · ≈ 221 MB · about ₦124
(opens youtube.com in a new tab)
We link to free material and never copy it. Every link was opened by our team before it went up; video data is a rough guide at 360p.