Sign In
Calculate f(3) using the known values of f(1) and f(2).
Calculate the first and second differences.
Use the conclusion from Part B.
3, 10, 21, 36, 55
See solution.
f(n)=2n^2+n
Let's analyze the given recursive sequence.
| n | f(n-2) | f(n-1) | 4+2f(n-1)-f(n-2) | f(n)=4+2f(n-1)-f(n-2) |
|---|---|---|---|---|
| 1 | - | - | - | f(1)=3 |
| 2 | - | - | - | f(2)=10 |
| 3 | f(1)= 3 | f(2)= 10 | 4+2( 10)- 3= 21 | f(3)= 21 |
| 4 | f(2)= 10 | f(3)= 21 | 4+2( 21)- 10= 36 | f(4)= 36 |
| 5 | f(3)= 21 | f(4)= 36 | 4+2( 36)- 21= 55 | f(5)= 55 |
We will use patterns between consecutive data pairs to determine what type of function best models the given values from Part A. The differences of consecutive f-values are called first differences. The differences of consecutive first differences are called second differences.
Since the first differences are not constant, the sequence cannot be modeled by a linear function. Next we will check the second differences.
Since the second differences are constant, the sequence can be modeled by a quadratic function.
From Part B we know that the sequence can be modeled by a quadratic function, f(n)=an^2+bn+c, for some values of a, b, and c. To determine the values of a, b, and c, let's substitute 1, 2, and 3 for n and use that f( 1)= 3, f( 2)= 10, f( 3)= 21.
f(n)=an^2+bn+c ⇓ 3=a( 1)^2+b( 1)+c & (I) 10=a( 2)^2+b( 2)+c & (II) 21=a( 3)^2+b( 3)+c & (III) Let's use the Substitution Method to find a solution to this system.
(I), (II), (III):Calculate power and product
(I), (II), (III):Rearrange equation
(I):LHS-a=RHS-a
(I):LHS-b=RHS-b
(I), (II):c= 3-a-b
(II), (III): Add and subtract terms
(II), (III): LHS-3=RHS-3
(II):LHS-3a=RHS-3a
(III):b= 7-3a
(III):Distribute 2
(III):Subtract terms
(III):LHS-14=RHS-14
(III):.LHS /2.=.RHS /2.
(II):a= 2
(II):Multiply
(II):Subtract terms
(I):a= 2, b= 1
(I):Subtract terms
Finally, an explicit rule for the given sequence is f(n)=2n^2+n.
Since we obtain the explicit rule f(n)=2n^2+n based only on a few first terms of the given sequence, we are not sure if this is correct for all values of n. To verify our answer, we should substitute f(n)=2n^2+n into the recursive rule for f(n) and check if it is true. f(n)=4+2f(n-1)-f(n-2) First, let's find f(n-1) and f(n-2). f( n)=2 n^2+ n ⇓ f( n-1)=2( n-1)^2+( n-1) f( n-2)=2( n-2)^2+( n-2) Next, we will substitute 2n^2+n for f(n), 2(n-1)^2+(n-1) for f(n-1), and 2(n-2)^2+(n-2) for f(n-2) into the recursive formula.
Substitute expressions
Distribute -1
(a-b)^2=a^2-2ab+b^2
Distribute 2 & Distribute - 2
Add and subtract terms
Distribute 2
Add and subtract terms
LHS-n=RHS-n
LHS-2n^2=RHS-2n^2
Substitution produces a true statement. This tells us that the explicit formula f(n)=2n^2+n is true for all values of n.