Skip to main content

Differentiation of trigonometric functions (TCE Mathematics Methods, Tasmania)

Syllabus dot point

“Establish and use the derivatives of sin x, cos x and tan x, including with the chain, product and quotient rules.”

8 min read

Quick answer

You must know and use the standard derivatives ddx(sin⁡x)=cos⁡x\dfrac{d}{dx}(\sin x)=\cos x, ddx(cos⁡x)=−sin⁡x\dfrac{d}{dx}(\cos x)=-\sin x and ddx(tan⁡x)=sec⁡2x\dfrac{d}{dx}(\tan x)=\sec^2 x, with xx in radians, then combine them with the chain, product and quotient rules to differentiate expressions such as sin⁡(3x)\sin(3x), x2cos⁡xx^2\cos x and sin⁡xx\dfrac{\sin x}{x}.

What this dot point is asking

This dot point completes your library of standard derivatives by adding the three core trigonometric functions. Once you have these alongside powers, exponentials and logarithms, you can differentiate almost any function in the course.

The three standard derivatives

The results you must memorise are short, but the minus sign and the radian requirement trip up many students.

Derivatives of the trigonometric functions

ddx(sin⁡x)=cos⁡x\dfrac{d}{dx}(\sin x) = \cos x

ddx(cos⁡x)=−sin⁡x\dfrac{d}{dx}(\cos x) = -\sin x

ddx(tan⁡x)=sec⁡2x=1cos⁡2x\dfrac{d}{dx}(\tan x) = \sec^2 x = \dfrac{1}{\cos^2 x}

Notice the symmetry: differentiating sine gives cosine, and differentiating cosine gives negative sine. Differentiating twice more returns you to where you started, so the fourth derivative of sin⁡x\sin x is sin⁡x\sin x again.

Radians are compulsory

These derivatives are only true when xx is measured in radians. The clean result ddx(sin⁡x)=cos⁡x\dfrac{d}{dx}(\sin x)=\cos x comes from the limit sin⁡hh→1\dfrac{\sin h}{h}\to 1 as h→0h\to 0, which holds only in radians. If your calculator is in degree mode the gradients are wrong by a factor of π180\dfrac{\pi}{180}.

Combining with the chain rule

For a function of the form sin⁡(f(x))\sin(f(x)), the chain rule multiplies by the derivative of the inside:

ddx(sin⁡(f(x)))=f′(x)cos⁡(f(x)),ddx(cos⁡(f(x)))=−f′(x)sin⁡(f(x)).\frac{d}{dx}\big(\sin(f(x))\big) = f'(x)\cos(f(x)), \qquad \frac{d}{dx}\big(\cos(f(x))\big) = -f'(x)\sin(f(x)).

So ddxsin⁡(3x)=3cos⁡(3x)\dfrac{d}{dx}\sin(3x) = 3\cos(3x) and ddxcos⁡(x2)=−2xsin⁡(x2)\dfrac{d}{dx}\cos(x^2) = -2x\sin(x^2). The inner derivative is exactly the factor students most often drop.

Combining with product and quotient rules

Trigonometric terms appear inside products and quotients constantly. Apply the product rule u′v+uv′u'v + uv' or the quotient rule u′v−uv′v2\dfrac{u'v - uv'}{v^2} exactly as for any other functions, treating sin⁡x\sin x, cos⁡x\cos x or tan⁡x\tan x as one of the factors.

Differentiating a product and a quotient

Differentiate (a) y=x2cos⁡xy = x^2\cos x and (b) y=sin⁡xxy = \dfrac{\sin x}{x}.

Step 1: Identify the rule needed for each expression

Part (a) is a product of two functions, so the product rule ddx(uv)=u′v+uv′\dfrac{d}{dx}(uv) = u'v + uv' applies. Part (b) is a quotient, so the quotient rule ddx ⁣(uv)=u′v−uv′v2\dfrac{d}{dx}\!\left(\dfrac{u}{v}\right) = \dfrac{u'v - uv'}{v^2} applies. Naming uu and vv before differentiating keeps the working organised.

Step 2: Differentiate the product y=x2cos⁡xy = x^2\cos x

Set u=x2u = x^2 and v=cos⁡xv = \cos x, giving u′=2xu' = 2x and v′=−sin⁡xv' = -\sin x (remember the minus sign on the derivative of cosine). Applying the product rule:

dydx=u′v+uv′=2xcos⁡x+x2(−sin⁡x)=2xcos⁡x−x2sin⁡x.\frac{dy}{dx} = u'v + uv' = 2x\cos x + x^2(-\sin x) = 2x\cos x - x^2\sin x.

Step 3: Differentiate the quotient y=sin⁡xxy = \dfrac{\sin x}{x}

Set u=sin⁡xu = \sin x and v=xv = x, giving u′=cos⁡xu' = \cos x and v′=1v' = 1. The quotient rule puts u′v−uv′u'v - uv' in the numerator and v2v^2 in the denominator:

dydx=u′v−uv′v2=xcos⁡x−sin⁡xx2.\frac{dy}{dx} = \frac{u'v - uv'}{v^2} = \frac{x\cos x - \sin x}{x^2}.

Final answers: (a) dydx=2xcos⁡x−x2sin⁡x\dfrac{dy}{dx} = 2x\cos x - x^2\sin x; (b) dydx=xcos⁡x−sin⁡xx2\dfrac{dy}{dx} = \dfrac{x\cos x - \sin x}{x^2}.

Higher derivatives and the cycle of four

Because differentiating sine and cosine cycles through four functions, the higher derivatives of sin⁡x\sin x follow a repeating pattern of period four:

ddxsin⁡x=cos⁡x,d2dx2sin⁡x=−sin⁡x,d3dx3sin⁡x=−cos⁡x,d4dx4sin⁡x=sin⁡x.\frac{d}{dx}\sin x = \cos x, \quad \frac{d^{2}}{dx^{2}}\sin x = -\sin x, \quad \frac{d^{3}}{dx^{3}}\sin x = -\cos x, \quad \frac{d^{4}}{dx^{4}}\sin x = \sin x.

This is why y=sin⁡xy = \sin x satisfies y′′=−yy'' = -y, the differential equation of simple harmonic motion. Any oscillating model built from sine and cosine inherits this self-replicating structure, which is what makes these functions the natural language for waves, vibrations and tides.

Stationary points of a trigonometric curve

To locate stationary points you still solve f′(x)=0f'(x) = 0, but now the solutions are angles and there are infinitely many of them. For y=sin⁡x+cos⁡xy = \sin x + \cos x, y′=cos⁡x−sin⁡x=0y' = \cos x - \sin x = 0 gives tan⁡x=1\tan x = 1, so x=π4+nπx = \dfrac{\pi}{4} + n\pi for integer nn. Within a stated domain such as 0≤x≤2π0 \le x \le 2\pi you list only the solutions that fall inside, here x=π4x = \dfrac{\pi}{4} (a maximum) and x=5π4x = \dfrac{5\pi}{4} (a minimum). Always respect the given domain and remember that periodic functions repeat their stationary points.

Where these are used

The derivatives of trigonometric functions feed straight into curve sketching (finding stationary points of y=sin⁡x+cos⁡xy = \sin x + \cos x, for example), into optimisation problems with periodic models, and into rates of change for anything oscillating such as a tide height or an alternating current. They also pair with integration in Unit 4, where reversing each derivative gives the corresponding antiderivative.

Dropping the minus sign or the chain factor

Two errors dominate. First, writing ddx(cos⁡x)=sin⁡x\dfrac{d}{dx}(\cos x) = \sin x without the minus; the correct result is −sin⁡x-\sin x. Second, writing ddxsin⁡(5x)=cos⁡(5x)\dfrac{d}{dx}\sin(5x) = \cos(5x) without the factor of 55; the correct result is 5cos⁡(5x)5\cos(5x). Check every trigonometric derivative for both the sign and the inner factor before moving on.

Summary

Learn the three standard derivatives, keep your calculator in radian mode, and treat the trigonometric function as just another piece when you apply the chain, product or quotient rule. The two recurring slips are the missing minus sign on the derivative of cosine and the missing inner factor from the chain rule, so build a habit of checking both every time.

Exam-style questions

Questions in the style of TASC exam questions on this dot point, each with a worked answer. They are written by ExamExplained unless tagged "Past paper"; the year shows the paper a question is modelled on.

Practice2 marks
Calculator-free. Differentiate y=3cos⁡(πx)+6tan⁡(2x)y = 3\cos(\pi x) + 6\tan(2x).
Show worked answer →

Differentiate term by term, applying the standard derivatives with the chain rule for the inner linear functions.

Term 1: ddx[3cos⁡(πx)]=3×(−sin⁡(πx))×π=−3πsin⁡(πx)\dfrac{d}{dx}\big[3\cos(\pi x)\big] = 3\times(-\sin(\pi x))\times \pi = -3\pi\sin(\pi x). The chain rule brings down the factor π\pi, the derivative of the inside πx\pi x.

Term 2: ddx[6tan⁡(2x)]=6sec⁡2(2x)×2=12sec⁡2(2x)\dfrac{d}{dx}\big[6\tan(2x)\big] = 6\sec^{2}(2x)\times 2 = 12\sec^{2}(2x). The derivative of tan⁡u\tan u is sec⁡2u\sec^{2}u, and the chain rule brings down the factor 22.

So dydx=−3πsin⁡(πx)+12sec⁡2(2x)\dfrac{dy}{dx} = -3\pi\sin(\pi x) + 12\sec^{2}(2x). One mark is for each correctly differentiated term, including the chain-rule factors. These results require xx to be in radians.

Practice2 marks
Calculator-free. Differentiate (no simplification required): y=ln⁡(4x+1)+sin⁡(3x2)y = \ln(4x + 1) + \sin(3x^{2}).
Show worked answer →

Differentiate each term using the chain rule.

Term 1: ddx[ln⁡(4x+1)]=14x+1×4=44x+1\dfrac{d}{dx}\big[\ln(4x + 1)\big] = \dfrac{1}{4x + 1}\times 4 = \dfrac{4}{4x + 1}. The derivative of ln⁡u\ln u is u′u\dfrac{u'}{u} with u=4x+1u = 4x + 1, so u′=4u' = 4.

Term 2: ddx[sin⁡(3x2)]=cos⁡(3x2)×6x=6xcos⁡(3x2)\dfrac{d}{dx}\big[\sin(3x^{2})\big] = \cos(3x^{2})\times 6x = 6x\cos(3x^{2}). The derivative of sin⁡u\sin u is cos⁡u×u′\cos u\times u', with u=3x2u = 3x^{2} giving u′=6xu' = 6x.

So dydx=44x+1+6xcos⁡(3x2)\dfrac{dy}{dx} = \dfrac{4}{4x + 1} + 6x\cos(3x^{2}). One mark per term. Markers accept the unsimplified form here, but the chain-rule factor on each term is essential.

Practice4 marks
Calculator-assumed. A tide height (in metres) is modelled by h(t)=2.5+1.8sin⁡ ⁣(πt6)h(t) = 2.5 + 1.8\sin\!\left(\dfrac{\pi t}{6}\right), where tt is the time in hours after midnight. (a) Find h′(t)h'(t). (b) Find the rate at which the tide is rising or falling at t=2t = 2, to two decimal places, and state whether it is rising or falling.
Show worked answer →

(a) Differentiate using the chain rule on the inner function πt6\dfrac{\pi t}{6}, whose derivative is π6\dfrac{\pi}{6}:

h′(t)=1.8cos⁡ ⁣(πt6)×π6=0.3πcos⁡ ⁣(πt6).h'(t) = 1.8\cos\!\left(\frac{\pi t}{6}\right)\times \frac{\pi}{6} = 0.3\pi\cos\!\left(\frac{\pi t}{6}\right).

(b) Substitute t=2t = 2, so πt6=π3\dfrac{\pi t}{6} = \dfrac{\pi}{3} and cos⁡π3=0.5\cos\dfrac{\pi}{3} = 0.5:

h′(2)=0.3π×0.5=0.15π≈0.47 m/h.h'(2) = 0.3\pi\times 0.5 = 0.15\pi \approx 0.47 \text{ m/h}.

The rate is positive, so the tide is rising at about 0.470.47 metres per hour. Markers reward the chain-rule factor π6\dfrac{\pi}{6}, the correct derivative, and the signed interpretation with units.

Practise this

Sources & how we know this

ExamExplained