### Video Transcript

Given the function π of π₯ equals π₯ minus six over π₯ squared minus 15π₯ plus 54 times π₯ squared minus three π₯ minus 28 over two π₯ squared minus 15π₯ plus seven, evaluate π of seven, if possible.

Letβs begin by inspecting our function π of π₯. Itβs a combination of two functions. In fact, itβs a product. Specifically, itβs the product of a pair of rational functions. Remember, a rational function is made up of the quotient of two polynomials. And whenever we have rational functions, we know that they may not actually be defined for all values of π₯. So, weβre going to begin by asking ourselves what is the domain of π of π₯, where the domain is the set of possible inputs to the function.

Essentially, we need to check whether the function π of π₯ is actually defined for π₯ equals seven. If it is, then we can then substitute it in. So, how do we find the domain of a combination of functions? Well, the domain of π of π₯ will be the intersection of the domains of each rational function. So, we need to identify the domain of the first fraction, π₯ minus six over π₯ squared minus 15π₯ plus 54, and the domain of the second function, π₯ squared minus three π₯ minus 28 over two π₯ squared minus 15π₯ plus seven.

Now, in fact, when weβre working with rational functions, the domain is actually the set of real numbers. But we exclude any values of π₯ that make the denominator equal to zero. And in fact this makes a lot of sense. We essentially donβt want to put ourselves into a situation where weβre dividing by zero since thatβs undefined. To find the values of π₯ that we exclude from the domain of our first rational function then, letβs set the denominator equal to zero and solve for π₯. We solve for π₯ by factoring. Weβre looking for two numbers that have a product of 54 and sum to make negative 15. Well, thatβs negative nine and negative six. So, when we factor the expression, we get π₯ minus nine times π₯ minus six, and this is equal to zero.

Now, of course, if weβre multiplying a pair of expressions and weβre getting an answer of zero, we know that it makes sense that either one or other of those expressions is itself zero. So, π₯ minus nine equals zero or π₯ minus six equals zero. Solving each of these equations for π₯, and we get π₯ equals nine and π₯ equals six. So, the domain of our first rational function is the set of real numbers minus the set containing six and nine.

So, we repeat this process for our second rational function. We ask ourselves, how do we find the values of π₯ that make its denominator zero? Well, we set it equal to zero and solve by factoring. Since two and seven are both prime numbers, this can be done by inspection. Two π₯ multiplied by negative seven add negative one times π₯ gives us negative 15π₯. And, of course, negative one times seven gives us positive seven. So, factoring gives us two π₯ minus one times π₯ minus seven equals zero.

Then, as we did before, we set each factor individually equal to zero. So, two π₯ minus one equals zero or π₯ minus seven equals zero. By adding one and dividing by two with our first equation, we get π₯ equals one-half. And for our second, we get π₯ equals seven. So, the domain of our second rational function must be the set of real numbers not including these values of π₯.

This means then that the domain of π of π₯, which is the intersection of our two domains, is the set of real numbers excluding all these values of π₯, so the set of real numbers minus the set containing one-half, six, seven, and nine. And this is really interesting because weβre trying to find π of seven. But weβve excluded seven from the domain of our function. Itβs not one of the inputs. Itβs not a value of π₯ that we can substitute in. This means that our function π of π₯ is not well defined when π₯ equals seven, so π of seven is undefined.