ARML 2013 - Algebraic Recursion: Victoria Xia March 21st, 2013
ARML 2013 - Algebraic Recursion: Victoria Xia March 21st, 2013
Victoria Xia
March 21st, 2013
Problems often come up where, given a function f (x), it’s helpful to know f (f (f (...f (f (x))...))) = f (n) (x).
The notation “f (n) (x)” (where there are n f ’s) is the nth iteration of f . Another version of the same idea
is a recursive sequence expressing an+1 in terms of an , such as an+1 = 2an + 1. To see why these are the
same, let x = a0 . Then f (x) = a1 , f (2) (x) = a2 , and so on.
This lecture covers techniques on how to find the nth iteration of a function or the general term of a recursive
sequence.
0 Telescoping
Like yesterday’s NYCIML!
1.1 Example
Given that an+1 = a2n + 2an for all integers n ≥ 0, if a0 = 4, find a150 .
Solution: The right side reminds us of perfect squares. Adding one to both sides yields an+1 + 1 =
n
a2n + 2an + 1 = (an + 1)2 . Making the substitution bn = an + 1, we have bn+1 = b2n , so bn = b20 . Converting
n n 150
back from bn to an , we have an + 1 = (a0 + 1)2 ⇒ an = (a0 + 1)2 − 1 ⇒ a150 = 52 − 1.
1
1.2 The Common an+1 = can + d
Linear relations are easy to transform by adding a constant λ to both sides of the equation: an+1 + λ =
c(an + d+λ d+λ
c ). If we could find a λ so that λ = c , then the equation would look like the second of the three
d d d
basic functions. Solving for λ, we get λ = c−1 . Replacing λ, we then have (an+1 + c−1 ) = c(an + c−1 ),
d n
and letting bn = (an + c−1 ), we have bn+1 = cbn . From the second basic equation, we then have bn = c b0 .
Replacing bn we have
d d
an + = cn (a0 + )
c−1 c−1
d d
an = cn (a0 + )− .
c−1 c−1
Example: (HMMT2013) Values a1 , a2 , ...a2013 are chosen independently and at random from the set
{1, 2, ..., 2013}. What is the expected number of distinct values in the set {a1 , a2 , ..., a2013 }?
Example: (AoPS) Let there be a sequence {an } with initial values a0 = 0, a1 = 38, a2 = −90 given by the
recurrence relation an+1 = 19an−1 − 30an−2 for n ≥ 2. Prove that a2010 is divisible by 2011.
3 Other Tips
1. Ranges are helpful. If, for instance, a problem states that the function only applies for values of x
between -1 and 1, think sine or cosine!
Example: Let an+1 = 4an (1 − an ), 0 ≤ an ≤ 1 for all an . Find the general term an if a0 = 41 .
Solution: The given range perfectly allows for the substitution an = sin2 (bn ). Substituting, we get
sin2 (bn+1 ) = 4 sin2 (bn )(1 − sin2 (bn )) = 4 sin2 (bn ) cos2 (bn ) = sin2 (2bn ), so bn+1 = 2bn . That means that
√
bn = 2n b0 , and it follows that an = sin2 (bn ) = sin2 (2n b0 ) = sin2 (2n arcsin( a0 )). The last step comes
√
from the fact that an = sin2 (bn ) implies bn = arcsin( an ). Substituting in the fact that a0 = 41 , we
n n−1
then have an = sin2 ( 2 6π ) = sin2 ( 2 3 π ).
2. List out the first few terms of a sequence if you don’t know what to do; easy problems will usually
reveal a pattern.
4 Problems
1. Five monkeys discover a pile of peaches by a lake. They agree to divide the pile evenly the next day.
The next morning, the first monkey comes and tries to split the pile into five equal parts, but fails
because there’s one left over. His solution is to toss one peach into the lake, and then takes one pile
(1/5 of what’s left) and leaves. The second monkey comes, but doesn’t know the first one already took
his share, so he tries splitting the pile into fifths, but ends up with one left over. He tosses a peach into
the lake, takes his share, and leaves. The third, fourth, and fifth monkeys all have the same problem
and do the same thing. What is the least number of peaches that could’ve been in the original pile?
2
2. Let f (x) = 19x + 89. Find the ones digit of f (100) (5).
3. Given that f (x) = 2x2 + 2x for − 21 ≤ x, find f (n) (x).