Pretend induction is just a weird way our teacher uses induction when it comes to finding constant. Same as induction
Base Case:
let $n = 1$
$f(n) = 6(1) = 6$ and $bn = b$. Therefore we need $b \geq 6$ (*)
let $n = 2$
$f(n) = 6(2) = 6$ and $bn = 2b$. Therefore we need $b \geq 6$ (*)
$\vdots$
as wanted
IND STEP: Let $n \geq 9$. Suppose $f(j) \leq bj $ whenever $0 \leq j < n$. [IH]
WTP: $f(n) \leq bn$
$f(n) = 2f(\lfloor \frac{n}{9} \rfloor) + 3f(\lceil \frac{n}{4} \rceil) + 5n$ [def of f; $n \geq 9$]
$\leq 2b(\frac{n}{9}) + 3b \frac{n+3}{4} + 5n$ [IH, and $\frac{n}{9} \geq \lfloor \frac{n}{9} \rfloor$ and $\frac{n+3}{4} \geq \lceil \frac{n}{4} \rceil $]
$\leq 2b(\frac{n}{9}) + 3b \frac{2n}{4} + 5n$ [$\frac{2n}{4} \geq \frac{n+3}{4}$ for $n \geq 9$]
$= n \left(b \frac{2}{9} + b \frac{6}{4} + 5\right)$ [n common factor]
$= n \left( \frac{31}{18}b + 5\right)$ [Basic Arithmetic]
Thus we need $= n \left( \frac{31}{18}b + 5\right) \leq bn$
$5 \leq b \frac{-13}{18}$
$-\frac{90}{13} \leq b$
I'm lost. I don't know where I went wrong.
