Really Simple Logarithmic Question

  • Thread starter asd1249jf
  • Start date
  • Tags
    Logarithmic
In summary, the function f(n) can be simplified to n^log(log(n)) for Big-O notation. This can be proven by using the property log(a^b) = b*log(a) and converting the given expression to base 10.
  • #1
asd1249jf

Homework Statement



1. f(n) = log(n) ^ (log(n)). Simplify for Big-O notation.

The Attempt at a Solution


1.

I'm just trying to prove a big-O notation for one of my courses, and this was simplified to

f(n) = n^log(log(n))

And I'm having a hard time seeing why. Any guidance would be appreciated.
 
Last edited by a moderator:
Physics news on Phys.org
  • #2
[tex] \log{f(n)} = \log( (\log n)^{\log{n} } ) [/tex]
Using [itex] \log(a^b) = b\log(a) [/itex]
[tex] \log f(n) = \log(n) \log( \log(n)) [/tex]

Let's say the logs are base 10. Then
[tex] 10^{\log f(n)} = 10^{\log(n) \log(\log(n)} [/tex]
[tex] f(n) = (10^{log(n)})^{\log(\log(n))} [/tex]
[tex] f(n) = n^{log(log(n))} [/tex]
 

FAQ: Really Simple Logarithmic Question

What is a logarithm?

A logarithm is a mathematical function that is the inverse of exponentiation. It is used to solve exponential equations and represents the power to which a fixed number, called the base, must be raised to produce a given number.

How do you solve a logarithmic equation?

To solve a logarithmic equation, you can use the properties of logarithms to rewrite the equation in a simpler form. Then, you can use the inverse operation of logarithms, exponentiation, to solve for the variable.

What is the difference between a natural logarithm and a common logarithm?

A natural logarithm (ln) is a logarithm with a base of e, which is an irrational number approximately equal to 2.718. A common logarithm (log) is a logarithm with a base of 10. The difference between the two is the base used in the logarithm function.

How are logarithms used in real life?

Logarithms are used in many real-life applications, including finance, biology, and physics. In finance, logarithms are used to calculate compound interest and in biology, they are used to measure the pH of a solution. In physics, logarithms are used to express the magnitude of earthquakes and the loudness of sound.

What are the properties of logarithms?

The properties of logarithms include the product property, quotient property, power property, and change of base property. These properties allow for simplification and manipulation of logarithmic expressions and equations.

Back
Top