How Does x! Compare in Growth to x^2, 2^x, and x^x?

Click For Summary

Discussion Overview

The discussion centers on the growth rates of the factorial function (x!) compared to polynomial (x^2), exponential (2^x), and super-exponential (x^x) functions as x approaches infinity. Participants explore various mathematical approaches and reasoning to understand these relationships, particularly in the context of limits and series comparisons.

Discussion Character

  • Exploratory
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • One participant notes that while it seems clear that x! grows faster than x^2 and 2^x, they seek a mathematical justification for this observation.
  • Another suggests looking into Stirling's formula as a potential tool for approximation, while also discussing the limitations of its error as n becomes large.
  • A participant proposes comparing the natural logarithms of functions to analyze their growth rates, indicating that ln(n!) can be approximated using a Riemann sum.
  • One contributor reflects on the growth of n! by considering the product of integers from 1 to n, arguing that eventually, n! will exceed exponential functions like 2^n as n increases.
  • Another participant discusses the ratios of x^n, 2^x, and x^x to x!, explaining that for fixed n, the ratio x^n/x! approaches 0 as x grows, while the ratio x^x/x! approaches infinity.

Areas of Agreement / Disagreement

Participants express various viewpoints on the growth rates of the functions, and while some methods and comparisons are suggested, there is no consensus on a definitive proof or resolution of the question posed.

Contextual Notes

Some participants highlight ambiguities in the phrase "grows faster," suggesting that it could refer to different mathematical interpretations, such as differences in function values or growth rates. Additionally, the discussion involves approximations and assumptions that may not be universally accepted.

cp255
Messages
54
Reaction score
0
I was wondering how fast x! grows as it approaches infinity as compared to x2, 2x, and xx. The last one was fairly obvious since x*x*x*x... > x(x-1)(x-2)(x-3)... But I can't figure out a way to show that x! grows faster than x2 or 2x. I know it grows faster since I can compare the graphs of the functions on my calculator but I want to understand why. This since it seems like it would be helpful in solving limits where x approaches infinity, and using the comparison test for series which involve factorials.
 
Physics news on Phys.org
Try looking up Stirling's formula.
 
I haven't attempted the proofs you ask about, but my suggestions are these:

The error in Stirlings formula for approximating n! approaches infinity as n becomes large, but you can try to use the idea behind Stirlings formula.

For positive valued functions f and g, you can compare ln(f) and ln(g) to see which function is larger.

ln(n!) = ln( (n)(n-1)(n-2)...(1) ) = ln(n) + ln(n-1) + ln(n-2) + ...ln(1)

The latter sum is a Riemann sum that does a bad approximation for \int_1^n \ln(x) dx. It uses rectangles that have a base of 1. If you can prove the sum is an over-estimate of the integral then you can test if functions are smaller than the integral \int_1^n {\ln(x)} dx = |_1^n (x \ln(x) - x)

At least that gets rid of the factorial when you try to compare things.

The phrase "grows faster" is ambiguous. "f grows faster than g" might mean that f(n+1)-f(n) > g(n+1)-g(n) for n greater than some value k. Or it might mean f(n) > g(n) for n greater than some value k. No doubt there is a relation between these two statements, but you should clarify which you are tyring to prove.
 
I thought about it more and I realized that I was focusing on the end which starts at n and works backwards when really I should start at 1 and work forwards. For instance (assuming n is large enough which it can always be since we are talking about it approaching infinity) n! = 1 * 2 * 3 * 4 * 5 * ... * (n-1) * n. For the expression 2n or any other base the following continues n times. 2 * 2 * 2 * 2 * ... * 2. This starts out as the greater expression since it starts by multiplying by the base of the exponent whereas n! starts with 1 and works up incrementally. Eventually the value of the factors of n! will exceed 2 (or whatever the base of the exponent is) and begin increasing at a faster rate as compared to the exponential. Since n can become arbitrary large there will always be a point at which the factorial exceeds the exponential.
 
To compare x^n, 2^x, and x^x with x!. Look at the ratios.
\frac{x^n}{x!}
That fraction has a product of n "x"s in the numerator and numbers from 1 to x in the denominator. As soon as x is larger than n (which is fixed), the denominator will be much larger than the numerator. As x goes to infinity that fraction goes to 0.

\frac{a^x}{x!}
has x "a"s in the numerator and x numbers ranging from 1 to x in the denominator. You can think of that as a product of x fractions, each with "a" in the numerator and a number from 1 to x in the denominator. It should be clear that as soon as x> a, most of the numbers in the denominator will be larger than the numbers in the numerator and so the fraction is less than 1. As x goes to infinity, that product will go to 0.

\frac{x^x}{x!}
Now the numerator is a product of x "x"s while the denominator is a product from 1 to x. Again, we have the same number of terms in the numerator and denominator but now the numbers in the numerator are always large than or equal to the numbers in the numerator. If we think of this as the product of x fractions, one fraction is equal to 1 the others are all larger than 1. A x goes to infinity, the fraction goes to infinity.
 

Similar threads

  • · Replies 11 ·
Replies
11
Views
5K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 5 ·
Replies
5
Views
1K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 10 ·
Replies
10
Views
3K
Replies
7
Views
3K
  • · Replies 3 ·
Replies
3
Views
9K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K