Chalk−1

Math · College algebra · Worked example

Graph a rational function with a hole

Find the domain, hole, asymptotes and intercepts of f⁡(x) =(x2−1)⁢/⁢(x2−x−2).

f⁡(x)=x2−1x2−x−2

Try one — Chalk checks each line

Factor and find the domain

The numerator is (x−1)⁢(x+1) and the denominator (x−2)⁢(x+1), which is zero at x=2 and x=−1. The domain excludes both, and it is read before anything cancels.

x2−1x2−x−2(x−1)⁢(x+1)(x−2)⁢(x+1)

Cancel to find the hole

x+1 cancels, so there is a hole at x=−1. For every other x the function equals (x−1)⁢/⁢(x−2), so the hole’s height is that value at −1.

−1−1−1−2=23

Find the vertical asymptote

x−2 stays in the denominator, and the numerator is 1 at x=2, so x=2 is a vertical asymptote. Just left of 2 the values fall toward −∞, and just right of 2 they rise toward +∞.

Find the horizontal asymptote

Numerator and denominator both have degree 2 and leading coefficient 1, so far out the quotient approaches 1⁢/1. The horizontal asymptote is y=1.

Find the intercepts

The simplified numerator x−1 is zero at x=1, the x-intercept. The y-intercept is f⁡(0).

0−10−2=12

Result

Domain x≠−1, 2. Hole at (−1,2⁢/3), vertical asymptote x=2, horizontal asymptote y=1, intercepts (1,0) and (0,1⁢/2).

Your turn

1. One like the example

Find the domain, the hole and the asymptotes of g⁡(x) =(x2−4)⁢/⁢(x2+x−2).

Show the answer and explanation

Domain x≠−2, 1. Hole at (−2,4⁢/3), vertical asymptote x=1, horizontal asymptote y=1.

Factor, (x−2)⁢(x+2) over (x+2)⁢(x−1). The factor x+2 cancels and leaves (x−2)⁢/⁢(x−1), so x=−2 is a hole at height (−4)⁢/⁢(−3)=4⁢/3. The factor x−1 stays, so x=1 is a vertical asymptote. Equal degrees with leading coefficients 1 and 1 give y=1.

x2−4x2+x−2(x−2)⁢(x+2)(x+2)⁢(x−1)x−2x−1

2. A variation

Find the vertical and horizontal asymptotes and the intercepts of g⁡(x)=(3⁢x+1)⁢/⁢(x−4).

Show the answer and explanation

x=4 and y=3. The intercepts are (−1⁢/3,0) and (0,−1⁢/4).

The denominator is 0 at x=4 and the numerator is 13 there, so nothing cancels and x=4 is a vertical asymptote. Both degrees are 1, so the horizontal asymptote is y=3⁢/1=3. The top is 0 at x=−1⁢/3, and g⁡(0)=1⁢/⁢(−4)=−1⁢/4.

g⁡(x)=3⁢x+1x−4g⁡(0)=−14

3. Somewhere new

A print shop pays $500 to set up a job and $4 for each poster. The average cost per poster for x posters is C⁢(x)=(500+4⁢x)⁢/⁢x dollars. Find C⁢(100) and the horizontal asymptote, and say what the asymptote means.

Show the answer and explanation

C⁢(100)=$9. The asymptote is y=4, so the average cost falls toward $4 a poster without reaching it.

C⁢(100)=900⁢/100=9. Writing C⁢(x)=500⁢/⁢x+4 shows the setup cost spread over more posters, and 500⁢/⁢x shrinks toward 0 as x grows. Equal degrees give the same answer, 4⁢/1=4. For every x>0 the average stays above $4.

C⁢(x)=500+4⁢xxC⁢(x)=500x+4C⁢(100)=9

Keep exploring

Open the limit at the hole in Math, then change x→−1 to x→2− and the 2⁢/3 to −∞: it still reads ✓. From the right, x→2+, the limit is ∞. Outputs that run off in opposite directions are what a vertical asymptote looks like.

Return to the concept →
Sources and scope

Authored study material. Tool results depend on the stated inputs and model assumptions.

After reading

Try it, then study it

Open the example in its tool to check steps or change values, then review the key terms as flashcards.

See the hole and asymptotes in Graph Check the simplification in Math Check the limit at the hole in Math Study the 6 key terms Open worked example on a board Asymptotes and holes in Math Reference

Your existing work stays on this device. Examples open as editable copies.