Mathwords logoMathwords

Straight Line Graph — Definition, Formula & Examples

A straight line graph is a graph on the coordinate plane where all the plotted points connect to form a straight line. It shows that one variable changes at a constant rate relative to the other.

A straight line graph is the geometric representation of a linear equation of the form y=mx+by = mx + b, where mm is the slope (rate of change) and bb is the yy-intercept. Every ordered pair (x,y)(x, y) satisfying the equation lies on the line, and the graph extends infinitely in both directions.

Key Formula

y=mx+by = mx + b
Where:
  • mm = Slope — the amount y changes for each 1-unit increase in x
  • bb = y-intercept — the value of y where the line crosses the y-axis
  • xx = The independent variable (horizontal axis)
  • yy = The dependent variable (vertical axis)

How It Works

To draw a straight line graph, you need at least two points. Start by choosing two or three xx-values, substitute each into the equation to find the corresponding yy-values, and plot the resulting points. Then connect the points with a ruler and extend the line in both directions. The slope mm tells you how steeply the line rises or falls: a positive slope goes up from left to right, a negative slope goes down, and a zero slope gives a horizontal line.

Worked Example

Problem: Graph the equation y = 2x + 1.
Step 1: Pick three x-values and calculate y for each.
x=0y=2(0)+1=1x = 0 \Rightarrow y = 2(0)+1 = 1
Step 2: Find a second and third point.
x=1y=3,x=1y=1x = 1 \Rightarrow y = 3, \quad x = -1 \Rightarrow y = -1
Step 3: Plot the points (0, 1), (1, 3), and (−1, −1) on the coordinate plane, then draw a straight line through them.
Answer: The straight line graph passes through (−1, −1), (0, 1), and (1, 3), rising with a slope of 2 and crossing the y-axis at 1.

Why It Matters

Straight line graphs appear in science classes when you plot distance vs. time at constant speed, and in everyday life when comparing costs that grow at a fixed rate. Recognizing a straight line graph lets you quickly identify constant rates of change and make predictions by extending the line.

Common Mistakes

Mistake: Plotting only two points and not checking with a third.
Correction: A single arithmetic error can throw your entire line off. Always calculate and plot at least three points so you can verify they all line up.