Log-Derivative Trick

Remember that

We can rewrite this as