How to prove $3^log_4n = n^log_43$? [duplicate]

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite













This question already has an answer here:



  • Logarithm proof problem: $a^log_b c = c^log_b a$

    4 answers



I got this from "4.4 The recursion-tree method for solving recurrences" in book "Introduction to Algorithms"



The recurrence that try to use recursion-tree to solve is:
$T(n) = 3T(n/4) + cn^2$



enter image description here







share|cite|improve this question












marked as duplicate by Henrik, Community♦ Aug 23 at 6:53


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


















    up vote
    0
    down vote

    favorite













    This question already has an answer here:



    • Logarithm proof problem: $a^log_b c = c^log_b a$

      4 answers



    I got this from "4.4 The recursion-tree method for solving recurrences" in book "Introduction to Algorithms"



    The recurrence that try to use recursion-tree to solve is:
    $T(n) = 3T(n/4) + cn^2$



    enter image description here







    share|cite|improve this question












    marked as duplicate by Henrik, Community♦ Aug 23 at 6:53


    This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
















      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite












      This question already has an answer here:



      • Logarithm proof problem: $a^log_b c = c^log_b a$

        4 answers



      I got this from "4.4 The recursion-tree method for solving recurrences" in book "Introduction to Algorithms"



      The recurrence that try to use recursion-tree to solve is:
      $T(n) = 3T(n/4) + cn^2$



      enter image description here







      share|cite|improve this question













      This question already has an answer here:



      • Logarithm proof problem: $a^log_b c = c^log_b a$

        4 answers



      I got this from "4.4 The recursion-tree method for solving recurrences" in book "Introduction to Algorithms"



      The recurrence that try to use recursion-tree to solve is:
      $T(n) = 3T(n/4) + cn^2$



      enter image description here





      This question already has an answer here:



      • Logarithm proof problem: $a^log_b c = c^log_b a$

        4 answers









      share|cite|improve this question











      share|cite|improve this question




      share|cite|improve this question










      asked Aug 23 at 5:43









      Anthony Zhan

      1032




      1032




      marked as duplicate by Henrik, Community♦ Aug 23 at 6:53


      This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.






      marked as duplicate by Henrik, Community♦ Aug 23 at 6:53


      This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.






















          5 Answers
          5






          active

          oldest

          votes

















          up vote
          3
          down vote



          accepted










          $$Large3^log_4n=e^ln3fracln nln4=e^ln nfracln 3ln4=n^log_43$$






          share|cite|improve this answer



























            up vote
            2
            down vote













            Let $log_4n=yimplies4^y=n$



            Now $n^log_43=4^ylog_43=(4^log_43)^y=3^y$



            as for if $log_43=z,3=4^z=4^log_43$



            Alternatively,



            if $3^log_4n=y,log_4y=log_43log_4n$



            and if $n^log_43=z,log_4z=log_4nlog_43$



            $$implieslog_4y=log_4zimplies y=z$$






            share|cite|improve this answer





























              up vote
              2
              down vote













              Take the log base 3 of both sides. You get $log_4(n) stackrel?= log_4(3) * log_3(n)$



              Then, note that $ log_3(n) *log_4(3) = log_4(3^log_3(n)) = log_4(n)$






              share|cite|improve this answer



























                up vote
                1
                down vote













                You have $log_4$ here, so write both numbers as powers of $4$, and we see immediately that
                $$
                (4^log_43)^log_4n=(4^log_4n)^log_43
                $$
                Alternatively (or rather equivalently), take $log_4$ of both numbers, and the numbers are clearly seen as equal.






                share|cite|improve this answer



























                  up vote
                  1
                  down vote













                  Let, $log_4n=p$, then $n=4^p$ from definition of $log$. Now, $n^log_43=4^plog_43=(4^log_43)^p=3^p=3^log_4n$.



                  Also you can do like this:



                  Use , $3=4^log_43$, then $3^log_4n=(4^log_43)^log_4n=(4^log_4n)^log_43=n^log_43$






                  share|cite|improve this answer





























                    5 Answers
                    5






                    active

                    oldest

                    votes








                    5 Answers
                    5






                    active

                    oldest

                    votes









                    active

                    oldest

                    votes






                    active

                    oldest

                    votes








                    up vote
                    3
                    down vote



                    accepted










                    $$Large3^log_4n=e^ln3fracln nln4=e^ln nfracln 3ln4=n^log_43$$






                    share|cite|improve this answer
























                      up vote
                      3
                      down vote



                      accepted










                      $$Large3^log_4n=e^ln3fracln nln4=e^ln nfracln 3ln4=n^log_43$$






                      share|cite|improve this answer






















                        up vote
                        3
                        down vote



                        accepted







                        up vote
                        3
                        down vote



                        accepted






                        $$Large3^log_4n=e^ln3fracln nln4=e^ln nfracln 3ln4=n^log_43$$






                        share|cite|improve this answer












                        $$Large3^log_4n=e^ln3fracln nln4=e^ln nfracln 3ln4=n^log_43$$







                        share|cite|improve this answer












                        share|cite|improve this answer



                        share|cite|improve this answer










                        answered Aug 23 at 5:54









                        Nosrati

                        21.1k41645




                        21.1k41645




















                            up vote
                            2
                            down vote













                            Let $log_4n=yimplies4^y=n$



                            Now $n^log_43=4^ylog_43=(4^log_43)^y=3^y$



                            as for if $log_43=z,3=4^z=4^log_43$



                            Alternatively,



                            if $3^log_4n=y,log_4y=log_43log_4n$



                            and if $n^log_43=z,log_4z=log_4nlog_43$



                            $$implieslog_4y=log_4zimplies y=z$$






                            share|cite|improve this answer


























                              up vote
                              2
                              down vote













                              Let $log_4n=yimplies4^y=n$



                              Now $n^log_43=4^ylog_43=(4^log_43)^y=3^y$



                              as for if $log_43=z,3=4^z=4^log_43$



                              Alternatively,



                              if $3^log_4n=y,log_4y=log_43log_4n$



                              and if $n^log_43=z,log_4z=log_4nlog_43$



                              $$implieslog_4y=log_4zimplies y=z$$






                              share|cite|improve this answer
























                                up vote
                                2
                                down vote










                                up vote
                                2
                                down vote









                                Let $log_4n=yimplies4^y=n$



                                Now $n^log_43=4^ylog_43=(4^log_43)^y=3^y$



                                as for if $log_43=z,3=4^z=4^log_43$



                                Alternatively,



                                if $3^log_4n=y,log_4y=log_43log_4n$



                                and if $n^log_43=z,log_4z=log_4nlog_43$



                                $$implieslog_4y=log_4zimplies y=z$$






                                share|cite|improve this answer














                                Let $log_4n=yimplies4^y=n$



                                Now $n^log_43=4^ylog_43=(4^log_43)^y=3^y$



                                as for if $log_43=z,3=4^z=4^log_43$



                                Alternatively,



                                if $3^log_4n=y,log_4y=log_43log_4n$



                                and if $n^log_43=z,log_4z=log_4nlog_43$



                                $$implieslog_4y=log_4zimplies y=z$$







                                share|cite|improve this answer














                                share|cite|improve this answer



                                share|cite|improve this answer








                                edited Aug 23 at 5:51

























                                answered Aug 23 at 5:46









                                lab bhattacharjee

                                216k14152264




                                216k14152264




















                                    up vote
                                    2
                                    down vote













                                    Take the log base 3 of both sides. You get $log_4(n) stackrel?= log_4(3) * log_3(n)$



                                    Then, note that $ log_3(n) *log_4(3) = log_4(3^log_3(n)) = log_4(n)$






                                    share|cite|improve this answer
























                                      up vote
                                      2
                                      down vote













                                      Take the log base 3 of both sides. You get $log_4(n) stackrel?= log_4(3) * log_3(n)$



                                      Then, note that $ log_3(n) *log_4(3) = log_4(3^log_3(n)) = log_4(n)$






                                      share|cite|improve this answer






















                                        up vote
                                        2
                                        down vote










                                        up vote
                                        2
                                        down vote









                                        Take the log base 3 of both sides. You get $log_4(n) stackrel?= log_4(3) * log_3(n)$



                                        Then, note that $ log_3(n) *log_4(3) = log_4(3^log_3(n)) = log_4(n)$






                                        share|cite|improve this answer












                                        Take the log base 3 of both sides. You get $log_4(n) stackrel?= log_4(3) * log_3(n)$



                                        Then, note that $ log_3(n) *log_4(3) = log_4(3^log_3(n)) = log_4(n)$







                                        share|cite|improve this answer












                                        share|cite|improve this answer



                                        share|cite|improve this answer










                                        answered Aug 23 at 5:51









                                        David Lui

                                        15518




                                        15518




















                                            up vote
                                            1
                                            down vote













                                            You have $log_4$ here, so write both numbers as powers of $4$, and we see immediately that
                                            $$
                                            (4^log_43)^log_4n=(4^log_4n)^log_43
                                            $$
                                            Alternatively (or rather equivalently), take $log_4$ of both numbers, and the numbers are clearly seen as equal.






                                            share|cite|improve this answer
























                                              up vote
                                              1
                                              down vote













                                              You have $log_4$ here, so write both numbers as powers of $4$, and we see immediately that
                                              $$
                                              (4^log_43)^log_4n=(4^log_4n)^log_43
                                              $$
                                              Alternatively (or rather equivalently), take $log_4$ of both numbers, and the numbers are clearly seen as equal.






                                              share|cite|improve this answer






















                                                up vote
                                                1
                                                down vote










                                                up vote
                                                1
                                                down vote









                                                You have $log_4$ here, so write both numbers as powers of $4$, and we see immediately that
                                                $$
                                                (4^log_43)^log_4n=(4^log_4n)^log_43
                                                $$
                                                Alternatively (or rather equivalently), take $log_4$ of both numbers, and the numbers are clearly seen as equal.






                                                share|cite|improve this answer












                                                You have $log_4$ here, so write both numbers as powers of $4$, and we see immediately that
                                                $$
                                                (4^log_43)^log_4n=(4^log_4n)^log_43
                                                $$
                                                Alternatively (or rather equivalently), take $log_4$ of both numbers, and the numbers are clearly seen as equal.







                                                share|cite|improve this answer












                                                share|cite|improve this answer



                                                share|cite|improve this answer










                                                answered Aug 23 at 6:00









                                                Arthur

                                                101k795176




                                                101k795176




















                                                    up vote
                                                    1
                                                    down vote













                                                    Let, $log_4n=p$, then $n=4^p$ from definition of $log$. Now, $n^log_43=4^plog_43=(4^log_43)^p=3^p=3^log_4n$.



                                                    Also you can do like this:



                                                    Use , $3=4^log_43$, then $3^log_4n=(4^log_43)^log_4n=(4^log_4n)^log_43=n^log_43$






                                                    share|cite|improve this answer


























                                                      up vote
                                                      1
                                                      down vote













                                                      Let, $log_4n=p$, then $n=4^p$ from definition of $log$. Now, $n^log_43=4^plog_43=(4^log_43)^p=3^p=3^log_4n$.



                                                      Also you can do like this:



                                                      Use , $3=4^log_43$, then $3^log_4n=(4^log_43)^log_4n=(4^log_4n)^log_43=n^log_43$






                                                      share|cite|improve this answer
























                                                        up vote
                                                        1
                                                        down vote










                                                        up vote
                                                        1
                                                        down vote









                                                        Let, $log_4n=p$, then $n=4^p$ from definition of $log$. Now, $n^log_43=4^plog_43=(4^log_43)^p=3^p=3^log_4n$.



                                                        Also you can do like this:



                                                        Use , $3=4^log_43$, then $3^log_4n=(4^log_43)^log_4n=(4^log_4n)^log_43=n^log_43$






                                                        share|cite|improve this answer














                                                        Let, $log_4n=p$, then $n=4^p$ from definition of $log$. Now, $n^log_43=4^plog_43=(4^log_43)^p=3^p=3^log_4n$.



                                                        Also you can do like this:



                                                        Use , $3=4^log_43$, then $3^log_4n=(4^log_43)^log_4n=(4^log_4n)^log_43=n^log_43$







                                                        share|cite|improve this answer














                                                        share|cite|improve this answer



                                                        share|cite|improve this answer








                                                        edited Aug 23 at 7:39

























                                                        answered Aug 23 at 5:49









                                                        tarit goswami

                                                        1,111119




                                                        1,111119












                                                            這個網誌中的熱門文章

                                                            Is there any way to eliminate the singular point to solve this integral by hand or by approximations?

                                                            Why am i infinitely getting the same tweet with the Twitter Search API?

                                                            Carbon dioxide