Steply

Graph f(x) = (x + 1)/(x - 2)

Step by step, with the reason for every step · Rational functions · Algebra 2

Step by step

The question

Question: graph f(x) = (x + 1)/(x − 2).

f(x) = x + 1x − 2

An asymptote is a line the graph gets closer and closer to, but never reaches.

We draw it dashed.

asymptote: a line the graph gets close to, but never reaches

1 Vertical asymptotes

We can never divide by 0.

Where the bottom is 0, the graph shoots up or down.

÷ 0: not allowed

The bottom: x − 2 = 0 when x = 2.

x − 2 = 0 → x = 2

Look: at x = 2.1, the bottom is tiny.

So f(x) is about 31: huge.

x = 2.1: bottom 0.1, f(x) ≈ 31

2 Horizontal asymptote

For a very big x, the biggest power on the top and on the bottom is all that counts.

The rest is tiny next to it.

a big x: only the biggest powers count

The same power on top and bottom.

The x's cancel, and the numbers in front give 1.

f(x) ≈ xx = 1

Look: at x = 100, f(x) is about 1.03.

Close to 1.

x = 100: f(100) ≈ 1.03

So the horizontal asymptote is y = 1.

y = 1

3 Find the intercepts

The graph crosses the x-axis where the top is 0.

The top is 0 at x = −1.

x-intercept : (−1, 0)

Put x = 0 in: f(0) is −1/2.

The graph crosses the y-axis at (0, −1/2).

y-intercept : f(0) = −12

4 Draw the graph

A few points on both sides of x = 2.

We put each x into f.

Draw the grid.

Draw the asymptotes dashed: x = 2 is vertical.

y = 1 is flat.

Plot the intercepts and the points.

Join the points with a smooth curve.

It gets close to the dashed lines, but never touches them.

5 Check

Let's check one more point: put x = 5 in the question.

We get 2.

f(5) = 5 + 15 − 2 = 63 = 2

The point at x = 5 is on our curve.

It works!

Let's look back.

First: vertical asymptotes.

Then: horizontal asymptote.

Then: find the intercepts.

Then: draw the graph.

Last: check.

Answer
y-intercept : f(0) = −12

Your turn

Try this one yourself, then check:

graph f(x) = x + 3x − 3
Show the answer
x = 3, y = 1

More from Rational functions

The whole lesson: Rational functions →