Resources For Teachers For Tutors For Students & Parents Pricing
Year 12 Maths Advanced (2027) Differential calculus

Differentiating Trigonometric Functions

20 practice questions 0 video lessons Theory + worked examples
NSW · Year 12 Mathematics Advanced · Differential calculus

Differentiating trigonometric functions uses \(\dfrac{d}{dx}\sin x=\cos x\), \(\dfrac{d}{dx}\cos x=-\sin x\) and \(\dfrac{d}{dx}\tan x=\sec^{2}x\) (radians).

Part of the NSW Year 12 Mathematics Advanced course, in the Calculus area of study (Differential calculus focus area) of the 2024 syllabus. Work through practice questions with fully worked solutions and video lessons, or scroll down for the theory summary and worked examples.

Create a free accountTrack your progress and save your work as you go.
Create free account

Theory

Sine differentiates to cosine, and cosine to negative sine (in radians). This Year 12 Mathematics Advanced topic (MAV-12-04) differentiates \(\sin\), \(\cos\) and \(\tan\) with the chain rule.

\(\dfrac{d}{dx}\sin x=\cos x\), \(\dfrac{d}{dx}\cos x=-\sin x\), \(\dfrac{d}{dx}\tan x=\sec^{2}x\). With the chain rule, \(\dfrac{d}{dx}\sin(ax)=a\cos(ax)\), and similarly for the others.

These hold only when \(x\) is in radians.

Sine and its derivative cosineThe gradient of y = sin x at each point equals cos x. x sin x cos x
The gradient of \(\sin x\) (solid) is \(\cos x\) (dashed).
\[\dfrac{d}{dx}\sin x=\cos x,\quad \dfrac{d}{dx}\cos x=-\sin x,\quad \dfrac{d}{dx}\tan x=\sec^{2}x\]
derivative of sin x is cos x; derivative of cos x is minus sin x; derivative of tan x is sec squared x

Method

  1. Recall the base derivative (sin, cos or tan).
  2. Multiply by the derivative of the inner angle (chain rule).
  3. Work in radians.
Example 1 — Sine
Differentiate \(y=\sin 3x\).
Solution
\(\dfrac{dy}{dx}\)\(=\)\(3\cos 3x\)
Example 2 — Cosine
Differentiate \(y=\cos(x^{2})\).
Solution
\(\dfrac{dy}{dx}\)\(=\)\(-2x\sin(x^{2})\)
Example 3 — Tangent
Differentiate \(y=\tan x\).
Solution
\(\dfrac{dy}{dx}\)\(=\)\(\sec^{2}x\)
Example 4 — Evaluate
For \(y=2\sin x\): find \(\dfrac{dy}{dx}\) and its value at \(x=0\).
Solution
\(\dfrac{dy}{dx}\)\(=\)\(2\cos x\)
\(\text{at }x=0\)\(=\)\(2\)

Common pitfalls

Cosine gains a minus sign. \(\dfrac{d}{dx}\cos x=-\sin x\).
Bring the coefficient down. \(\dfrac{d}{dx}\sin3x=3\cos3x\).
Radians only. These are wrong for angles in degrees.

Frequently asked questions

What is the derivative of sin x?

It is cos x, when x is in radians.

What is the derivative of cos x?

It is minus sin x.

What is the derivative of tan x?

It is sec squared x.

Why must angles be in radians for these derivatives?

The simple rules like the derivative of sin x being cos x only hold when x is measured in radians; in degrees an extra constant factor appears.