Derivative of Trigonometric Functions CG50
Derivative of Trigonometric Functions CG50
Learning objectives
Overview
The investigation looks at the gradient of tangents to each of the basic trigonometric graphs to suggest
the form of the gradient function. This is followed by looking numerically at the gradient of chords as the
chords shorten leading to differentiation from first principles for trigonometric functions.
Context
This follows from differentiation of polynomials and work on differentiation from first principles for
polynomials. It assumes a general understanding of a gradient function. The quotient rule is used in the
proof of the result for tan x . This could lead to further work on the chain, product and quotient rules using
the trigonometric functions.
Investigation
Learners are asked to draw the graph of y = sin x and to attach a tangent to it. As they move the tangent,
they note the values of the gradient at key points to suggest that the derivative is cosine. The graph in
degrees is then considered to show the results are only valid for x in radians. This is repeated for y = cos x
dy
and prompting is provided to find the result for y = tan x = sec 2 x . The optional third page of the
dx
learner notes looks at the sequence of gradients of a family of shortening chords to illustrate the concepts
underpinning the algebraic proof. This is most easily achieved using spreadsheets. The proof of the result
d
sin x = cos x using algebraic differentiation from first principles is included as a follow up exercise.
dx
Contents
Learner worksheet – pages 2-3
Optional learner worksheet – page 4
Teaching notes – pages 5-7
Aims
Resources
Using the fx-CG50
Dealing with the unexpected
Prompts
Extension questions
Solutions – pages 8-11
Derivative of trigonometric functions: Learning resource objective
Investigate 1
Draw Y1 = sin x and add a tangent to your graph. Follow the steps below to plot the gradient
function. Make sure the calculator is set to work in radians.
a) Find the gradient of the tangent at ( 0, 0 ) and enter it into the below.
x 0 3 2
2 2
y = sin x 0 1 0 -1 0
gradient
dy
It seems that when y = sin x, =
dx
Investigate 2
Change the settings so that the angle is in degrees. Investigate the gradient for this graph. What
does this mean for the derivative of y = sin x ?
-2-
Investigate 3
dy
It seems that when y = cos x, =
dx
Investigate 4
dy
It seems that when y = tan x, =
dx
Follow-up
How can you find the gradient function for tan x using the results you have for sin x and cos x ?
-3-
Looking at first principles
Moving point Q
Change in y
To find the gradient of y = sin x at the point ( 0, 0 ) look at the triangle joining O to a nearby point Q.
As Q moves towards ( 0, 0 ) , the gradient of the chord is a better estimate of the gradient of the curve.
Task 1
Fill in the table to find the gradient of OQ. Start with O at ( 0, 0 ) and Q at x = 0.1 .
On the second row, move Q to the point where x = 0.01 and so on
The gradient at ( 0, 0 ) is …
Task 2
Use the same method to find the gradient at other points on the curve.
d
Do they support the idea that sin x = cos x
dx
x
6 4 3 2
gradient
cos x
Follow-up
d
Prove algebraically from first principles that sin x = cos x when x is in radians.
dx
-4-
Teaching Notes
Aims
To discover the gradient of trigonometric functions sin x, cos x and tan x
To realise the need to work in radians
To prove the derivative of y = sin x from first principles
To prove the derivative of y = tan x using the quotient rule.
Resources
Supporting resources are available in our Resource Centre.
Before the lesson
How-To Video
• Graphs – Getting Started
Related topics
• Differentiation from First Principles
Learner support material
• Calculus with Other Functions Confidence Builder
During the lesson
• Learner worksheet (for basic investigation) – pages 2-3
• Learner worksheet (for first principles) – page 4
Using the fx-CG50
Once a graph is drawn on the fx-CG50, it is easy to add a tangent. Choose Sketch (r) and Tangent (w).
Press SET UP (L-p) and switch the Derivative to On and the gradient of the tangent is displayed. The
default settings after resetting the fx-CG50 give good scales to show the trigonometric graphs in radians.
-5-
Using the fx-CG50 Spreadsheet functionality
Should you wish to complete the table using Spreadsheet from p, the instructions are given below.
To type a formula, you need to enter = (L-.) at the start of the formula. To apply a formula to a
range of cells, you must use FILL (q).
Type the start x-coordinate into A1 and the start value for h into B1. (A1 can be changed to another
value and the spreadsheet then finds the gradient at another point on the curve. If the formulae in
columns D and E are changed, the gradient of a different curve can be found.)
To fill column A with the same value as A1 scroll to cell A2 EDIT (w), (u), FILL (q).
To fill column B with values for h = 0.1, 0.01, 0.001... , scroll to B2 and choose FILL again.
All the remaining columns can be filled with a formula in the first row using FILL to apply.
For the x-coordinate of the second point ( x + h ) in column C, the values in column A must be added to
those in column B. Calculate f ( x ) in column D and f ( x + h ) in column E.
f ( x + h) − f ( x)
Calculate the gradient using in column F. Notice the values in column F tend to 1.
h
-6-
The gradient at other point can be found simply by changing the value in A1.
In the spreadsheet exercise, values in standard form are given in the form 1E − 4 = 1 10 −4
The limit of the sequence of gradients is reached as the values are rounded. This makes it easier to see
the limit of the sequence but may not help with the understanding of first principles without discussion.
Prompts
Investigation 1
Prompt learners to plot their small set of values on the given graph to see the possible zig-zag shape for
the gradient function. Prompt them to consider other points in between to check its non-linear nature.
Investigation 2
Prompt learners to use the default scales with equal aspect to see the gradient is very small. Prompt them
to change the scales to see the shape of Y1 and notice that a transformation of the cosine graph is visible.
Encourage learners to play with different scales on the y-axis to see the gradient function better.
Follow-up
Prompt learners to use trigonometric identities to establish the result for tan x .
Looking at first principles
Prompt learners to think about the gradient of the chord with the columns of the table as stepping stones
towards a gradient calculation. The table can be completed manually, or different rows by different
members of the class and results shared. Try not to let the spreadsheet itself be the main focus.
Extension questions
1) What transformation of the graph y = cos x is needed for the gradient function of y = sin x
2) For the gradient at x = prompt learners to consider why the gradient column has negative values.
2
-7-
Solutions
Investigate 1
3
x 0 2
2 2
y = sin x 0 1 0 -1 0
gradient 1 0 -1 0 1
Straight lines (zig-zag) not appropriate as the values between do not fit a linear function. Gradient function
d
shown in red. It seems that sin x = cos x
dx
Investigate 2
The values of the gradient are very much smaller (scale factor which is the conversion factor of degrees
180
to radians). The second graph has the calculator set in degrees and the gradient function shown in red. So,
dy
the result is not true when x is in degrees although the graph of = cos x is discernible.
dx 180
Investigate 3
3
x 0 2
2 2
y = cos x 1 0 -1 0 1
gradient 0 -1 0 1 0
d
It seems that cos x = − sin x
dx
-8-
Investigate 4
Gradient function shown in red
3
y = sec x has vertical asymptotes at , etc but takes both positive and negative values.
2 2
d
It seems that tan x = sec 2 x
dx
Follow-up
sin x
y = tan x =
cos x
Using the quotient rule
-9-
Task 2
x at O Change in x x at Q y at O y at Q Change in y Gradient OQ
h f ( x) f ( x + h) f ( x + h) − f ( x) f ( x + h) − f ( x)
h
6 0.1 0.623599 0.5 0.58396 0.08396 0.839604
6 0.01 0.533599 0.5 0.508635 0.008635 0.863511
6 0.001 0.524599 0.5 0.500866 0.000866 0.865775
6 0.0001 0.523699 0.5 0.500087 8.66E-05 0.866
6 0.00001 0.523609 0.5 0.500009 8.66E-06 0.866023
- 10 -
x
6 3 2
gradient 0.866 to 3 s.f. 0.707 to 3 s.f. 0.5 0
cos x 0.5 0
3 2
2 2
Follow-up
If P is the point ( x , sin x ) and Q is the point ( x + h, sin ( x + h ) )
sin ( x + h ) − sin x
The gradient of the chord PQ is
h
Using sin ( A + B ) = sin A cos B + cos A sin B
sin x cos h + cos x sin h − sin x
The gradient becomes
h
sin x cos h − sin x cos x sin h
= +
h h
cos h − 1 sin h
= sin x + cos x
h h
cos h − 1 sin h
The small angle approximation for x in radians implies that as h → 0, → 1 and → 0.
h h
cos h − 1 sin h
So, the gradient = sin x + cos x → ( cos x )1 + ( sin x ) 0 = cos x
h h
Extension questions
1) y = sin x = sin x for x in radians.
180
dy
= cos x = cos x
So, the chain rule gives d x 180 180 180
x=
2) The chord at 2 joins the maximum point to another point to the right of the maximum, so the
chord has a negative gradient.
The exercise can be repeated with negative values of h so the moving point is on the left of the
maximum, giving positive gradients but the same zero limit of the sequence of gradients.
- 11 -