Pre-Algebra · Class 21

Graphing Lines from Slope-Intercept Form

One equation, two instructions. Read the slope and the y-intercept straight from \(y = mx + b\), plot the starting point on the y-axis, use rise over run to graph positive, negative and fractional slopes, tell a zero slope from a zero y-intercept, catch the most common slope mistakes, and use the intercepts to answer real-world questions.

Work through eight illustrated topics with five fresh practice questions each, followed by Homework review and Homework word problems. There are 40 practice questions and 20 homework questions, all with hidden worked answers, and every graph is drawn to scale. Try each problem before opening its blue Answer control.

Published November 23, 2026 · School of Math · 226 W 79th St, Upper West Side · (646) 668-6151

This is an independent topic in the Pre-Algebra rolling syllabus; earlier class attendance is not required. The only tools you need are plotting a point, substituting a number into an expression and reading a fraction as rise over run. See the schedule or book an evaluation at SOMATH.

Download the student workbook (PDF)22 pages · Supplied cover, eight teaching images, all 60 questions with blank coordinate grids for graphing · Generous blank working space · No exercise solutions

Read the equation: slope and y-intercept

Pre-Algebra Class 21 image 1: Read the Equation. Find the slope and the y-intercept of y = mx + b. For y = 2x + 3 the slope m = 2 means move up 2 units for every 1 unit to the right, and the y-intercept (0, 3) means when x = 0, y = 3, so the line crosses the y-axis at (0, 3).
Image 1 of 8. Select the image to enlarge it.

An equation written as \(y = mx + b\) is in slope-intercept form. It tells you two things at a glance. The number multiplying \(x\) is the slope \(m\): how much \(y\) changes each time \(x\) increases by 1. The constant term is \(b\), and the point \((0, b)\) is the y-intercept, where the line crosses the y-axis.

In the poster, \(y = 2x + 3\) has \(m = 2\) and \(b = 3\). The slope 2 means the line moves up 2 units for every 1 unit to the right. The y-intercept is \((0, 3)\): when \(x = 0\), \(y = 2(0) + 3 = 3\).

Read the signs with the numbers. In \(y = 5x - 4\) the constant is \(-4\), so \(b = -4\) and the y-intercept is \((0, -4)\). When no number is written in front of \(x\), the slope is 1 (\(y = x + 2\)) or \(-1\) (\(y = -x + 2\)). If the terms are in a different order, such as \(y = 3 - 2x\), rewrite the equation as \(y = -2x + 3\) before reading \(m\) and \(b\).

Practice: try these five questions

Q1

Find the slope and the y-intercept of \(y = 4x + 1\). Describe what the slope tells you.

Answer

\(m = 4\); y-intercept \((0, 1)\)

  1. Match \(y = 4x + 1\) to \(y = mx + b\): the number multiplying \(x\) is \(m = 4\) and the constant is \(b = 1\).

  2. The y-intercept is the point \((0, b) = (0, 1)\). Check: \(y = 4(0) + 1 = 1\).

  3. The slope 4 means the line moves up 4 units for every 1 unit to the right.

Q2

Find the slope and the y-intercept of \(y = -5x + 7\). Does the line rise or fall from left to right?

Answer

\(m = -5\); y-intercept \((0, 7)\); the line falls

  1. The coefficient of \(x\) is \(-5\), so \(m = -5\). Keep the negative sign with the number.

  2. The constant is 7, so the y-intercept is \((0, 7)\).

  3. A negative slope means the line goes down 5 units for every 1 unit to the right, so it falls from left to right.

Q3

Find the slope and the y-intercept of \(y = x - 6\).

Answer

\(m = 1\); y-intercept \((0, -6)\)

  1. No number is written in front of \(x\), and \(x\) means \(1x\), so \(m = 1\).

  2. Subtracting 6 is the same as adding \(-6\): \(y = 1x + (-6)\), so \(b = -6\).

  3. The y-intercept is \((0, -6)\). Check: \(y = 0 - 6 = -6\).

Q4

A classmate says the slope of \(y = 3 - 2x\) is 3. Rewrite the equation in the form \(y = mx + b\) and give the correct slope and y-intercept.

Answer

\(y = -2x + 3\); \(m = -2\); y-intercept \((0, 3)\)

  1. The slope is the number multiplying \(x\), not the first number written. Here \(x\) is multiplied by \(-2\).

  2. Reorder the terms: \(y = 3 - 2x = -2x + 3\).

  3. So \(m = -2\) and \(b = 3\); the y-intercept is \((0, 3)\). The classmate read the constant as the slope.

Q5

Write the equation of the line with slope \(\dfrac{3}{4}\) and y-intercept \((0, -2)\).

Answer

\(y = \dfrac{3}{4}x - 2\)

  1. Substitute \(m = \dfrac34\) and \(b = -2\) into \(y = mx + b\).

  2. \(y = \dfrac{3}{4}x + (-2) = \dfrac{3}{4}x - 2\).

  3. Check the intercept: when \(x = 0\), \(y = 0 - 2 = -2\), so the line passes through \((0, -2)\).

Plot the starting point

Pre-Algebra Class 21 image 2: Plot the Starting Point. Find the y-intercept of y = 2x − 4. Every point on the y-axis has x = 0, so y = 2(0) − 4 = −4, giving (0, −4). Start at the origin, move down 4 units along the y-axis and plot the point.
Image 2 of 8. Select the image to enlarge it.

Graphing a line from slope-intercept form begins with the starting point, the y-intercept. Every point on the y-axis has \(x = 0\), so substitute 0 for \(x\). For the poster's line, \(y = 2(0) - 4 = -4\), giving the point \((0, -4)\).

To plot it, start at the origin \((0, 0)\) and move along the y-axis only: up for a positive \(b\), down for a negative \(b\). For \((0, -4)\) you move down 4 units. You never move left or right to plot a y-intercept, because its x-coordinate is 0.

Two common slips: writing the y-intercept as \((b, 0)\), which is a point on the x-axis, and dropping the sign of \(b\). If an equation has no constant term, such as \(y = 6x\), then \(b = 0\) and the line starts at the origin.

Practice: try these five questions

Q6

Find the y-intercept of \(y = 3x + 5\) by substituting \(x = 0\). Then plot it.

Answer

\((0, 5)\)

xy−3−2−1123−2−1123456(0, 5)
  1. Every point on the y-axis has \(x = 0\): \(y = 3(0) + 5 = 0 + 5 = 5\).

  2. The y-intercept is \((0, 5)\).

  3. Start at the origin and move up 5 units along the y-axis; plot the point there.

Q7

Find the y-intercept of \(y = -4x - 2\). Describe how to move from the origin to plot it, then plot it.

Answer

\((0, -2)\); move down 2

xy−3−2−1123−4−3−2−1123(0, −2)
  1. Substitute \(x = 0\): \(y = -4(0) - 2 = 0 - 2 = -2\).

  2. The y-intercept is \((0, -2)\).

  3. From the origin, move down 2 units along the y-axis. The slope \(-4\) does not change where the line starts.

Q8

Find the y-intercept of \(y = 6x\).

Answer

\((0, 0)\), the origin

  1. Substitute \(x = 0\): \(y = 6(0) = 0\).

  2. There is no constant term, so \(b = 0\): \(y = 6x + 0\).

  3. The y-intercept is \((0, 0)\). The line starts at the origin, so no move along the y-axis is needed.

Q9

For \(y = -x + 8\), Ana says the y-intercept is \((8, 0)\). Is she right? Give the correct y-intercept and explain what \((8, 0)\) is.

Answer

No; the y-intercept is \((0, 8)\)

  1. Substitute \(x = 0\): \(y = -0 + 8 = 8\), so the y-intercept is \((0, 8)\).

  2. A y-intercept always has x-coordinate 0. Ana reversed the coordinates.

  3. The point \((8, 0)\) is on the line too (\(-8 + 8 = 0\)), but it lies on the x-axis: it is where the line crosses the x-axis, not the y-axis.

Q10

Which two of these lines cross the y-axis at the same point? \(y = 2x - 3\), \(y = -5x - 3\), \(y = 3x + 2\).

Answer

\(y = 2x - 3\) and \(y = -5x - 3\), both at \((0, -3)\)

  1. Substitute \(x = 0\) in each: \(2(0) - 3 = -3\), \(-5(0) - 3 = -3\), \(3(0) + 2 = 2\).

  2. The y-intercepts are \((0, -3)\), \((0, -3)\) and \((0, 2)\).

  3. The first two share the starting point \((0, -3)\). Different slopes send them in different directions after they leave it.

Graph a positive slope

Pre-Algebra Class 21 image 3: Graph a Positive Slope. For y = 2x + 1, start at (0, 1), move right 1 and up 2 to (1, 3), repeat to (2, 5), then draw the line through all three points.
Image 3 of 8. Select the image to enlarge it.

Once the starting point is plotted, the slope tells you how to move to the next point. Write the slope as rise over run. A whole-number slope such as 2 is \(\dfrac{2}{1}\): run 1 to the right, rise 2 up.

For \(y = 2x + 1\) in the poster, start at \((0, 1)\), move right 1 and up 2 to reach \((1, 3)\), then repeat the same move to reach \((2, 5)\). Draw a straight line through all three points and extend it in both directions with arrows.

Plot at least three points: two determine the line, and the third is a check. If the three points do not line up, recheck a move. You can also check any point by substituting: for \((2, 5)\), \(2(2) + 1 = 5\). A positive slope always makes the line rise from left to right.

Practice: try these five questions

Q11

Graph \(y = 3x - 2\). Start at the y-intercept and use the slope to find two more points.

Answer

Points \((0, -2)\), \((1, 1)\), \((2, 4)\)

xy−2−11234−3−2−112345(0, −2)(1, 1)(2, 4)
  1. The y-intercept is \((0, -2)\). Plot it.

  2. Slope \(3 = \dfrac{3}{1}\): from \((0, -2)\) move right 1, up 3 to \((1, 1)\); repeat to \((2, 4)\).

  3. Check \((2, 4)\): \(3(2) - 2 = 4\). Draw the line through the three points.

Q12

Graph \(y = x + 2\). List the points for \(x = 0, 1, 2, 3\).

Answer

\((0, 2)\), \((1, 3)\), \((2, 4)\), \((3, 5)\)

xy−2−11234−1123456(0, 2)(1, 3)(2, 4)(3, 5)
  1. The slope is 1 (no number is written in front of \(x\)) and the y-intercept is \((0, 2)\).

  2. Each move is right 1, up 1: \((0, 2) \to (1, 3) \to (2, 4) \to (3, 5)\).

  3. Check \((3, 5)\): \(3 + 2 = 5\). Draw the line through the points.

Q13

Graph \(y = 2x - 3\). Where does the line cross the y-axis, and what is \(y\) when \(x = 3\)?

Answer

Crosses the y-axis at \((0, -3)\); \(y = 3\) when \(x = 3\)

xy−2−11234−4−3−2−11234(0, −3)(1, −1)(2, 1)(3, 3)
  1. Start at the y-intercept \((0, -3)\).

  2. Slope 2: right 1, up 2 each time: \((1, -1)\), \((2, 1)\), \((3, 3)\).

  3. So when \(x = 3\), \(y = 3\). Check: \(2(3) - 3 = 3\).

Q14

Graph \(y = 4x - 5\) using two moves from the y-intercept.

Answer

Points \((0, -5)\), \((1, -1)\), \((2, 3)\)

xy−2−1123−6−5−4−3−2−11234(0, −5)(1, −1)(2, 3)
  1. Plot the y-intercept \((0, -5)\): from the origin, down 5.

  2. Slope \(4 = \dfrac41\): right 1, up 4 to \((1, -1)\); again to \((2, 3)\).

  3. Check \((2, 3)\): \(4(2) - 5 = 3\). The line is steep because the slope is large.

Q15

Graph \(y = 3x + 1\). Then decide whether \((2, 7)\) and \((3, 9)\) are on the line.

Answer

\((2, 7)\) is on the line; \((3, 9)\) is not

xy−11234−2−11234567891011(0, 1)(1, 4)(2, 7)(3, 10)
  1. Start at \((0, 1)\); right 1, up 3 to \((1, 4)\); again to \((2, 7)\).

  2. \((2, 7)\) is reached by the slope moves, and \(3(2) + 1 = 7\), so it is on the line.

  3. For \((3, 9)\): \(3(3) + 1 = 10 \ne 9\). The next point on the line is \((3, 10)\), so \((3, 9)\) is just below the line.

Graph a negative slope

Pre-Algebra Class 21 image 4: Graph a Negative Slope. For y = −3x + 2: step 1, plot the y-intercept (0, 2); step 2, move right 1 and down 3 to (1, −1); step 3, repeat the same move to (2, −4). Draw a straight line through the three points; it falls from left to right.
Image 4 of 8. Select the image to enlarge it.

A negative slope uses the same three steps, but the rise is negative, so you move down. Write \(-3\) as \(\dfrac{-3}{1}\): run 1 to the right, rise \(-3\), meaning down 3.

In the poster, \(y = -3x + 2\) starts at \((0, 2)\). Moving right 1 and down 3 gives \((1, -1)\); repeating the move gives \((2, -4)\). The line through these points falls from left to right.

You may also move to the left. Moving left 1 and up 3 is the same slope, \(\dfrac{3}{-1} = -3\), and it is useful when the points to the right run off the grid. The larger the number without its sign, the steeper the line: \(y = -5x\) is steeper than \(y = -x\).

Practice: try these five questions

Q16

Graph \(y = -2x + 4\). List the points for \(x = 0, 1, 2, 3\). Where does the line cross the x-axis?

Answer

\((0, 4)\), \((1, 2)\), \((2, 0)\), \((3, -2)\); crosses the x-axis at \((2, 0)\)

xy−11234−3−2−112345(0, 4)(1, 2)(2, 0)(3, −2)
  1. Start at the y-intercept \((0, 4)\).

  2. Slope \(-2\): right 1, down 2 each time: \((1, 2)\), \((2, 0)\), \((3, -2)\).

  3. The point with \(y = 0\) is \((2, 0)\), so the line crosses the x-axis there. Check: \(-2(2) + 4 = 0\).

Q17

Graph \(y = -x + 3\).

Answer

Points \((0, 3)\), \((1, 2)\), \((2, 1)\), \((3, 0)\)

xy−11234−11234(0, 3)(1, 2)(2, 1)(3, 0)
  1. The slope is \(-1\) and the y-intercept is \((0, 3)\).

  2. Each move is right 1, down 1: \((1, 2)\), \((2, 1)\), \((3, 0)\).

  3. Draw the line through the points; it falls from left to right.

Q18

Graph \(y = -4x + 5\) using two moves from the y-intercept.

Answer

Points \((0, 5)\), \((1, 1)\), \((2, -3)\)

xy−1123−4−3−2−1123456(0, 5)(1, 1)(2, −3)
  1. Plot \((0, 5)\).

  2. Slope \(-4\): right 1, down 4 to \((1, 1)\); again to \((2, -3)\).

  3. Check \((2, -3)\): \(-4(2) + 5 = -8 + 5 = -3\).

Q19

Graph \(y = -3x - 1\). Find one point to the right of the y-intercept and one point to the left.

Answer

\((0, -1)\), \((1, -4)\) and \((-1, 2)\)

xy−2−112−5−4−3−2−1123(−1, 2)(0, −1)(1, −4)
  1. Plot the y-intercept \((0, -1)\).

  2. To the right: right 1, down 3 gives \((1, -4)\).

  3. To the left: reverse both directions, left 1 and up 3, giving \((-1, 2)\). Check: \(-3(-1) - 1 = 3 - 1 = 2\).

Q20

Without graphing, decide whether each line rises or falls from left to right, and name the steepest: \(y = -5x + 2\), \(y = 5x - 2\), \(y = -x\).

Answer

Falls, rises, falls; \(y = -5x + 2\) and \(y = 5x - 2\) are equally steep, and both are steeper than \(y = -x\)

  1. Read each slope: \(-5\), \(5\) and \(-1\).

  2. Negative slope falls; positive slope rises. So: falls, rises, falls.

  3. Steepness depends on the size of the slope without its sign: 5, 5 and 1. The first two are equally steep (in opposite directions); \(y = -x\) is the least steep.

Use a fractional slope

Pre-Algebra Class 21 image 5: Use a Fractional Slope. For y = (2/3)x − 1: step 1, plot the y-intercept (0, −1); step 2, from the intercept move right 3 and up 2 to (3, 1); step 3, from the intercept move left 3 and down 2 to (−3, −3). Draw a straight line through all three points.
Image 5 of 8. Select the image to enlarge it.

When the slope is a fraction, read it directly as rise over run: the numerator is the rise and the denominator is the run. For \(y = \dfrac{2}{3}x - 1\), start at \((0, -1)\), then move right 3 and up 2 to land exactly on \((3, 1)\).

Moving the full run keeps every point on a grid corner. Moving right 1 would require going up \(\dfrac23\) of a unit, which is hard to plot accurately. To find a point on the other side, reverse both directions: left 3 and down 2 gives \((-3, -3)\).

For a negative fraction such as \(-\dfrac{3}{4}\), move right 4 and down 3 (or left 4 and up 3). Check a point by substituting: for \((3, 1)\), \(\dfrac23(3) - 1 = 2 - 1 = 1\). Choosing x-values that are multiples of the denominator keeps the arithmetic whole.

Practice: try these five questions

Q21

Graph \(y = \dfrac{1}{2}x + 1\). Find two points to the right of the y-intercept and one to the left.

Answer

\((0, 1)\), \((2, 2)\), \((4, 3)\) and \((-2, 0)\)

xy−3−2−112345−11234(−2, 0)(0, 1)(2, 2)(4, 3)
  1. Plot the y-intercept \((0, 1)\).

  2. Slope \(\dfrac12\): rise 1, run 2. Right 2, up 1 gives \((2, 2)\); again gives \((4, 3)\).

  3. Left 2, down 1 gives \((-2, 0)\). Check: \(\dfrac12(-2) + 1 = -1 + 1 = 0\).

Q22

Graph \(y = \dfrac{3}{4}x - 2\) using two moves to the right.

Answer

\((0, -2)\), \((4, 1)\), \((8, 4)\)

xy−1123456789−3−2−112345(0, −2)(4, 1)(8, 4)
  1. Plot \((0, -2)\).

  2. Slope \(\dfrac34\): right 4, up 3 gives \((4, 1)\); again gives \((8, 4)\).

  3. Check \((8, 4)\): \(\dfrac34(8) - 2 = 6 - 2 = 4\).

Q23

Graph \(y = -\dfrac{2}{3}x + 4\). Where does the line cross the x-axis?

Answer

\((0, 4)\), \((3, 2)\), \((6, 0)\); crosses the x-axis at \((6, 0)\)

xy−11234567−112345(0, 4)(3, 2)(6, 0)
  1. Plot \((0, 4)\).

  2. Slope \(-\dfrac23\): right 3, down 2 gives \((3, 2)\); again gives \((6, 0)\).

  3. \((6, 0)\) has \(y = 0\), so the line crosses the x-axis there. Check: \(-\dfrac23(6) + 4 = -4 + 4 = 0\).

Q24

Graph \(y = \dfrac{5}{2}x - 4\). Is this line steeper or less steep than \(y = 2x - 4\)?

Answer

\((0, -4)\), \((2, 1)\), \((4, 6)\); steeper, because \(\dfrac52 \gt 2\)

xy−112345−5−4−3−2−11234567(0, −4)(2, 1)(4, 6)
  1. Plot \((0, -4)\).

  2. Slope \(\dfrac52\): right 2, up 5 gives \((2, 1)\); again gives \((4, 6)\).

  3. \(\dfrac52 = 2.5\), which is greater than 2, so this line rises faster and is steeper than \(y = 2x - 4\).

Q25

Graph \(y = -\dfrac{1}{3}x - 1\). Then check whether \((6, -3)\) is on the line.

Answer

\((-3, 0)\), \((0, -1)\), \((3, -2)\); yes, \((6, -3)\) is on the line

xy−4−3−2−11234567−4−3−2−112(−3, 0)(0, −1)(3, −2)(6, −3)
  1. Plot \((0, -1)\). Slope \(-\dfrac13\): right 3, down 1 gives \((3, -2)\); left 3, up 1 gives \((-3, 0)\).

  2. One more move right from \((3, -2)\) gives \((6, -3)\).

  3. Check: \(-\dfrac13(6) - 1 = -2 - 1 = -3\). The point is on the line.

Zero slope or zero intercept?

Pre-Algebra Class 21 image 6: Zero Slope or Zero Intercept? A graph shows the horizontal line y = 3 and the line y = 3x through (0, 0), meeting at (1, 3). y = 3 has zero slope: the height stays at 3. y = 3x has a zero y-intercept: the line rises 3 units for every 1 unit to the right.
Image 6 of 8. Select the image to enlarge it.

Two equations that look alike can describe very different lines. In \(y = 3\), there is no \(x\)-term, so the slope is 0: \(y = 0x + 3\). Every point has height 3, and the graph is a horizontal line through \((0, 3)\).

In \(y = 3x\), there is no constant term, so \(b = 0\): \(y = 3x + 0\). The line passes through the origin \((0, 0)\) and rises 3 units for every 1 unit to the right. In the poster the two lines meet at \((1, 3)\), where \(3x = 3\).

A quick test: a missing \(x\)-term means zero slope; a missing constant means a zero y-intercept. The x-axis itself is the line \(y = 0\), which has both slope 0 and y-intercept 0.

Practice: try these five questions

Q26

Graph \(y = -2\) and \(y = -2x\) on the same grid. Where do they meet?

Answer

They meet at \((1, -2)\)

xy−3−2−1123−4−3−2−11234y = −2y = −2x(0, 0)(1, −2)
  1. \(y = -2\) has slope 0: a horizontal line through \((0, -2)\).

  2. \(y = -2x\) has \(b = 0\): it starts at \((0, 0)\) and moves right 1, down 2 to \((1, -2)\).

  3. Both lines contain \((1, -2)\): \(-2x = -2\) gives \(x = 1\).

Q27

Give the slope \(m\) and the y-intercept for each line: \(y = 5\), \(y = 5x\), \(y = x\), \(y = 0\).

Answer

\(y = 5\): \(m = 0\), \((0, 5)\). \(y = 5x\): \(m = 5\), \((0, 0)\). \(y = x\): \(m = 1\), \((0, 0)\). \(y = 0\): \(m = 0\), \((0, 0)\)

  1. \(y = 5\) is \(y = 0x + 5\): slope 0, y-intercept \((0, 5)\), a horizontal line.

  2. \(y = 5x\) is \(y = 5x + 0\): slope 5, y-intercept \((0, 0)\).

  3. \(y = x\) is \(y = 1x + 0\): slope 1, y-intercept \((0, 0)\).

  4. \(y = 0\) is \(y = 0x + 0\): slope 0 and y-intercept \((0, 0)\). This line is the x-axis.

Q28

Write the equation of (a) the horizontal line through \((4, -3)\), and (b) the line through the origin with slope \(-\dfrac12\).

Answer

(a) \(y = -3\); (b) \(y = -\dfrac12 x\)

  1. (a) A horizontal line has slope 0, so every point has the same y-value as \((4, -3)\): \(y = -3\).

  2. (b) Through the origin means \(b = 0\). With \(m = -\dfrac12\): \(y = -\dfrac12 x + 0 = -\dfrac12 x\).

  3. Check (b): \((2, -1)\) is on it, since \(-\dfrac12(2) = -1\).

Q29

Which of these lines pass through the origin? \(y = 7x\), \(y = x + 7\), \(y = -x\), \(y = 7\).

Answer

\(y = 7x\) and \(y = -x\)

  1. A line passes through the origin when \(x = 0\) gives \(y = 0\), which means \(b = 0\).

  2. \(y = 7x\): \(7(0) = 0\). Yes. \(y = -x\): \(-0 = 0\). Yes.

  3. \(y = x + 7\) gives \(y = 7\) at \(x = 0\), and \(y = 7\) is always 7. Neither passes through the origin.

Q30

Graph \(y = \dfrac12 x\) and \(y = 4\) on the same grid. At what point do they meet?

Answer

\((8, 4)\)

xy−1123456789−112345y = 4y = ½x(0, 0)(8, 4)
  1. \(y = 4\) is a horizontal line through \((0, 4)\).

  2. \(y = \dfrac12 x\) starts at \((0, 0)\); right 2, up 1 each move: \((2, 1)\), \((4, 2)\), \((6, 3)\), \((8, 4)\).

  3. They meet where \(\dfrac12 x = 4\), so \(x = 8\): the point \((8, 4)\).

Spot the slope mistake

Pre-Algebra Class 21 image 7: Spot the Slope Mistake. For y = −(1/2)x + 3, a student started at (0, 3), then moved right 2 and up 1. Which direction should change? Correct the move: from (0, 3), move right 2 and down 1 to reach (2, 2). Check the point: −(1/2)(2) + 3 = −1 + 3 = 2; the result matches the y-coordinate.
Image 7 of 8. Select the image to enlarge it.

Most graphing errors come from one of four slips: using the wrong sign (up instead of down), swapping rise and run, plotting the y-intercept on the x-axis, or reading the slope from the wrong term. The poster shows the sign slip: for \(y = -\dfrac12 x + 3\), the student moved right 2 and up 1, but a negative slope moving right must go down.

The corrected move from \((0, 3)\) is right 2 and down 1, reaching \((2, 2)\). Then check by substituting the x-coordinate: \(-\dfrac12(2) + 3 = -1 + 3 = 2\), which matches the y-coordinate.

Make substitution your habit. If the result does not match the y-coordinate of the point you plotted, a move is wrong. The check takes seconds and catches every one of the four slips.

Practice: try these five questions

Q31

For \(y = -2x + 5\), a student went from \((0, 5)\) right 1 and up 2 to \((1, 7)\). Find the mistake, correct the point, and check it.

Answer

The move should be down 2; correct point \((1, 3)\)

xy−2−1123−112345678(0, 5)(1, 3)(2, 1)
  1. The slope \(-2\) is negative, so moving right 1 must go down 2, not up.

  2. Correct move: \((0, 5)\) right 1, down 2 gives \((1, 3)\).

  3. Check: \(-2(1) + 5 = 3\). The student's point fails: \(-2(1) + 5 = 3 \ne 7\).

Q32

For \(y = \dfrac{3}{2}x - 1\), a student moved from \((0, -1)\) right 3 and up 2 to \((3, 1)\). What went wrong? Give the correct point.

Answer

Rise and run were swapped; correct move right 2, up 3 to \((2, 2)\)

xy−112345−2−1123456(0, −1)(2, 2)(4, 5)
  1. In \(\dfrac32\) the numerator is the rise (3) and the denominator is the run (2).

  2. The student used run 3 and rise 2, which is the slope \(\dfrac23\).

  3. Correct move: right 2, up 3 from \((0, -1)\) gives \((2, 2)\). Check: \(\dfrac32(2) - 1 = 3 - 1 = 2\).

Q33

For \(y = 4x - 3\), a student plotted the starting point at \((-3, 0)\). Explain the error and give the correct starting point and the next point.

Answer

The y-intercept is \((0, -3)\); next point \((1, 1)\)

  1. The starting point is on the y-axis, so its x-coordinate is 0. The student plotted it on the x-axis instead.

  2. Substitute \(x = 0\): \(y = 4(0) - 3 = -3\), so the starting point is \((0, -3)\).

  3. Slope 4: right 1, up 4 gives \((1, 1)\). Check: \(4(1) - 3 = 1\).

Q34

A student says \(y = 2 + 5x\) has slope 2 and y-intercept \((0, 5)\). Correct the statement.

Answer

Slope 5; y-intercept \((0, 2)\)

  1. The slope is the coefficient of \(x\), wherever that term appears. Here \(x\) is multiplied by 5.

  2. Rewrite: \(y = 5x + 2\), so \(m = 5\) and \(b = 2\).

  3. Check the intercept: when \(x = 0\), \(y = 2 + 0 = 2\).

Q35

For \(y = -\dfrac{3}{4}x + 6\), a student moved from \((0, 6)\) left 4 and down 3 to \((-4, 3)\). Is the point correct? If not, give two correct points, one on each side of the intercept.

Answer

No. Correct points: \((4, 3)\) and \((-4, 9)\)

xy−5−4−3−2−1123456−112345678910(−4, 9)(0, 6)(4, 3)
  1. Moving left and down describes a positive slope, \(\dfrac{-3}{-4} = \dfrac34\), not \(-\dfrac34\).

  2. Check the student's point: \(-\dfrac34(-4) + 6 = 3 + 6 = 9 \ne 3\).

  3. Correct moves: right 4, down 3 gives \((4, 3)\); left 4, up 3 gives \((-4, 9)\). Check: \(-\dfrac34(4) + 6 = 3\).

When is the tank empty?

Pre-Algebra Class 21 image 8: When Is the Tank Empty? A tank starts with 12 gallons and drains at 2 gallons per minute: y = −2x + 12. A graph of water in gallons against time in minutes falls from (0, 12) to (6, 0). At (0, 12) the tank holds 12 gallons; at (6, 0) the tank is empty after 6 minutes.
Image 8 of 8. Select the image to enlarge it.

Slope-intercept form fits any situation with a starting amount and a constant rate. The starting amount is \(b\) and the rate is \(m\); a quantity that decreases has a negative rate. The poster's tank starts with 12 gallons and drains 2 gallons per minute, so \(y = -2x + 12\), where \(x\) is minutes and \(y\) is gallons.

Each intercept answers a question. The y-intercept \((0, 12)\) says the tank holds 12 gallons at time 0. The tank is empty when \(y = 0\): \(0 = -2x + 12\), so \(2x = 12\) and \(x = 6\). The point \((6, 0)\), where the line meets the horizontal axis, says the tank is empty after 6 minutes.

In real situations the graph usually stops at the axes: time cannot be negative, and the tank cannot hold less than 0 gallons. Always label the axes with the quantities and units, and state the meaning of each intercept in a sentence.

Practice: try these five questions

Q36

A candle is 15 cm tall and burns down 3 cm per hour. Write an equation for its height \(y\) after \(x\) hours. When does it burn out?

Answer

\(y = -3x + 15\); after 5 hours

  1. Starting height \(b = 15\); it loses 3 cm each hour, so \(m = -3\): \(y = -3x + 15\).

  2. Burned out means \(y = 0\): \(0 = -3x + 15\), so \(3x = 15\) and \(x = 5\).

  3. The candle burns out after 5 hours; the graph meets the x-axis at \((5, 0)\).

Q37

A phone battery is at 80% and drops 5% each hour. Write an equation for the charge \(y\) after \(x\) hours. What is the charge after 6 hours, and when is the battery empty?

Answer

\(y = -5x + 80\); 50%; after 16 hours

  1. Start \(b = 80\), rate \(m = -5\) percent per hour: \(y = -5x + 80\).

  2. After 6 hours: \(y = -5(6) + 80 = -30 + 80 = 50\) percent.

  3. Empty: \(0 = -5x + 80\), so \(5x = 80\) and \(x = 16\) hours.

Q38

Maya has $20 saved and adds $15 each week. Write an equation for her savings \(y\) after \(x\) weeks. What do the slope and y-intercept mean? When will she have $200?

Answer

\(y = 15x + 20\); after 12 weeks

  1. Start \(b = 20\) dollars; rate \(m = 15\) dollars per week: \(y = 15x + 20\).

  2. The slope means her savings grow $15 each week; the y-intercept \((0, 20)\) means she has $20 at week 0.

  3. Set \(15x + 20 = 200\): \(15x = 180\), so \(x = 12\) weeks.

Q39

A hiker is 1,800 meters above the trailhead and descends 300 meters each hour. Write an equation for the height \(y\) after \(x\) hours and find when the hiker reaches the trailhead.

Answer

\(y = -300x + 1800\); after 6 hours

  1. Start \(b = 1800\) meters; rate \(m = -300\) meters per hour: \(y = -300x + 1800\).

  2. At the trailhead the height above it is 0: \(0 = -300x + 1800\), so \(300x = 1800\).

  3. \(x = 6\). The hiker reaches the trailhead after 6 hours.

Q40

A water cooler holds 12 liters and drains at 3 liters per minute: \(y = -3x + 12\). Graph the line from the start until the cooler is empty, and label both intercepts.

Answer

Intercepts \((0, 12)\) and \((4, 0)\): empty after 4 minutes

minutesliters12345612345678910111213(0, 12)(4, 0)
  1. The y-intercept \((0, 12)\) is the starting 12 liters.

  2. Each minute: right 1, down 3: \((1, 9)\), \((2, 6)\), \((3, 3)\), \((4, 0)\).

  3. Empty when \(0 = -3x + 12\), so \(x = 4\). Stop the graph at \((4, 0)\) because the cooler cannot hold less than 0 liters.

Homework review

One review question for each topic, in the same order as the images. Start every graph at the y-intercept, move with rise over run, and check a point by substituting.

R1

Find the slope and the y-intercept of \(y = -6x + 9\).

Answer

\(m = -6\); y-intercept \((0, 9)\)

  1. The coefficient of \(x\) is \(-6\), so \(m = -6\).

  2. The constant is 9, so the y-intercept is \((0, 9)\).

  3. The line falls 6 units for every 1 unit to the right.

R2

Find the y-intercept of \(y = 5x - 7\) by substituting \(x = 0\).

Answer

\((0, -7)\)

  1. \(y = 5(0) - 7 = -7\).

  2. The y-intercept is \((0, -7)\): from the origin, move down 7 along the y-axis.

R3

Graph \(y = 2x - 1\). List the points for \(x = 0, 1, 2, 3\).

Answer

\((0, -1)\), \((1, 1)\), \((2, 3)\), \((3, 5)\)

xy−2−11234−2−1123456(0, −1)(1, 1)(2, 3)(3, 5)
  1. Start at \((0, -1)\).

  2. Slope 2: right 1, up 2 each time: \((1, 1)\), \((2, 3)\), \((3, 5)\).

  3. Check \((3, 5)\): \(2(3) - 1 = 5\).

R4

Graph \(y = -3x + 4\) using two moves from the y-intercept.

Answer

\((0, 4)\), \((1, 1)\), \((2, -2)\)

xy−1123−3−2−112345(0, 4)(1, 1)(2, −2)
  1. Plot \((0, 4)\).

  2. Slope \(-3\): right 1, down 3 to \((1, 1)\); again to \((2, -2)\).

  3. Check: \(-3(2) + 4 = -2\).

R5

Graph \(y = \dfrac{1}{4}x + 2\). Find two points to the right of the y-intercept and one to the left.

Answer

\((0, 2)\), \((4, 3)\), \((8, 4)\) and \((-4, 1)\)

xy−5−4−3−2−112345678912345(−4, 1)(0, 2)(4, 3)(8, 4)
  1. Plot \((0, 2)\).

  2. Slope \(\dfrac14\): right 4, up 1 gives \((4, 3)\) and \((8, 4)\).

  3. Left 4, down 1 gives \((-4, 1)\). Check: \(\dfrac14(-4) + 2 = 1\).

R6

Graph \(y = -1\) and \(y = -x\) on the same grid. Which has zero slope, which has zero y-intercept, and where do they meet?

Answer

\(y = -1\) has zero slope; \(y = -x\) has zero y-intercept; they meet at \((1, -1)\)

xy−3−2−1123−3−2−1123y = −1y = −x(0, 0)(1, −1)
  1. \(y = -1\) is \(y = 0x - 1\): slope 0, a horizontal line through \((0, -1)\).

  2. \(y = -x\) is \(y = -1x + 0\): it passes through the origin and falls 1 for every 1 to the right.

  3. They meet where \(-x = -1\), so \(x = 1\): the point \((1, -1)\).

R7

For \(y = \dfrac{2}{5}x + 1\), a student moved from \((0, 1)\) right 2 and up 5 to \((2, 6)\). Explain the mistake and give the correct point.

Answer

Rise and run were swapped; correct point \((5, 3)\)

  1. In \(\dfrac25\) the rise is 2 and the run is 5.

  2. Correct move: right 5, up 2 from \((0, 1)\) gives \((5, 3)\).

  3. Check: \(\dfrac25(5) + 1 = 2 + 1 = 3\). The student's point fails: \(\dfrac25(2) + 1 = 1.8 \ne 6\).

R8

A tank holds 20 gallons and drains 4 gallons per minute. Write the equation and find when the tank is empty.

Answer

\(y = -4x + 20\); empty after 5 minutes

  1. Start \(b = 20\); rate \(m = -4\) gallons per minute: \(y = -4x + 20\).

  2. Empty: \(0 = -4x + 20\), so \(4x = 20\) and \(x = 5\).

  3. The graph runs from \((0, 20)\) to \((5, 0)\): empty after 5 minutes.

Homework word problems

Identify the starting amount and the constant rate, write the equation in the form \(y = mx + b\), and explain what each intercept means with units.

W1

A taxi charges a $3 pickup fee plus $2 per mile. Write an equation for the cost \(y\) of an \(x\)-mile ride, name the slope and the y-intercept, and find the cost of a 7-mile ride.

Answer

\(y = 2x + 3\); $17

  1. Fixed fee \(b = 3\); rate \(m = 2\) dollars per mile: \(y = 2x + 3\).

  2. Slope 2: each mile adds $2. Y-intercept \((0, 3)\): $3 before any miles.

  3. 7 miles: \(y = 2(7) + 3 = 17\) dollars.

W2

A gym charges a $25 sign-up fee and $10 per month. Write an equation for the total cost after \(x\) months. What is the total after 6 months, and after how many months is the total $145?

Answer

\(y = 10x + 25\); $85; 12 months

  1. \(b = 25\), \(m = 10\): \(y = 10x + 25\).

  2. 6 months: \(10(6) + 25 = 85\) dollars.

  3. \(10x + 25 = 145\) gives \(10x = 120\), so \(x = 12\) months.

W3

A seedling is 4 cm tall and grows \(\dfrac12\) cm each day. Write an equation for its height after \(x\) days. How tall is it after 10 days, and when will it be 10 cm tall?

Answer

\(y = \dfrac12 x + 4\); 9 cm; after 12 days

  1. \(b = 4\), \(m = \dfrac12\): \(y = \dfrac12 x + 4\).

  2. 10 days: \(\dfrac12(10) + 4 = 5 + 4 = 9\) cm.

  3. \(\dfrac12 x + 4 = 10\) gives \(\dfrac12 x = 6\), so \(x = 12\) days.

W4

A $60 gift card is used for $4 smoothies. Write an equation for the balance \(y\) after \(x\) smoothies. After how many smoothies is the card empty?

Answer

\(y = -4x + 60\); 15 smoothies

  1. Start \(b = 60\); each smoothie subtracts 4: \(y = -4x + 60\).

  2. Empty: \(0 = -4x + 60\), so \(4x = 60\) and \(x = 15\).

  3. The card is empty after 15 smoothies; the graph reaches the x-axis at \((15, 0)\).

W5

An elevator starts 90 meters above the ground and descends 6 meters per second. Write an equation for its height after \(x\) seconds and find when it reaches the ground.

Answer

\(y = -6x + 90\); after 15 seconds

  1. \(b = 90\), \(m = -6\): \(y = -6x + 90\).

  2. Ground level: \(0 = -6x + 90\), so \(6x = 90\).

  3. \(x = 15\) seconds.

W6

Streaming Plan A costs \(y = 5x + 10\) dollars for \(x\) movies; Plan B costs \(y = 7x\). Explain what each slope and y-intercept means, and find the number of movies for which the plans cost the same.

Answer

5 movies, when both cost $35

  1. Plan A: $10 membership plus $5 per movie. Plan B: no membership (y-intercept \((0, 0)\)) and $7 per movie.

  2. Same cost: \(5x + 10 = 7x\), so \(10 = 2x\) and \(x = 5\).

  3. Check: \(5(5) + 10 = 35\) and \(7(5) = 35\). On a graph, the lines meet at \((5, 35)\).

W7

At 6 a.m. the temperature is \(-4\)°C, and it rises 3°C each hour. Write an equation for the temperature \(y\) after \(x\) hours. When is it 11°C?

Answer

\(y = 3x - 4\); after 5 hours (11 a.m.)

  1. Start \(b = -4\), rate \(m = 3\): \(y = 3x - 4\).

  2. Set \(3x - 4 = 11\): \(3x = 15\), so \(x = 5\).

  3. 5 hours after 6 a.m. is 11 a.m.

W8

A line passes through \((0, 2)\) and \((3, 8)\). Find its slope and write its equation in slope-intercept form.

Answer

\(m = 2\); \(y = 2x + 2\)

  1. Slope: \(m = \dfrac{8 - 2}{3 - 0} = \dfrac63 = 2\).

  2. The point \((0, 2)\) is the y-intercept, so \(b = 2\).

  3. \(y = 2x + 2\). Check \((3, 8)\): \(2(3) + 2 = 8\).

W9

A line crosses the y-axis at \(-3\) and passes through \((4, 3)\). Write its equation.

Answer

\(y = \dfrac32 x - 3\)

  1. The y-intercept is \((0, -3)\), so \(b = -3\).

  2. Slope from \((0, -3)\) to \((4, 3)\): \(m = \dfrac{3 - (-3)}{4 - 0} = \dfrac64 = \dfrac32\).

  3. \(y = \dfrac32 x - 3\). Check: \(\dfrac32(4) - 3 = 6 - 3 = 3\).

W10

A bike rental's cost is shown in the table. Write an equation in slope-intercept form and find the cost of a 5-hour rental.

HoursCost ($)
08
114
220
326
Answer

\(y = 6x + 8\); $38

  1. Each hour adds \(14 - 8 = 6\) dollars, so \(m = 6\) (check: \(20 - 14 = 26 - 20 = 6\)).

  2. At 0 hours the cost is $8, so \(b = 8\): \(y = 6x + 8\).

  3. 5 hours: \(6(5) + 8 = 38\) dollars.

W11

Pat says the line \(y = -4x + 12\) reaches the x-axis at \((0, 12)\). Explain Pat's mistake and find where the line really meets the x-axis.

Answer

\((0, 12)\) is the y-intercept; the line meets the x-axis at \((3, 0)\)

  1. \((0, 12)\) has \(x = 0\), so it is on the y-axis: it is the y-intercept.

  2. On the x-axis, \(y = 0\): \(0 = -4x + 12\), so \(4x = 12\) and \(x = 3\).

  3. The line meets the x-axis at \((3, 0)\).

W12

Challenge. Candle A is 20 cm tall and burns 2 cm per hour. Candle B is 14 cm tall and burns 1 cm per hour. Write an equation for each, find when they are the same height, and decide which burns out first.

Answer

A: \(y = -2x + 20\); B: \(y = -x + 14\); same height (8 cm) after 6 hours; A burns out first (10 hours vs 14 hours)

  1. Candle A: \(y = -2x + 20\). Candle B: \(y = -x + 14\).

  2. Same height: \(-2x + 20 = -x + 14\) gives \(6 = x\). Height: \(-6 + 14 = 8\) cm.

  3. A burns out when \(-2x + 20 = 0\): \(x = 10\) hours. B burns out when \(-x + 14 = 0\): \(x = 14\) hours. A burns out first.

Quick questions and answers

What is slope-intercept form?

Slope-intercept form is y = mx + b. The number m multiplying x is the slope, and b gives the y-intercept (0, b), where the line crosses the y-axis. In y = 2x + 3 the slope is 2 and the y-intercept is (0, 3).

How do I graph a line from y = mx + b?

Plot the y-intercept (0, b) first. Write the slope as rise over run, then move right by the run and up by the rise (down if the slope is negative) to find a second point. Repeat the move for a third point, check it by substituting, and draw a straight line through the points.

How do I graph a fractional slope like 2/3?

The numerator is the rise and the denominator is the run. For a slope of 2/3, move right 3 and up 2 from the y-intercept so the next point lands on a grid corner. To go the other way, move left 3 and down 2.

What is the difference between y = 3 and y = 3x?

y = 3 has zero slope: it is a horizontal line where every point has height 3. y = 3x has a zero y-intercept: it passes through the origin and rises 3 units for every 1 unit to the right. The two lines meet at (1, 3).

How do I check that a point is on my line?

Substitute the point's x-coordinate into the equation. If the result equals the point's y-coordinate, the point is on the line. For y = −(1/2)x + 3 and the point (2, 2): −(1/2)(2) + 3 = 2, so it is on the line.

What do the intercepts mean in a word problem?

The y-intercept is the starting amount when x = 0. The point where the line meets the x-axis is when the quantity reaches 0. For a tank with y = −2x + 12, the tank starts with 12 gallons and is empty at (6, 0), after 6 minutes.

Is an earlier class required, and what homework is included?

No earlier attendance is required. This self-contained rolling lesson has eight supplied images, forty original practice questions, eight Homework review questions, and twelve Homework word problems, all with hidden worked answers and scale-drawn graphs. The 22-page student workbook includes the supplied PDF-only cover, the eight teaching images, and the same sixty questions with blank working space, blank coordinate grids for graphing, and no exercise solutions.