This is a homework question about using Master's theorem, and I can't seem to wrap my head around this question:
$$T(n)=2T\left(\frac{n}{3}\right)+\lg^2(n)$$
I've tried to apply the Master's theorem to this question like any other Master's theorem questions: $$a=2,b=3\, \text{ and }\, f(n)=(\lg(n))^2.$$
Now, I need to figure out which case this condition falls into.
$$n^{\lg_b(a)}=n^{\lg_3(2)}=n^{0.631}$$
But the problem is that I cannot express f(n) as a polynomial for comparison as shown below:
$$n^{\lg_b(a)+\epsilon}$$
How would I figure out which case of Master's theorem this lie on?
Would taking logarithms of both sides for comparison make sense since logarithm is a monotonic function?
$$2\cdot \lg(\lg(n)) \quad\text{and} \quad (0.631+\epsilon)\cdot \lg(n)$$
Then figure out what epsilon is ...
Thank you in advance,
kpark