Straight line graphs show linear relationships, where one quantity changes at a constant rate with another. In the common form , the slope and the -intercept together tell you everything you need to draw the line and compare it with others.
When To Read A Line As
Use this form whenever a relationship has a constant rate of change and is not vertical. In
is the slope, also called the gradient, measuring how much changes when increases by . The number is the -intercept, the value of when , so the line crosses the -axis at .
The sign of sets the direction: positive rises from left to right, negative falls, and is horizontal. This form describes non-vertical lines only. Vertical lines are straight lines too, but they have equations like and cannot be written as .
The Steps
- Read the slope. In , the number tells you how steep the line is.
- Find the intercept. The number is the -intercept, so the line crosses the -axis at .
- Compare slopes. Two non-vertical lines are parallel when they have the same slope but different intercepts.
- Check the special case. Vertical lines are straight lines too, but they are written as , not .
For example, in , every time increases by , increases by , and the line crosses the -axis at , starting units above the origin.
Full Worked Example: Graph
Take the line
Find the intercept. When , , so the line passes through .
Read the slope. Since , moving unit right increases by , giving a second point .
Check one more point the same way:
So is on the line. Once you have two correct points, draw the straight line through them.
Compare slopes to test for parallel lines. The lines
are parallel because both have slope . They rise at the same rate, so they never meet, and their different intercepts make them distinct lines. The vertical-line version of this idea: and are parallel to each other.
Practice: Plot Two Parallel Lines
Graph and on the same axes. For each, plot the intercept first, then use the slope to step to a second point. Self-check: both have slope , so the lines should look parallel and never cross; the first crosses the -axis at and the second at . If they appear to meet, recheck the slope you used for each step.
Where Each Step Trips People Up
Mixing up and the -intercept. In , the number is the -intercept, not the -intercept. It tells you where the line crosses the -axis.
Assuming equal slopes always mean different parallel lines. If two equations have the same slope and the same intercept, they are the same line. To be parallel as two distinct non-vertical lines, the slopes must match and the intercepts must differ.
Forgetting vertical lines. does not represent vertical lines. A vertical straight line has the form .
Straight line graphs appear wherever one quantity changes at a constant rate with another, such as fixed-price-plus-per-item cost models, distance at constant speed, and unit conversions. They matter because the equation tells you the pattern and the graph lets you see it.
Frequently Asked Questions
- What do m and c mean in y = mx + c?
- In the equation y equals mx plus c, m is the slope or gradient, measuring how much y changes when x increases by 1, and c is the y-intercept, the value of y when x is zero. The line crosses the y-axis at the point (0, c).
- How do you tell if two straight lines are parallel?
- Two non-vertical lines are parallel when they have the same slope but different intercepts. For example, y equals 2x plus 1 and y equals 2x minus 3 rise at the same rate and never meet. Vertical lines like x equals 1 and x equals 5 are also parallel to each other.
- How do you plot a straight line graph from its equation?
- Start at the y-intercept, the point where x equals zero, then use the slope to find a second point: for slope 2, move right 1 and up 2. Check a third point by substituting an x-value into the equation, then draw the straight line through the points.
- Can a vertical line be written as y = mx + c?
- No. Vertical lines are straight lines, but they have equations like x equals 4, where every point shares the same x-value. They cannot be written in the form y equals mx plus c, which only describes non-vertical lines with a defined slope.
Need help with a problem?
Upload your question and get a verified, step-by-step solution in seconds.
Open GPAI Solver →