How does the "therefore" portion work? How does that exponential equation come to equal n(lgn + 1)?
In the first line, $n=2^k$, so from the next to last we substitute in. Given this definition, $k=\lg n, k2^k=n \lg n$
HINT: $k = log_2(n) \Longrightarrow 2^k(k + 1)$
Substitute!
Copyright © 2021 JogjaFile Inc.
In the first line, $n=2^k$, so from the next to last we substitute in. Given this definition, $k=\lg n, k2^k=n \lg n$