Math · College algebra · Concept
Slope and equations of lines
The slope of a line measures how steep it is:
A concrete case
Filling a pool
A pool is being filled from a hose. At
Check the hours in between. At
That steady rate is the slope of the line. Run it backward one hour and the depth at
| Time | Hours after noon | Depth | Change from the hour before |
|---|---|---|---|
| hose turned on | |||
The rule
Slope is rise over run
The slope of a line is the change in
A positive slope rises from left to right and a negative slope falls. A slope of
Three ways to write a line
Slope-intercept form,
Two lines have no slope-intercept form worth the name. A horizontal line is
Parallel and perpendicular lines
Parallel lines have equal slopes, so two different parallel lines never meet. Perpendicular lines have slopes whose product is
Why it works
Why the slope never changes
Draw two slope triangles under one line, each with a horizontal run and a vertical rise. Both triangles have a right angle, and both meet the line at the same angle, so they are similar. Their sides are in proportion, and
Point-slope form is the slope formula with one point left free. A point
The perpendicular rule comes from turning a slope triangle a quarter turn. A run of
The method
The line through two points
Find the slope first, then start from either point. The table works through the line through
Either point gives the same line. Starting from
| Step | What to do | For |
|---|---|---|
| 1 | Subtract in the same order on top and bottom | |
| 2 | Simplify the slope | |
| 3 | Write point-slope form from one point | |
| 4 | Solve for | |
| 5 | Check the other point |
A line through a point, parallel or perpendicular to another
First find the slope of the given line, solving its equation for
For the line through
Where it breaks
Where it breaks
Slope belongs to straight lines. For the points
A vertical line breaks the slope formula, since its run is
A line fitted to a real situation is true only over the inputs where the situation holds. The pool line gives
The constant in standard form is not the y-intercept.
Check your answer
Check your answer
Two points fix a line, and those two points are what you test it with.
Put both given points into your equation. Each must make it true. One point checking is not enough, since many lines pass through one point.
Read the slope from the graph or the table. Move one unit right from any point on the line and the height should change by
For a perpendicular line, multiply the two slopes. The product must be
To have Chalk check the work, write the slope as a fraction equal to its value on one row of a Math box, such as
A wrong line under point-slope form,
The slopes of and do not multiply to . Are the lines perpendicular?
Yes.
Slope, angle and rate
The slope is the tangent of the angle a line makes with the x-axis. A slope of
A linear function is the one function whose outputs change by the same amount for every step of
For a curve, the slope between two of its points is its average rate of change over that interval. Calculus asks what happens to that slope as the two points slide together. The answer, when it exists, is the slope of the curve at a single point.
Common mistakes
- Subtracting coordinates in different orders on the top and bottom. For
and , is wrong. Use the same point first in both, , because otherwise the signs of rise and run no longer match. - Reading
off an equation that is not solved for . does not have y-intercept . Solving for gives , so the intercept is . - Negating a slope for a perpendicular line but forgetting the reciprocal. Perpendicular to
is , not , because the product of the two slopes must be . - Giving a vertical line slope
. Its run is , and division by is undefined, so its slope is undefined. A slope of belongs to a horizontal line. - Using only one point to check a line.
passes through but not through , the second given point. Both points must satisfy the equation, because many lines pass through any single point. - Dropping the units of a slope. A fare that rises
per kilometer has slope dollars per kilometer. Without the units, could be per mile or per minute, and the model says nothing.
Key terms
- Slope of a line
- The ratio
of the change in to the change in between two points of a nonvertical line. Every pair of points on the line gives the same slope. - Slope-intercept form
- The equation
of a nonvertical line, where is the slope and is the y-intercept. - Point-slope form
- The equation
of the line with slope through the point . - Parallel and perpendicular lines
- Distinct nonvertical lines are parallel when their slopes are equal and perpendicular when their slopes multiply to
. Vertical lines are parallel to one another and perpendicular to horizontal lines. - x-intercept
- A point where a graph crosses or touches the x-axis, so its y-value is
. For , its x-value is a zero (root) of . - y-intercept
- The point where a graph crosses the y-axis, found by setting
: when is in the domain. - Average rate of change
- The change in output divided by the change in input between two distinct inputs
and : . Geometrically it is the slope of the secant line through the two points.
Work through an example
Find the equation of the line through
Sources and scope
Authored study material. Tool results depend on the stated inputs and model assumptions.
Try it, then study it
Open the example in its tool to check steps or change values, then review the key terms as flashcards.
Graph the line Check the line in Math Study the 7 key terms Open worked example on a board Slope formula in Math ReferenceYour existing work stays on this device. Examples open as editable copies.