linear functions
Slope of a Line
You should know: coordinate plane
Overview
Slope is a number that measures the steepness and direction of a line: how much the y-value changes for every unit increase in x. It is the discrete, algebraic ancestor of the derivative — a constant rate of change rather than an instantaneous one — and it is the single most important number describing a linear relationship between two variables. Slope tells you whether a line rises or falls, how steeply, and lets you write the equation of any line given just a point and a direction.
Intuition
Imagine hiking up a trail. Slope is what your legs feel: for every step forward (run), how many feet do you climb or descend (rise)? A steep mountain trail has a large slope; a flat sidewalk has a slope near zero; a trail that goes downhill has negative slope. Crucially, slope is CONSTANT along a straight line — no matter which two points on the line you pick, the ratio of rise to run is always the same. That constancy is exactly what makes a line 'linear': the rate of change never varies.
Interactive Graph
Formal Definition
Given any two distinct points on a non-vertical line, the slope is the ratio of the change in y to the change in x between them:
The rise (Δy) over the run (Δx) between two points (x₁,y₁) and (x₂,y₂)
Shorthand notation using Δ (delta) for 'change in'
Notation
| Notation | Meaning |
|---|---|
| Conventional symbol for slope | |
| Rise over run — the change in y divided by the change in x |
Derivation
Slope is well-defined (i.e. gives the same value no matter which two points on the line you choose) because similar right triangles formed along the line always have proportional sides. Here's why picking a third point C on the same line as A and B gives the same ratio:
Setup
The triangles formed by dropping horizontal and vertical legs from each pair of points are similar, since they share the same angle of inclination with the horizontal
Similar triangles have proportional corresponding sides, so the rise/run ratio is identical regardless of which two points are chosen
Proofs
- (Given)
- (Definition of slope between (x₁,y₁) and (x,y))
- (Multiply both sides by (x - x₁), valid since x ≠ x₁)
- (A linear equation in x and y has a straight-line graph, and this equation is satisfied by exactly the points collinear with (x₁,y₁) at slope m)
Properties
Point-slope form
Parallel lines
Perpendicular lines
Horizontal line
Vertical line
Sign convention
Applications
Animation
Animates a right triangle 'staircase' sliding along a line, showing the rise and run legs staying in constant proportion no matter where along the line the triangle is placed — illustrating why slope is a single well-defined number for any line.
Worked Examples
Apply the slope formula.
Answer: m = 3
Practice Problems
Find the slope of the line through (2, -3) and (6, 5).
A line has slope -1/3. Which slope would make a second line perpendicular to it?
A wheelchair ramp rises 2 feet over a horizontal run of 24 feet. Find its slope as a decimal and as a percent grade.
Common Mistakes
Computing slope as (x₂-x₁)/(y₂-y₁) — inverting rise and run.
Slope is always Δy/Δx = (y₂-y₁)/(x₂-x₁) — the change in the OUTPUT (y) over the change in the INPUT (x), never the reverse.
Believing a vertical line has a slope of 0.
A vertical line has UNDEFINED slope (division by zero, since Δx = 0). A HORIZONTAL line has slope 0 — these are opposite cases and easy to mix up.
Quiz
Flashcards
Historical Background
The idea of measuring a line's steepness as a ratio of vertical to horizontal change goes back to ancient practical geometry — Egyptian and Greek builders used the concept of a 'seked' (a measure of a pyramid's slope) and grade for ramps and roads long before algebraic notation existed. The formal algebraic treatment of slope emerged alongside analytic geometry in the 17th century, when René Descartes and Pierre de Fermat linked algebra to geometric curves via coordinates. The letter 'm' for slope has an uncertain origin — one popular but unconfirmed theory traces it to the French verb 'monter' ('to climb'), though it may simply have been an arbitrary choice in 19th-century textbooks. By the time coordinate geometry was standardized in American and European high school curricula in the 19th and 20th centuries, slope = rise/run had become the canonical definition.
- c. 1650 BCE
Egyptian scribes use the 'seked' to describe the slope of pyramid faces, recorded in the Rhind Mathematical Papyrus
- 1637
Descartes publishes La Géométrie, unifying algebra and geometry via coordinates — the foundation for defining slope algebraically
René Descartes
- 1844
Matthew O'Brien's British textbook uses 'm' for slope in the equation of a line, one of the earliest documented uses
Matthew O'Brien
Summary
- Slope m = Δy/Δx = (y₂-y₁)/(x₂-x₁) measures a line's steepness and direction.
- Slope is constant along any straight line — it doesn't matter which two points you pick.
- Positive slope rises left-to-right; negative slope falls; zero slope is horizontal; vertical lines have undefined slope.
- Parallel lines share the same slope; perpendicular lines have slopes that are negative reciprocals.
- Point-slope form y - y₁ = m(x - x₁) lets you write a line's equation from just one point and the slope.
References
- WebsiteWikipedia — Slope
- BookLarson, R. Algebra 1, Ch. 4: Graphing Linear Equations and Functions.
Mathematics