{{ toc.signature }}
{{ toc.name }}
{{ stepNode.name }}
Proceed to next lesson
An error ocurred, try again later!
Chapter {{ article.chapter.number }}
{{ article.number }}.

# {{ article.displayTitle }}

{{ article.introSlideInfo.summary }}
{{ 'ml-btn-show-less' | message }} {{ 'ml-btn-show-more' | message }} expand_more
##### {{ 'ml-heading-abilities-covered' | message }}
{{ ability.description }}

#### {{ 'ml-heading-lesson-settings' | message }}

{{ 'ml-lesson-show-solutions' | message }}
{{ 'ml-lesson-show-hints' | message }}
 {{ 'ml-lesson-number-slides' | message : article.introSlideInfo.bblockCount}} {{ 'ml-lesson-number-exercises' | message : article.introSlideInfo.exerciseCount}} {{ 'ml-lesson-time-estimation' | message }}
Polynomials are used in a variety of fields to model diverse phenomena. This lesson aims to show how polynomials can model real-life situations.

### Catch-Up and Review

Here are a few recommended readings before getting started with this lesson.

## Differences of Function Values

Consider the following table of values.

Looking at the values, it can be noted that the values are equally spaced. It is possible to find the first finite differences by subtracting two consecutive values. Consider the following example.
The first differences for each pair of consecutive terms can be found by doing the same process. Then, the second differences are found by subtracting consecutive first differences, third differences by subtracting consecutive second differences, and so on. Find every first, second, and third difference. Is there something that can be noted about the differences?

## Writing a Function From a Graph

As part of an entrepreneur unit in school, Zosia is learning some interesting math. During her lesson, Zosia's teacher explained that modeling data is useful to understanding business. He explained that there are various methods to write a polynomial function that models data.

As an example, the teacher told the students about a certain company that has experienced ups and downs in earnings due to economic downturns.

• Before the company suffered losses due to the credits requested for the opening.
• In the years and the company had neither profit nor losses.
• From to the company made a profit.
• Between and the company suffered losses.
• From onwards, the company's profits have been increasing.

The teacher showed the students the following graph, where represents the profit, in millions of dollars, and represents the years before and after Here, negative values of represent losses.

Then the teacher asked the students to write the cubic function graphed. Help Zosia write the expression for the cubic function.

### Hint

Notice that three of the points are intercepts.

### Solution

The first thing to notice in the given graph is that three of the given points are zeros of the function. The Factor Theorem indicates that the zeros of a polynomial function are factors of the function. Since the function is cubic, the three zeros indicate the three factors.
In this expression, the factors are given by the zeros and is a constant. To find the value of the fourth point is substituted into the expression.
Solve for
Now that the value of has been found, it is possible to finish writing the function shown the graph, which represents the profits of the company.

## Finite Differences and Their Properties

Sometimes it can be useful to examine the differences between function values when the input values are separated by a known quantity. These differences are known as finite differences.

## Finite Difference

A finite difference is a mathematical expression that can be written in the following form.

In this expression, and are constants. There are three basic finite differences that are especially useful.

• Forward difference:
• Backward difference:
• Central difference:

These differences are shown below.

Finite differences can be used to determine the degree of a polynomial function that models a data set. This is because finite differences have some really useful properties.

## Properties of Finite Differences

The finite differences of polynomial functions satisfy the following two properties.

1. For a polynomial function of degree the differences of the function values corresponding to equally spaced values of the independent variable are constant and different from zero.
2. If the differences of equally spaced values are constant and different from zero, then the values can be represented by a polynomial function of degree

### Proof

Informal Justification

To justify these properties, the minor cases will be examined first.

Consider a linear function.
In this expression, and are constants different from zero. Suppose that the values are spaced by a constant The first differences between two arbitrary consecutive values of the function can be written as follows.
The expression for the linear function can be substituted here to see what happens.
Simplify
Since both and are non-zero constants, their product is different from zero. Therefore, the first differences are always a non-zero constant, which confirms the property. It should be noted that, since the first differences are constant, all the second differences are zero. Now consider a quadratic function.
In this expression, and are non-zero constants. The values of are separated by a constant A first difference can be obtained by subtracting two consecutive function values.
Again, it is possible to substitute the expression for to find an expression for the first difference.
Simplify
Looking at the linear term it can be concluded that this difference is not constant. Now, try again with a second difference. Two consecutive first differences are needed to find a second difference.
A second difference is obtained by subtracting the first expression from the second one.
Simplify
Since and are non-zero constants, the second difference is a constant different from zero, confirming the property again. Similar to the previous case, since the second differences are constant, the third differences are zero.

### Conclusion

It can be concluded from the previous cases that, for a polynomial of degree its differences are the last constant non-zero differences. Therefore, the differences of a polynomial of degree are constant and nonzero. Note that this is an informal justification and should not be taken as a proof.

## Writing a Function From a Table of Values

Interested about Zosia's recent entrepreneur lessons, her uncle told her about his own experience. Some years ago, Zosia's uncle started a local business selling art supplies.

Her uncle showed Zosia how his sales went the first few years of business. At the end of the first year, he was behind because of a starting loan. Then he started seeing returns.

Recalling her math lessons, Zosia decided to help her uncle by modeling the income with a polynomial function. Help Zosia do the following.

a Determine the degree of the polynomial function that better fits these values.
b Let be the year. Write the polynomial function.

### Hint

b Use the corresponding regression function on a graphing calculator.

### Solution

a To make the numbers smaller and easier to manage, the incomes can be divided by Doing so results in the following table.

By the Properties of Finite Differences, the constant differences can help determine the degree of the polynomial that best fits the data. The first differences are shown below.

The first differences are not constant. This means that the polynomial is not of degree and that other differences need to be examined. Now it is time to look at the second differences.

Looking at the differences, it can be noted that the second differences are constant and non-zero. By the Properties of Finite Differences, the degree of the polynomial is

b A graphing calculator can be used to find the polynomial function. To do so, first enter the given values into lists. Push choose Edit, and then enter the values in the first two columns. It should be noted that it is convenient to input the numbers divided by

To find a polynomial function of degree to fit the data, the quadratic regression function of the calculator will be used. To view this function, press scroll to the right to view the CALC options, and choose the fifth option in the list, QuadReg.

This function is similar to a line of best fit function, but instead of fitting the data with a line, the quadratic regressions fits the data using a parabola. Using the information given, it is possible to write the function.
Remember that at the beginning the numbers were divided by Therefore, to obtain the real income, each coefficient must be multiplied by
It should be noted that the function can also be found by setting and solving a system of equations, where the coefficients are the variables. This method is explained later in the lesson.

## Finding the Degree of a Polynomial Function

Indicate the degree of the polynomial function that best fits the data in each table of values.

## Polynomials That Perfectly Fit a Set of Points

When given a set of points, it is possible to determine a polynomial that perfectly fits these points. To do so, it is important to consider a principle called the Point Principle.

## The Point Principle

Given a set of points in the coordinate plane, where no pair of points lies on a vertical line, there is a unique polynomial of degree at most that fits the points perfectly.

### Proof

Informal Justification

To justify this principle, the smaller cases will be examined to come to a conclusion.

Given a single point, it is possible to fit it with a unique constant function, or a zero degree polynomial.
When considering polynomials of greater degree, starting from degree many different polynomials can include the point.
Therefore, the polynomials of greater degree that fit a single point are not unique. Now consider that In this case, points are given.
It is possible to write a system of equations by substituting these points into a linear function written in slope-intercept form.
In these functions, is the slope of the line and its intercept. Solving this system of equations gives the values of and The value of can be zero if the points lie on a horizontal line, which means that the data can be fit with a constant function.
Similarly to the previous case, there are infinitely many different polynomials of greater degree that fit these two points, making the polynomials not unique.

### Conclusion

In general, points generate a system of equations with variables, where each variable is a coefficient of a polynomial of degree
A solution can result in a polynomial with a degree less than if the leading coefficient is zero. It should be noted that this is an informal justification and should not be taken as a proof.

## Writing a Polynomial That Fits a Set of Points

After seeing her enthusiasm about his experience, Zosia's uncle invited her out to visit and get some first hand experience with how a business works. Nervous about her first flight, Zosia watched a documentary about airplanes and their speeds at takeoff.

In the documentary, the horizontal distance traveled by the plane during the first few minutes after takeoff was analyzed.

• One minute after takeoff, the horizontal distance between the plane and the airport was kilometers.
• Two minutes after takeoff, the plane was kilometers from the airport.
• Three minutes after takeoff, the plane was kilometers from the airport.
• Four minutes after takeoff, the plane was kilometers from the airport.
Zosia thought she could model the distances by finding a polynomial that passes through the following four points.
Here, the coordinates represent the minutes after takeoff and the coordinates represent the horizontal distance between the plane and the airport.
a Write a polynomial function for the plane's distance from the airport after takeoff. Round the answer to two decimal places if needed.
b Use the polynomial found in Part A to estimate the distance between the plane and the airport minutes after takeoff.

### Hint

a Use the Point Principle.
b Substitute for in the function obtained in Part A.

### Solution

a By the Point Principle, when given four points, there may exist a polynomial of degree at most that fits the points.
To find the values of the coefficients, the points are substituted into the equation above to generate a system of four equations.
These equations can be rewritten by calculating the powers and rearranging the terms.
Since the system is big, solving it by elimination or substitution can get messy. Because of this, it is preferred to use a graphing calculator to solve the system. To input a system of equations as a matrix, press then Then, scroll to the right to reach the EDIT menu.

Selecting one of the matrices in the menu opens a window to modify its elements. To input a system of four equations with four variables, a matrix will be needed. The last column stores the results at the right-hand side of each equation.

To solve the system of equations, press and once more. However, this time, select the MATH menu and scroll down until the rref( option is selected.

Finally, input matrix to the rref( function. To do so, push and to bring up all available matrices. In the NAMES menu, choose matrix

The solutions can be read vertically in the last column, using the remaining coefficients as reference points for the variables.
Now that the coefficients have been calculated, it is possible to write the polynomial function. Remember to round each coefficient to two decimal places.
b Substituting for in the equation found in Part A results in an estimate for the requested distance.
Therefore, the plane will be about kilometers away from the airport minutes after takeoff.

## Predicting Carbon Dioxide Levels

Zosia is really into environmentalism. After watching the documentary about planes, she became increasingly worried about the atmospheric carbon dioxide levels on Earth and decided to do some research.

In her research, Zosia found data about the average levels, in parts per million, of carbon dioxide in the atmosphere per year. Some results are listed below. The years are counted from the year so is the year is and so on.

Year Carbon Dioxide Levels (ppm)

Recalling her recent introduction to polynomial functions, Zosia decided to do the following.

a Use a calculator to find a polynomial of degree four that better fits the data in the table. Round every coefficient to four significant figures.
b Use the polynomial found in Part A to make a prediction for the year Is this prediction reliable? Round to four significant figures.

a
b parts per million.

### Hint

a Use the function QuartReg on a graphing calculator.
b What does the value of indicate?

### Solution

a The first thing that is needed is to input the data into the graphing calculator. To do so, press choose Edit, and enter the values in the first two columns.

To find a polynomial of degree four that fits the points, press again and move to the CALC menu. Then, scroll down to select the function QuartReg.

Now that the coefficients are known, it is possible to write an function for the carbon levels. It is important to remember that the symbol is equivalent to multiplying the number by
b To make the prediction for the carbon dioxide levels in this value has to be substituted into the function found in Part A. However, since the values are considered from as the value that corresponds to is
Simplify
Therefore, the carbon dioxide levels in will be about parts per million. Scrolling down on the last screen in Part A, it is possible to find the value of If does not appear, press press then select the DiagnosticOn and press Finally, reopen the window from Part A.

The closer the value of is to the better the polynomial function fits the points. Since is very close to the function fits the points really well. Therefore, it is possible that the prediction is reliable, but more points would clarify if that is the case.

## Using Polynomials to Fit the Given Data

The following table of values was presented earlier in the lesson.

Below are the first, second, and third differences of these values.

Note that the third differences are constant and different from zero. By the Properties of Finite Differences, the function values are represented by a cubic polynomial function.
Since many points are given, the best way to find the coefficients is to use the cubic regression function on a graphing calculator. The first thing to do is to input the data into the calculator. Push choose Edit, and then enter the values in the first two columns.

To find a polynomial of degree three that fits the points, press again and move to the CALC menu. Then, scroll down to select the function CubicReg.

Now it is possible to write a polynomial function of degree three that fits the given data.
Since the value of is exactly the polynomial function fits the points perfectly. This confirms the conclusion made considering the Properties of Finite Differences. In general, when encountering a data set, it can be useful to find a polynomial function to model the data, as it might lead to more accurate predictions or conclusions.
{{ subexercise.title }}