I am an undergrad Computer Engineering Student that is struggling through a class in discrete mathematics. One question in particular from a recent assignment has me stumped. Assuming that $T$ is a total non decreasing function that maps from Z+ to R+, also that $k \in Z^{+}$, and $T(2^{k}) = T(2^{k-1})+5$, and that $T(1)=7$ prove by induction that
$T(2^k) = 5k + 7$
I am confused about where to begin this. I would take my base case as k=0 from the expression im asked to prove, but then what is the inductive hypothesis and where would i go from there for the inductive step? I appreciate any kind of help. Thanks
The case $k=0$ is ok by the hypothesis $T(1)=7$, since $ 2^0=1$. Then suppose for $k> 0$ that the relation is true. Calculate $T(2^{k+1})=T(2^k)+5= 5k+ 7 +5$ by inductive hypothesis; finally you have only to rearrange the right part writing $5k +7 +5= 5(k+1) +7$.