AP Calculus AB and BC

Derivative of arctan(1/x): Proof and the Minus Sign

One minus sign is the whole story: arctan(1/x) has derivative -1/(1 + x^2), the exact negative of the derivative of arctan x, at every x except 0. The chain rule supplies the inner derivative -1/x^2, and multiplying top and bottom by x^2 clears the compound fraction.

ddx[arctan(1x)]=11+x2\frac{d}{dx}\left[\arctan\left(\frac{1}{x}\right)\right] = -\frac{1}{1+x^{2}}

Chain rule with inner function 1/x

The outer function is arctanu\arctan u, whose derivative is 11+u2\frac{1}{1+u^{2}}. The inner function is u=1x=x1u = \frac{1}{x} = x^{-1}, so u=1x2u' = -\frac{1}{x^{2}}. Substituting u2=1x2u^{2} = \frac{1}{x^{2}} produces a fraction inside a fraction.

ddxarctan(1x)=11+1x2(1x2)=1x2x2+1x2=11+x2\frac{d}{dx}\arctan\left(\frac{1}{x}\right) = \frac{1}{1+\frac{1}{x^{2}}}\cdot\left(-\frac{1}{x^{2}}\right) = \frac{-\frac{1}{x^{2}}}{\frac{x^{2}+1}{x^{2}}} = -\frac{1}{1+x^{2}}

The clean way through the algebra is to multiply the numerator and the denominator by x2x^{2}. Every term has to be multiplied, including the 11: the denominator 1+1x21+\frac{1}{x^{2}} becomes x2+1x^{2}+1, and the numerator 1x2-\frac{1}{x^{2}} becomes 1-1.

Why arctan(1/x) + arctan x is not one constant

The result 11+x2-\frac{1}{1+x^{2}} is exactly the negative of ddxarctanx\frac{d}{dx}\arctan x. Add the two functions and the derivatives cancel, so arctan(1x)+arctanx\arctan\left(\frac{1}{x}\right)+\arctan x has derivative zero wherever it is defined.

Zero derivative forces a constant only on an interval, and the domain here is missing x=0x=0. That leaves two separate intervals, and the constant is different on each one. Testing x=1x=1 gives π4+π4\frac{\pi}{4}+\frac{\pi}{4}, while x=1x=-1 gives π4π4-\frac{\pi}{4}-\frac{\pi}{4}.

arctan(1x)+arctanx={π2,x>0π2,x<0\arctan\left(\frac{1}{x}\right)+\arctan x = \begin{cases} \frac{\pi}{2}, & x>0 \\ -\frac{\pi}{2}, & x<0 \end{cases}

The values x=0.5x = 0.5, 11 and 33 all sit on the positive branch. The derivative formula itself makes no distinction between the branches, which is precisely why the jump in the antiderivative catches people out.

The mistakes students make

Two of these are algebra slips and the third is a piece of faulty reasoning about constants.

  • Answering 11+x2\frac{1}{1+x^{2}}, which is the derivative of arctanx\arctan x, not of arctan(1x)\arctan\left(\frac{1}{x}\right). The inner derivative 1x2-\frac{1}{x^{2}} carries a minus sign that survives to the end.
  • Clearing the compound fraction halfway: multiplying only the 1x2\frac{1}{x^{2}} term by x2x^{2} turns the denominator into 1+1=21+1=2 and gives the false answer 12x2-\frac{1}{2x^{2}}.
  • Concluding that arctan(1x)+arctanx\arctan\left(\frac{1}{x}\right)+\arctan x equals π2\frac{\pi}{2} for all xx. On x<0x<0 the sum is π2-\frac{\pi}{2}, because x=0x=0 splits the domain into two intervals.

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(1/x)?

It is 11+x2-\frac{1}{1+x^{2}}, defined for all x0x \neq 0. The chain rule gives 11+1x2(1x2)\frac{1}{1+\frac{1}{x^{2}}}\cdot\left(-\frac{1}{x^{2}}\right), which simplifies to that.

Why is the derivative of arctan(1/x) negative?

Because the inner function 1x\frac{1}{x} is decreasing, with derivative 1x2-\frac{1}{x^{2}}. The outer factor 11+u2\frac{1}{1+u^{2}} is always positive, so the sign of the product comes entirely from the inner derivative.

Is arctan(1/x) the same as arccot x?

They agree for x>0x>0, where both equal π2arctanx\frac{\pi}{2}-\arctan x, and they share the derivative 11+x2-\frac{1}{1+x^{2}}. For x<0x<0 they differ by π\pi, since arccot\operatorname{arccot} takes values in (0,π)(0,\pi) while arctan(1x)\arctan\left(\frac{1}{x}\right) goes negative.