Which is Greater for Large n: f(n) = 2^{2^{2^n}} or g(n) = 100^{100^n}?

AI Thread Summary
The discussion centers on comparing the growth rates of the functions f(n) = 2^{2^{2^n}} and g(n) = 100^{100^n} as n increases. Participants suggest using logarithmic transformations to analyze the functions, revealing that f(n) grows significantly faster due to the exponential nature of 2^n. It is noted that taking the logarithm twice can help in understanding the number of digits in each function, which correlates with their growth rates. The use of l'Hôpital's theorem is mentioned as a formal method to compare the logarithmic expressions, although it's not deemed necessary for a conclusion. Ultimately, the consensus is that f(n) will surpass g(n) for large n.
converting1
Messages
65
Reaction score
0
which is greater as n gets large, f(n) = 2^{2^{2^n}} or g(n) = 100^{100^n}

instinctively I'd go with f(n) but I have no idea of actually showing that f(n) would indeed get larger, obviously sticking in values of n doesn't particularly work. A method I was thinking was to show many digits would f(n) be when n=100, and same with g(n), I attempted this but to no avail,

any hints would be appreciated

thanks.
 
Physics news on Phys.org
converting1 said:
which is greater as n gets large, f(n) = 2^{2^{2^n}} or g(n) = 100^{100^n}

instinctively I'd go with f(n) but I have no idea of actually showing that f(n) would indeed get larger, obviously sticking in values of n doesn't particularly work. A method I was thinking was to show many digits would f(n) be when n=100, and same with g(n), I attempted this but to no avail,

any hints would be appreciated

thanks.

Take the log of both functions. What do you think now? If you're not sure take the log again.
 
Last edited:
Dick said:
Take the log of both functions. What do you think now? If you're not sure take the log again.

ln(2^{2^{2^n}}) = 2^{2^n}ln(2)
ln(2^{2^n}ln(2)) = ln(2^{2^n}) + ln(ln(2)) = 2^nln(2) + ln(ln(2))

ln(100^{100^n}) = 100^nln100
ln(100^nln(100)) = ln(100^n) + ln(ln(100)) = nln(100) + ln(ln(100))

from this I'm sure that 2^n will indeed grow much larger as it's an exponential however I don't particularly know how to conclude.

Also, is there anyway I can do it by looking at the digits?
 
converting1 said:
ln(2^{2^{2^n}}) = 2^{2^n}ln(2)
ln(2^{2^n}ln(2)) = ln(2^{2^n}) + ln(ln(2)) = 2^nln(2) + ln(ln(2))

ln(100^{100^n}) = 100^nln100
ln(100^nln(100)) = ln(100^n) + ln(ln(100)) = nln(100) + ln(ln(100))

from this I'm sure that 2^n will indeed grow much larger as it's an exponential however I don't particularly know how to conclude.

Also, is there anyway I can do it by looking at the digits?

Sure. Now it's pretty obvious 2^n will be much larger than n for n large. If you want to be formal about it you could use l'Hopital's theorem on the ratio of the ln(ln)'s. But I don't think you have to. And this is really the same as counting digits. To find the number of digits you would look at log base 10 of each expression. When you take the second log you are basically looking at the log of the number of digits.
 
Dick said:
Sure. Now it's pretty obvious 2^n will be much larger than n for n large. If you want to be formal about it you could use l'Hopital's theorem on the ratio of the ln(ln)'s. But I don't think you have to. And this is really the same as counting digits. To find the number of digits you would look at log base 10 of each expression. When you take the second log you are basically looking at the log of the number of digits.

Thanks for your help
 
I picked up this problem from the Schaum's series book titled "College Mathematics" by Ayres/Schmidt. It is a solved problem in the book. But what surprised me was that the solution to this problem was given in one line without any explanation. I could, therefore, not understand how the given one-line solution was reached. The one-line solution in the book says: The equation is ##x \cos{\omega} +y \sin{\omega} - 5 = 0##, ##\omega## being the parameter. From my side, the only thing I could...
Back
Top