AP Calculus AB and BC

Derivative of arctan(e^x): Answer, Proof, Mistakes

The derivative of arctan(e^x) is e^x/(1 + e^(2x)). Everything hinges on one chain rule step: the outer formula 1/(1 + u^2) squares the whole inner function, and squaring e^x gives e^(2x), not e^(x^2). The inner derivative e^x then sits on top.

ddx[arctan(ex)]=ex1+e2x\frac{d}{dx}\left[\arctan\left(e^{x}\right)\right] = \frac{e^{x}}{1+e^{2x}}

Chain rule into the arctangent formula

Two facts do all the work here. The arctangent rule says ddxarctanu=u1+u2\frac{d}{dx}\arctan u = \frac{u'}{1+u^{2}}, and the inner function u=exu = e^{x} is its own derivative.

u=ex,u=ex,ddxarctanu=u1+u2u = e^{x}, \qquad u' = e^{x}, \qquad \frac{d}{dx}\arctan u = \frac{u'}{1+u^{2}}
ddxarctan(ex)=ex1+(ex)2=ex1+e2x\frac{d}{dx}\arctan\left(e^{x}\right) = \frac{e^{x}}{1+\left(e^{x}\right)^{2}} = \frac{e^{x}}{1+e^{2x}}

The step that decides whether the answer is right is (ex)2=e2x\left(e^{x}\right)^{2} = e^{2x}. A power raised to a power multiplies the exponents, so the 22 lands on the outside of xx and gives e2xe^{2x}. Writing ex2e^{x^{2}} instead squares the exponent, which is a different function entirely.

What the derivative says about the graph

The numerator exe^{x} is positive for every real xx, and the denominator 1+e2x1+e^{2x} is a positive number plus 11. So the derivative is positive everywhere and arctan(ex)\arctan\left(e^{x}\right) is strictly increasing on the whole real line, with no critical points to hunt for.

It is also bounded. As xx \to -\infty the input exe^{x} shrinks to 00 and the function approaches 00; as xx \to \infty the input grows without bound and the function approaches π2\frac{\pi}{2}. The whole curve lives inside the strip 0<y<π20 < y < \frac{\pi}{2} between two horizontal asymptotes.

ex1+e2x=1ex+ex\frac{e^{x}}{1+e^{2x}} = \frac{1}{e^{-x}+e^{x}}

Dividing the top and bottom by exe^{x} exposes a symmetry: swapping xx for x-x leaves the answer alone, so the derivative is an even function. Its peak is at x=0x = 0, where it equals 12\frac{1}{2}, and that input is the inflection point of arctan(ex)\arctan\left(e^{x}\right). The sample values agree, and the symmetry shows up directly: the derivative is about 0.3240.324 at both x=1x = -1 and x=1x = 1, about 0.4430.443 at x=0.5x = 0.5, and about 0.04970.0497 at x=3x = 3.

The mistakes students make

Almost every wrong answer to this one comes from the denominator or from a missing factor of exe^{x}.

  • Answering ex1+ex2\frac{e^{x}}{1+e^{x^{2}}}. The rule squares the inner function, and (ex)2\left(e^{x}\right)^{2} multiplies the exponents to give e2xe^{2x}. Only exe^{x} composed with x2x^{2} would produce ex2e^{x^{2}}.
  • Answering 11+e2x\frac{1}{1+e^{2x}} by quoting the arctangent rule without the chain rule. That drops the factor exe^{x}: at x=1x = 1 it gives about 0.1190.119 instead of the correct e1+e20.324\frac{e}{1+e^{2}} \approx 0.324.
  • Cancelling the exe^{x} on top against the e2xe^{2x} below to get 11+ex\frac{1}{1+e^{x}}. The denominator is a sum, not a product, so nothing cancels across the +1+1. At x=1x = 1 that form gives 11+e0.269\frac{1}{1+e} \approx 0.269 against the correct 0.3240.324; the two agree only at x=0x = 0, where both equal 12\frac{1}{2}, so checking there proves nothing.

Check yourself, not just the answer

Type derivatives and get graded on mathematical equivalence, with rule-level hints when you miss, in the Derivative Practice Checker.

Frequently asked questions

What is the derivative of arctan(e^x)?

It is ex1+e2x\frac{e^{x}}{1+e^{2x}}. The arctangent rule contributes 11+(ex)2\frac{1}{1+\left(e^{x}\right)^{2}} and the chain rule multiplies by the inner derivative exe^{x}.

Why is it e^(2x) and not e^(x^2) in the denominator?

Because the formula squares the inner function itself. (ex)2=exex=e2x\left(e^{x}\right)^{2} = e^{x}\cdot e^{x} = e^{2x}, whereas ex2e^{x^{2}} would come from feeding x2x^{2} into the exponential.

Can the derivative of arctan(e^x) be zero or negative?

No. The numerator exe^{x} and the denominator 1+e2x1+e^{2x} are both positive for every xx, so the derivative stays strictly positive and the function keeps rising from 00 toward π2\frac{\pi}{2}.