Before you begin
- Equations, square roots, and the Pythagorean theorem.
Learning objectives
- Calculate distances, midpoints, and slopes.
- Write and compare line equations.
- Translate circle geometry into a coordinate equation.
Coordinates turn geometric relationships into equations. A point records two quantities in a chosen order, so its axes and units are part of the description. In a distance calculation both coordinates must use compatible length units; in a time–position graph, the slope instead compares two different kinds of quantity.
Distance and midpoint
For points and , the horizontal and vertical coordinate differences form the legs of a right triangle. Pythagoras gives
For and , the differences are 6 and 8, giving distance 10. Reversing their order negates both differences but leaves their squares unchanged.
The midpoint averages the coordinates: . Here , and its coordinate differences from either endpoint are half the full differences. Its distance from either is therefore 5.
Distance depends on the coordinate scale. If one axis is in metres and the other in centimetres, convert before using the formula. A graph with unequal display scales can also make a perpendicular pair of coordinate directions look misleadingly stretched.
Slope is a rate between coordinates
For , the slope of the line through is
Every pair of distinct points on a nonvertical line gives the same slope. A horizontal line has slope zero; a vertical line has undefined slope because its horizontal change is zero.
If is elapsed hours and is distance in kilometres, slope has units kilometres per hour. For a line through and , the slope is 15. Its interpretation depends on whether the vertical coordinate is position, cumulative distance, cost, or another measured quantity.
Forms of a line equation
A line of slope through satisfies . This point-slope form follows directly from the constant ratio of changes. Expanding gives , where is the vertical intercept.
Through with slope 3, the equation is , or . Setting finds the horizontal intercept .
The general form , with not both zero, also includes vertical lines. If , solve for to recover slope . If , the line is . The equation instead describes either the entire plane when or no points when .
Parallel and perpendicular directions
Two distinct nonvertical lines with equal slopes are parallel. For nonvertical perpendicular lines with finite slopes, . One way to see the perpendicular relationship is to take direction vectors and : their scalar product must be zero. The vector chapter will develop this product geometrically.
The line perpendicular to through has slope and equation . Horizontal and vertical lines form a perpendicular pair outside the finite-slope product rule.
A circle is a distance constraint
A point lies on the circle of radius centered at when its distance from the center is . Squaring the distance gives
The circle has center and radius 3. Its equation determines a set of points, but usually not one value of for each . Solving gives two branches on . This distinction between a curve and a function will matter in the next chapter.
Exercises
- Find the distance and midpoint between and .
- Write the line through with slope .
- Find the slope and intercepts of .
- Write the vertical line through .
- Find the line perpendicular to through .
- Find the center, radius, and horizontal extent of .
Worked solutions
- Coordinate differences are 6 and 8, so distance is 10. The midpoint is .
- , or .
- , so slope is . Intercepts are and .
- The fixed horizontal coordinate gives .
- The perpendicular slope is 4, so , or .
- Center , radius 4. Horizontal coordinates run from to 1, including both.
Keep your place
Mark this lesson complete after you've read it, attempted its exercises, and explained its central idea in your own words.
Progress is not saved unless you choose to mark the lesson complete.
Saved only in this browser's local storage. No required account, server transmission, or analytics. You can reset your saved progress on the course page. Clearing browser data also clears the record.