Starting from
take the first derivative using the power and chain rules:
Now take the second derivative:
Optionally, you can condense the second derivative a bit by factoring out , which gives
8.2m questions
10.9m answers