Derivatives of Sine and Cosine Functions (College Board AP® Calculus AB): Revision Note

Jamie Wood

Written by: Jamie Wood

Reviewed by: Dan Finlay

Updated on

Derivatives of sine and cosine functions

How do I differentiate sin x and cos x?

  • It can be shown that:

    • limh→0sin(x+h)−sinxh=cosx for all real x

    • limx→asinx−sinax−a=cosa for all real a

  • Therefore, if f(x)=sin x then f'(x)=cos x

  • It can also be shown that:

    • limh→0cos(x+h)−cosxh=−sinx for all real x

    • limx→acosx−cosax−a=−sina for all real a

  • Therefore, if f(x)=cos x then f'(x)=−sin x

Examiner Tips and Tricks

Consider the graphs of y=sinx and y=cosx to help you remember the signs of the derivatives.

Initially, y=sinx is increasing, which means that its derivative is positive for small values of x.

Similarly, y=cosx is initially decreasing, which means its derivative is negative for small values of x.

How do I differentiate sin kx and cos kx?

  • If f(x)=sin kx then f'(x)=kcos kx

  • If g(x)=cos kx then g'(x)=−ksin kx

  • These occur as a result of applying the chain rule

Worked Example

Find the derivatives of the following functions.

(a) f(x)=cos x − 4sin x

(b) g(x)=9sin (23x)−2cos(3x)

Answer:

(a)

cos x differentiates to −sin x
sin x differentiates to cos x

f'(x)=−sin x−4(cos x)

f'(x)=−sin x−4cos x

(b)

sin kx differentiates to kcos kx
cos kx differentiates to −ksin kx

g'(x)=9·23cos (23x) − 2(−3sin 3x)

Simplify

g'(x)=6cos(23x)+6sin 3x=6(cos 23x + sin 3x)

How do I use the definition of a derivative to differentiate sin x and cos x?

  • The definition of a derivative as a limit can be used to obtain the above results

    • f'(x)=limh→0f(x+h)−f(x)h

  • You should know the following two trigonometric addition formulae:

    • sin(A+B)=sinAcosB+cosAsinB

    • cos(A+B)=cosAcosB−sinAsinB

  • The following two trigonometric limit theorems can be derived using the squeeze theorem

    • limx→0sinxx=1

    • limx→0cosx−1x=0

  • If f(x)=sin x, then using the definition of a derivative,

    • f'(x)=limh→0sin(x+h)−sin(x)h

  • Using the addition formula sin(A+B)=sinAcosB+cosAsinB,

    • f'(x)=limh→0sin xcos h+cos xsin h−sin xh

  • Factoring so that the terms sin hh and cos h −1h are present

    • f'(x)=limh→0(sin x(cos h −1h)+cos x(sin hh))

  • Applying the limits limx→0sinxx=1 and limx→0cosx−1x=0

    • f'(x)=sin x·(0)+cos x·(1)

  • So it can be concluded that f'(x)=cos x

  • The method for cos x is shown in the worked example below

Worked Example

Use the definition of a derivative as a limit to show that the derivative of f(x)=cos x is f'(x)=−sin x.

Answer:

Write down the definition of a derivative as a limit, and apply it to f(x)=cos x

f'(x)=limh→0f(x+h)−f(x)h

f'(x)=limh→0cos(x+h)−cos(x)h

Use the addition formula cos(A+B)=cosAcosB−sinAsinB

f'(x)=limh→0cos x cos h − sin x sin h−cos xh

Factor so that the terms sin hh and cos h −1h are present

f'(x)=limh→0(cos x(cos h −1h)−sin x (sin hh))

Apply the limits derived by the squeeze theorem

limx→0sinxx=1 and limx→0cosx−1x=0

f'(x)=cos x·(0)−sin x·(1)

Simplify

f'(x)=−sin 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.