I have the following equation:
$$T(n) = T\left({n \over 2}\right) + d n \log_2 n$$
A little investigation:
$T(2^1) = 1 + 2d$
$T(2^2) = T(2^1) + 2^2d\times 2 = 1 + 10d$
$T(2^3) = T(2^2) + 2^3d\times 3 = 1+34d$
I know the next one is by adding $2^nnd$ but I fail to see a pattern so I couldn't conclude $T(n)$ in a generic form.
Our teacher won't allow us to use the master theorem but instruct us to use a little investigation like what I did above, prove by induction afterwards.
Would someone help me? Thanks.
Proof by induction: Assume that, for some $n\geqslant1$ and some $c\gt0$, property $H_n(c)$ holds, where $$H_n(c):\qquad\forall k\leqslant n,\ T(k)\leqslant ck\log_2k.$$ Then $\log_2\left(\tfrac12(n+1)\right)\leqslant\log_2\left(n+1\right)$ and $n\log_2n\leqslant(n+1)\log_2(n+1)$ hence the upper bound $$T(n+1)= T(\tfrac12(n+1))+dn\log_2n\leqslant\tfrac12c(n+1)\log_2\left(\tfrac12(n+1)\right)+d(n+1)\log_2(n+1),$$ implies that $$T(n+1)\leqslant \left(\tfrac12c+d\right)(n+1)\log_2(n+1),$$ thus, $H_{n+1}(c)$ holds provided $$\tfrac12c+d\leqslant c.$$ Surely you can finish this.