The proof of a is perfect. The proof of b is not wrong but is too long and unnecessarily repeats the inductive argument. When you get to $\frac{1}{f(a^k)}$ just use part a of the problem to simplify (you can do this because $k$ is positive) and you are done!
The proof of a is perfect. The proof of b is not wrong but is too long and unnecessarily repeats the inductive argument. When you get to $\frac{1}{f(a^k)}$ just use part a of the problem to simplify (you can do this because $k$ is positive) and you are done!