# Video: Finding the Difference between Two Functions Then Determining Its Domain

If 𝑓₁ : (−7, 8] ⟶ ℝ where 𝑓₁(𝑥) = 𝑥 − 2, and 𝑓₂ : [−8, 4] ⟶ ℝ where 𝑓₂(𝑥) = 4𝑥² + 8𝑥 + 3, find (𝑓₂ − 𝑓₁)(𝑥) and the (𝑓₂ − 𝑓₁).

03:20

### Video Transcript

If 𝑓 one maps numbers from the left-open right-closed interval from negative seven to eight onto the set of real numbers, where 𝑓 sub one of 𝑥 is equal to 𝑥 minus two, and 𝑓 sub two maps numbers from the closed interval negative eight to four onto the set of real numbers, where 𝑓 sub two of 𝑥 is equal to four 𝑥 squared plus eight 𝑥 plus three, find the function 𝑓 two minus 𝑓 one of 𝑥 and the domain of 𝑓 two minus 𝑓 one.

Let’s begin by recalling what we mean by this combination function, 𝑓 two minus 𝑓 one of 𝑥. We know that the combination function 𝑓 minus 𝑔 of 𝑥 is simply the difference between these two functions. It’s 𝑓 of 𝑥 minus 𝑔 of 𝑥. And so in this case, 𝑓 two minus 𝑓 sub one of 𝑥 must be the function 𝑓 sub two of 𝑥 minus the function 𝑓 sub one of 𝑥. We see that 𝑓 sub two of 𝑥 is this quadratic four 𝑥 squared plus eight 𝑥 plus three and 𝑓 sub one of 𝑥 is 𝑥 minus two. So 𝑓 sub two minus 𝑓 sub one of 𝑥 is four 𝑥 squared plus eight 𝑥 plus three minus 𝑥 minus two.

Now, if we distribute the parentheses, we get negative 𝑥 minus negative two as our last two terms. And of course, minus negative two is just two. So we have four 𝑥 squared minus eight 𝑥 plus three minus 𝑥 plus two, which simplifies to four 𝑥 squared minus nine 𝑥 plus five. And so we found the function 𝑓 two minus 𝑓 sub one of 𝑥. But what is its domain? Well, when we combine functions, we know that the domain is the intersection of the domains of the functions we started with. And so we’re looking to find the intersection or the overlap of the domains of 𝑓 sub one and 𝑓 sub two.

Now, of course, 𝑓 sub one of 𝑥 and 𝑓 sub two of 𝑥 are polynomials. And usually, we say that the domain of a polynomial is a set of real numbers. But actually, we’re told that 𝑓 sub one maps numbers from the left-open right-closed interval from negative seven to eight. So this is the domain of 𝑓 sub one. Similarly, we’re told that 𝑓 sub two maps numbers from the closed interval negative eight to four. And so that’s the domain of 𝑓 sub two. And this means the domain of 𝑓 sub two minus 𝑓 sub one is the overlap of these two domains. We want to find the values of 𝑥 that satisfy both.

And so to help us visualize this, we’re going to use a number line. Let’s start off by mapping the domain of 𝑓 sub one. It takes values of 𝑥 greater than negative seven and less than or equal to eight. So the domain of 𝑓 sub one is shown. 𝑓 sub two takes values of 𝑥 greater than or equal to negative eight and less than or equal to four. So the pink line represents the domain 𝑓 sub two.

We’re interested, of course, in the overlap of these. And so we’re going to be beginning at negative seven; we’re going to be ending at four. We’re not going to include the value of negative seven, but we are going to include the value of four. And so we can represent this using interval notation as shown. The domain of 𝑓 sub two minus 𝑓 sub one is the left-open right-closed interval from negative seven to four.