### 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.