1

How to prove by induction that for all $n\in\mathbb{N},\,\,\, n\geq 6$ $$\displaystyle{20+n\log_2 n\leq n^2}$$

Thomas Andrews
  • 177,126

1 Answers1

3

HINT: For your induction step you want to assume that $20+n\lg n\le n^2$ for some $n\ge 6$ and show that $20+(n+1)\lg(n+1)\le(n+1)^2$, where $\lg x=\log_2x$. One way to approach this is to see how much each side of the inequality increases: compare $(n+1)\lg(n+1)-n\lg n$ and $(n+1)^2-n^2$. If you can show that

$$(n+1)\lg(n+1)-n\lg n\le(n+1)^2-n^2\;,$$

you’ll be able to add that inequality to the induction hypothesis $20+n\lg n\le n^2$ to get the desired result.

Now $(n+1)^2-n^2=2n+1$, and

$$\begin{align*} (n+1)\lg(n+1)-n\lg n&=n\Big(\lg(n+1)-\lg n\Big)+\lg(n+1)\\ &=n\lg\frac{n+1}n+\lg(n+1)\\ &=n\lg\left(1+\frac1n\right)+\lg(n+1)\;, \end{align*}$$

so you want to show that

$$n\lg\left(1+\frac1n\right)+\lg(n+1)\le 2n+1$$

for $n\ge 6$. Now $\lg\left(1+\frac1n\right)<\frac12$ if $n\ge 3$ (why?) so for $n\ge 6$ we certainly have

$$n\lg\left(1+\frac1n\right)+\lg(n+1)\le\frac12n+\lg(n+1)\;;$$

can you show that $\lg(n+1)\le\frac32n+1$?

Brian M. Scott
  • 616,228