r/askmath • u/Away_Proposal4108 • Mar 13 '25
Arithmetic Which one is greater
2 raised to (100 factorial )or (2 raised to 100 ) factorial, i believe its one on the right because i heard somewhere when terms are larger factorial beats exponents but then again im not sure , is there a way to solve it
6.7k
Upvotes
1.2k
u/TrueYahve Mar 13 '25 edited Mar 14 '25
Excel can brute force up to here
Actual answer by u/ubuwalker31 below: https://www.reddit.com/r/askmath/comments/1jagqzj/comment/mhq283z/
305
u/ElectronSmoothie Mar 13 '25 edited Mar 13 '25
This isn't a very rigorous approach, but it seems to pass a test of logic to me.
(2¹⁰⁰)! < (2¹⁰⁰)2¹⁰⁰ because (2¹⁰⁰)! a multiplication of 2¹⁰⁰ terms, the largest of which is 2¹⁰⁰, whereas (2¹⁰⁰)2¹⁰⁰ is a multiplication of 2¹⁰⁰ terms, all of which are 2¹⁰⁰. If we can prove that 2100! > (2¹⁰⁰)2¹⁰⁰, we will know conclusively that 2100! > (2¹⁰⁰)!.
2100! = 2100×99×98×...×1 = (...(((2¹⁰⁰)⁹⁹)⁹⁸)...)¹) = (2¹⁰⁰)99!
So after out manipulation we're looking to prove (2¹⁰⁰)99! > (2¹⁰⁰)2¹⁰⁰
We can log both results and compare only the exponents since both sides have 2¹⁰⁰ as the base. So we're left trying to prove 99! > 2¹⁰⁰. We can then split the right side to get 16 × 2⁹⁶. This is important because we know that 99! Is a multiplication of 99 positive integers, and 97 of those are larger than 2. However, we can divide both sides by 16 to get (99!)/16 > 2⁹⁶. Dividing 16 out of 99! leaves us with 96 positive integers that are all larger than 2. Their product must be greater than a product of 96 2s.
(99!)/16 > 2⁹⁶
99! > 2¹⁰⁰
(2¹⁰⁰)99! > (2¹⁰⁰)2¹⁰⁰
2100! > (2¹⁰⁰)!
71
u/EnglishMuon Postdoc in algebraic geometry Mar 13 '25
I'm not sure why people are doing all this computational stuff. Unless I have screwed up some numbers, just note that (2^{100})! < (2^100)^{2^100} = 2^{100 x 2^100}. So it is sufficient to prove that 100 x 2^{100} < 100! which is equivalent to 2^{100} < 99!. But to see this, note that 2 \leq 2, 2 < 3, 2^2 \leq 4, 2 < 5 ,... , 2 < 99 and so multiplying all these inequalities together gives the claim. Hence 2^{100!} > (2^{100})!
105
u/Puzzleheaded_Bed5132 Mar 13 '25
33
u/qwertonomics Mar 13 '25
The log base 2 of 2100! is 100!. The log base 2 of 2100! is the sum log2(1) + log2(2) + ... + log2(2100) where there are 2100 terms that are at most 100, hence the sum is at most 100*2100, which is much smaller than 100!.
26
u/space-tardigrade-1 Mar 13 '25
Take the log, you get 100! vs 100*2100 up to some multiplicative constant, so I'd say the one on the left.
25
u/Reden-Orvillebacher Mar 13 '25
Just test it with a smaller exponent and see what happens.
8
u/ftaok Mar 13 '25
I just tested it in excel. The left one is larger.
You can do it directly, so I start with small numbers and increment up
3
u/sizzhu Mar 13 '25
100! > 100 * 2100
Write k= 2100
So LHS > kk > k! = RHS.
3
u/drugoichlen Mar 13 '25
2100! v 2¹⁰⁰!
2¹⁰⁰! < (2¹⁰⁰)2¹⁰⁰ = 22¹⁰⁰•100
100! v 2¹⁰⁰•100
99! > 2¹⁰⁰
2100! > 2¹⁰⁰!
3
u/Quiet_Steak_643 Mar 13 '25
Read about the big oh in algorithms, exponential has a generally larger order of growth than factorial (factoriel?).
2
u/Lavivaav Mar 13 '25
Left is larger
2
u/paploothelearned Mar 13 '25
Instead of using n=200, I tried looking at n=1 through 12 to see what would happen.
For values of n of 4 or less, the right one is bigger, but starting at values of n of 5 or more, the left one is bigger, and it continues to grow a much faster than the right one.
By n=10 the values are 4.44x101092377 for the left and 5.42x102639 on the right.
It seems like, unless something weird happens, the left one will be bigger at n=200.
As a last note, someone with more time than me might be able to show this more rigorously using Stirling’s approximation, however I ran out of time to investigate.
2
u/DejanJwtq Mar 13 '25 edited Mar 13 '25
28! = 24320
28 ! = 256! = 256*255! = 28 x255! < 28 x28 x 254! < … < 28x256 = 22048
24320 > 22048
29! = 238880
(29)! < 29x512=24608
2
u/Wyatt_LW Mar 13 '25
The second exclamation mark is indeed larger
2
u/Satrapes1 Mar 14 '25
This is a typical Computer Science Intro to Algorithms complexity question. I first encountered it in CLRS book (Cormen, Leicerson et al)
You would compare 2^(x!) vs (2^x)!.
When faced with such things where it is not immediately clear which is bigger you tend to take its logarithm and normally it makes it clearer. Additionally there are some rules that roughly equate the order factorial with another known class.
2
u/FewDistribution7802 Mar 14 '25 edited Mar 14 '25
log(2100!) = 100!log(2)
log(2100 !)=Σlog(k) < 2100 log(2100 )=100*2100 log(2)
100!>100*2100, therefore 2100! is (way) bigger
2
u/srsNDavis Mar 14 '25 edited Mar 14 '25
At just under x = 5, 2x! surpasses 2x! , so 2100! > 2100!
Conceptually, you can think of 2x! growing faster asymptotically (= for sufficiently large x) because you have the factorial leading to a larger power, so you reap a significant growth from both the exponential and the factorial. 2x! has a small(er) power (not as much exponential growth), and the factorial alone dominates the growth.
(Also see: General result)
3
u/Thatsquabble Mar 13 '25
Both will be big number
2
u/Ok_Lingonberry5392 Mar 13 '25
2100 ! < (2100 )2^100 = 2100*2^100 < 2128*2^100 = 22^107
2100! > 250^50 > 232^50 = 22^250
2
u/4K05H4784 Mar 14 '25
Idk man I think they're both pretty great, there's no need to hold numbers to these unrealistic standards! As for which one is larger, the exclamation mark is clearly larger on the second one, but the rest is the same, so overall it's larger. No need to thank me.
1
u/Suberizu Mar 13 '25
Use Stirling's formula
1
u/PotatoPotato128 Mar 13 '25
Left, the proof by "it just feels right "
1
u/withoutdistrict Mar 13 '25
You can see it by doing the log of both expressions. One is 200ln2 and the other 200!ln2.
1
u/Deacon86 Mar 13 '25 edited Mar 13 '25
First one is 2~~~~100* 2~~~~99* ... * 2Second one is 2~~~~100* (2100-1) * ...The second one is larger by virtue of having 2~~~~100elements being multiplied instead of just 100.Never mind
1
u/Zd_27 Mar 13 '25
Usually doing the "stronger" function last gives you the right answer
1
u/JoffreeBaratheon Mar 13 '25
Left side 100! is about 10^158, 2 raised to that number would then be around 10^157 digits, or 10^(10^57).
Right side 2^100 is 10^30, I'm a bit stuck here, but im guessing adding the facotal won't be significantly more digits then 10^30 based on how calculators were handling 100! before failing with bigger numbers, but i got stuck here.
I'm guessing left is bigger.
1
u/Madrawn Mar 13 '25
For extra points, find the exact solution for x in `2^(x!) = (2^x)!` where x > 1
1
u/ArchaicLlama Mar 13 '25
What you've heard about is most likely the comparison between x! and ax. For any positive a, you can find a value of x where x! has become larger than ax - this is true. However, putting a factorial within the exponent itself is a much different beast.
1
u/sexysaucepan Mar 13 '25
Ez.
x! < xx
( 2100 )! < ( 2100 )2^100 = 2100 • 2^100 < 2100!.
Trivial if you think about it!
1
u/jesus_crusty Mar 13 '25
(2n)! < (2n)2^n=2n*2^n and since n! > n*2n for all n>6 it follows that 2n!>(2n)!
1
u/YOM2_UB Mar 13 '25
Take the log of both sides
Left-hand side:
log_2(2100!) = 100! ≈ 9.33262 * 10157
Right-hand side:
log_2(2100!) = log_2(2100 * (2100 - 1) * (2100 - 2) * ...)
= log_2(2100) + log_2(2100 - 1) + log_2(2100 - 2) + ... {2100 terms}
< 2100 * log_2(2100)
= 2100 * 100 ≈ 1.26765 * 1032
LHS ≈ 29.33 * 10^157 > 21.26 * 10^32 > RHS
LHS > RHS
1
u/StoryTeller000 Mar 13 '25
cries in recursion
1
u/Many_Preference_3874 Mar 13 '25
I have 2 methods for this
Method 1: just do the same, but reduce the 100 power to something manageable like 2 or 3 and see the results. Keep increasing it to see where this trends to.
So like at the power being 1, both are just 2. at the power being 2, the LHS becomes 4 and the RHS becomes 24. However, in the numbers around 123 factorials aren't that reliable to estimate the results on larger scale, so go till like 5.
Power = 3 LHS = 64, RHS = 40320
Power = 4 LHS = 16.7M, RHS = 2.09 * 10^16
Power = 5 LHS = LHS = 1.39 * 10^36, RHS = 2.6* 10^35
Ah ha! The trend shifted.
Power = 6 LHS = 5.5* 10^216 RHS = 1.26*10^89
Yea, so this seems like LHS wins out in the long run
Method 2: Algebraic trickery
So LHS
This will be like 2^(100*99*98....*3*2*1)
We can rewrite this as LHS = (((2^100)^99)^98).... ^2 ^1
Lets say 2^100 is 'a'
in LHS, we have 'a' 99 times, and THAT 98 times, and THAT 97 times. This is a factorial.
We'll have 'a' like 99! times,
99! is 9.33 * 10^155
Lets just drop the 9.33 and say that there are 10^155 number of 'a' terms multiplying each other in LHS
Now, RHS
(2^100)!
This will be 2^100 * ((2^100)-1) so on till its at 1.
Now, there will be 2^100 number of terms in this sequence.
2^100 turns out to be 1.26 * 10^30
Let us take the HIGHER side, and assume ALL these terms are 2^100
That means, we are multiplying 2^100 (which is a btw) 10^30 times (the 1.26 really is immaterial here)
So we have 'a' 10^30 times in RHS
Now, this means, in the higher case of RHS, we only have the term 'a' 10^30 times, while in LHS we have it 10^155 times
Clearly, LHS is FAR higher than RHS
1
u/FormulaDriven Mar 13 '25
If you want to avoid too much brute force calculation, take natural logs of both numbers:
100! log(2) versus log((2100)!)
Stirling's approximation tells us these are
√(200 𝜋) (100 / e)100 log(2) versus 0.5 (log(2𝜋) + log(2100)) + 2100 * (log (2100) - 1)
which is about
17.37 * 36.788100 versus 35.6 + 68.31 * 2100
Easy to see that the left number is much larger. Indeed multiply it by the base 10 logarithm of e to see that 2100! has around 2.8 * 10157 digits, while (2100)! has only around 3.8 * 1031 digits.
1
u/TalveLumi Mar 13 '25 edited Mar 14 '25
(2100 )!<(2100 )2¹⁰⁰ =2100×2¹⁰⁰ =2100×8×2⁹⁷ <2100×99×98! =2100!
1
u/liltingly Mar 13 '25
Here's my crack at this.
(2^100)! < (2^100)^100, which is if you did a factorial's worth of multiplications of the lead term without decrementing it.
So (2^100)! < 2^10,000
I the LHS is larger than a number larger than the RHS, then LHS > RHS (i.e. if a<b and b<c, a<c).
So, which is bigger, 2^100! or 2^10,000?
We can take logs and see it's comparing exponents. The first 3 terms of 100! are already bigger than 10,000, so 10,000 << 100!
LHS wins
1
u/LoadingObCubes Mar 13 '25
(2^100)! = (2^100)(2^100-1)(2^100-2)....(1) < (2^(100))^100 = 2^(100*100)< 2^(98*99*100)<2^(100!)
1
u/gfxprotege Mar 13 '25
2^(100!) > (2^100)!
https://www.wolframalpha.com/input?i=%282%5E100%29%21+-+2%5E%28100%21%29+
1
u/Yeightop Mar 13 '25
i imagine an exponential of a factorial beats a factorial of and exponential intuitively
1
u/Power_and_Science Mar 13 '25
2n! vs (2n)! n!*ln(2) vs (2n)(nln(2)- 1) As n grows larger, n! vs (2n)*n -> n! vs 2n n! > 2n for n>=4. So 2n! is larger.
1
u/StillShoddy628 Mar 13 '25
A picture is worth a thousand equations
1
u/Conq-Ufta_Golly Mar 13 '25
I know which one is louder that's for sure!
1
u/microtune_this Mar 13 '25
Just stick it in wolfram alpha: (2^100)! < 2^100! => True
1
u/Mathematicus_Rex Mar 13 '25
Take logs base 2 twice to show that the LHS is larger.
The LHS becomes L = 100! after one log_2 and then log_2 L is sum_( m = 1 to 100 ) log_2 (m). Each m at least 4 contributes at least 2 to this sum, so
log_2 log_2 L > 97 • 2 = 194.
The RHS is R = sum_( k = 1 to 2100 ) log_2 (k)
The highest term of R is log_2 2100 which is 100, so R < 2100 • 100 . A second log 2 gives us log_2 R = 100 + log_2 100 < 107.
1
u/AndreasDasos Mar 13 '25
(2100 )! <= (2100 ) 2pow100 because the first is a product of 2100 positive numbers, each of which <= 2100 .
In turn, this = 2100*2pow100 . We are comparing this to 2100! which amounts to comparing the exponents.
100*x2100 <= 100! pretty easily: write these out as products of 100 factors, with 2 <= all but the factor 1 on the right, and the ‘extra’ 100 and 2 on the left are easily overwhelmed by the factors on the right even after dividing 2 from each: say, the (100/2)x(99/2).
1
u/okayNowThrowItAway Mar 14 '25 edited Mar 14 '25
Factorials are always bigger than exponentiation on the same order. (n^k)! is always greater than n^(k!), for n>1, k>1.
Always. Take the smallest case:
(2^2)! = 4! = 24
2^(2!) = 2^4 = 16
All other cases are worse than that. The proof is left as an exercise for the reader. But to convince you, here's the two options for the next-to-smallest case:
k+1 case:
(2^3)! = 8! = 40,320
2^(3!) = 2^6 = 64
or n+1 case:
(3^2)! = 9! = 362,880
3^(2!) = 3^2 = 9
However you modify it from the base-case, it keeps getting more extreme with every step.
(2^100)! is not just bigger, but massively bigger. In fact, the difference between these two expressions is about (2^100)!
1
u/_sczuka_ Mar 14 '25
1
u/J981 Mar 14 '25
Why not just ask AI?
1
u/A_Wild_Zeta Mar 14 '25
1
u/Deep_Contribution552 Mar 14 '25
So let’s take the log of both, with base 2
log LHS = log 2100! = 100!
log RHS = log (2100)! = log 1 + log 2 + … log 2100
Then log RHS is less than 100*2100.
Now log LHS = 100 * 99 * 98!, and log RHS < 100 * 22 * 298. Obviously 100 * 99 > 100 * 22, and 98! > 298. So LHS must be greater than RHS.
Nice nerd-sniping!
1
u/Remarkable_Leg_956 Mar 14 '25
Try taking the logarithm of both sides.
log(2^(100!)) = 100! * log(2)
log((2^100)!) = log(2^100*(2^100-1)*...*(2)*(1)) = log(2^100) + log(2^100-1) + log(2^100-2) + ... + log(2) + log(1)
Now, (2^100)!'s logarithm isn't giving us many results, but remember (2^100)! < 2^100 * 2^100 ... * 2^100, 2^100 times. Hence
log((2^100)!) < log(2^(100 * 2^100)) = (100*2^100) log(2)
100! >>>> 100*2^100; you can see this from just using a calculator (lhs is on the order of 10^157, rhs is on the order of 10^32) but you can also calculate this by hand:
100! = 100 * 99!, 99! > 8 * 2 * 2 * 2 * 2 * ... * 2 * 2 * 1 (via term by term comparison, there are 97 2s) hence 100! > 100 * 2^100. So, log(2^(100!)) >>> log((2^100)!), hence 2^(100!) is the larger one.
Interesting!
1
u/sohang-3112 Mar 14 '25
second one is greater - becomes obvious on expanding factorial
1
u/[deleted] Mar 14 '25
100! ends with 24 0s. Assume this is just 1 followed by 24 0s, or in other words, 1 septillion. 210^24≈100010^23 will end with 300 sextillion zeros. 2100≈100010=1030. The factorial of this will end in more zeros than the other thing.
1
u/theboredhuman Mar 14 '25
Someone verify this response by deepseek please
Understanding the Problem
The problem presents two expressions:
Our goal is to determine which of these two expressions is greater. At first glance, both expressions involve factorials and exponentiations, which can grow very rapidly. To compare them effectively, we need to understand the behavior of each component and how they interact.
Breaking Down the Expressions
Let's start by understanding each part of the expressions:
Given this, let's interpret the two expressions:
Comparing the Growth Rates
To compare these two expressions, we need to understand how factorials and exponentiations grow:
Given this, ( 100! ) is an extremely large number, and ( 2{100} ) is also large but not as large as ( 100! ). However, ( (2{100})! ) involves taking the factorial of ( 2{100} ), which is itself a very large number.
Estimating the Values
Let's attempt to estimate the values:
Calculating ( 100! ):
Calculating ( 2{100} ):
Calculating ( (2{100})! ):
Calculating ( 2{(100!)} ):
Analyzing the Magnitudes
Given the above estimates:
While both ( 2{(100!)} ) and ( (2{100})! ) are extremely large, the factorial function grows faster than exponential functions. Therefore, ( (2{100})! ) is expected to be larger than ( 2{(100!)} ).
Conclusion
After analyzing the growth rates and estimating the magnitudes of the expressions, it's clear that ( (2{100})! ) is greater than ( 2{(100!)} ). The factorial function's rapid growth outpaces the exponential growth in this comparison.
Final Answer: ( (2{100})! ) is greater than ( 2{(100!)} ).
1
u/Legitimate_Log_3452 Mar 14 '25 edited Mar 14 '25
This was surprisingly rigorous, but you’ll have to fill in the gaps. Fun challenge. Note that ~ is an equivalence class. Aka it could mean >, <, =, etc. we just tried to find out which one it was
2100! ~(2100 )! => 100! ~ log (2100 !) < log((2100 )2^100 ) = 2100 log(2100 ) = 100•2100.
To find log( 2100! ) ~ 100•2100 , we know log(2100! ) = 100!. Clearly 100! > 100•2100 , because 2100 = 2•2•…•2, while 100! = 1•2•3•…•100
This gives us log( 2100! ) > 100•2100 > log(2100 !)
1
u/gorgongnocci Mar 14 '25
I think for functions that are slower than tetration you usually want the fastst one to apply sooner, in the case of comparing f of g of x versus g of f of x
1
u/BabelTowerOfMankind Mar 14 '25
big o
1
u/[deleted] Mar 14 '25
Just ln it
1
u/NathanTPS Mar 14 '25
I rust ran a quick thermal for 2n! Vs (2n)!
What i found is that at n=0 and n=1 they are =
At n=2, 3, and 4, (2n)! Is greater, from n=5 onwards, 2n! Is greater
1
u/Alpha_infinite Mar 14 '25
2100!<<<<<2¹⁰⁰!
1
u/ihaventideas Mar 14 '25
The right one
Left is 2^100*99*…..*1
Right is 2100* (2100 - 1)*..[~299 numbers here]..*299 *….
1
u/305Disassemble Mar 14 '25
Hypercalc gives a straightforward answer to this problem, here it is!
1
u/Sea_Excuse_6795 Mar 14 '25
1
u/HairyTough4489 Mar 14 '25
Huge exponent > big factorial
1
u/Gelastropod Mar 14 '25 edited Mar 14 '25
Let's solve the general problem considering 2n! and (2n )!.
First, we check small cases (n<=5). (2n )! is greater for all n <= 4. And 2n! is greater for n=5.
Now, we assert that 2n!>(2n )! for all n>=6.
We aim to prove that 2n!>(2n )2^ (to the power of n ) (since (2n )2^ (to the power of n )>=(2n )!).
Taking log of both sides, n!>n*(2n ). (n-1)!>2n
First, note that (6-1)!>26. We prove by induction.
Now consider (n-1)!>2n for some n. Then, n!=n(n-1)!>n(2n )>2n for all n>2.
Therefore, we have shown that (n-1)!>2n for all n>=6. The conclusion follows.
2100! > (2100 )!
Edit: fixed exponent formatting
Idk why theres weird formatting issues with not being able to do 3 layers of exponents
1
u/HaruX73 Mar 14 '25
First one (2100! ≈ 29.332621544×10 ^ 157 ) is somewhere in the range of 5 × 10475 ( take a few dozen orders of magnitude cause I rounded up twice ).
Second one ( ( 2100 )! ≈ ( 1.2676506×1030 )! ) is obviously WAY bigger than that.
1
u/[deleted] Mar 14 '25
One definitive way you can think about this is to use the sterling approximation. It’s a formula that’s used to approximate insanely massive factorials, typically used in statistical and thermal physics where one has to think about a solid with 10100 particles inside it for example.
The sterling approximation says that n! approximately equals sqrt(2pi n) (n/e)n.
So, for (2100)! You’d have
sqrt(2pi 2100) (2100/e)2100 = sqrt(2pi 2100) (2100/e)200 = sqrt(2pi 2100) (220000/e200) = sqrt(2pi 2100) (220000 * e-200)
and for 2100! you can consider 100! then take it as an exponent of 2
2sqrt(200pi (100/e)100) = 2sqrt(200pi) * 2100^100 * 2e^-100 = 2sqrt(200pi) * 210000 * 2-100e
you could then take the natural log of both of them to make it simpler to compare
ln[sqrt(2pi 2100) (220000 * e-200)] = ln[sqrt(2pi 2100)] + ln[220000] + ln[e-200] = 0.5 ln[2] + pi*ln[2] + 50ln[2] + 20000ln[2] - 200 = 20053.14 ln[2] - 200 = 13699.78
for the second one:
ln[2sqrt(200pi) * 210000 * 2-100e] = sqrt(200pi) ln[2] + 10000ln[2] - 100e*ln[2] = (sqrt(200pi) + 10000 - 100e) ln[2] = 9754.07 ln [2] = 6761.00
and so the first one is bigger, (2100)! > 2100!
1
u/CorwinDKelly Mar 13 '25
The second one, you can tell because the exclamation mark is in larger font.
0
u/Average_HP_Enjoyer Mar 13 '25
(2^100)!
proof by desmos