The following function defines a recursive sequence: f(0) = -2 f(1) = 8 f(n) = -4•f(n -1) - 3•f(n - 2); for n > 1 Which of the following sequences is defined by this recursive function? -2, 8, -26, -80, … -2, 8, -26, 80, … -2, 12, -44, 180, … -2, -12, -44, -180, …
tried to find the third term in the sequence by replacing n with 3
\[f(n)=-4 \cdot f(n-1)-3 \cdot f(n-2) \\ \] I see three n's to replace here with 3 \[f(3)=-4 \cdot f(3-1)-3 \cdot f(3-2) \\ \] now finish the operations inside the ( )
\[f(3)=-4 \cdot f(2)-3 \cdot f(1)\] as you see we need f(2) and f(2) is actually the 3rd term since f(0) is the first term
so let's find the the third term f(2) then we will go back to finding the fourth term f(3) so replace all the n's with 2's
\[f(n)=-4 \cdot f(n-1)-3 \cdot f(n-2) \\ \] go ahead try replace the n's you see there with 2's and do nothing else for now
I don't know where to start
i'm telling you exactly where to start
you should see 3 n's replace the n's there with 2's
well there was one more n
f(2) = -4 * f(2-1) -3 * f(n-2) ?
well there is that last n there you still haven't replaced with 2 \[f(2)=-4 \cdot f(2-1)-3 \cdot f(2-2)\]
now do the operations in the f( )
2-1=? 2-2?
2-1 = 1 2-2 = 0
right so we have \[f(2)=-4 \cdot f(1)-3 \cdot f(0)\]
but guess what
f(1) and f(0) was given
remember this: f(0) = -2 f(1) = 8
replace f(1) with 8 replace f(0) with -2
\[f(2)=-4 \cdot f(1)-3 \cdot f(0) \\ f(2)=-4 \cdot 8-3 \cdot -2\] when folloing the order of operations we know we are to take care of the multiplication then the subtraction so can you simplify this
-4 * 8 - 3 * -2? -26
-32+6=-26 sounds good
so far we have the sequence is f(0),f(1),f(2),f(3),f(4),.... where we have -2,8,-26,........
there are two choices you have that fit this so far
so we need to make another round
now let's go back to our f(3)
we already did some simplification but let's start from the top to find the 4th term (or the 3-1th term) replace the n's with 3 \[f(n)=-4 \cdot f(n-1)-3 \cdot f(n-2) \\ \] whereever you n put a 3 \[f(3)=-4 \cdot f(3-1)-3 \cdot f(3-2) \\ \]
see of you can simplify that you have to use previous terms in your sequence to finish simplifying
see if you can*
what about the f's?
3-1 is 2 3-2 is 1
you remember before we used what were given about the f's we were given f(0) and f(1)... here you have f(2) and f(1) we just found f(2) and we were given f(1)
right so you have \[f(3)=-4 \cdot f(2)-3 \cdot f(1)\] we just found f(2) to be -26 and we were given f(1) to be 8
so is that f(3) = -4 * -26 - 3 * 8
beautiful
80. Answer is B
cool stuff :)
you did well it just takes a bit of experience with these to get used to them
thank you :)
Join our real-time social learning platform and learn together with your friends!