I have two functions:
$n!$
$2^{n^{2}}$
What is the difference between the growth of these two? My thought is that $2^{n^2}$ grows much faster than $n!$.
I have two functions:
$n!$
$2^{n^{2}}$
What is the difference between the growth of these two? My thought is that $2^{n^2}$ grows much faster than $n!$.
On
Create a sequence $\{a_n\} = \frac{2^{n^2}}{n!}$ and let $n$ get infinitely large. Upon using the ratio test: $$ \frac {a_{n}}{ a_{n-1}}=\frac{2^{n^2}/n!}{2^{(n-1)^2}/(n-1)!}=\frac{2^{n^2}}{n2^{(n-1)^2}}=\frac{2^{2n-1}}{n}. $$
What can one say about this?
On
There's a nice combinatorial relationship between the two: $n!$ is the number of $n\times n$ permutation matrices, and $2^{n^2}$ is the number of $n\times n$ binary matrices. Every permutation matrix is a binary matrix, so we immediately have $2^{n^2}\geq n!$.
Moreover, the probability that a random binary matrix is a permutation matrix is intuitively very small. Concretely, for each permutation matrix, we can form $2^{(n^2-n)/2}$ unique binary matrices by filling in the remaining spots to the right of the given 1s. So $2^{n^2}\geq n!2^{(n^2-n)/2}$.
We know $2^{n}$ grows much faster than $n$, so $$2^{n^2}>2^{1+2+\cdots+n}$$ grows much faster than $$n!=1\cdot 2\cdots n.$$