Coordinate Geometry: Formulas, Concepts & Examples
Coordinate Geometry: Formulas, Concepts & Examples
TL;DR
Coordinate geometry is the branch of math that uses coordinates on a grid to describe points, lines, and shapes, turning geometry into algebra. This guide covers the distance, midpoint, slope, and section formulas, the cartesian plane and its quadrants, and works through six examples that tie them together.
What Is Coordinate Geometry?
Coordinate geometry (also called analytic geometry) is the study of geometric figures using a coordinate system. Instead of describing a point as "over there," you give it an exact address, a pair of numbers (x,y), and then every geometric question becomes an algebra calculation.
The whole subject rests on one move: place a grid over the plane, and every point gets a unique pair of coordinates. Once points are numbers, distances become subtractions, midpoints become averages, and steepness becomes a ratio. Geometry and algebra stop being separate subjects.
This grid is the cartesian plane: two number lines, the horizontal x-axis and the vertical y-axis, crossing at the origin (0,0). The same surface, viewed as the working space for plotting, is the coordinate plane.
The key idea to hold: coordinate geometry turns "where" and "how far" into arithmetic. Once you can name points with numbers, the formulas below do the rest.
The Quadrants And Sign Patterns
The two axes divide the plane into four quadrants, numbered anticlockwise from the top right. Each has a fixed sign pattern that lets you predict where a point lands before plotting it:
| Quadrant | x sign | y sign | Example point |
|---|---|---|---|
| I | + | + | (3,2) |
| II | − | + | (−3,2) |
| III | − | − | (−3,−2) |
| IV | + | − | (3,−2) |
Knowing the quadrant of a point is often a quick sanity step: if a calculation places a point in the wrong quadrant, a sign slipped somewhere. Points on an axis itself belong to no quadrant — they have a zero coordinate.
The Core Coordinate Geometry Formulas
Four formulas carry most of the subject. Each takes two points P(x1,y1) and Q(x2,y2) and answers a different question.
Distance Formula: "How Far Apart?"
d=(x2−x1)²+(y2−y1)²
This is the distance formula, and it comes straight from the Pythagorean theorem: the horizontal gap (x2−x1) and the vertical gap (y2−y1) are the legs of a right triangle, and the distance is its hypotenuse.
Midpoint Formula: "What's the Centre?"
M=(x1+x2/2,y1+y2/2)
The midpoint formula is just the average of the two x-values and the average of the two y-values — the exact middle of the segment.
Slope Formula: "How Steep?"
m=(y2−y1)/(x2−x1)
The slope is rise over run: the vertical change divided by the horizontal change. It measures the line's steepness and direction.
Section Formula: "What Divides It in a Ratio?"
A point dividing the segment from P to Q in the ratio m:n is:
P=(mx2+nx1)/(m+n),(my2+ny1)/(m+n)
The midpoint is the special case where the ratio is 1:1.
Examples of Coordinate Geometry
These move from a single formula to combining several, ending with a real layout. Each problem statement is bold; the steps are plain.
Example 1
Find the distance between A(1,2) and B(4,6).
Apply the distance formula:
d=(4−1)²+(6−2)²
d=√(3² + 4²)
d=√(9 + 16) = √(25)
d=5
Final answer: the distance is 5 units.
Example 2
Find the midpoint of the segment joining (−2,3) and (6,7).
The midpoint averages the coordinates:
M=(−2+6/2,3+7/2)=(2,5)
Final answer: the midpoint is (2,5).
Example 3
Find the slope of the line through (2,1) and (5,7).
Apply the slope formula:
m=(7−1)/(5−2)=6/3=2
Final answer: the slope is 2.
Example 4
Point P divides the segment from A(2,3) to B(8,9) in the ratio 1:2. Find P.
Use the section formula with m=1, n=2:
P=(1⋅8+2⋅2)/(1+2),(1⋅9+2⋅3)/(1+2)
P=(4,5)
Final answer: P=(4,5), one-third of the way from A toward B.
Example 5
Show that (0,0), (4,0), and (2,3) form an isosceles triangle.
Find all three side lengths with the distance formula.
Final answer: yes, two sides are equal, so the triangle is isosceles.
Example 6
A rectangular park has corners at (0,0), (60,0), (60,40), and (0,40) in metres. Find its center and distance from a corner.
The center is the midpoint of a diagonal, from (0,0) to (60,40):
M=(0+60/2,0+40/2)=(30,20)
d=√(30² + 20²) = √(1300) ≈ 36.1 m
Final answer: the lamp post is at (30,20), about 36.1 m from each corner.
Why Coordinate Geometry Matters: "When Descartes Put Algebra On A Map"
Coordinate geometry exists because of a genuine breakthrough: in the 1630s, René Descartes joined algebra and geometry by putting numbers on a grid. This union is why the subject runs through so much of modern life:
- Maps and GPS. Latitude and longitude are coordinates; finding the distance between two locations is the distance formula on a sphere.
- Computer graphics and games. Every pixel, sprite, and 3D model lives at coordinates.
- Engineering and CAD. Designs are specified as coordinates so a machine can build to exact positions.
Common Mistakes With Coordinate Geometry
Mistake 1: Subtracting in the midpoint formula
Where it slips in: Reaching for subtraction.
Mistake 2: Mismatching the subtraction order in slope
Where it slips in: Flipping the sign of the slope.
Mistake 3: Forgetting to square inside the distance formula
Where it slips in: Dropping the squares.
Conclusion
- Coordinate geometry describes points and shapes with (x,y) coordinates on a grid.
- The cartesian plane has an x-axis, a y-axis, an origin, and four quadrants with fixed sign patterns.
- The four core formulas are distance, midpoint, slope, and section.