Learn how to differentiate sine, cosine and tangent the easy way, with plain English intuition, the chain rule for sin(kx), worked examples and an auto marked practice test. VCE Maths Methods Units 3 and 4.
Learn
Waves are everywhere. Sound, light, tides, the swing of a pendulum and the bob of a
spring all rise and fall in the smooth shape of a sine curve. Differentiating a
circular function is how you find the rate at which a wave is rising or falling at
any instant. The wonderful surprise is that the slope of a wave is just another wave,
shifted along a little. Learn three short results and a single rule, and you can find
the steepness of any sine, cosine or tangent in seconds.
The three results to memorise
A circular function is just a fancy name for sin, cos and tan. The whole topic
rests on three facts about their gradients. In radians (and circular function
calculus only works in radians, never degrees) the rules are beautifully neat.
Notice the pattern. The slope of sin is cos. The slope of cos is sin but
flipped negative. That minus sign is the most forgotten thing in the whole topic, so
say it out loud every time. Cosine picks up a minus.
The blue curve y = sin(x) and its derivative y = cos(x) (red, dashed): where sin is steepest (at x = 0) cos peaks at 1, and where sin levels off at its crests cos crosses zero, showing the slope of a wave is just another wave shifted along.
Why these only work in radians
The neat rules above are a gift, but the gift only arrives if your angle is measured in
radians. If you ever set your calculator to degrees, the slope of sinx is no
longer simply cosx, because the units of the input change how fast the output moves.
This is exactly why every VCAA exam, and every question on this page, uses radians and
exact values like 3π rather than 60 degrees. Train yourself to think in
π from the start.
Stretching the wave: sin(kx) and the chain rule
Real waves rarely come as a plain sinx. They get squashed or stretched, written as
sin(kx) where k controls how many cycles fit in. To differentiate these you bolt
the chain rule onto the three results above. The inside function is whatever sits in
the brackets, and its derivative gets multiplied out the front.
If y=sin(kx), treat kx as the inside. Differentiate the outside to get
cos(kx), then multiply by the derivative of the inside, which is k:
dxd(sin(kx))=kcos(kx)
The same idea gives the matching cosine and tangent rules. The factor k always lands
out the front, and the bracket is copied down completely unchanged.
dxd(cos(kx))=−ksin(kx),dxd(tan(kx))=ksec2(kx)
This works for any inside, not just kx. For y=sin(2x+6π) the inside
is 2x+6π, whose derivative is still just 2, so the answer is
2cos(2x+6π). The phase shift 6π is a constant, so it adds
nothing to the inside derivative and stays sitting inside the bracket.
The method, step by step
Every circular derivative in the course follows the same short recipe. The skill is
doing it cleanly without dropping a factor or a sign.
Identify the inside function, which is everything inside the bracket.
Differentiate the outside, using sin→cos, cos→−sin, or
tan→sec2, copying the inside down unchanged.
Multiply by the derivative of the inside.
Multiply by any constant sitting out the front, and tidy the signs.
The examiner reports flag the same handful of errors year after year. Many students
omit the inside derivative, turning sin(4x) into cos(4x) instead of
4cos(4x). Many lose the minus sign when differentiating cosine. And some
alter the argument, wrongly shrinking cos(3x) back to cos(x). The inside of the
bracket never changes when you differentiate. Bring the factor out, keep the bracket
the same, fix the sign.
Lock it in with active recall
Cover the answer and say each one out loud before you flip. Rate yourself honestly — the cards you find hard come back sooner, the ones you know are spaced further out.
Active recall
Answer from memory first, then flip. Rate yourself and each card returns on a spaced schedule (1 → 3 → 7 → 16 days).
What is dxdsinx, and dxdcosx?
dxdsinx=cosx and dxdcosx=−sinx. Cosine always picks up a minus.
What is dxdtanx?
dxdtanx=sec2x=cos2x1.
Why must the angle be in radians?
The neat rules (sin→cos, etc.) only hold in radians. In degrees the slope of sinx is no longer cosx, because changing the input units changes how fast the output rises and falls. Every VCAA exam uses radians.
Using the chain rule, what is dxdsin(kx)?
kcos(kx) — differentiate the outside (sin→cos), keep the bracket, then multiply by the inside derivative k.
For f(x)=tan(5x), what is f′(x)?
f′(x)=5sec2(5x)=cos2(5x)5 — the inside derivative 5 comes out the front.
Recall · Chain Rule
State the chain rule for dxdy when y=f(u) and u=g(x).
dxdy=dudy×dxdu — this is exactly the engine behind every sin(kx) derivative on this page.
Recall · Antidifferentiation
What is ∫cosxdx?
sinx+c. Antidifferentiation runs the derivative cycle backwards (anticlockwise), so cos integrates to sin.
See this recipe in action in the Worked Examples tab, then test yourself in
Try It.
Worked examples
Worked Example 1An online sales model, from a real exam
Online monthly sales are modelled by f:(0,36]→R, f(t)=3000+30t+700cos(6πt)+400cos(3πt). (i) The model predicts that every 12 months monthly sales increase by n million dollars; find n. (ii) Find f′(t). (iii) Hence find the maximum instantaneous rate of change of f, to the nearest million dollars per month, and the values of t in (0,36] at which it occurs, to one decimal place.
1
Both cosine terms have period 12, so over 12 months only the linear term changes. The increase is 30×12.
n=30×12=360
2
Differentiate term by term. Each cosine brings down its inside derivative, 6π or 3π, and turns into a negative sine.
f′(t)=30−3350πsin(6πt)−3400πsin(3πt)
3
Maximise f′ with technology. Since f′ has period 12, the maximum recurs three times across (0,36].
max≈725,t≈10.2,22.2,34.2
Answer
n=360;f′(t)=30−3350πsin(6πt)−3400πsin(3πt);max rate≈725 at t≈10.2,22.2,34.2
VCAA 2024 Mathematical Methods Exam 2, Section B Q3b
Worked Example 2The range of a derivative on an interval, from a real exam
For f′(x)=sin(x)+xcos(x), determine the range of f′(x) over the interval [2π,32π].
1
Evaluate f′ at the left endpoint. Here cos2π=0, so the second term vanishes.
f′(2π)=sin2π+2πcos2π=1
2
Evaluate f′ at the right endpoint, using sin32π=23 and cos32π=−21.
f′(32π)=23+32π(−21)=23−3π
3
f′ is decreasing across this interval, so the range runs from the smaller right-endpoint value up to 1. Use square brackets, smaller value first.
Range=[23−3π,1]
Answer
Range=[23−3π,1]
VCAA 2024 Mathematical Methods Exam 1, Q7b.ii
Worked Example 3A scaled sine wave
Differentiate y=sin(3x).
1
Spot the inside function. Here the inside is 3x, so use the chain rule.
y=sin(u),u=3x
2
Differentiate the outside. The derivative of sin is cos, with the inside left alone.
dudy=cos(u)=cos(3x)
3
Differentiate the inside and multiply. The derivative of 3x is 3.
dxdu=3
Answer
dxdy=3cos(3x)
Worked Example 4Cosine with a coefficient and a phase
Differentiate y=4cos(2x−3π).
1
The front number 4 just rides along. The inside is 2x−3π, whose derivative is 2.
dxdcos(2x−3π)=−sin(2x−3π)×2
2
Multiply by the front 4 and the inside derivative 2. Watch the sign: cos differentiates to −sin.
dxdy=4×(−sin(2x−3π))×2
Answer
dxdy=−8sin(2x−3π)
Worked Example 5A tangent, then evaluate
For f(x)=tan(5x), find f′(20π).
1
The derivative of tan(u) is sec2(u), so the chain rule gives the inside derivative 5 out the front.
f′(x)=5sec2(5x)=cos2(5x)5
2
Substitute x=20π, so the inside becomes 5×20π=4π.
f′(20π)=cos2(4π)5
3
Use the exact value cos4π=21, so cos24π=21.
f′(20π)=215=10
Answer
f′(20π)=10
Practice questions
Practice test
Try it yourself
7 questions, 9 marks
Choose your answers, then submit to see your score and the full worked solutions.
Multiple choice is marked for you, just like Exam 2 Section A.
Q1.The function f is given by f(x)=tan(2x) for 4≤x<2π and f(x)=sin(ax) for 2π≤x≤8. The value of a for which f is continuous and smooth at x=2π is:
1mark
Need a hint?
Continuity forces sin(2πa)=0. Smoothness forces the two derivatives to match at x=2π; the gradient of tan(x/2) there is 21.
Show worked solution
Continuity at x=2π requires tan(π)=sin(2πa), so sin(2πa)=0 and 2πa is a multiple of π.
Smoothness requires the derivatives to match. The derivative of tan(x/2) is 21sec2(x/2), which at x=2π gives 21sec2(π)=21. The derivative of sin(ax) is acos(ax), which at x=2π gives acos(2πa). So we need acos(2πa)=21.
Testing a=−21: cos(−π)=−1, so −21×(−1)=21, and sin(−π)=0. Both conditions hold, so a=−21.
VCAA 2023 Mathematical Methods Exam 2, Section A Q9
Q2.The derivative of y=sin(4x) is:
1mark
Need a hint?
Differentiate the outside (sin→cos), then multiply by the derivative of the inside 4x.
Show worked solution
Using the chain rule, dxdy=cos(4x)×4=4cos(4x). Option C drops the inside derivative 4, the single most common chain rule slip. Option A wrongly changes the argument back to x.
Q3.If f(x)=cos(2x), then f′(x) equals:
1mark
Need a hint?
Cosine picks up a minus sign when you differentiate it, and the inside 2x still contributes a factor.
Show worked solution
The derivative of cos(u) is −sin(u), and the inside 2x contributes a factor of 2, giving −2sin(2x). Option C forgets the minus sign that comes from differentiating cosine. Option D forgets the inside derivative.
Q4.The gradient of y=3sin(2x+6π) at any point is given by dxdy=
1mark
Need a hint?
The front 3 rides along and the phase 6π is a constant, so only 2x matters for the inside derivative.
Show worked solution
The front 3 rides along, sin becomes cos, and the inside 2x+6π has derivative 2, so dxdy=3×cos(2x+6π)×2=6cos(2x+6π). The phase 6π stays inside untouched, which rules out option D.
Q5.For f(x)=tan(3x), the value of f′(12π) is:
1mark
Need a hint?
First differentiate tan(3x) to 3sec2(3x), then substitute. Note 3×12π=4π.
Show worked solution
f′(x)=3sec2(3x)=cos2(3x)3. At x=12π the inside is 4π, and cos24π=21, so f′(12π)=1/23=6. Option D forgets the inside derivative 3.
Q6.The derivative of y=cos(2x) is:
1mark
Need a hint?
Rewrite the inside as 21x and ask what its derivative is before multiplying.
Show worked solution
Here the inside is 2x=21x, whose derivative is 21. So dxdy=−sin(2x)×21=−21sin(2x). Option B wrongly multiplies by 2 instead of 21.
Q7.Let f(x)=2sin(3x). Find the gradient of the graph of f at the point where x=9π. Give the exact value and show all working.
3marks
Work this on paper. The worked solution appears once you submit.
Show worked solution
Differentiate using the chain rule. The front 2 rides along, sin becomes cos, and the inside 3x contributes a factor of 3:
f′(x)=2×cos(3x)×3=6cos(3x).
Substitute x=9π, so the inside becomes 3×9π=3π:
f′(9π)=6cos(3π).
Using the exact value cos3π=21:
f′(9π)=6×21=3.
Frequently asked questions
What is the derivative of sin, cos and tan?
The derivative of sine is cosine, the derivative of cosine is negative sine, and the derivative of tangent is secant squared, which equals one over cosine squared. These three results only hold when the angle is measured in radians.
Why do circular function derivatives only work in radians, not degrees?
The neat rules depend on the angle being in radians. If your calculator is set to degrees the slope of sine is no longer simply cosine, because changing the units of the input changes how fast the output rises and falls. Every VCAA exam uses radians, so always work in radians and exact values like pi over three.
How do I differentiate sin(kx) or cos of something with a number in front?
Use the chain rule. Differentiate the outside, copying the bracket down unchanged, then multiply by the derivative of the inside. For sin(kx) that gives k cos(kx). Any constant sitting out the front just rides along and multiplies the answer, and a phase shift inside the bracket adds nothing to the inside derivative.