Skip to content

Derivatives of tangent, cotangent, secant and cosecant

Differentiate these four functions and use their derivatives in products, quotients and tangent lines.

It opens on

The graph of tan x rises between −π/2 and π/2. What sign must its derivative have?

Why it matters

These rules extend familiar sine and cosine derivatives to AP Calculus problems.

Good to know first

  • The product rule and the quotient rule: (uv)′=u′v+uv′ and (u/v)′=(vu′−uv′)/v². The secant, cosecant and cotangent functions: sec x=1/cos x, csc x=1/sin x, cot x=cos x/sin x. Graphs of tangent, cotangent, secant and cosecant: the tan x graph rises between asymptotes at ±π/2. Also sin′ x=cos x, cos′ x=−sin x

Step by step

  1. Tangent’s slope

    Derive tan′ x and find slopes on its graph.

    On the graph of y=tan x, the quotient rule gives tan′ x=[cos x cos x−sin x(−sin x)]/cos² x.

    A common mix-up

    Tan′ x=sec x.

    In fact: At π/4, the derived slope is 2, while sec(π/4)=√2.

  2. Related rules and tangent lines

    Differentiate cot, sec and csc, then write a tangent line.

    On the graph of y=sec x at π/3, sec(π/3)=2 and tan(π/3)=√3; the tangent line has slope 2√3.

    A common mix-up

    A minus sign means csc always falls.

    In fact: Csc′ x=−csc x cot x can change sign.

  3. Combine and simplify

    Differentiate a product or quotient containing tan x and sec x.

    For the quotient f=tan x/(1+sec x), the rule table gives top derivative sec² x and bottom derivative sec x tan x.

    A common mix-up

    Differentiate a quotient by dividing its derivatives.

    In fact: The numerator needs both quotient-rule terms.

Try it

Find tan′(π/6).Answer

4/3

Hint: Cos(π/6)=√3/2.

What is cot x’s slope at π/4?Answer

−2

Hint: Use cot′ x=−csc² x.

Find (x sec x)′.Answer

Sec x+x sec x tan x

Hint: Use the product rule.

The graph of tan x rises between its asymptotes; what sign should its slope have?Answer

Positive.

Write the tangent line to the graph of y=csc x there.Answer

y=2√3/3−(2/3)(x−π/3).

Derivatives of tangent, cotangent, secant and cosecant

30 minutes every month. No card.