Example

Graphing y=−x+4y = -x + 4 Using its Slope and y-Intercept

To graph the equation y=−x+4y = -x + 4, apply the six-step slope-and-y-intercept procedure.

Step 1 — Find the slope-intercept form. The equation y=−x+4y = -x + 4 is already in the form y=mx+by = mx + b.

Step 2 — Identify the slope and y-intercept. The coefficient of xx is −1-1, so the slope is m=−1m = -1. The constant term is 44, so the y-intercept is (0, 4).

Step 3 — Plot the y-intercept. Mark the point (0, 4) on the coordinate plane.

Step 4 — Identify the rise and the run. Express the slope as a fraction: m=−11m = \frac{-1}{1} The rise is −1-1 (down 11 unit) and the run is 11 (right 11 unit).

Step 5 — Count the rise and run to mark the second point. Starting at (0, 4), move down 11 unit and then right 11 unit to reach (1, 3).

Step 6 — Connect the points with a line. Draw a straight line through (0, 4) and (1, 3).

Checking the graph. The graph shows the line also passes through (4, 0). Substituting into the equation confirms this: y=−(4)+4=0y = -(4) + 4 = 0. Since 0=00 = 0 is true, the point (4, 0) is indeed on the line, verifying the graph is correct.

This example illustrates the procedure when the slope is −1-1: writing it as −11\frac{-1}{1} clarifies that from any point on the line, moving down 11 and right 11 reaches another point on the line.

Copyright Rice University, OpenStax, Intermediate Algebra 2e (July 2025 release, CC BY 4.0). Access for free at https://openstax.org/books/intermediate-algebra-2e/pages/1-introduction | Source | License

0

1

Updated 2026-05-03

Contributors are:

Who are from:

Tags

OpenStax

Elementary Algebra @ OpenStax

Ch.4 Graphs - Elementary Algebra @ OpenStax

Algebra

Math

Prealgebra

Intermediate Algebra @ OpenStax

Ch.3 Graphs and Functions - Intermediate Algebra @ OpenStax

Related
Learn After
Learn After
Related