Differentiate
with respect to , and simplify the result.
Set up the chain rule with an explicit inner variable. Let
The derivative of the inverse tangent is , so
Differentiate the exponential inner function. The exponent is linear in with slope , so
The factor is the whole content of this step; an exponential is its own derivative only when the exponent is exactly .
Square the inner function — this is where the exponents collapse. Since ,
Writing as rather than leaving is what makes the final simplification possible; halving the exponent and then squaring is the reason the answer looks so tidy.
Combine into the derivative. Substituting both pieces:
The result is negative for every , which makes sense: decreases as grows, and is increasing, so the composite must decrease.
Simplify by clearing the negative exponents, then check. Multiplying numerator and denominator by :
Both forms agree numerically: at a central difference of gives , while each closed form gives ✓. The second form is preferable for large , where underflows.
Need to solve a different problem like this? Open the solver →