I am trying to solve the following recurrence:
$$T(n) = 9T(n/3)+n^2$$
If I use the master method, I get $n^2\log{n}$
But, I am trying to solve it using substitution. When I try solving it this way, however, I run into trouble. After I roll out the substitution for a few times, I get the following formula:
$$T(n) = 9^kT(n/3^k)+n^2\sum_{i=1}^k3^{j-1}$$
I've tried to simplify the summation several ways, but I don't think I am understanding what the next step should be. When I simplify the problem, I keep getting the wrong answer. I know I should eventually set $k$ to be equal to some logarithm so I an reach the base case for T, but right now my main issue it figuring out how to simplify the summation. I am quite bad at simplifying summations, so any detailed steps are greatly appreciated.