# Explainer: Simplifying Rational Functions

In this explainer, we will learn how to simplify rational functions and how to find their domains.

There are two skills in this explainer that are intrinsically linked but can be approached independently. The first is the ability to state the domains of rational functions, and the second is the ability to simplify them. It is important when asked to simplify a rational function that we think about the domain of the function before we simplify it.

Remember, to determine the domain of a rational function, we need to determine any values where the denominator is nonzero. If the function contains multiple rational expressions, we need to determine any points that would result in a denominator of zero. Consider the function

We can factor the numerator and denominator of the function to find that

At this point, despite there being a common factor on the top and bottom of the expression, we should not simplify. First, we need to establish if there are any inputs that would result in a denominator of zero. If we solve the equation

we get and . This means that the function is undefined at these points and, therefore, has a domain of . For values of not equal to 2 or , we can then simplify the function by canceling from the top and bottom of the expression, leaving us with

with domain . As we said at the start, it is important to determine the domain of the function before we simplify. Had we found the domain subsequently, we would have written that it was , having lost in the cancellation process that the function is also undefined when .

Let us look at an example.

### Example 1: Simplifying Rational Functions and Stating Their Domains

Simplify the function

and find its domain.

We need to start by finding the function’s domain. To do this, we need to determine the zeros of the denominator of the rational function. We need to solve the equation

We can factor the expression on the left-hand side to get

which has solutions of and . Therefore, the domain of the rational function is .

To simplify the expression, we need to factor the numerator and denominator to get

We can now cancel from the top and the bottom of the expression:

We can now see that

with domain .

With some questions, we may need to apply one of the four operations: addition, subtraction, multiplication, or division. With questions like this, we take a very similar approach to the previous example but have to work a little harder to simplify the function into a single rational expression. To recap, to add or subtract two rational expressions, they each must have the same denominator; to multiply two rational expressions, you multiply the numerators and multiply the denominators; and to divide a rational expression by another rational expression, you flip the second one and then multiply (i.e., multiply by the reciprocal). Let us look at an example of each of these operations now.

### Example 2: Stating the Domain of a Function That Is a Sum of Two Rational Expressions and Simplifying It

Simplify the function

and determine its domain.

Before we do any simplification of the two rational expressions, we need to determine the domain of the function. To do this, we need to determine where each of the denominators will be equal to zero. For the first expression, we need to solve the equation

Factoring, we get

which has solutions and . For the second expression we get the equation

which factors to

and has solutions and . Therefore, the function is undefined when , so the function has domain . At this point, we can now simplify the function. If we rewrite each of the expressions with their factored denominators, we have

To combine the two expressions, we need to ensure that they have a common denominator. If we multiply the top and bottom of the first expression by , we get

We can now cancel the from the top and bottom of the first expression and then we can combine the two expressions to get

Simplifying, we find that

with domain .

### Example 3: Stating the Domain of a Function That Is a Difference of Two Rational Expressions and Simplifying It

Simplify the function

and determine its domain.

Before we do any simplification of the two rational expressions, we need to determine the domain of the function. To do this, we need to determine where each of the denominators will be equal to zero. For the first expression, we need to solve the equation

which has a solution of . For the second expression, we get the equation

which factors to

and has solutions and . Therefore, the function is undefined when and and thus has domain . At this point, we can simplify the function. If we rewrite each of the expressions with their factored denominators, we have

To combine the two expressions, we need to ensure that they have a common denominator. If we multiply the top and bottom of the first expression by , we get

We can now combine the two expressions to get

Since both of the terms in the numerator contain a common factor of , we can factor this out as follows:

We can now cancel the common factor in the numerator and denominator to get

with domain .

Having looked at examples of a sum and then a difference of two rational expressions, let us now look at examples of a product and then a quotient of two rational expressions.

### Example 4: Stating the Domain of a Function That Is a Product of Two Rational Expressions and Simplifying It

Simplify the function

and determine its domain.

Before we do any simplification of the two rational expressions, we need to determine the domain of the function. To do this, we need to determine where each of the denominators will be equal to zero. For the first expression, we need to solve the equation

We can factor the expression to get the equation

which has solutions and . For the second expression, we get the equation

which factors to

and has solutions and . Therefore, the function is undefined at each of these points and thus has domain . At this point, we can simplify the function. If we multiply the numerators and denominators of the two expressions and write each of the quadratics in factored form, we get

If we now cancel any common factors from the top and bottom of the expression, we get

This leaves us with the function

with domain .

### Example 5: Stating the Domain of a Function That Is a Quotient of Two Rational Expressions

Determine the domain of the function

With the quotient of two rational expressions, to determine the domain, there are a couple of things that we need to determine. When the denominators of the two rational expressions are zero, and when the divisor is zero, in this case where the numerator of the rational expression is zero, we need to solve three equations to find the domain of the function:

The first equation can be factored to give us

which has solutions of and . The second equation can be factored to give us

which has solutions of and . Finally, the third equation can be factored to give us

which has solutions of and . Therefore, the domain of the function is .

As an additional piece of information, had we been asked to simplify the function, having now found the domain, we could have done this by multiplying by the reciprocal of the divisor and writing each of the quadratics in factored form. This would give us

At this point, we can cross-cancel, giving us

We are then left with the function

with domain .

### Key Points

1. When simplifying rational functions, always determine the domain first; otherwise, in the simplification process, you may lose information about the function.
2. When the function is a sum, difference, product, or quotient of two rational expressions, determine the domain first by identifying any undefined points and then combine the expressions and simplify using standard methods.