This seems like a really straightforward problem that nevertheless stumps me.
We have $\frac{i}{\hbar}[p,px^n] = \frac{i}{\hbar}(p[p,x^n] + [p,p]x^n)$
Now I have previously found that $[p,x^n] = - i \hbar n x^{n-1}$ and we know that $[p,p] = 0$ by axiom.
So we should have $\frac{i}{\hbar}(p[p,x^n] + [p,p]x^n) = \frac{i}{\hbar}p(-i \hbar n x^{n-1}) = pnx^{n-1}.$ But I know this cannot be the right answer because it should not be the partial derivative of $px^n$ with respect to x. I'm obviously missing something, but what?