Can you prove this inequality involving factorials and powers?

  • Thread starter jostpuur
  • Start date
  • Tags
    Challenge
In summary, the problem is to prove that for all natural numbers such that 0\leq j\leq k, the inequality \frac{k!}{k^k} \leq \frac{(k-j)!}{(k-j)^{k-j}} \frac{j!}{j^j} holds. This claim is difficult to prove with Stirling approximation, as it only gives a rough estimate. The key is to show that the minima of the integer function \frac{(k-j)!j!}{(k-j)^{k-j}j^j} occur at j=0 and j=k, which can be done by showing that the function is first increasing until a certain j_
  • #1
jostpuur
2,116
19
Here's a nice problem: Prove that

[tex]
\frac{k!}{k^k} \leq \frac{(k-j)!}{(k-j)^{k-j}} \frac{j!}{j^j}
[/tex]

for all natural numbers such that [itex]0\leq j\leq k[/itex]. (Convention: [itex]0^0=1[/itex].)

I proved this myself, so I'm not asking for help any more. I merely decided to mention this problem to those of you who seek challenges :wink:

This claim seems to be so strong, that it cannot be proven with Stirling approximation. It will only tell you that the both sides of the inequality are roughly the same. You need to do some work before getting the precise result.
 
Last edited:
Physics news on Phys.org
  • #2
Moderator's note: Off-topic discussion on [itex]0^0[/itex] moved here
 
  • #3
OK, take k fixed. We can assume k>0, since the case k=0 is trivial.

The idea is to show that the minima of the integer function

[tex]\frac{(k-j)!j!}{(k-j)^{k-j}j^j}[/tex]

occur at j=0 and j=k. In these two values, the inequality is easily seen to be true.

So, to prove that the minima occur at j=0 and j=k. I will show that the function is first increasing until a certain j0 and then decreasing, this will apply the assertion. Note that

[tex]\frac{(k-j)!j!}{(k-j)^{k-j}j^j} \leq \frac{(k-j-1)!(j+1)!}{(k-j-1)^{k-j-1}(j+1)^{j+1}}[/tex]

is equivalent to

[tex] \left(\frac{k-j-1}{k-j}\right)^{k-j-1}\left(\frac{j+1}{j}\right)^j\leq 1[/tex]

and equivalently with the other inequality. So to show that the function is first increasing until j0 and then decreasing, it suffices to show that the function

[tex]\left(\frac{k-x-1}{k-x}\right)^{k-x-1}\left(\frac{x+1}{x}\right)^x[/tex]

is increasing. Our j0 corresponds to the point when above equation is 1.

Now, we can take logarithms of the above function, since if the above function is increasing, so will the log of the function (note: log denotes the natural logarithm here). So, we need to show that

[tex](k-x-1)\log(k-x-1)-(k-x-1)\log(k-x)+x\log(x+1)-x\log(x)[/tex]

is increasing. Taking derivatives yields

[tex]\log(\frac{k+x(k-x-1)}{x(k-x-1)})+\frac{x(k-x-1)-1}{k+x(k-x-1)}-1[/tex]

So we need to show that this is positive for x>0. Changing variables y=x(k-x-1) gives us that we need to show that

[tex]\log(\frac{k+y}{y})+\frac{y-1}{k+y}\geq 1[/tex]

To show this, we prove that the function is monotonically decreasing if y>0 and that the limit of this function tends to 1.

Take the derivative of the function, this yields

[tex]\frac{k-1}{(k+y)^2}+\frac{1}{k+y}-\frac{1}{y}[/tex]

this is smaller than 0 if and only if

[tex]y\leq (k+y)^2[/tex]

this is certainly true since [itex]k\geq 1[/itex].

So, the function is decreasing. It suffices to calculate the limit

[tex]
\begin{eqnarray*}
\lim_{y\rightarrow +\infty}{\log(\frac{k+y}{y})+\frac{y-1}{k+y}}
& = & \lim_{y\rightarrow +\infty}{\log(\frac{k+y}{y})}+\lim_{y\rightarrow +\infty}{\frac{y-1}{k+y}}\\
& = & 0+1\\
& = & 1\\
\end{eqnarray*}
[/tex]

this proves that the function is greater than 1. This completes the proof.
 
  • #4
I think that the reason why this problem turns out to be difficult usually, is that the first idea is that one must fix arbitrary [itex]k[/itex], and then prove the relation for all [itex]0\leq j\leq k[/itex], and then, the only idea that comes to the mind is induction step [itex]j\mapsto j+1[/itex], since the case [itex]j=0[/itex] is clear. But it turns out that the induction step is extremely difficult.

I see micromass solved the problem by understanding, that you must do something else than the induction step [itex]j\mapsto j+1[/itex].

My own solution was different. It is that we first fix arbitrary [itex]j[/itex], then check the relation for [itex]j=k[/itex], and then carry out induction step [itex]k\mapsto k+1[/itex]. It turns out that in this direction the induction step is quite possible.

Here's some details from intermediate steps:

We want to prove

[tex]
\frac{j^j}{j!} \leq \frac{(k-j)!}{(k-j)^{k-j}} \frac{k^k}{k!}
[/tex]

for all [itex]j\leq k[/itex]. In order to succeed in the induction step with respect to [itex]k[/itex], we should prove

[tex]
\frac{(k-j)!}{(k-j)^{k-j}} \frac{k^k}{k!} \leq \frac{(k+1-j)!}{(k+1-j)^{k+1-j}} \frac{(k+1)^{k+1}}{(k+1)!}
[/tex]

If you do some algebra, this inequality turns out to be equivalent with

[tex]
\Big(1 + \frac{1}{k-j}\Big)^{k-j} \leq \Big(1 + \frac{1}{k}\Big)^{k}
[/tex]

So the remaining task is to prove that

[tex]
x\mapsto \Big(1 + \frac{1}{x}\Big)^x
[/tex]

is monotonically increasing for [itex]x>0[/itex], which can be accomplished by calculating some derivatives.
 
  • #5
I found this problem quite entertaining, actually. I'm going to give it to my students next year as a challenge!

I see that you solved the problem by induction on k, that's quite nice. I've considered it, but for some (bad) reason I decided against it.

Thank you for letting me practise some fun calculus :smile:
 
  • #6
jostpuur said:
This claim seems to be so strong, that it cannot be proven with Stirling approximation.
If I've computed correctly, a proof for [itex]0 < j < k[/itex] by Stirling's approximation boils down to showing
[tex]
1 \leq \sqrt{2 \pi \frac{j (k-j)}{k}} \exp\left( \frac{1}{12j+1} + \frac{1}{12(k-j)+1} - \frac{1}{12k} \right)
[/tex]

The exponential is clearly bigger than 1. and j(k-j)/k > 1 whenever 1 < j < k-1 for... k > 2, I think? And 1 * (k-1) / k > 1/(2 pi). So that's all the pieces.
 
Last edited:
  • #7
Nice, I like it that there are already 3 different methods to solve this same problem.

Let me post a harder challenge: prove that for all x,y (with some silly conditions on x and y) holds that

[tex]\frac{\Gamma(x+1)}{x^x}\leq\frac{\Gamma(x-y+1)}{(x-y+1)^{x-y}}\frac{\Gamma(y+1)}{y^y}[/tex]

I guess Hurkyl's method with Stirling approximation will still do here. But I think it becomes quite difficult to prove this without Stirling...
 
  • #8
micromass said:
I guess Hurkyl's method with Stirling approximation will still do here. But I think it becomes quite difficult to prove this without Stirling...
Certainly not so easily; I had to make good use of j and k-j were integers integer to keep them far enough away from zero.
 
  • #9
jostpuur said:
.So the remaining task is to prove that

[tex]
x\mapsto \Big(1 + \frac{1}{x}\Big)^x
[/tex]

is monotonically increasing for [itex]x>0[/itex], which can be accomplished by calculating some derivatives.

I think you can also prove monotonicity by expanding the binomial, so for [itex]x_2>x_1[/itex]term for term (except the first two) [itex]\Big(1 + \frac{1}{x_1}\Big)^{x_1}
<\Big(1 + \frac{1}{x_2}\Big)^{x_2}
[/itex]. So you can do this problem without calculus (but you need induction to prove the binomial theorem so you can't do it without induction).
 
  • #10
A purely combinatorial proof:

The cases k = 0 or k = 1 are immediate, so let [itex]k \ge 2, 2 \leq j \leq k[/itex], [itex]A[/itex] a k-element set, [itex]C \subseteq A[/itex] a j-subset of A, [itex]A\left(k\right)[/itex] the set of all length k sequences over [itex]A[/itex] and [itex]B\left(k\right)[/itex] the set of length k binary sequences.

Take any elements [itex]a \in A \setminus C[/itex] and [itex]c \in C[/itex] and define a mapping between [itex]A\left(k\right)[/itex] and [itex]B\left(k\right)[/itex] as follows: for each [itex]s \in A\left(k\right)[/itex], substitute each element of s belonging to [itex]A\setminus C[/itex] for 0 and each belonging to [itex]C[/itex] for 1; the result is a sequence in B(k).

Now, if we consider the subset of B(k) consisting of binary sequences with exactly j 1's, its preimage is the set of A-sequences in A(k) that have exactly j occurrences, possibly repeated, of C-elements and its number is given by:

[tex]\frac{\left|A\left(k\right)\right|}{\left|C\left(j\right)\right|\left|A\setminus C\left(k-j\right)\right|}=\frac{k^k}{j^j \left(k-j\right)^{k-j}}[/tex]

As this is a many-to-one mapping, we have:

[tex]\frac{k^k}{j^j \left(k-j\right)^{k-j}} \geq \frac{k!}{j! \left(k-j\right)!}[/tex]

Which is the original inequality.

PS: regarding the branched-off thread, I just want to remark that in the case k = 0 the combinatorial statement [itex]0^0=1[/itex] just asserts that the set of functions taking the empty set to itself has just one member; so, at least in this context, it's definitely not conventional.
 
  • #11
Perhaps I'm missing something, but how do you get [tex]\frac{k^k}{j^j(k-j)^{k-j}}[/tex] as the pre-image? That fraction is not an integer in most cases. Shouldn't the pre-image be something like [tex]\frac{k!}{j!(k-j)!}j^j(k-j)^{k-j}[/tex]
 
Last edited:
  • #12
Ups! Got a bit carried away, haven't I? :redface:

You're right: the number of elements in the preimage is given by:

[tex]\frac{k!}{j!(k-j)!}j^j(k-j)^{k-j}[/tex]

But, as the preimage is a subset of A(k), who has k^k elements, we have:

[tex]k^k \geq \frac{k!}{j!(k-j)!}j^j(k-j)^{k-j}[/tex]

Which is, again, the sought inequality.
 

Related to Can you prove this inequality involving factorials and powers?

1. What is "Challenge from jostpuur"?

"Challenge from jostpuur" is a game that involves solving complex puzzles and challenges in order to progress to the next level.

2. How do I play "Challenge from jostpuur"?

To play "Challenge from jostpuur", you must first download the game onto your device. Once downloaded, you can start playing by following the instructions and solving the challenges presented.

3. Is "Challenge from jostpuur" suitable for all ages?

While "Challenge from jostpuur" can be enjoyed by people of all ages, it is recommended for players who are at least 10 years old due to the complexity of the challenges.

4. Are there any rewards for completing "Challenge from jostpuur"?

Yes, there are rewards for completing "Challenge from jostpuur". These may include in-game bonuses, achievements, or even special items that can be used to advance in the game.

5. Can I play "Challenge from jostpuur" with my friends?

Yes, you can play "Challenge from jostpuur" with your friends. The game offers a multiplayer option, allowing you to team up with your friends and work together to solve the challenges.

Similar threads

  • Math Proof Training and Practice
3
Replies
100
Views
8K
Replies
6
Views
1K
  • Differential Equations
Replies
1
Views
1K
Replies
7
Views
1K
  • Math Proof Training and Practice
Replies
33
Views
7K
Replies
1
Views
2K
  • Precalculus Mathematics Homework Help
Replies
10
Views
3K
  • General Math
Replies
2
Views
865
Replies
1
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
3
Views
1K
Back
Top