We have this recurrence: $$T(n)=10T(\frac{n}{3})+n\sqrt{n}.$$
We can solve it using Master Theorem and say it is $\Theta(n^{\log_3{10}})$. I want to prove it using induction but I don't know the correct and perfect procedure for proving these kinds of problems using induction.
I know that
- $f(n) = \mathcal{O}(g(n))$ if there exist positive constants $c$ and $n_0$ such that $f(n)\le cg(n)$ for all $n\ge n_0$.
- $f(n) = \Omega(g(n))$ if there exist positive constants $c$ and $n_0$ such that $f(n) \geq cg(n)$ for all $n \ge n_0$
And I know if $f(n)=\mathcal{O}(g(n))$ and $f(n)=\Omega(g(n))$, then $f(n)=\Theta(g(n))$. So I first tried to show $T(n)=\mathcal{O}(n^{\log_3{10}})$. I assumed we know $T(n)\le cn^{\log_3{10}}$ for some positive constant $c$.
Then we have:
$\begin{align} T(n) = & 10T(\frac{n}{3})+n\sqrt{n}\\ \leq & 10(c(\frac{n}{3})^{\log_3{10}})+n\sqrt{n}\\ = & 10c(10)^{\log_3{\frac{n}{3}}}+n\sqrt{n}\\ = & 10c(10)^{(\log_3{n})-1}+n\sqrt{n}\\ = & c(10)^{\log_3{n}}+n\sqrt{n}\\ = & cn^{\log_3{10}}+n\sqrt{n} \end{align}$
At this point I don't know how can I prove that this expression is lower than or equal to $c_1n^{\log_3{10}}$. I don't even know that $c_1$ is equal to the $c$ above necessarily or no? How can I complete this?
And we know this is the "step" part of the induction (if its correct), how can we prove the base cases and find $n_0$ and $c$.