I am confused with respect to this equality. For $c>=1$, $(n-cn)$ should be less and less. For example if $c = 2, then (n-cn)$ should be $-n$ and overall equality changes to $T(n)<= nlogn - n$. And thus $cn\log n-cn+n$ should decrease for larger value of $c$ and the <= should not hold, as $cn\log n-cn+n$ decreases as $c$ increase. I know for a fact that this is correct, so where am I wrong?
2026-03-26 18:51:53.1774551113
$T(n) \le cn\lg n-cn+n\le cn\log n$ for $c \geq 1$
48 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
2
By the way, your question is rather confusingly written. For $c>1$
$T(n) \le cn \lg n -cn+n \le cn \lg n$ holds for all $n$.
Meanwhile $cn \lg n$ increases faster than $-cn$ decreases (for large $n$). And as $n$ tends to infinity, $cn \lg n$ increases (with $c$) much faster than $-cn$ decreases.
The $cn \lg n$ term dominates the $cn$, $n$ terms.