Processing math: 100%

Derivative of sec x

The derivative of sec(x) is calculated using the quotient rule of derivatives.

Proof of the Derivative of sec x

A trigonometric identity relating secx and cosx is given by secx=1cosx We use the quotient rule of differentiation to find the derivative of secx; hence
ddxsecx=ddx(1cosx)=(ddx1)cosx1(ddxcosx)cos2x

The derivative of the constant 1 is equal to zero. Use the formulae for the derivative of the trigonometric functions cosx given by ddxcosx=sinx and substitute to obtain

ddxsecx=(0(sinx))cos2x

Simplify

=sinxcos2x=sinxcosx1cosx=tanxsecx

conclusion
ddxsecx=tanxsecx

Graph of sec x and its Derivative

The graphs of sec(x) and its derivative are shown below.

Graph of sec x and its derivative

Derivative of the Composite Function sec (u(x))

We now consider the composite function sec of another function u(x). Use the chain rule of differentiation to write

ddxsec(u(x))=(ddusecu)(ddxu)

Simplify

=tanusecuddxu

Conclusion

ddxsec(u(x))=tanusecuddxu

Example 1
Find the derivative of the composite sec functions

  1. f(x)=sec(x2+x1)
  2. g(x)=sec(sin(x))
  3. h(x)=sec(x+2)

Solution to Example 1


  1. Let u(x)=x2+x1 and therefore ddxu=ddx(x2+x1)=2x+1 and apply the rule for the composite sec function given above

    ddxf(x)=tanusecuddxu=tan(x2+x1)sec(x2+x1)×(2x+1)

    =(2x+1)tan(x2+x1)sec(x2+x1)


  2. Let u(x)=sinx and therefore ddxu=ddxsinx=cosx and apply the above rule

    ddxg(x)=tanusecuddxu=tan(sinx)sec(sinx)×(cosx)

    =cosxtan(sinx)sec(sinx)


  3. Let u(x)=x+2 and therefore ddxu=12x+2 and apply the rule obtained above

    ddxh(x)=tanusecuddxu=tan(x+2)sec(x+2)×12x+2

    =tan(x+2)sec(x+2)2x+2


More References and links

Rules of Differentiation of Functions in Calculus.
Trigonometric Identities and Formulas.
Derivatives of the Trigonometric Functions.
Chain Rule of Differentiation in Calculus.