Derivatives of Tangent and Reciprocal Trig Functions (College Board AP® Calculus BC): Revision Note

Jamie Wood

Written by: Jamie Wood

Reviewed by: Dan Finlay

Updated on

Derivative of the tangent function

What is the derivative of tan x?

  • If f(x)=tan x then f'(x)=sec2 x

  • This can be shown using the identity tan x sin x cos x and the quotient rule

    • The quotient rule states that if y=uv, then y'=u'v  uv'v2

    • Let u=sin x and v=cos x

    • So u'=cos x and v'=sin x

    • Applying the quotient rule

      • y'=cos x·cos x  sin x·(sin x)(cos x)2

    • Simplifying

      • y'=cos2 x + sin2 xcos2 x

    • Using the identity sin2 x + cos2 x  1

      • y'=1cos2 x

    • This is the definition of sec2 x, as secx=1cosx

      • y'=sec2 x

What is the derivative of tan kx?

  • If f(x)=tan kx then f'(x)=k sec2 kx

    • This is a result of applying the chain rule

Worked Example

Find the derivatives of the following functions.

(a) f(x)=tan 3x

(b) g(x)=3x2 tan x

Answer:

(a)

tan kx differentiates to k sec2 kx

f'(x)=3sec23x

(b)

This is a product of two terms, so use the product rule, y'=u'v+uv'

u=3x2 and v=tan x

u'=6x and v'=sec2 x

y'=6x·tan x + 3x2·sec2 x=3x(2tan x +xsec2 x)

This derivative is correct, but could also be written in other forms using trigonometric identities

E.g. using tan2 x + 1 = sec2 x it could be written all in terms of tan x

y'=6x tan x +3x2(tan2 x + 1)=3x(xtan2 x + 2tan x + x)

Derivatives of reciprocal trig functions

What are the reciprocal trig functions?

  • The reciprocal trigonometric functions are:

    • 1sin x=csc x

    • 1cos x=sec x

    • 1tan x=cot x

What are the derivatives of the reciprocal trig functions?

  • If f(x)=csc x then f'(x)=cot x csc x

  • If g(x)=sec x then g'(x)=tan x sec x

  • If h(x)=cot x then h'(x)=csc2 x

  • These results can be remembered, or they can be derived using the reciprocal trig function definitions and the quotient rule

  • The table below shows the derivatives when x is replaced with kx

 f(x)=

 f'(x)=

seckx

kseckxtankx

csckx

kcsckxcotkx

cotkx

kcsc2kx

How do I derive the derivative of csc x?

  • Recall that csc x = 1sin x

  • Apply the quotient rule, y'=u'vuv'v2

    • u=1 and v=sin x

    • u'=0 and v'=cos x

    • y'=0cos x(sin x)2

  • Simplify using the identities cos xsin x=cot x and 1sin x=csc x

    • y'=cos xsin2 x=cos xsin x·1sin x=cot x csc x

How do I derive the derivative of sec x?

  • Recall that sec x = 1cos x

  • Apply the quotient rule, y'=u'vuv'v2

    • u=1 and v=cos x

    • u'=0 and v'=sin x

    • y'=0(sin x)(cos x)2

  • Simplify using the identities sin xcos x=tan x and 1cos x=sec x

    • y'=sin xcos2 x=sin xcos x·1cos x=tan x sec x

How do I derive the derivative of cot x?

  • Recall that cot x = 1tan x=cos xsin x

  • Apply the quotient rule, y'=u'vuv'v2

    • u=cos x and v=sin x

    • u'=sin x and v'=cos x

    • y'=sin x·sin xcos x·cos x(sin x)2

  • Simplify using the identities sin2 x +cos2 x=1 and 1sin x=csc x

    • y'=sin2 xcos2xsin2 x=(sin2 x+cos2 x)sin2 x=1sin2 x=csc2 x

Worked Example

Show that the derivative of f(x)=csc x sec x is f'(x)=sec2 xcsc2 x.

Answer:

This is a product of two functions, so use the product rule, y'=u'v+uv'

u=csc x and v=sec x

Differentiate using the known results

u'=cot x csc x and v'=tan x sec x

Apply the product rule

y'=cot x csc x·sec x + csc x·tan x sec x

We now need to use trigonometric identities to rearrange to sec2 xcsc2 x

Swap the reciprocal functions for their 'regular' counterparts
I.e. sec x =1cos x, csc x =1sin x and cot x =cos xsin x
This can often make rearranging and simplifying easier

y'=(cos xsin x·1sin x·1cos x)+(1sin x·sin xcos x·1cos x)y'=cos xsin2 x cos x+sin xsin x cos2 xy'=1sin2 x+1cos2 xy'=(1sin x)2+(1cos x)2

f'(x)=sec2 x  csc2 x

Unlock more, it's free!

Join the 100,000+ Students that ❤️ Save My Exams

the (exam) results speak for themselves:

Build on this topic

Jamie Wood

Author: Jamie Wood

Expertise: Curriculum Expert

Jamie graduated in 2014 from the University of Bristol with a degree in Electronic and Communications Engineering. He has worked as a teacher for 8 years, in secondary schools and in further education; teaching GCSE and A Level. He is passionate about helping students fulfil their potential through easy-to-use resources and high-quality questions and solutions.

Dan Finlay

Reviewer: Dan Finlay

Expertise: Portfolio Lead

Dan graduated from the University of Oxford with a First class degree in mathematics. As well as teaching maths for over 8 years, Dan has marked a range of exams for Edexcel, tutored students and taught A Level Accounting. Dan has a keen interest in statistics and probability and their real-life applications.