How does the n drop down in this recurrence relation problem?

  • Context: Graduate 
  • Thread starter Thread starter seansrk
  • Start date Start date
  • Tags Tags
    Recurrence Relation
Click For Summary
SUMMARY

The discussion focuses on a recurrence relation problem where the transformation from the equation involving \( k \) to one that incorporates \( n \) is analyzed. The base case is established as \( 2^{K} = n \), leading to \( k = \log_{2}n \). The summation simplifies to \(\frac{((7/4)^{K})-1}{(7/4)-1}\), which ultimately results in \(((7/4)^{\log_{2}n})-1 / (3/4)\). The key insight is that substituting \( k \) with \( \log_{2}n \) allows \( n \) to be expressed in the exponent, clarifying its presence in the final formula.

PREREQUISITES
  • Understanding of recurrence relations
  • Familiarity with logarithmic identities
  • Knowledge of summation techniques
  • Basic algebraic manipulation skills
NEXT STEPS
  • Study the properties of logarithms in depth
  • Explore advanced techniques in solving recurrence relations
  • Learn about the Master Theorem for analyzing algorithm complexity
  • Investigate the implications of exponential growth in algorithms
USEFUL FOR

Students and professionals in computer science, particularly those focusing on algorithm analysis, recurrence relations, and logarithmic functions.

seansrk
Messages
3
Reaction score
0
[PLAIN]http://img442.imageshack.us/img442/4514/ballsp.jpg
The base case is 2^{K} = n (which turns into log_{2}n = k

So I have a question on this recurrence relation problem. (I'm trying to get to make the top equation look like the bottom equation.) I know that the summation ends up becoming

\frac{((7/4)^K)-1}{(7/4)-1}

which gives us
((7/4)^log_{2}n)-1 / (3/4)

I'm lost on how the n drops down. I know how the (log[2]7-2)-1 comes to be but how does the n and log[2]7 -2 get on the same level and the exponent level disappeared?

Hopefully I didn't make this confusing. Just trying to find out how the n came down.
 
Last edited by a moderator:
Mathematics news on Phys.org
Your basic problem is that the first sum depends upon the value of "k" but there is no "k" in the second. What happened to it? And, since there is no "n" in the sum (ignore the "n^2" for the moment), how do you get that "n" in the numerator of the second formula?
 
HallsofIvy said:
Your basic problem is that the first sum depends upon the value of "k" but there is no "k" in the second. What happened to it? And, since there is no "n" in the sum (ignore the "n^2" for the moment), how do you get that "n" in the numerator of the second formula?

Well previously in the problem it was stated that 2^k = n. Which using the rules of logs we turned that into k = log base 2 n. So when we got the (7/4)^k what I did was i substituted log base 2 n into k giving us the n. in the exponent.
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 5 ·
Replies
5
Views
1K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 3 ·
Replies
3
Views
8K
  • · Replies 18 ·
Replies
18
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K