Use the product rule first:
Use the chain rule to compute the derivative of . Let and take , so that by the chain rule
So we have
You can rewrite this a bit by factoring , just to make it look neater:
4.9m questions
6.4m answers