How to Find Characteristic Equations? I try to find the characteristic equations of given recurrenc

ownerweneuf

ownerweneuf

Answered question

2022-05-28

How to Find Characteristic Equations?
I try to find the characteristic equations of given recurrences. My textbook finds it magically without doing a calculation but I don't understand how to do that. I write 1 page of equations to find the characteristic equation. Is there an easier way to find it?
T ( n ) = 2 T ( n 2 ) + n + log 2 n
( n = 2 k )
C E = ( x 2 ) 2 ( x 1 ) 2
How to find the CE without any calculation (That's what my textbook does)? Is it possible?

Answer & Explanation

HTMW7C0a

HTMW7C0a

Beginner2022-05-29Added 8 answers

Step 1
Define A ( n ) = T ( 2 n ) and S to be the shift operator: S ( A ) ( n ) = A ( n + 1 ). Your equation is 2 n + n = A ( n ) 2 A ( n 1 ) = ( S 2 ) A ( n 1 ). If P(S) is a polynomial in S with constant coefficients such that P ( S ) ( 2 n + n ) = 0, then
( S 2 ) P ( n ) A ( n 1 ) = 0
The characteristic polynomial of this linear recurrence is ( x 2 ) P ( x ).
So, what we need is an efficient algorithm to compute a small polynomial operator P(S) that annihilates 2 n + n.
You can see that S 2 annihilates 2 n , since ( S 2 ) ( 2 n ) = 2 n + 1 2 2 n = 0.
Also, ( S 1 ) 2 annihilates n, since ( S 1 ) n = n + 1 n = 1 and ( S 1 ) 1 = 1 1 = 0.
Therefore, the polynomial P ( S ) = ( S 2 ) ( S 1 ) 2 annihilates 2 n + n and then ( S 2 ) 2 ( S 1 ) 2 A ( n 1 ) = 0.
Step 2
In general, polynomials P(S) that annihilate expressions that are sum of terms of the form C n k a n , with C, a constants, are easy to find by inspection. You can verify that P ( S ) = ( S a ) k + 1 annihilates C n k a n . In fact ( S a ) ( C n k a n ) = C ( n + 1 ) k a a n C a n k a n , which is a n multiplied by a polynomial of degree k 1 in n. Since ( S a ) a n = a n + 1 a n + 1 = 0, we get the result by induction. So, for a sum of many of those terms, you can just take the product, or better the least common multiple.

Do you have a similar question?

Recalculate according to your conditions!

New Questions in Discrete math

Ask your question.
Get an expert answer.

Let our experts help you. Answer in as fast as 15 minutes.

Didn't find what you were looking for?