Where the derivative of arctan x comes from
The derivative of is , for every real . It comes from writing as , differentiating both sides, and reading one right triangle to put the answer back in terms of ; the same three steps give for , so you can rebuild either formula on a test.
What arctan x means
is the angle whose tangent is , chosen strictly between and :
That restriction is what makes the inverse a function, and the matching restriction for decides a sign further down. is also written ; it is the same function.
The derivative, from tan y = x
- Rewrite. .
- Differentiate both sides with respect to . The left side needs the chain rule, because depends on :
- Solve.
- Put the answer back in terms of . Step 3 is about the angle , and the question was about . This is the step the triangle is for.
The triangle
Draw a right triangle with an angle whose tangent is : opposite side , adjacent side . Pythagoras gives the hypotenuse, . Read the cosine off the triangle:
so . Put that into step 3:
A drawn triangle only shows , an angle in the first quadrant. The identity covers every at once and agrees: . Use whichever you can rebuild faster. And a quick sanity check: is never below , so the derivative is always positive, which fits a graph that only ever rises.
Worked example: rebuild arctan(x/5) from scratch
The reason to know where the formula comes from is that the method works on functions you have not memorised. Take and run the same steps.
- Rewrite. .
- Differentiate. , so .
- Triangle. Opposite side , adjacent side , hypotenuse . So .
- Substitute.
Check it with the chain rule and the formula just derived:
The two routes agree. On a test, the second is faster once you trust the formula; the first is how you get the formula back when you do not.
The same three steps for arcsin
means with .
- Rewrite. .
- Differentiate. , so .
- Triangle (the right-hand one above). Opposite side , hypotenuse , so the adjacent side is , and . For ,
Why the positive square root? Because lies in , where the cosine is never negative. The restriction that made a function is the same one that fixes the sign. At that cosine is , which is why the formula stops short of the endpoints.
The common mistake: reading as a reciprocal. Here the means the inverse function, , and the derivative is . Read the as an exponent and you are differentiating instead, a different function whose derivative is . The derivative of has no trigonometric function left in it at all, so a or a in your answer is the sign that the was misread. The same goes for , which means .
Check your understanding
No calculator. Easiest first; questions 3, 6 and 7 ask for a reason as well as an answer.
- Find the slope of at .
- Where is the graph of steepest, and what is its slope there?
- Without differentiating, explain why the slope of must approach as . Then confirm it from the formula.
- Differentiate .
- For which values of is the derivative of equal to ?
- takes its values in . Rebuild its derivative with the same three steps, starting from , and explain your choice of sign for the square root.
- Find the error: a student writes "Since , , so the derivative of is ."
- Calculus II: find a function whose derivative is . The worked example is a good place to start.
Show the answers
- , since .
- At , with slope . The denominator is smallest at , so the derivative is largest there.
- The graph of is the graph of on reflected in the line , which swaps rise and run. Near its vertical asymptote the graph of gets steeper without bound, so its mirror image gets flatter and flatter as it levels off towards . (The asymptote alone would not settle it: a curve can approach a horizontal line while wiggling.) The formula agrees: grows without bound, so .
- . The chain rule with gives , and .
- . Setting gives , so and ; both values lie inside .
- for . Differentiating gives , so . The triangle (adjacent , hypotenuse ) gives , with the positive root because lies in , where the sine is never negative.
- The student replaced by at the end, but is the angle , not . has to be rewritten in terms of : , which gives . The student's version cannot be right: at , where is undefined, it gives no slope at all, yet has a positive slope at every .
- , plus any constant. Check by the chain rule: .
Practise it
The free CEGEP Calculus I Derivatives of Transcendental Functions worksheet has a sheet of inverse trigonometric derivatives, alongside exponentials, logarithms and logarithmic differentiation. The method in this post is implicit differentiation, which has its own sheet in the Differentiation Rules worksheet.
Want one-on-one help with this? I offer CEGEP Science calculus and linear algebra tutoring in Montreal, in person or online. Sessions start with a short written diagnostic, and a written recap goes to whoever books after every session.