# Video: Polynomial Functions

In this video, we will learn how to identify, write, and evaluate a one-variable polynomial function and state its degree and leading coefficient.

15:56

### Video Transcript

In this video, we’ll learn how to identify, write, and evaluate a one-variable polynomial function and state its degree and leading coefficient.

Up until this stage, you will have worked with polynomial functions, perhaps without even realizing it. These are functions like linear functions, quadratic functions, cubics, and so on, in other words, functions with only positive integer powers of 𝑥. In general, we say that a polynomial function is of the form 𝑓 of 𝑥 equals 𝑎 sub 𝑛 𝑥 to the 𝑛th power plus 𝑎 sub 𝑛 minus one 𝑥 to the power of 𝑛 minus one and so on, all the way through to 𝑎 sub one 𝑥 plus 𝑎 sub zero. Here, all of the 𝑎’s are real constants. And we say that our polynomial has an order or a degree of 𝑛, where the degree is the largest power or exponent.

For example, our quadratic function 𝑓 of 𝑥 equals two 𝑥 squared plus eight 𝑥 minus three has a degree of two. Whereas the highest power or exponent of 𝑥 in the function 𝑓 of 𝑥 equals four minus three 𝑥 cubed is three. And therefore, this has a degree of three. Note that if there are any unusual terms, such as square roots or reciprocals, like 𝑓 of 𝑥 is equal to the square root of 𝑥 or 𝑓 of 𝑥 is one over 𝑥. This no longer counts as a polynomial function. Remember, 𝑛 must be a positive integer, a positive whole number. It’s useful also to remember that 𝑓 of 𝑥 equals zero is a polynomial, but we say its degree is undefined.

We also need to be able to evaluate polynomial functions. So, it’s useful to be able to recall what we mean by this bit here. We say 𝑓 of 𝑥, where 𝑓 is a bit like the name of the function and 𝑥 is the input. Let’s say we wanted to evaluate 𝑓 of four. We would replace any of the input variables 𝑥 with the number four and go from there. Let’s see what this might look like.

Find the value of 𝑓 of eight given the function 𝑓 of 𝑥 equals three minus seven 𝑥.

In this question, we’ve been given a polynomial function. The highest power of 𝑥 here is one. So, we say that the degree or the order of our polynomial is one. Its input is 𝑥. And we see that when we have this input, the output is three minus seven lots of 𝑥. Now, the question wants us to work out 𝑓 of eight. So, we’re going to replace or substitute 𝑥 with eight. Then, 𝑓 of eight is three minus seven lots of eight. Now, be careful here. A common mistake here is to think this means 78, but seven 𝑥 is actually seven times 𝑥.

Then to evaluate 𝑓 of eight, we recall our order of operations, sometimes called BIDMAS or PEMDAS. This tells us that we need to evaluate the multiplication bit of the sum before we can subtract it from three. Seven multiplied by eight is 56. So, 𝑓 of eight is going to be three minus 56. 3 minus 56 is negative 53. So, 𝑓 of eight, given the function 𝑓 of 𝑥 equals three minus seven 𝑥, is negative 53.

In our next example, we’ll consider how we might evaluate a quadratic function. That’s a function with the degree two.

If 𝑓 of 𝑥 is negative eight 𝑥 squared minus three 𝑥 plus four, find 𝑓 of negative three.

We’ve been given a polynomial function. Remember, that’s a polynomial function where the powers of 𝑥 are all real positive integers. The highest power of 𝑥 in our polynomial function is two. So, we say that the degree or the order of the function is two. Now, the question wants us to find the value of 𝑓 of negative three. In other words, what’s the output of our function 𝑓 when its input is negative three? And so, to work this out, we’re going to replace or substitute 𝑥 with negative three throughout our function.

The first term in our function is negative eight 𝑥 squared. So, this becomes negative eight times negative three squared. Then, we subtract three times 𝑥. So, we’ll subtract three times negative three. The final term is four; that’s independent of 𝑥, so it’s still four. And of course, to evaluate this, we’re going to need to recall the order of operations. They tell us the order in which we’re performing the calculations. This is sometimes abbreviated as BIDMAS or PEMDAS. In either case, we evaluate the indices or the exponents before any multiplication. And so, we’re going to begin by evaluating negative three squared.

Well, negative three squared is negative three times negative three. A negative multiplied by another negative gives a positive. So, negative three squared is positive nine. And so, we have negative eight multiplied by nine minus three multiplied by negative three plus four. This time, we’re going to perform the multiplication before any addition or subtraction. Well, eight multiplied by nine is 72. And we know a negative multiplied by a positive is a negative.

We’re then going to subtract three multiplied by negative three. Well, three multiplied by negative three is negative nine. So, we’ll be subtracting negative nine. But of course, we know that subtracting a negative is the same as adding a positive. And so, we get negative 72 plus nine plus four. We now have addition and subtraction in the same calculation. Now, when this happens, we simply move from left to right. Negative 72 plus nine is negative 63.

When we add the nine, we move up the number line nine spaces. We’re going to add four to this, remembering once again that when we add four, we move up the number line four spaces. So, negative 63 plus four is negative 59. And so, given the quadratic function 𝑓 of 𝑥 is negative eight 𝑥 squared minus three 𝑥 plus four, we find 𝑓 of negative three to be equal to negative 59.

We’ll now consider what happens if the input of our function is itself a binomial.

Consider the function 𝑓 of 𝑥 equals 𝑥 squared minus three 𝑥 minus four. Find 𝑓 of 𝑥 plus three.

Here, we have a quadratic function. Its highest power of 𝑥 is two. So, we can say that it has degree or order of two. Now, currently, the input to our function is 𝑥. But the question wants us to work out what happens when the input is 𝑥 plus three. So, we move through the function itself. And each time we see the variable 𝑥, we’re going to replace it with the expression 𝑥 plus three. The first part of our function is 𝑥 squared. So when we replace 𝑥 with 𝑥 plus three, we get 𝑥 plus three squared.

Then, we subtract three 𝑥. But of course, we’re replacing 𝑥 with 𝑥 plus three. So, we subtract three times 𝑥 plus three. The final term here is negative four. That’s independent of 𝑥. So, it remains as negative four. We’re now going to distribute the parentheses in our function. Let’s begin with the first term. That’s 𝑥 plus three squared. Remember, 𝑥 plus three squared is 𝑥 plus three times itself.

And to distribute these parentheses, we begin by multiplying the first term in each expression. 𝑥 multiplied by 𝑥 is 𝑥 squared. We then multiply the outer terms. 𝑥 multiplied by three is three 𝑥. Then the inner terms, well, that gives us another three 𝑥. And finally, we multiply the last terms to give us nine. Our last step is to collect like terms. Well, three 𝑥 plus three 𝑥 is six 𝑥. So, we see that 𝑥 plus three all squared is 𝑥 squared plus six 𝑥 plus nine.

Let’s now distribute the second set of parentheses. This time, we’re going to multiply negative three by everything inside our parentheses. Negative three times 𝑥 is negative three 𝑥. And negative three times three is negative nine. Finally, we bring down the negative four. So, 𝑓 of 𝑥 plus three is 𝑥 squared plus six 𝑥 plus nine minus three 𝑥 minus nine minus four. Let’s simplify a little further by collecting like terms.

We have one 𝑥 squared. Then, we have six 𝑥 minus three 𝑥, which gives us three 𝑥. And finally, we have nine minus nine minus four, which is negative four. And so, 𝑓 of 𝑥 plus three is 𝑥 squared plus three 𝑥 minus four. Now, in fact, this information can be quite useful. We might know that 𝑓 of 𝑥 plus three is a translation of the original graph of the function by the vector negative three, zero. And so, what this tells us is that when we perform the translation, the graph maps from 𝑓 of 𝑥 equals 𝑥 squared minus three 𝑥 minus four to 𝑥 squared plus three 𝑥 minus four.

In our next example, we’ll look at matching the graphs of polynomial functions to their respective function.

Match the graphs with their functions. In each case, state the degree of the function and their leading coefficient.

And we’ve been given a number of functions. We have a linear function. That’s one whose highest power of 𝑥 is one. We have a quadratic that’s got a degree or a highest power of 𝑥 of two. And we have a cubic. The highest power of 𝑥 here is three. So, the degrees of our first three functions are one, two, and three, respectively.

But what about our last two? Well, for the fourth one, we’ll begin by thinking about what would happen if we were to distribute the parentheses. We would, at some point, end up multiplying each of these 𝑥’s together. When we do, we get 𝑥 to the fourth power. That means we have a quartic function. Its highest power of 𝑥 would be four. And so, the degree or order of this function is four.

And what about our last function? Well, at first glance, it looks like it might not be a polynomial. We have this fractional 𝑥, but we can manipulate the first part of our expression by dividing both terms in the numerator by 𝑥. 𝑥 to the fourth power divided by 𝑥 is 𝑥 cubed, and two 𝑥 cubed divided by 𝑥 is two 𝑥 squared. So, 𝑓 of 𝑥 is actually equal to 𝑥 cubed plus two 𝑥 squared minus 𝑥. This is another cubic; its highest power of 𝑥 is three. So, the degree of our third function is three.

Great, so, we now know the degree and we have the leading coefficient of each function. Next, we need to match the functions to their respective graphs. So, we’re going to state a really useful fact. And that is that a polynomial of degree 𝑛 can have up to 𝑛 minus one turning points. This means our first function, which has a degree of one, can have up to one minus one, which is zero turning points. Our second function will have two minus one; that’s one turning point. Our next function can have up to three minus one, which is two turning points. And in the same way, our fourth function will have up to three turning points. And our final function will have up to two.

Well, the only graph that has three turning points is this one here; they are here, here, and here. They are literally the places in which the graph changes direction. So, this one must be the graph of our quartic function. There’s only one graph with one turning point. And so, this must be our quadratic. Now, in fact, quadratic functions will always look like a parabola. The linear function 𝑓 of 𝑥 is three minus 𝑥 is this straight line; it has no turning points.

So all that’s left is to decide between the final two graphs. They are both graphs of cubic functions, and we can identify them based on their leading coefficient. This graph down here will have a negative leading coefficient, whereas this graph will have a positive leading coefficient. This one, therefore, must be the graph of 𝑓 of 𝑥 equals 𝑥 to the fourth power plus two 𝑥 cubed over 𝑥 minus 𝑥. And this one must be the graph of 𝑓 of 𝑥 equals eight 𝑥 minus three 𝑥 cubed.

We’ll now consider one further example that uses the information about the number of turning points based on the degree of a function.

The given graph is of a polynomial 𝑓. What is the degree of 𝑓? Is it one, two, three, four, or five?

Remember, a polynomial of degree or order 𝑛 can have up to 𝑛 minus one turning points. In other words, if we can find the degree of our polynomial, we can know it can have up to one less than this turning points. So, let’s count the turning points of our graph. We see the graph changes direction here and here. But what’s happening over here? Well, the graph doesn’t actually appear to fully change direction, and that’s because it doesn’t. This is, in fact, a point of inflection. It’s a point where the concavity of the graph changes.

Now, another fact is that a polynomial of degree 𝑛 can have up to 𝑛 minus two inflection points. And we can think of the inflection points a little bit like the graph changing direction really quickly twice in a short space of time. We can consider this as two turning points. This means we have a total of four. And so, the degree of our polynomial must be five.

In this video, we learned that a polynomial function is of the form 𝑓 of 𝑥 equals 𝑎 sub 𝑛𝑥 to the 𝑛th power plus 𝑎 sub 𝑛 minus one 𝑥 to the power of 𝑛 minus one and so on. We saw that the 𝑎’s are all real constants and the powers of 𝑥 must be positive whole numbers. We learned that the degree or order of the function is the largest power or exponent of 𝑥. So, this general polynomial function has a degree of 𝑛. The leading coefficient is the coefficient of this term, so it’s 𝑎 sub 𝑛. We finally learned that a polynomial of this degree, of degree 𝑛, can, therefore, have up to 𝑛 minus one turning points.