| | {{ 'ml-lesson-number-slides' | message : article.intro.bblockCount }} |
| | {{ 'ml-lesson-number-exercises' | message : article.intro.exerciseCount }} |
| | {{ 'ml-lesson-time-estimation' | message }} |
Here are a few recommended readings before getting started with this lesson.
Consider the following table of values.
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.
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.
Notice that three of the points are intercepts.
Identity Property of Addition
Multiply
Simplify quotient
Rearrange equation
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.
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.
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.
The finite differences of polynomial functions satisfy the following two properties.
To justify these properties, the minor cases will be examined first.
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.
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.
| Year | |||||
|---|---|---|---|---|---|
| Income |
Recalling her math lessons, Zosia decided to help her uncle by modeling the income with a polynomial function. Help Zosia do the following.
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
PGFTikZ parser error:Error with file uploading, missing permissions.
PGFTikZ parser error:Error with file uploading, missing permissions.
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.
PGFTikZ parser error:Error with file uploading, missing permissions.
PGFTikZ parser error:Error with file uploading, missing permissions.
Indicate the degree of the polynomial function that best fits the data in each table of values.
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.
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.
To justify this principle, the smaller cases will be examined to come to a conclusion.
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.
PGFTikZ parser error:Error with file uploading, missing permissions.
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.
PGFTikZ parser error:Error with file uploading, missing permissions.
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.
PGFTikZ parser error:Error with file uploading, missing permissions.
PGFTikZ parser error:Error with file uploading, missing permissions.
Finally, input matrix $\bm{\left[\textbf{A}\right]}$ to the rref(
function. To do so, push and to bring up all available matrices. In the NAMES menu, choose matrix $\bm{\left[\textbf{A}\right]}.$
PGFTikZ parser error:Error with file uploading, missing permissions.
PGFTikZ parser error:Error with file uploading, missing permissions.
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.
QuartRegon a graphing calculator.
PGFTikZ parser error:Error with file uploading, missing permissions.
PGFTikZ parser error:Error with file uploading, missing permissions.
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.
PGFTikZ parser error:Error with file uploading, missing permissions.
PGFTikZ parser error:Error with file uploading, missing permissions.
DiagnosticOnand press Finally, reopen the window from Part A.
PGFTikZ parser error:Error with file uploading, missing permissions.
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.
The following table of values was presented earlier in the lesson.
Below are the first, second, and third differences of these values.
PGFTikZ parser error:Error with file uploading, missing permissions.
PGFTikZ parser error:Error with file uploading, missing permissions.
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.
PGFTikZ parser error:Error with file uploading, missing permissions.
PGFTikZ parser error:Error with file uploading, missing permissions.