Finding the Derivatives of Tangent, Cotangent, Secant, and/or Cosecant Functions
How do we find the rate of change at one instant, and how do we compute it quickly for any function?
What you will learn
Understand how the four derivatives follow from the quotient rule
Know the pattern: tan and cot give squared partners, sec and csc give the function times its partner
Understand that every co function has a minus sign
Know the exact values needed at standard angles
You must be able to
Differentiate expressions with tan, cot, sec and csc
Evaluate the derivatives at pi over six, four and three
Write a tangent line to tan x
Rewrite with an identity when it simplifies
Avoid reading sec squared as sec of x squared
In the exam. Section I multiple choice, no calculator: a derivative of tanx, secx, cotx or cscx evaluated at 6π, 4π or 3π, a tangent line to tanx, or a combination with a product. Section II free response: these functions are rarer than sine, cosine, ex and lnx, but they appear in differentiation, related-rates and integration questions, and an expression often needs to be rewritten with identities first.
1Where the four results come from
The CED states that rearranging with identities lets you use the derivative rules. Here is each one.
In the exam you quote the results. If you forget one, this takes under a minute.
Notation.sec2x means (secx)2. It is not sec(x2).
2The pattern to remember
Function
Derivative
tanx
sec2x
cotx
−csc2x
secx
secxtanx
cscx
−cscxcotx
The derivatives of tan and cot are squares of the partner function: sec2 and csc2.
The derivatives of sec and csc are the function times its trig partner: sec⋅tan and csc⋅cot.
The "co" functions get a minus sign.
Each result is undefined where the original function is undefined. tanx has no value at 2π, so neither does sec2x.
3Evaluating at standard angles
You need exact values.
Angle
sin
cos
tan
sec
csc
cot
6π
21
23
31
32
2
3
4π
22
22
1
2
2
1
3π
23
21
3
2
32
31
Examples (invented):
dxdtanx at 4π: sec24π=(2)2=2.
dxdsecx at 3π: sec3πtan3π=23.
dxdcotx at 6π: −csc26π=−4.
dxdcscx at 6π: −csc6πcot6π=−23.
4Tangent line to y=tanx
At x=4π the point is (4π,1) and the slope is 2.
y−1=2(x−4π)
Figure 1 · The graph of y = tan x between its vertical asymptotes x = -π ÷ 2 and x = π ÷ 2, with the tangent line at x = π ÷ 4, whose slope is 2
Figure 1 shows the climb. The slope sec2x is never less than 1, because cos2x≤1. So tanx is rising on every branch where it is defined, and it steepens as x nears the asymptotes, where sec2x grows without limit.
5Combinations
Mix the new results with the product, quotient, sum and constant multiple rules.
Example (invented): y=xtanx. Product rule: y′=1⋅tanx+xsec2x. At x=4π: 1+4π(2)=1+2π.
Example (invented): y=tanx−x.y′=sec2x−1. Since sec2x−1=tan2x, this equals tan2x, which is 1 at x=4π.
Example (invented): y=secx+tanx.y′=secxtanx+sec2x=secx(tanx+secx). At x=3π: 2(3+2)=23+4.
Example (invented): y=xtanx. Quotient rule with f=tanx and g=x:
y′=x2xsec2x−tanx
At x=4π: the top is 4π(2)−1=2π−1 and the bottom is 16π2, so y′=π28(π−2). Leave exact values like this unless the question asks for a decimal.
Example (invented): y=3secx−2cotx.y′=3secxtanx+2csc2x. The two minus signs combine to a plus.
6Rewrite first
Sometimes an identity turns a hard-looking expression into a simple one. This is the point of the CED statement about rearranging.
Example (invented): y=tanxsecx.
tanxsecx=sinx/cosx1/cosx=sinx1=cscx
So y′=−cscxcotx. The quotient rule on the original would have worked, but it is longer.
Example (invented): y=sinx⋅secx. Since secx=cosx1, this is tanx, so y′=sec2x. The product rule gives cosxsecx+sinxsecxtanx=1+tan2x, which is the same, because 1+tan2x=sec2x.
Rewriting is optional, but it can remove errors. If you are not sure of an identity, use the derivative rules you know instead.
Practice questions
30 questions on this note, from easy to hard. Each one you get right lights a star of this topic's constellation.
Practice · 2.10 Finding the Derivatives of Tangent, Cotangent, Secant, and/or Cosecant Functions