# Question Video: Finding Unknowns in a Polynomial Function given Its Rate of Change at a Point and Its Average Rate of Change at Two Points Mathematics • Higher Education

Let 𝑓(𝑥) = 5 + 𝑎𝑥 + 𝑏𝑥². Suppose that the change in 𝑓(𝑥) as 𝑥 goes from −1 to 2 is 6 and that the rate of change of 𝑓(𝑥) at 𝑥 = 2 is 17. Determine 𝑎 and 𝑏.

05:43

### Video Transcript

Let 𝑓 of 𝑥 be equal to five plus 𝑎 times 𝑥 plus 𝑏 times 𝑥 squared. Suppose that the change in 𝑓 of 𝑥 as 𝑥 goes from negative one to two is six and that the rate of change of 𝑓 of 𝑥 at 𝑥 is equal to two is 17. Determine 𝑎 and 𝑏.

The question gives us a polynomial function 𝑓 of 𝑥 with two unknown constant variables 𝑎 and 𝑏. The question wants us to determine the values of 𝑎 and 𝑏 using the following information. The change in 𝑓 of 𝑥 as 𝑥 goes from negative one to two is six. And the rate of change of 𝑓 of 𝑥 at 𝑥 is equal to two is 17.

We recall that the change in a function 𝑔 of 𝑥 from 𝑥 is equal to 𝑐 to 𝑥 is equal to 𝑑 is given by 𝑔 evaluated at 𝑑 minus 𝑔 evaluated at 𝑐. It’s the change in our function 𝑔 as 𝑥 moves from 𝑐 to 𝑑.

The question tells us the change in 𝑓 of 𝑥 as 𝑥 goes from negative one to two is six. In other words, 𝑓 evaluated at two minus 𝑓 evaluated at negative one is equal to six. Substituting 𝑥 is equal to two and 𝑥 is equal to negative one into our function 𝑓 of 𝑥 gives us that the change in 𝑓 of 𝑥 as 𝑥 goes from negative one to two is equal to five plus 𝑎 times two plus 𝑏 times two squared minus five plus 𝑎 times negative one plus 𝑏 times negative one squared. We can evaluate this to give us five plus two 𝑎 plus four 𝑏 minus five plus 𝑎 minus 𝑏.

Finally, we have that five minus five is equal to zero. Two 𝑎 plus 𝑎 is equal to three 𝑎. And four 𝑏 minus 𝑏 is equal to three 𝑏. So by using the fact that the change in 𝑓 of 𝑥 as 𝑥 went from negative one to two was six, we’ve shown that six is equal to three 𝑎 plus three 𝑏.

In fact, we can divide both sides of this equation by three to get that two is equal to 𝑎 plus 𝑏. Since 𝑎 and 𝑏 can be any constants, the equation two is equal to 𝑎 plus 𝑏 has many solutions. So we need to get more information to find the values of 𝑎 and 𝑏.

To do this, we’ll use the second piece of information which we’re given. The rate of change of 𝑓 of 𝑥 when 𝑥 is equal to two is 17. We recall the rate of change of 𝑓 of 𝑥 when 𝑥 is equal to 𝑎 is given by 𝑓 prime of 𝑎 is equal to the limit as ℎ approaches zero of 𝑓 evaluated at 𝑎 plus ℎ minus 𝑓 evaluated at 𝑎 all divided by ℎ if this limit exists.

Since we’re told the rate of change of 𝑓 of 𝑥 when 𝑥 is equal to two is 17, we’ll set 𝑎 equal to two. This gives us that 17 is equal to 𝑓 prime evaluated at two. Using our definition for the rate of change, we have that this is equal to the limit as ℎ approaches zero of 𝑓 evaluated at two plus ℎ minus 𝑓 evaluated at two all divided by ℎ.

Evaluating 𝑓 at two plus ℎ and two inside of our limit gives us the limit as ℎ approaches zero of five plus 𝑎 times two plus ℎ plus 𝑏 times two plus ℎ squared minus five plus 𝑎 times two plus 𝑏 times two squared all divided by ℎ. We see that we’re adding five and then subtracting five. So we can cancel these out.

We’re now ready to start simplifying our limit. We’ll expand the first set of parentheses to get two 𝑎 plus ℎ𝑎. Next, we have that two plus ℎ all squared is four plus four ℎ plus ℎ squared. Then we subtract two 𝑎 and we subtract 𝑏 times two squared, which is four 𝑏. Finally, we divide all of this by ℎ.

We can simplify this further. We see that we’re adding two 𝑎 and then subtracting two 𝑎. And we can also see that four times 𝑏 is four 𝑏. And then we subtract four 𝑏. So we can cancel these out. Distributing 𝑏 over our parentheses then gives us the limit as ℎ approaches zero of ℎ times 𝑎 plus four ℎ𝑏 plus ℎ squared 𝑏 all divided by ℎ.

We can’t yet evaluate this limit by using direct substitution. However, if we cancel the shared factor of ℎ in our numerator and our denominator, we get the limit as ℎ approaches zero of 𝑎 plus four 𝑏 plus ℎ𝑏. One way of evaluating this is noticing this is a linear function in terms of ℎ. So we can use direct substitution.

We substitute ℎ is equal to zero to get 𝑎 plus four 𝑏 plus zero times 𝑏. And zero times 𝑏 is just equal to zero. So we have the rate of change of our function 𝑓 of 𝑥 when 𝑥 is equal to two is 𝑎 plus four 𝑏. And we’re also told that this is equal to 17. So we now have two equations for 𝑎 and 𝑏. We have that two is equal to 𝑎 plus 𝑏 and 17 is equal to 𝑎 plus four 𝑏.

There’re several different ways of solving these simultaneous equations. We’re going to subtract the bottom equation from the top equation. Subtracting 17 from two gives us negative 15. Subtracting 𝑎 from 𝑎 gives us zero. And then subtracting four 𝑏 from 𝑏 gives us negative three 𝑏. So we have that negative 15 is equal to negative three 𝑏. Dividing both sides of this equation by negative three gives us that 𝑏 is equal to five.

We can then find the value of 𝑎 by substituting 𝑏 is equal to five into either of our simultaneous equations. Substituting 𝑏 is equal to five into the equation two is equal to 𝑎 plus 𝑏 gives us two is equal to 𝑎 plus five. And subtracting five from both sides of this equation gives us that 𝑎 is equal to negative three.

Therefore, we’ve shown if 𝑓 of 𝑥 is equal to five plus 𝑎𝑥 plus 𝑏 squared. And the change in 𝑓 of 𝑥 as 𝑥 goes from negative one to two is six. And the rate of change of 𝑓 of 𝑥 at 𝑥 is equal to two is 17. Then 𝑎 is equal to negative three and 𝑏 is equal to five.