example 3 model with finite differences the first seven triangular pyramidal numbers are shown...

7
EXAMPLE 3 Model with finite differences The first seven triangular pyramidal numbers are shown below. Find a polynomial function that gives the nth triangular pyramidal number. SOLUTION Begin by finding the finite differences.

Upload: dustin-york

Post on 24-Dec-2015

213 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: EXAMPLE 3 Model with finite differences The first seven triangular pyramidal numbers are shown below. Find a polynomial function that gives the n th triangular

EXAMPLE 3 Model with finite differences

The first seven triangular pyramidal numbers are shown below. Find a polynomial function that gives the nth triangular pyramidal number.

SOLUTION

Begin by finding the finite differences.

Page 2: EXAMPLE 3 Model with finite differences The first seven triangular pyramidal numbers are shown below. Find a polynomial function that gives the n th triangular

EXAMPLE 3 Model with finite differences

Because the third-order differences are constant, you know that the numbers can be represented by a cubic function of the form f (n) = an3 + bn2 + cn + d.

By substituting the first four triangular pyramidal numbers into the function, you obtain a system of four linear equations in four variables.

Page 3: EXAMPLE 3 Model with finite differences The first seven triangular pyramidal numbers are shown below. Find a polynomial function that gives the n th triangular

EXAMPLE 3 Model with finite differences

Write the linear system as a matrix equation AX = B. Enter the matrices A and B into a graphing calculator, and then calculate the solution X = A– 1 B.

a(1)3 + b(1)2 + c(1) + d = 1

a(2)3 + b(2)2 + c(2) + d = 4

a + b + c + d = 1

8a + 4b + 2c + d = 4

a(3)3 + b(3)2 + c(3) + d = 10

a(4)3 + b(4)2 + c(4) + d = 20

27a + 9b + 3c + d = 10

64a + 16b + 4c + d = 20

Page 4: EXAMPLE 3 Model with finite differences The first seven triangular pyramidal numbers are shown below. Find a polynomial function that gives the n th triangular

EXAMPLE 3 Model with finite differences

The solution is a = ,b = , c = , and d = 0. So, the nth triangular pyramidal number is given by f (n) = n3 + n2 + n.

16 2

1 13

1 1 16 2 3

18

2764

149

16

1234

1111

abcd

A x

=

14

1020

B

Page 5: EXAMPLE 3 Model with finite differences The first seven triangular pyramidal numbers are shown below. Find a polynomial function that gives the n th triangular

GUIDED PRACTICE for Example 3

4. Use finite differences to find a polynomial function

that fits the data in the table.

Write function values forequally-spaced n - values.

First-order differences

Second-order differences

Third-order differences

SOLUTION

Page 6: EXAMPLE 3 Model with finite differences The first seven triangular pyramidal numbers are shown below. Find a polynomial function that gives the n th triangular

GUIDED PRACTICE for Example 3

Because the third-order differences are constant, you know that the numbers can be represented by a cubic function of the form f (n) = an3 + bn2 + cn + d.

By substituting the first four triangular pyramidal numbers into the function, you obtain a system of four linear equations in four variables.

a(1)3 + b(1)2 + c(1) + d = 6 a + b + c + d = 6

a(2)3 + b(2)2 + c(2) + d = 15 8a + 4b + 2c + d = 15

a(3)3 + b(3)2 + c(3) + d = 22

a(4)3 + b(4)2 + c(4) + d = 1

27a + 9b + 3c + d = 22

64a + 16b + 4c + d = 21

Page 7: EXAMPLE 3 Model with finite differences The first seven triangular pyramidal numbers are shown below. Find a polynomial function that gives the n th triangular

GUIDED PRACTICE for Example 3

Write the linear system as a matrix equation AX = B. Enter the matrices A and B into a graphing calculator, and then calculate the solution X = A– 1 B.

18

2764

149

16

1234

1111

abcd

=

6152221

The solution is a = 1, b = 5, c = 1, and d = 1. So, the nth triangular pyramidal number is given by f (x) = – x3 + 5x2 + x + 1.