Rational Functions Examples: 44 Problems with Answers

Worked examples of Rational Functions to try before you open each solution, then practice problems with answers.

Worked Examples

Example 1

medium
Find the vertical and horizontal asymptotes of f(x)=3x+2x−4.
Show solution

Answer

Vertical: x=4,Horizontal: y=3

First step

1.
Vertical asymptote: set denominator =0: x−4=0, so x=4.

See the full worked solution + why-it-works coaching

SetupKey insightWhy it worksCommon pitfallConnection

Free: full solutions on 3 topics a day. No card.

Every topic, every day: the Family plan

Example 2

hard
Find all asymptotes and holes of f(x)=x2−9x2−x−6.

Example 3

medium
Find all asymptotes of f(x)=4x2x2−1.

Example 4

medium
Find the horizontal asymptote of g(x)=3x3+x6x3−5.

Example 5

medium
For f(x)=x−1x2−1, find any holes and vertical asymptotes.

Example 6

hard
Find the slant asymptote of f(x)=x2+3x+1x−1.

Example 7

hard
Find the slant asymptote of f(x)=2x2−x+3x+2.

Example 8

hard
Combine 2x−1−3x+2 into a single rational expression.

Example 9

challenge
Find all values of k such that f(x)=x2−kx+6x−2 has a hole at x=2 rather than a vertical asymptote.

Practice Problems

Try each one, then open the solution to compare your method.

Example 1

medium
Find the x-intercepts and vertical asymptotes of g(x)=x2−1x2+3x+2.

Example 2

hard
Find all asymptotes (vertical, horizontal, and oblique) of f(x)=x2+2x−3x−1. Does the function have a hole or a vertical asymptote at x=1?

Example 3

easy
Find the vertical asymptote of f(x)=1x−4.

Example 4

easy
Find the domain of f(x)=x+1x.

Example 5

easy
Find the x-intercept of f(x)=x−5x+2.

Example 6

easy
Evaluate f(3) for f(x)=2xx−1.

Example 7

easy
Find the y-intercept of f(x)=x+6x−3.

Example 8

easy
What value must be excluded from f(x)=32x−6?

Example 9

easy
Find the horizontal asymptote of f(x)=3xx+1.

Example 10

easy
Simplify x2−1x−1 and state the restriction.

Example 11

medium
Find all vertical asymptotes of f(x)=x+2x2−x−6.

Example 12

medium
Identify the hole of f(x)=x2−4x−2.

Example 13

medium
Find the horizontal asymptote of f(x)=2x2+1x2−5.

Example 14

medium
Find the horizontal asymptote of f(x)=xx2+1.

Example 15

medium
Solve x+1x−2=3.

Example 16

medium
Does f(x)=x2+1x−1 have a horizontal asymptote?

Example 17

medium
Find the slant asymptote of f(x)=x2+1x.

Example 18

medium
Find the domain and any holes of f(x)=x2−xx.

Example 19

challenge
Find the values of x where f(x)=x−2x2−4 has a hole versus an asymptote.

Example 20

challenge
Solve 1x−1+1x+1=2x2−1.

Example 21

challenge
For what value of k does f(x)=x2−kx−3 have a hole at x=3?

Example 22

medium
Find the vertical asymptotes of f(x)=5x2−9.

Example 23

easy
State the domain of f(x)=x+2x−7.

Example 24

easy
Find the vertical asymptote of f(x)=x+1x−2.

Example 25

easy
Find f(2) for f(x)=x2−1x+1.

Example 26

easy
What value of x is excluded from f(x)=5x2−9?

Example 27

medium
Simplify x2−4x2−2x and state restrictions.

Example 28

medium
Identify the hole and vertical asymptote of f(x)=(x−2)(x+5)(x−2)(x−3).

Example 29

medium
Solve x+3x−1=2.

Example 30

medium
Find the domain of f(x)=x+1x2−5x+6.

Example 31

medium
Find all x-intercepts of f(x)=x2−4x+5.

Example 32

medium
Find the value of a such that f(x)=ax+6x−2 has a horizontal asymptote y=5.

Example 33

hard
Solve 2x−1+3x+1=1.

Example 34

hard
Find all vertical asymptotes and holes of f(x)=x2−x−6x2−4.

Example 35

hard
Solve 1x+1x−3=12.

What to focus on

Core idea: A rational function is one polynomial divided by another, behaving normally except where the denominator hits zero.

Common stuck point: The procedure for rational functions is the easy part; the trap is forgetting to exclude inputs where the denominator is zero. Asking "Is the function a polynomial divided by another polynomial containing the variable?" first is what keeps a correct-looking calculation from being attached to the wrong concept.

Ask yourself: Is the function a polynomial divided by another polynomial containing the variable?

Concept recap

A rational function is a ratio of two polynomials: f(x)=P(x)/Q(x) where P and Q are polynomials and Q(x)≠0.

Sharing 8 slices of pizza among n people gives each person 8n slices: few for a big group, a huge amount as the group shrinks toward nobody, where the question stops making sense. The picture fits the wall at zero; unlike people, a function's inputs can also be fractions or negatives.

Read the full lesson on Rational Functions

Rational Functions is covered with related ideas in the guide Rational Functions: Definition, Graphs, Asymptotes, and Applications.

Background knowledge

These ideas may be useful before you work through the harder examples.

polynomial functionsfractions