- #1
evinda
Gold Member
MHB
- 3,836
- 0
Hello again! (Wave)
How can I show by induction that $S(m)=\Theta(m^2)$, where
$ \displaystyle{ S(m)=2 S\left ( \frac{m}{5}+6 \right )+3 S\left ( \frac{m}{5} \right)+m^2 }$ ?
We suppose that $c_1 k^2 \leq S(k) \leq c_2 k^2, \forall k<m$.
We want to show that $c_1 m^2 \leq S(m) \leq c_2 m^2$, right? (Thinking)
But.. how can we do this? (Thinking)
How can I show by induction that $S(m)=\Theta(m^2)$, where
$ \displaystyle{ S(m)=2 S\left ( \frac{m}{5}+6 \right )+3 S\left ( \frac{m}{5} \right)+m^2 }$ ?
We suppose that $c_1 k^2 \leq S(k) \leq c_2 k^2, \forall k<m$.
We want to show that $c_1 m^2 \leq S(m) \leq c_2 m^2$, right? (Thinking)
But.. how can we do this? (Thinking)