0

I was reading my textbook when I came across this example bigo

I was wondering how they got 35n^3 since we have log(n)?

Turkey
  • 25

1 Answers1

1

In fact, $\color{red}{\log n<n}$ for all $n>1$, so $20n^3+10n\log n+5<20n^3+10n^2+5$, and $n^2<n^3,1<n^3$, so $10n^2<10n^3$, $5<5n^3$, so $20n^3+10n\log n+5<20n^3+10n^2+5<20n^3+10^3+5n^3=35n^3$.

Given $f(x)=x-\log x$, then $f^{'}(x)=1-\frac{1}{x}$, so when $x>1$, $f^{'}(x)>0$, so $f(x)$ increase on $(1,\infty)$, and $f(x)>f(1)=1$ for $x\in (1,\infty)$. As for the case in $\mathbb{N}$, we always have $n\geq1$, so $\color{red}{n>\log n}$.