Calculus · real student question

Differentiate y = arctan(e^(-a/2)) with respect to a, and simplify the result.

Question

Differentiate

y=tan1 ⁣(ea/2)y=\tan^{-1}\!\left(e^{-a/2}\right)

with respect to aa, and simplify the result.

Step-by-step solution

  1. Set up the chain rule with an explicit inner variable. Let

    u=ea/2,y=tan1(u).u=e^{-a/2},\qquad y=\tan^{-1}(u).

    The derivative of the inverse tangent is ddutan1u=11+u2\frac{d}{du}\tan^{-1}u=\frac{1}{1+u^{2}}, so

    dyda=11+u2duda.\frac{dy}{da}=\frac{1}{1+u^{2}}\cdot\frac{du}{da}.

  2. Differentiate the exponential inner function. The exponent is linear in aa with slope 12-\tfrac12, so

    duda=12ea/2.\frac{du}{da}=-\frac12 e^{-a/2}.

    The factor 12-\tfrac12 is the whole content of this step; an exponential is its own derivative only when the exponent is exactly aa.

  3. Square the inner function — this is where the exponents collapse. Since (ea/2)2=ea\left(e^{-a/2}\right)^{2}=e^{-a},

    1+u2=1+ea.1+u^{2}=1+e^{-a}.

    Writing u2u^{2} as eae^{-a} rather than leaving (ea/2)2\left(e^{-a/2}\right)^{2} is what makes the final simplification possible; halving the exponent and then squaring is the reason the answer looks so tidy.

  4. Combine into the derivative. Substituting both pieces:

    dyda=12ea/21+ea=ea/22(1+ea).\frac{dy}{da}=\frac{-\tfrac12 e^{-a/2}}{1+e^{-a}}=-\frac{e^{-a/2}}{2\left(1+e^{-a}\right)}.

    The result is negative for every aa, which makes sense: ea/2e^{-a/2} decreases as aa grows, and tan1\tan^{-1} is increasing, so the composite must decrease.

  5. Simplify by clearing the negative exponents, then check. Multiplying numerator and denominator by eae^{a}:

    dyda=ea/22(ea+1).\frac{dy}{da}=-\frac{e^{a/2}}{2\left(e^{a}+1\right)}.

    Both forms agree numerically: at a=0.8a=0.8 a central difference of yy gives 0.23125186-0.23125186, while each closed form gives 0.23125186-0.23125186 ✓. The second form is preferable for large aa, where eae^{-a} underflows.

Answer

dyda=ea/22(1+ea)=ea/22(ea+1)\frac{dy}{da}=-\frac{e^{-a/2}}{2\left(1+e^{-a}\right)}=-\frac{e^{a/2}}{2\left(e^{a}+1\right)}

Need to solve a different problem like this? Open the solver →