Monday, 16 September 2019

proof writing - Prove the inequality for all natural numbers n using induction



$\log_2 n

I know how to prove the base case Base Case log21<1

likewise assuming the inequality for n=k; $\log_2 k

Then to prove by induction I show log2k<(k+1)?



I know it's true since the domain is all real numbers i just cant figure out the next step to prove it.


Answer



log2(n)=ln(n)ln(2), where ln is the natural log i.e. with base e



You need to show, $\log_2(n) < n\implies \frac{\ln (n)}{\ln(2)} < n \implies \ln(n)


Since log is an increasing function you can rephrase your question to n<2n as suggested by @jwsiegel



That is easy to show by induction



n=1: 1<21. True.



Induction Hypothesis: n1<2n1



for n2, n2(n1)<22n1=2n


No comments:

Post a Comment

real analysis - How to find limhrightarrow0fracsin(ha)h

How to find lim without lhopital rule? I know when I use lhopital I easy get $$ \lim_{h\rightarrow 0}...