Which is Larger: 300! or 100^300? Need Help Finding the Correct Solution?

  • Thread starter vsage
  • Start date
In summary, the conversation discussed different methods for determining which is larger between 1.000001^(1,000,000) and 2, and between 300! and 100^300. The first method suggested counting the number of digits in the decimal representation of each number, while the second method involved using Stirling's approximation and evaluating the logarithm of each number. Another method involved using an integral to bound the logarithm of 300! from below. The conversation also mentioned that the problem is over 50 years old and may have a non-computer-oriented solution.
  • #1
vsage
I was looking through some random problems that asked me to prove certain things. The first one, which is larger: 1.000001^(1,000,000) or 2 was simple, but then it asked me to determine which is larger: 300! or 100^300. Any ideas on how to *correctly* arrive at a solution? My guess is 300! is larger.
 
Mathematics news on Phys.org
  • #2
Maybe you could count the number of digits in the decimal representation of each number? The number of digits in 100^300 = 10^600 is obviously 601. For 300!, try evaluating floor( log_10(300!) ) + 1 by rewriting the logarithm with base e and then using Stirling's approximation.
 
Last edited:
  • #3
300! = 300 * 299 * 298 * ... * 2 * 1 = 100^300 * (3 * 2.99 * 2.98 * ... * 0.02 * 0.01)

Simply evaluate if (3 * 2.99 * 2.98 * ... * 0.02 * 0.01) is smaller or bigger than 1, if it's bigger then 300! is bigger than 100^300

(This is just a guess, I've never done anything like this before)

Edit: I just ran a quick program and get it as being about 306057512220160, but I'm not 100% confident I am right.
 
Last edited:
  • #4
Here's a way:

the number of digits in 300^100 is [100log 300] = 247 (log is the base-10 logarithm and the square brackets signify the floor function)

therefore if 300! > 300!, the numebr of digits in 300! will be greater than 247.

The number of digits in 300! is:

[tex]\sum^{300}_{i=1} \log{i}[/tex]

as for any k > 100 we know that log k > 2

We know the last 200 terms in the sum are greater than or equal to 2, meaning the sum of the last 200 terms is at least 400. Therfore 300! has at least 400 digits and is greater than 300^100.

edited to add: oops I've got the digits the wrong way round, I'll have anothe rllok at it.
 
Last edited:
  • #5
Hmm I've looked at it agin, ther's no easy way of usig the method above to prove that 300! > 100^300 (which it is, but only by 14 orders which isn't much in this context).
 
  • #6
jcsd I really like that way, however [itex]100^{300}[/itex] = [itex](10^2)^{300}[/itex] = [itex]10^{600}[/itex].

If my method is correct then it should stand that:

[tex]\left(\sum^{300}_{i=1} \log_{10}{i}\right) - 15 \approx 600[/tex]

And therefore:

[tex]\left(\sum^{300}_{i=1} \log_{10}{i}\right) \approx 615[/tex]

Running through a quick program I just made I get that:


[tex]\sum^{300}_{i=1} \log_{10}{i} \approx 614.485803[/tex]

Thus showing that my method agrees with your method and 300! > 100^300
 
  • #7
Yep I misread 100^300 as 300^100. There's no easy way though of proving it using that method tho' without using a computer.
 
  • #8
jcsd said:
Yep I misread 100^300 as 300^100. There's no easy way though of proving it using that method tho' without using a computer.
Well I've been putting this into my calculator, I would struggle doing it on paper.
 
  • #9
Infact the Stirling approximation seems the best way to go as you can prove quite easily it's larger than 10^614.
 
  • #10
log( 100^300 ) = 600

log( 300! ) approx log [ sqrt(2*pi*300) * (300/e)^300 ]

= 1.6377 + 300 * 2.0428 = 614.4857

So, 300! > 100^300
 
  • #11
Thanks for all the replies.. Just a little background information on the problem: it is over 50 years old so it must have a non-computer-oriented solution. Any ideas with this new info? I considered the logarithmic method before I posted this but wasn't satisfied with the results because they seemed too contrived by the calculator.
 
  • #12
vsage said:
Thanks for all the replies.. Just a little background information on the problem: it is over 50 years old so it must have a non-computer-oriented solution. Any ideas with this new info? I considered the logarithmic method before I posted this but wasn't satisfied with the results because they seemed too contrived by the calculator.

Rogerio's solution is failry starightforawrd , can be done on a piece of paper and is correct (300! must actually be smaller than the solution obtained by Rogerio, though infact it's only a 'little' bit smaller).
 
Last edited:
  • #13
Rogerio's use of Stirlings can be done by hand, but you need to have an idea of how far off the Stirlings approximation is at 300! (this is certainly do-able, and the answer is it's certainly not far enough to affect the result). You don't need quite the power of Stirling though, you can bound log(300!) accurately enough from below by an integral:

[tex]\log(300!)=\sum\limits_{n=1}^{300}\log(n)\geq\int\limits_{1}^{300}\log(t)dt=300\log (300)-300+1> 300(\log(300)-1)= 300\log (300/e)> 300\log(100)=\log(100^{300})[/tex]

And you're done.
 
  • #14
Bravo!

-- AI
 
  • #15
Great solution shmoe. I just found the solution given in the particular problem set and it's radically different but I have to say yours is much simpler.
 
  • #16
shmoe said:
Rogerio's use of Stirlings can be done by hand, but you need to have an idea of how far off the Stirlings approximation is at 300! (this is certainly do-able, and the answer is it's certainly not far enough to affect the result). You don't need quite the power of Stirling though, you can bound log(300!) accurately enough from below by an integral:

[tex]\log(300!)=\sum\limits_{n=1}^{300}\log(n)\geq\int\limits_{1}^{300}\log(t)dt=300\log (300)-300+1> 300(\log(300)-1)= 300\log (300/e)> 300\log(100)=\log(100^{300})[/tex]

And you're done.
Actually the formula Rogerio used is guarenteed to be less than 300!, so it is simply sufficent to prove thta the approximation given by Rogrio is greater than 100^300, which it is.
 
  • #17
vsage said:
Thanks for all the replies.. Just a little background information on the problem: it is over 50 years old so it must have a non-computer-oriented solution. Any ideas with this new info? I considered the logarithmic method before I posted this but wasn't satisfied with the results because they seemed too contrived by the calculator.
I find people often forget the power of a log table :smile:
 
  • #18
jcsd said:
Actually the formula Rogerio used is guarenteed to be less than 300!, so it is simply sufficent to prove thta the approximation given by Rogrio is greater than 100^300, which it is.

Good to know! My day to day dealings with stirlings approx. is for asymptotics in the complex plane. I'd never bothered to consider that it would always be an under approximation for real values.


vsage, what method did the solutions use?
 
  • #19
It seems ok :-)
 
Last edited:
  • #20
You'll notice [tex]0.301\geq -0.397[/tex], which agrees with the inequality I posted.

We have:

[tex]\log(n)=\int\limits_{n-1}^{n}\log(n)dt\geq\int\limits_{n-1}^{n}\log(t)dt[/tex]

since log is increasing on [tex](n-1,n)[/tex]
 
  • #21
Shmoe: the solution is over a page long, but it involved first proving that the product of n consecutive natural numbers is greater than the nth power of the square root of the product of the first and last number (almost verbatim). It's really way too long to type out right now, but I guess if you're interested I'll type it up tomorrow.
 
  • #22
The general idea is good enough vsage, I can fill in the details on my own. You can find a more interesting use of your time:).
 

1. What is the meaning of 300! and 100^300?

300! (pronounced as "300 factorial") is the product of all the integers from 1 to 300. On the other hand, 100^300 (pronounced as "100 to the power of 300") is the result of multiplying 100 by itself 300 times.

2. Which of the two is larger, 300! or 100^300?

100^300 is larger. In general, exponential expressions with larger bases are greater than factorial expressions.

3. Can you provide a numerical comparison between 300! and 100^300?

300! is approximately equal to 10^614, while 100^300 is equal to 10^600. This means that 300! is about 1,000 times larger than 100^300.

4. Is there a simple way to determine which is larger without using a calculator?

Yes, you can use the concept of logarithms to determine the larger value. Logarithms are the inverse operation of exponents, so if you take the logarithm of both 300! and 100^300, you will end up with the same result (approximately 600). This means that the two expressions are equal in terms of magnitude, but since 300! has a larger base, it is larger than 100^300.

5. Can you explain why 300! is larger than 100^300 in more detail?

This is because the value of 300! includes all the numbers from 1 to 300, while 100^300 only includes 100 as a factor 300 times. This means that 300! has more factors and is therefore a larger number.

Similar threads

  • General Math
Replies
1
Views
910
  • Precalculus Mathematics Homework Help
Replies
2
Views
1K
Replies
4
Views
2K
Replies
11
Views
801
Replies
1
Views
2K
  • General Math
Replies
13
Views
1K
Replies
2
Views
998
Replies
1
Views
863
  • Special and General Relativity
2
Replies
62
Views
4K
  • Introductory Physics Homework Help
2
Replies
35
Views
3K
Back
Top