Algebra, Geometry and Trigonometry at a Glance
How Coordinates Joined Algebra to Geometry
See how pairs of numbers turn lines and circles into equations, with worked examples, short proofs and the history behind the idea.
Key takeaways
- A pair of numbers locates a point in a plane, and an equation in those numbers picks out a curve.
- The distance formula is the Pythagorean theorem applied to the differences between coordinates.
- Finding where two curves meet is the same task as solving their equations together.
- Many geometric theorems turn into short algebraic checks when the axes are placed well.
- Descartes and Fermat developed the method in the 1630s, and it prepared the ground for calculus.
Coordinates give every point a numerical address. Once points are numbers, a line or a circle becomes the set of addresses that satisfy an equation, and a question about shapes becomes a question you can answer by calculating.
The reverse direction matters just as much. An equation that looks like a string of symbols acquires a picture, so you can see how many solutions it has, where they sit and how they move when a number in it changes. This combined subject is called analytic geometry, or coordinate geometry.
A point becomes a pair of numbers
Draw two number lines that cross at right angles at their zero marks. The horizontal one is usually called the x-axis, the vertical one the y-axis, and the crossing point the origin. To reach the point (3, 2), start at the origin, go 3 units right and 2 units up. Negative numbers send you left or down.
The order matters, since (3, 2) and (2, 3) are different places. Every point of the plane gets exactly one such pair, and every pair names exactly one point. That two-way match is what lets you swap freely between pictures and numbers.
Nothing forces the axes to be perpendicular, or the origin to sit in any particular spot. These are choices you make, and a good choice can shrink a long calculation to a few lines. You already use similar systems when you read latitude and longitude, although those live on a curved surface and behave differently near the poles.
An equation draws a curve
Take the equation y = 2x + 1. Choose x = 0 and you get y = 1. Choose x = 1 and you get y = 3. Choose x = 2 and you get y = 5. Plot enough of these pairs and they line up along a straight line that climbs 2 units for each unit it moves right. That ratio is the slope.
The key idea is membership. A point lies on the line exactly when its coordinates make the equation true. The point (4, 9) is on it because 9 = 2 · 4 + 1. The point (4, 10) is not.
The same test works for curves. A circle is the set of points at a fixed distance r from a center. With the center at the origin, the Pythagorean theorem gives x² + y² = r². Move the center to (a, b) and the equation becomes (x − a)² + (y − b)² = r².
Measuring with subtraction
To find the distance between (1, 2) and (4, 6), picture a right triangle whose legs run parallel to the axes. The horizontal leg has length 4 − 1 = 3, and the vertical leg has length 6 − 2 = 4.
d² = (4 − 1)² + (6 − 2)² (Pythagorean theorem)
= 9 + 16
= 25
d = 5 (distance is not negative) Other measurements are just as direct. The midpoint of a segment has as its coordinates the averages of the endpoint coordinates, so the midpoint of that segment is (2.5, 4). Two lines that are not vertical are parallel when their slopes are equal (and they are not the same line), and perpendicular when the product of their slopes is −1. A horizontal and a vertical line are perpendicular too, though the slope rule cannot express it.
From a description to an equation
You can also start with a rule in words and discover what curve it describes. Which points are equally far from (0, 0) and (4, 2)? Call such a point (x, y), set the two squared distances equal and simplify.
x² + y² = (x − 4)² + (y − 2)²
x² + y² = x² − 8x + 16 + y² − 4y + 4 (expand)
8x + 4y = 20 (cancel and rearrange)
2x + y = 5 (divide by 4) The answer is a straight line. It passes through (2, 1), the midpoint of the two given points, and its slope of −2 shows that it is perpendicular to the segment joining them, whose slope is 1/2. This is the perpendicular bisector you may have built with a compass.
Change the rule and a new curve appears. The points equally far from the point (0, 1) and the horizontal line y = −1 satisfy x² + (y − 1)² = (y + 1)², which reduces to x² = 4y. That is a parabola, derived in two lines from its defining property. A set of points described by a condition like this is called a locus.
Meeting points are shared solutions
Where does the line y = x + 1 cross the circle x² + y² = 25? A crossing point must satisfy both equations at once, so substitute the first into the second.
x² + (x + 1)² = 25
2x² + 2x − 24 = 0 (expand and collect terms)
x² + x − 12 = 0 (divide by 2)
(x + 4)(x − 3) = 0 (factor) So x = 3 or x = −4, giving the points (3, 4) and (−4, −3). Check the second: 16 + 9 = 25.
Algebra also tells you when there is no crossing. A quadratic can have two real solutions, one repeated solution or none, which match a line that cuts the circle, touches it or misses it. The quantity b² − 4ac inside the quadratic formula decides which. That is one reason polynomials turn up across so much of mathematics.
Proving theorems by calculating
Here is a classical fact: the segment joining the midpoints of two sides of a triangle is parallel to the third side and half as long. Place one corner at (0, 0), a second at (2b, 0) with b > 0, and the third at (2c, 2d) with d ≠ 0. The factors of 2 are there to keep fractions away.
The midpoints of the two slanted sides are (c, d) and (b + c, d). Both have height d, so the segment between them is horizontal, like the bottom side. Its length is b, which is half of 2b. The proof is finished, and no clever extra line was needed.
A second example: take the circle x² + y² = r², its diameter from (−r, 0) to (r, 0), and any other point (x, y) on the circle with y ≠ 0. The slopes from that point to the two ends are y / (x + r) and y / (x − r). Their product is y² / (x² − r²). Since x² − r² = −y², the product is −1. The two chords meet at a right angle.
The translation at a glance
The dictionary between the two languages is short, and most of coordinate geometry consists of using it in both directions.
The curves the Greeks obtained by slicing a cone, namely ellipses, parabolas and hyperbolas, all come out as equations of degree 2 in x and y. For instance, y = x² is a parabola and xy = 1 is a hyperbola. A single algebraic family covers shapes that once needed separate arguments.
Descartes, Fermat and a change of method
In the 1630s two French thinkers reached the core idea independently. Pierre de Fermat described it in a manuscript that circulated among correspondents. René Descartes published La Géométrie in 1637 as an appendix to a larger philosophical work.
Their pages do not look like a modern textbook. The tidy pair of perpendicular axes with negative values in all four quarters became standard only gradually, as later writers extended and clarified the method. Earlier mathematicians had also related curves to measured lengths, including Greek writers on conic sections and Omar Khayyam, who solved cubic equations by intersecting curves. The story is told further in how Descartes and Fermat founded analytic geometry.
The payoff came quickly. With curves written as equations, mathematicians could ask general questions about tangents and areas, which fed directly into the two central questions of calculus.
What algebra learns from the picture
The traffic runs both ways. Graph a polynomial and its real roots appear as crossings of the x-axis. Watch the graph slide upward as you increase the constant term and you can see two roots merge and vanish.
Coordinates also settled ancient puzzles. Straightedge and compass produce only lines and circles, whose equations have degree at most 2. So every new length built this way comes from earlier ones by arithmetic and square roots. In 1837 Pierre Wantzel used this kind of reasoning to show that no such construction can double a cube or trisect an arbitrary angle. Some particular angles, such as 90°, can be trisected.
More axes and other grids
Add a third axis and (x, y, z) locates a point in space, where x² + y² + z² = r² describes a sphere. Nothing in the algebra stops at three. Lists of four or four hundred numbers can be treated as points, with distance defined by the same sum of squares, which is the starting point for thinking about four dimensions.
You can also change the grid. Polar coordinates describe a point by its distance from the origin and an angle, so a circle centered there is simply r = constant. Choosing coordinates that respect the symmetry of a problem is often the main step in solving it.
Habits that prevent mistakes
A few slips account for much of the trouble people have with this subject.
- Subtract coordinates in the same order when finding a slope: (y₂ − y₁) / (x₂ − x₁).
- Remember that a vertical line, such as x = 3, has no slope and cannot be written as y = mx + k.
- Read signs carefully in a circle equation: (x + 2)² + y² = 9 has its center at (−2, 0) and radius 3.
- After squaring both sides of an equation, test your answers in the original, since squaring can add false ones.
- Keep a rough sketch beside the algebra, so that an impossible answer stands out.
Also state your assumptions about placement. You may put one vertex at the origin and one side along an axis, because moving and turning a figure changes no lengths or angles. You may not assume that the third vertex sits above the middle of that side, since that would prove the theorem only for isosceles triangles.
Coordinates do have a cost. A calculation can confirm that a theorem is true while hiding why. Skilled problem solvers keep both views available and decide when a geometry problem is better handled as algebra.