Steply

Graph y = 5 - x

Step by step, with the reason for every step · Graphing y = mx + b · Algebra 1

Step by step

The question

Question: graph y = 5 − x.

y = 5 − x

1 Read m and b

b is the number on its own: 5.

The line crosses the y-axis at 5.

That point is called the y-intercept.

b = 5 → start at 5

−x means −1x, so m = −1.

It is the slope.

As a fraction: −1/1.

The bottom is the run: right 1.

The top is the rise: down 1.

m = −1 = −11 → right 1, down 1

2 Start at b

Draw the grid.

The x-axis goes across.

The y-axis goes up and down.

They meet at 0.

That point is called the origin.

Start on the y-axis at 5.

Put a dot.

3 Use the slope

From the dot, go right 1,

then down 1.

Put a dot.

Again: right 1,

down 1.

Dot.

We can also go back: left 1,

up 1.

Dot.

4 Draw the line

Join the dots with a straight line.

It keeps going both ways.

5 Check

Let's check with a table.

We pick x = 1 and x = 2.

Put x = 1 in.

We get y = 4.

y = 5 − 1 = 4
4

The point (1, 4) is on our line.

Now x = 2 in.

We get y = 3.

y = 5 − 2 = 3
3

The point (2, 3) is on our line.

Both points are on the line.

So the graph is right!

Let's look back.

First: read m and b.

Then: start at b.

Then: use the slope.

Then: draw the line.

Last: check.

Answer
y = 5 − x

Your turn

Try this one yourself, then check:

Graph y = 8 − x
Show the answer
start at 8, right 1, down 1

More from Graphing y = mx + b

The whole lesson: Graphing y = mx + b →