Let N be a positive integer that satisfies
( 2 1 0 4 ) N ⋅ ( 1 2 ) = ( y x ) .
Find the largest possible value of N such that
lo g 2 ( x y ) ≤ 1 0 0 0 .
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
Yea... I think I'll wait until later to learn these things. Better not get ahead of myself.
Hey Can anyone Help me solving this problem..?? See the Problem
We analyze what happens when we multiply the transformation matrix ( 2 1 0 4 ) by a general vector ( b a ) : ( 2 1 0 4 ) ⋅ ( b a ) = ( a + 4 b 2 a )
Thus, we can set up a recurrence relationship for the values of x , y . Our equation is ( 2 1 0 4 ) N ⋅ ( y 0 x 0 ) = ( y N x N ) We see that x 0 = 2 and y 0 = 1 . Also, x n and y n satisfy the following recurrence relationship: { x n = 2 x n − 1 y n = x n − 1 + 4 y n − 1
We can first immediately notice that since x 0 = 2 and x n = 2 x n − 1 , then obviously x n = 2 n + 1 .
Thus, we just need to find the general form of the recurrence y n = 2 n + 4 y n − 1
Note that y n + 1 = 2 n + 1 + 4 y n
If we double the original equation 2 y n = 2 n + 1 + 8 y n − 1
we can subtract it from this the new equation we found: y n + 1 − 2 y n = 4 ( y n − y n − 1 )
Now let z n = y n + 1 − 2 y n . Thus, z n = 4 z n − 1
We see that y 0 = 1 and y 1 = 6 by computation. Thus, z 0 = 4 and it is obvious our general form for z n is z n = 4 n + 1
Thus, y n + 1 − 2 y n = 4 n + 1 . Note that 2 y n − 4 y n − 1 = 2 ⋅ 4 n ; we can add this to our first equation to get y n + 1 − 4 y n − 1 = 4 n + 1 + 2 ⋅ 4 n . We can continue adding similar terms until we create a telescoping sum, where we conclude that y n + 1 = i = 0 ∑ n + 1 2 i 4 n + 1 − i = i = 0 ∑ n + 1 2 2 n + 2 − i
But i = 0 ∑ n + 1 2 2 n + 2 − i = i = 0 ∑ 2 n + 2 2 i − i = 0 ∑ n 2 i = 2 2 n + 3 − 2 n + 1
Thus, y n + 1 = 2 2 n + 3 − 2 n + 1 or y n = 2 2 n + 1 − 2 n
We now have both general forms of x n and y n ; thus, we can find x N and y N : x N = 2 N + 1 y N = 2 2 N + 1 − 2 N
Thus, lo g 2 ( x N y N ) = lo g 2 ( 2 3 N + 2 − 2 2 N + 1 ) = ( 2 N + 1 ) + lo g 2 ( 2 N + 1 − 1 ) < ( 2 N + 1 ) + lo g 2 ( 2 N + 1 ) = 3 N + 2 ≤ 1 0 0 0
Since 3 N + 2 ≤ 1 0 0 0 , we have N ≤ 3 9 9 8 or N ≤ 3 3 2 and we are done.
Another (easier) way to solve the problem is to consider eigenvalue decomposition of the matrix A = ( 2 1 0 4 ) .
Log in to reply
Unfortunately, I am not that wise in the realm of matrices. I do not even know how to take the inverse of a matrix. :P I would never think of doing something like that. My problems are more designed for pre-calculus techniques; even though what you mentioned might not be precalculus, I'm fairly sure one does not learn it in ordinary high school. (don't quote me on that, though, because I'm still in middle school). So there might be some more advanced techniques that completely kill my problems.
I guess my creating problems like these, I can get more familiar with matrices. Expect to see more matrix problems from me in the future.
Can you add a solution with that approach? You can demonstrate how we can easily calculate x N , y N in a few lines.
Log in to reply
Wait; is it true, then that one could solve a general recurrence relationship { x n + 1 = a 1 x n + b 1 y n y n + 1 = a 2 x n + b 2 y n
(where a 1 , a 2 , b 1 , b 2 are constants) by transforming it into a matrix and performing the eigenvalue decomposition of that matrix, and solving the recurrence like that?
Log in to reply
@Daniel Liu – Yes. That's known as the Fast Fibonacci Transform. Set x n = f n + 1 and y n = f n , and you get the system of equations
{ x n + 1 = 1 x n + 1 y n y n + 1 = 1 x n + 0 y n
Hence, ( x n y n ) = ( 1 1 1 0 ) n ( 1 1 )
If you do the eigenvalue decomposition, it gives you Binet's formula. (Check this!)
If you do other matrix stuff to it, it gives you other identities. For example, using only matrix properties, conclude that
f 2 n + 1 = f n + 1 2 + f n 2 .
Hint: A 2 n = A n × A n .
I tried to find ( 2 1 0 4 ) n by multiplying the matrix ( 2 1 0 4 ) two three times with itself and found some relation like ( 2 n 2 2 n − 1 − 2 n − 1 0 4 n ) and then multiplied it to ( 2 1 ) and obtained x = 2 n + 1 and y = 2 2 n + 1 − 2 n and on solving we get n = 3 3 2 .
So you just guessed that there was a pattern? I disapprove of this solution :(
Log in to reply
Woah how did you do that font? :O
Log in to reply
I was on Japanese typesetting when I typed it, then I was too lazy to delete it and switch to normal.
Well generally in these type of problems you can easily find a pattern .So I tried it and got the answer.
So, this is what happens in most such questions. And I tried solving it both way. An informed guess worked well for me though :P
Problem Loading...
Note Loading...
Set Loading...
This elaborates out my comment made in Daniel's solution, about how to use eigenvalue decomposition.
Let A = ( 2 1 0 4 ) . We can calculate that the eigenvalues of A are λ 1 = 4 , λ 2 = 2 with corresponding eigenvectors v 1 = ( 0 1 ) and v 2 = ( 2 − 1 ) .
Observe that ( 2 1 ) = 2 v 1 + v 2 . Hence,
A N ⋅ ( 2 1 ) = A N ⋅ ( 2 v 1 + v 2 ) = 4 N × 2 v 1 + 2 N × v 2 = ( 2 N + 1 2 2 N + 1 − 2 N )
Then, continue as in Daniel's solution.