Log operations

  1. 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!
  2. jcsd
  3. Mentallic

    Mentallic 3,684
    Homework Helper

    If we have to solve for x in [itex]4^x=3[/itex] then we have defined a log function to answer this problem for us. We denote the answer to this problem as [itex]x=\log_43[/itex]. This means that if we plug that expression for x back into the original problem, we get

    [tex]4^{\log_43}=3[/tex] (1)

    Now, for your answer
    [tex]3^{\log_4n}[/tex] (2)

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


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


    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.


    and so you finally have that your answer is equivalent to

  4. Thank you so much! You're like my super hero right now! =)
  5. Mentallic

    Mentallic 3,684
    Homework Helper

    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.
Know someone interested in this topic? Share a link to this question via email, Google+, Twitter, or Facebook

Have something to add?

Draft saved Draft deleted
Similar discussions for: Log operations