A straight line represents a constant rate of change between two variables. Understanding linear equations and slopes directly prepares you for the concept of derivative as the instantaneous slope of a tangent line.
Quick Reference
| Concept | Formula | Notes |
|---|---|---|
| Slope | Ratio of vertical change to horizontal change | |
| Point-Slope Form | Given slope m and point | |
| Point-Point Form | Given two points and | |
| Parallel Lines | Equal slopes | |
| Perpendicular Lines | Slopes are negative reciprocals |
Slope of a Line
Consider a straight line L and two distinct points and on it (see the following figure). The slope of the line, often denoted by m, is defined to be the ratio

- If ( or ) is the angle that a non-horizontal line makes with the positive direction of the x-axis (see the above figure), then .
- The sign of the slope is related to the direction of the line as follows:
- If , is an acute angle, and the line rises to the right.
- If , is an obtuse angle, and the line falls to the right.
- If , the line is horizontal.

The equation of the line passing through a given point with slope m is
This equation is called the point-slope form of the equation of the line.
If we are given two points and on the line, then to find the equation of the line, we first have to calculate m, which is . Substitution of this expression for m in the point-slope form of the equation gives the point-point form of the equation of the line:
- The equation of a vertical line through is .
Parallel and Perpendicular Lines
Two lines with slopes and are
- parallel .
- perpendicular .
It is clear that horizontal lines (slope 0) are perpendicular to vertical lines (no slope).