{{ tocSubheader }}
| {{ 'ml-lesson-number-slides' | message : article.intro.bblockCount }} |
| {{ 'ml-lesson-number-exercises' | message : article.intro.exerciseCount }} |
| {{ 'ml-lesson-time-estimation' | message }} |
First, calculate the differences between consecutive terms.
an | an−1 | an−an−1 | Difference |
---|---|---|---|
288 | 121.5 | 288−121.5 | 166.5 |
562.5 | 288 | 562.5−288 | 274.5 |
972 | 562.5 | 972−562.5 | 409.5 |
1543.5 | 972 | 1543.5−972 | 571.5 |
A new sequence can then be created using these differences.
Continue finding the differences until all the terms of the sequence are constant.
The exponent p is the same as the number of differences needed. Since after the third differences the finite differences result in a nonzero constant, p equals 3.
d=27, p=3
Write as a product
Multiply
LHS/6=RHS/6
Rearrange equation
When the pth differences of equally-spaced data are nonzero and constant, the data can be modeled by a polynomial function of degree p.
xp−yp=(x−y)(xp−1+xp−2y+⋯+xyp−2+yp−1)
Distribute -1
Subtract term
a⋅1=a