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:
9.4m questions
12.2m answers