# Question Video: Simplifying and Determining the Domain of a Product of Two Rational Functions Mathematics

Simplify the function 𝑛(𝑥) = ((𝑥² + 16𝑥 + 64)/(𝑥² + 8𝑥)) × ((7𝑥 − 56)/(64 − 𝑥²)), and determine its domain.

05:15

### Video Transcript

Simplify the function 𝑛 of 𝑥 equals 𝑥 squared plus 16𝑥 plus 64 over 𝑥 squared plus eight 𝑥 times seven 𝑥 minus 56 over 64 minus 𝑥 squared, and determine its domain.

Let’s begin by inspecting the function 𝑛 of 𝑥 in a little more detail. It’s the product of a pair of rational functions, a rational function of course being the quotient of two polynomials. Before we simplify it, it always makes sense to first find the domain. So what do we mean by the domain of a function? The domain is the set of possible inputs to that function, the set of 𝑥-values. And when we’re dealing with the combination of a pair of functions, in this case a product, the domain of the product is the intersection of the domains of the respective functions. So let’s begin by identifying the domains of each rational function. Let’s define the first function 𝑥 squared plus 16𝑥 plus 64 over 𝑥 squared plus eight 𝑥 to be 𝑓 of 𝑥 and the second function to be 𝑔 of 𝑥.

We can find their domains by considering what we know about the domain of a rational function. It’s the quotient of a pair of polynomials. And so its domain is actually the set of real numbers, but we exclude any values of 𝑥 that make the denominator equal to zero. Essentially, we don’t want to be putting ourselves into a position where we’re dividing by zero. So let’s consider 𝑓 of 𝑥, the first rational function. We know its domain is the set of real numbers excluding values of 𝑥 that make the denominator 𝑥 squared plus eight 𝑥 equal to zero.

To find such values, somewhat counterintuitively we’re going to set it equal to zero and solve for 𝑥. And on the left-hand side, we notice we can factor by taking out a common factor of 𝑥. When we do, we get 𝑥 times 𝑥 plus eight equals zero. And for the product of this pair of expressions to be zero, either one or other of the expressions must itself be equal to zero. That is, 𝑥 equals zero or 𝑥 plus eight equals zero. And if we solve our second equation, we find 𝑥 is equal to negative eight. So these are the values of 𝑥 that we exclude from the domain of 𝑓 of 𝑥. So its domain is the set of real numbers minus the set containing the elements negative eight and zero.

Let’s now repeat this with the function 𝑔 of 𝑥. Its domain is going to be the set of real numbers not including any values of 𝑥 that make the denominator 64 minus 𝑥 squared equal to zero. So once again, let’s set this equal to zero and solve. We notice that 64 is a square number. It’s eight squared. So this expression in fact is the difference of two squares. When we factor then, we get eight minus 𝑥 times eight plus 𝑥. Then, we set each factor equal to zero and solve for 𝑥, so eight minus 𝑥 equals zero or eight plus 𝑥 equals zero. This time, the two values of 𝑥 that we need to exclude from the domain of the function are 𝑥 equals eight and 𝑥 equals negative eight. The domain is the set of real numbers minus the set containing negative eight and eight.

We need to find the intersection, the overlap between these two domains, to find the domain of 𝑛 of 𝑥. We know they share the set of real numbers. But we need to exclude all three values of 𝑥 that we identified make the denominator equal to zero. So it’s the set of real numbers minus the set containing negative eight, zero, and eight. Now that we have the domain of 𝑛 of 𝑥, let’s clear a little bit of space and simplify. We’ll keep on screen the factored expressions for our denominator. And this is because when we simplify a function, as requested of us in this question, we look to begin by factoring wherever possible.

Let’s now factor the numerator of 𝑓 of 𝑥. That’s 𝑥 squared plus 16𝑥 plus 64. We want to find a pair of numbers whose product is 64 and whose sum is 16. Well, that’s eight and eight. So when we factor this expression, we get 𝑥 plus eight times 𝑥 plus eight. Similarly, the expression seven 𝑥 minus 56, the numerator of 𝑔 of 𝑥, factors to seven 𝑥 minus eight. Let’s now replace each of these factored expressions in our function 𝑛 of 𝑥. So 𝑛 of 𝑥 is 𝑥 plus eight times 𝑥 plus eight over 𝑥 times 𝑥 plus eight times seven times 𝑥 minus eight over eight minus 𝑥 times eight plus 𝑥.

In order to simplify, we start to cancel any common factors. So in this first fraction, we can divide through by 𝑥 plus eight. Remember, we’re allowed to do this because we said that 𝑥 equals negative eight is not in the domain of the function. This means we never end up with a situation where we’re dividing zero by zero, which is undefined. Similarly, we can also cross cancel another factor of 𝑥 plus eight. But what about 𝑥 minus eight and eight minus 𝑥? Let’s think about eight minus 𝑥 as being negative one times 𝑥 minus eight. Then, we can divide through by a factor of 𝑥 minus eight. And that leaves us with one over 𝑥 times seven over negative one, which is simply negative seven over 𝑥.

So 𝑛 of 𝑥 is negative seven over 𝑥. And its domain is the set of real numbers minus the set containing negative eight, zero, and eight.

Nagwa uses cookies to ensure you get the best experience on our website. Learn more about our Privacy Policy.