Graphing Lines & Slope
High School Math · Algebra 1Preview
1. Introduction
The straight line is the simplest and most useful graph in mathematics. Lines describe constant rates of change: a phone plan that charges a fixed fee plus a price per gigabyte, a car traveling at steady speed, the relationship between Celsius and Fahrenheit. Understanding how to read, graph, and write equations of lines is foundational to all of algebra, geometry, and the study of functions.
Everything starts on the coordinate plane, where each point is named by an ordered pair . A line is the set of all points satisfying a linear equation, and the single most important number attached to a line is its slope — a precise measure of steepness and direction. The slope, together with where the line crosses the -axis, completely determines the line.
In this article we build the topic from the coordinate plane up: the meaning and computation of slope, the three major forms of a line's equation (slope-intercept, point-slope, and standard form), how to graph a line quickly, and the slope relationships that define parallel and perpendicular lines. We include derivations of the slope formula, geometric interpretations of intercepts, and worked examples covering real-world linear models. Every linear function you encounter in science, business, and statistics builds on the ideas presented here.
2. Core Concepts
2.1 The coordinate plane
The plane is formed by a horizontal -axis and a vertical -axis meeting at the origin . A point is located by moving units horizontally (positive right, negative left) and units vertically (positive up, negative down). The axes split the plane into four quadrants, numbered counterclockwise starting from the upper right (Quadrant I: , ).
The distance between two points and is , though for line work the slope formula is more central.
2.2 Slope as rise over run
Slope, denoted , measures how steeply a line rises or falls. It is the ratio of vertical change (rise) to horizontal change (run) between any two points on the line:
A crucial property of straight lines is that this ratio is the same no matter which two points you choose — that constancy is exactly what makes the line straight. If you move along a line, the vertical change per unit horizontal change never varies.
2.3 Deriving the slope formula
Given two points and on a line, consider the right triangle with legs and . Similar triangles along the line guarantee that is constant. This constant ratio is the slope. The formula encodes this geometry algebraically.
2.4 Interpreting the sign and size of slope
- Positive slope: the line rises from left to right (as increases, increases).
- Negative slope: the line falls from left to right.
- Zero slope: the line is horizontal ( never changes), equation .
- Undefined slope: the line is vertical ( never changes, so the run is and we cannot divide), equation .
A larger magnitude means a steeper line; a small magnitude means a gentle one. Slope rises one unit for every two units right; slope rises three units per unit right.
2.5 The -intercept and slope-intercept form
The -intercept is the point where the line crosses the -axis, where . If that point is , the line's equation can be written in slope-intercept form:
This form is the most readable: is the slope and is the -intercept, so you can graph or describe the line at a glance. The slope also represents the rate of change of with respect to .
2.6 The -intercept
The -intercept is where the line crosses the -axis (). In slope-intercept form, set : , giving (when ). In standard form , set to find the -intercept and to find the -intercept.
2.7 Point-slope form (derivation)
Given a slope and any single point on the line, point-slope form writes the equation directly:
This comes straight from the slope definition: rearranging gives the formula. It is the fastest way to start when you know a point and a slope, or two points (compute slope first, then use either point).
2.8 Standard form
Standard form writes a line as , often with integer coefficients and . It is useful for finding intercepts quickly and for systems of equations. Converting from slope-intercept: becomes , or .
2.9 Parallel lines (theorem)
Parallel lines never meet; they have equal slopes, (and different intercepts, or they are the same line). This follows from the definition: if two lines have the same steepness and direction, they either coincide or never cross. The converse is also true: equal slopes imply parallel (or identical) lines.
2.10 Perpendicular lines (theorem)
Perpendicular lines meet at a right angle; their slopes are negative reciprocals, meaning , equivalently . For example, a line with slope is perpendicular to any line with slope . The product of perpendicular slopes is always (except for horizontal/vertical pairs, where one slope is and the other is undefined).
2.11 Slope as rate of change
In applied problems, slope represents a constant rate: miles per hour, dollars per item, liters per minute. The intercept represents the starting value (initial fee, initial volume, etc.). The equation is the universal template for linear models.
2.12 Scatter plots and lines of best fit (preview)
When data points do not lie exactly on a line, we still use linear models. A line of best fit approximates the trend in a scatter plot. The slope of the best-fit line estimates the average rate of change in the data, and the intercept estimates the value when the independent variable is zero. This connects graphing lines to statistics.
2.13 Distance between parallel lines
Two distinct parallel lines with slope and -intercepts and are separated vertically by in slope-intercept form. For lines in standard form and , the perpendicular distance is . This geometric fact follows from the slope-intercept structure.
Continue reading with Premium
Upgrade to read the full article and unlock all Premium features.
Free
- Unlimited practice — all difficulties
- 3 hints / day
- Community solutions
- 2 timed mocks / month
Premium
- ✓Full article + all 57+ theory guides
- ✓Unlimited hints on practice problems
- ✓Unlimited timed mock exams & PDF worksheets