Tutorial: Rational Functions – The Basics

Today I’ll explain some of the basics of rational functions. We’ll talk about what rational functions are, how to find their roots, how to find the y-intercept, how to determine the domain, and briefly discuss solving inequalities with rational functions. Before we get started, you should make sure that you’re up-to-speed with polynomial functions; we’ll be using a lot of the same tools that were first explained in those posts.

What’s a Rational Function?

A rational function is any function that is a fraction of two polynomials. You will want to know the degree and leading coefficient of both the numerator and denominator polynomial, and you will want to fully factor both the numerator and denominator if they aren’t factored yet. To start with, let’s play with this rational function:

R(x) = \dfrac{(x+3)(x-2)}{(x-4)(x+1)}

The Roots

To find the roots (also known as the zeros, or the x-intercepts), find the x-values that will make the numerator of the rational function equal to zero. In our example:

(x+3)(x-2) = 0 if x=-3 or x=2. Therefore the roots are -3 and 2.

The y-Intercept

As with any function, you find the y-intercept by plugging in 0 for x and then simplifying the expression. For our rational function:

R(0) = \dfrac{(0+3)(0-2)}{(0-4)(0+1)} = \dfrac{(3)(-2)}{(-4)(1)}=\dfrac{-6}{-4}=\dfrac{3}{2}

Therefore, the y-intercept is at the point (0, \frac{3}{2}).

The Domain

You may recall that the domain of a function tells you all of the x-values that you are allowed to use in the function. Usually, the domain is all real numbers (represented with this symbol: \mathbb{R}), with a few exclusions. The two main things to watch out for when finding out if there are any x’s to exclude are 1. any x-value that will result in dividing by zero, and 2. any x-value that will cause you to take the square root of a negative number. Since rational functions don’t have any square roots in them, we only need to watch out for x’s that will cause the denominator to be 0. In our example:

Denominator =(x-4)(x+1), which equals 0 if x=4 or x=-1.

Therefore our domain is \mathbb{R} except when x=-1 or x=4.

Solving Inequalities

Suppose you are trying to solve a problem where one side of an inequality is a rational function, and the other side is 0.

\dfrac{(x+3)(x-2)}{(x-4)(x+1)} > 0

Step 1: Write down all of the roots and all of the domain restrictions (I call these the “interesting” x-values). Sort them into increasing order.

Interesting x’s: -3, -1, 2, 4

Step 2: Put those x’s on a number line. They divide the number line into sections. In this case, our four numbers create five sections (less than -3, between -3 and -1, between -1 and 2, between 2 and 4, greater than 4). Put a little 0 above the roots, and a little \infty above the domain restrictions.

Step 3: For each section of the number line, plug a value in that section into the original function. Determine if it makes the function positive or negative (you don’t care what the actual value is, just it’s sign). Mark these +’s and -‘s above the number line sections. I call this special number line a Sign Pattern.

Rational Function Sign Pattern

Step 4: If a section has a + above it, then it is a range of numbers where the rational function is greater than 0. If there’s a -, then the function is less than 0. If there’s a 0 above a number, that’s where the function equals 0.

\dfrac{(x+3)(x-2)}{(x-4)(x+1)} > 0 when x<-3 or -1<x<2 or x>4.

If we wanted to solve \dfrac{(x+3)(x-2)}{(x-4)(x+1)} \leq 0, look for the negatives and the 0’s:

\dfrac{(x+3)(x-2)}{(x-4)(x+1)} \leq 0 when -3\leq x <-1 or 2\leq x <4

Looking Forward

Up next will be learning how to use sign patterns to create graphs of rational functions. First we’ll talk about about graphing rational functions using x- and y-intercepts, vertical asymptotes, and horizontal asymptotes using the sign pattern. After that we’ll talk about how to incorporate holes and slant asymptotes into your graphs of rational functions.


Do you have a question? Please ask in the comments!

Leave a Reply

Your email address will not be published.