Solving Recursion Trees with Log Properties of a Constant

Click For Summary
The discussion centers on understanding the equivalence of two expressions derived from recursion tree problems: n^(log4 3) and 3^(log4 n). The key point is that both expressions can be shown to be equivalent through logarithmic properties and exponent manipulation. Specifically, by substituting and simplifying, it is demonstrated that 3^(log4 n) can be rewritten as n^(log4 3). This equivalence is established by recognizing that the logarithmic and exponential functions can cancel each other out when the bases match. The conversation concludes with a request for clarification on the original question's context, likely related to time complexity analysis.
LauraSuh
Messages
4
Reaction score
0
Hi, I'd like to know the log properties when they are the power of a constant. I've searched everywhere but I can't find it. the reason I want to know it is that, when solving a recursion tree problem, my teacher got an result of n^(log4 3) but I got 3^(log4 n). the base of the log haven't changed, but i'd like to know if those are equivalent and if possible, in case the answer is that they are equal, why.
Thx in advance!
 
Mathematics news on Phys.org
If we have to solve for x in 4^x=3 then we have defined a log function to answer this problem for us. We denote the answer to this problem as x=\log_43. This means that if we plug that expression for x back into the original problem, we get

4^{\log_43}=3 (1)


Now, for your answer
3^{\log_4n} (2)

notice that we can plug the expression I gave in equation (1) into equation (2) to replace the 3. i.e.

3^{\log_4n}=\left(4^{\log_43}\right)^{\log_4n}

and by exponent properties (a^b)^c=a^{bc}=a^{cb}=(a^c)^b we then have

=\left(4^{\log_4n}\right)^{\log_43}

But now notice the part in the brackets is equivalent to equation (1), that is, the log base 4 cancels the base of the exponent since they're the same value.

4^{\log_4n}=n

and so you finally have that your answer is equivalent to

n^{\log_43}
 
Thank you so much! You're like my super hero right now! =)
 
You're welcome :smile: By the way, may I ask what the question was? I'm guessing you were finding a time complexity, but I'd just like to see how that order arose.
 
Here is a little puzzle from the book 100 Geometric Games by Pierre Berloquin. The side of a small square is one meter long and the side of a larger square one and a half meters long. One vertex of the large square is at the center of the small square. The side of the large square cuts two sides of the small square into one- third parts and two-thirds parts. What is the area where the squares overlap?

Similar threads

Replies
3
Views
2K
Replies
3
Views
2K
  • · Replies 13 ·
Replies
13
Views
3K
  • · Replies 2 ·
Replies
2
Views
14K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 8 ·
Replies
8
Views
9K