Differentiate
Identify the structure as a product. is a product of and , so the product rule applies:
Neither factor can be simplified away first, so there is no shortcut around it.
Differentiate the simple factor.
Differentiate the composite factor with the chain rule. is the outer function applied to the inner function , whose derivative is :
Forgetting that factor of is the single most common error here.
Assemble with the product rule.
Verify numerically. At : the formula gives . A central difference of at with step returns — agreement to six decimals. Note , matching the fact that near the origin and so has a flat minimum there.
Need to solve a different problem like this? Open the solver →