While solving problem on this year’s AMC A, I, along with many others quickly derived the recurrence relation , where represents the sum of the elements of the th row. However, the question did not just ask for a recursion; it requested the value of While my friends guessed the solution, or engineers inducted, I proceeded with a standard method: Characteristic Polynomials.
To start off, we require some big words that can be skimmed in a first reading. The main idea of this approach is that recurrences of the form for constants are satisfied by exponential solutions when . Also, all these recurrence relations obey the superposition principle. In other words, if linearly independent are particular solutions to , then the general form of is a linear combination of .
With the complex jargon out of the way, let’s first handle the homogeneous case, where
This is best explained through example. Let’s derive the closed form equation of the recurrence where and , a key step in problem from the USAJMO. Knowing that the particular solutions are exponential, we guess the solution to be of the form for constant Now, the recurrence becomes Accordingly, the recurrence is satisfied when or equivalently when and when By the superposition principle, the general solution is The values of and may be found from the initial conditions, and are left as an exercise to the reader.
Indeed, the general procedure for a homogeneous recurrence is to set the solution as and apply the superposition principle with the initial cases.
Now, what happens if is not zero, but a polynomial? Certainly, it is sometimes possible to use algebraic tricks to create a homogeneous relation. However, a sneaky method is to identify a polynomial solution to the recurrence. This solution would be the only non-exponential solution to the recurrence. Hence, by the superposition principle, the general solution is a linear combination of the homogeneous solution (pretend ) and this polynomial solution.
As an example, let’s return to the initial recurrence If we were to use algebraic manipulation, we must eliminate from the recurrence. For instance, we may apply Now, yields which is homogeneous. Setting yields so . With the double root (triple, quadruple, etc. roots work similarly), we invoke the general theory of recurrence relations to say that the particular solutions are and ; the other particular solution is As such, . Solving for the specific constants is left to the reader.
Finally, we conclude by presenting an application of the sneakier method. We note that the degree of any polynomial solution must be less than or equal to ; otherwise, the degree of the RHS exceeds that of the LHS. Therefore, if the polynomial solution is , we may obtain
For the homogeneous version, we have which solves to the particular case of . The general solution is therefore Solving for the constants is left to the reader.
Curiously enough, the process to solve linear differential equations is almost identical to the methods presented in this article.