Prove that $\frac{n}2<1 + \frac{1}{2} + \frac{1}{3} + \cdots + \frac{1}{2^n-1}<n$ for all $n\in\mathbb {N}$, $n>1$
$P_r:=\sum_{a=1}^{2^r-1} \frac{1}{a}$
$P_{n}=1 + \frac{1}{2} + \frac{1}{3} + \cdots + \frac{1}{2^n-1}$
Base Case:
$n=2\\P_2=1+\frac{1}2+\frac{1}3\approx1.83$
Now, $\frac{2}2<P_2<2$ (True)
Inductive Hypothesis:
let assume, $\frac{m}2 \le P_{m} \le m$ is true where $m>1$ and $m\in \mathbb{N}$.
Inductive Step:
$$\therefore P_{m+1}{= 1 + \frac{1}{2} + \frac{1}{3} + \cdots + \frac{1}{2^m-1} + \frac{1}{2^m}+\frac{1}{2^m+1}+\dots+\frac{1}{2^{m+1}-1}\\
= P_{m}+ \underbrace{\frac{1}{2^m}+\frac{1}{2^m+1}+\dots+\frac{1}{2^{m+1}-1}}_{2^m \text{terms}} \\
\geq \frac{m}{2} + 2^m\cdot\frac{1}{2^{m+1}} \quad (\, \because \frac{1}{2^{m+1}}<\text{ any one of $2^m$ terms })\\
=\frac{m+1}{2}}$$
Similarly,
$$P_{m+1}{= 1 + \frac{1}{2} + \frac{1}{3} + \cdots + \frac{1}{2^m-1} + \frac{1}{2^m}+\frac{1}{2^m+1}+\dots+\frac{1}{2^{m+1}-1}\\
= P_{m}+ \underbrace{\frac{1}{2^m}+\frac{1}{2^m+1}+\dots+\frac{1}{2^{m+1}-1}}_{2^m \text{terms}} \\
\leq m + 2^m\cdot\frac{1}{2^{m}}\quad (\, \because \frac{1}{2^{m}}\ge\text{ any one of $2^m$ terms })\\
=m+1}$$
$\therefore \frac{(m+1)}2 \le P_{m+1} \le (m+1)$
Conclusion:
$P_{m+1}$ is true when $P_m$ is true.
Thus, by the Principle of Mathematical Induction, the inequality
is valid for all
$n>1$ integers.
Discussion:
The most complex line in the proof is number of terms. We have a problem in
that we have the terms from $\frac{1}
{2^m}$ to $\frac{1}
{2^{m+1}-1}$ to deal with, and we
don’t know how many of them there are. Let’s look
at the powers of $2$ as they increase:
$${2^0 = 1\\
2^1 = 2 = 1 + 1\\
2^2 = 4 = 2 + 2\\
2^3 = 8 = 4 + 4\\
2^4 = 16 = 8 + 8\\
2^5 = 32 = 16 + 16}$$
The “distance” on the numberline from a power of $2$ to the next
power is always the same as the previous power of $2$. That is,
to get from $2^k$
to $2^{k+1}$ we need $2^k$
terms.
The minimum value among the terms $\frac{1}{2^m} + \frac{1}{2^m + 1} + \dots + \frac{1}{2^{m+1}-1}$ occurs at $\frac{1}{2^{m+1}-1}$, which is greater than $\frac{1}{2^{m+1}}$. If we substitute each of the $2^m$ terms with $\frac{1}{2^{m+1}}$, the resulting sum will always be smaller than the original. Similarly, the maximum value among the terms $\frac{1}{2^m} + \frac{1}{2^m + 1} + \dots + \frac{1}{2^{m+1}-1}$ occurs at $\frac{1}{2^m}$. If we substitute each of the $2^m$ terms with $\frac{1}{2^{m}}$, the resulting sum will always be greater than the original.
You can use $\displaystyle \frac 1 2 = \sum_{k=2^n}^{2^{n+1}-1} \frac 1 {2^{n+1}} < \sum_{k=2^n}^{2^{n+1}-1} \frac 1 k < \sum_{k=2^n}^{2^{n+1}-1} \frac 1 {2^n} = 1$ to solve this problem w/ induction. Can you continue from here?
– RDK Nov 11 '23 at 15:45