Skip to main content

Derivatives of cosec x, sec x and cot x: deriving them with the chain and quotient rules, the chain-rule forms, and using them for tangents, normals and stationary points (new in the 2024 Mathematics Advanced syllabus)

Syllabus dot point

“Use the rules of differentiation to find the derivatives of cosec⁡x\operatorname{cosec} x, sec⁡x\sec x and cot⁡x\cot x”

HSCMaths AdvancedYear 12: Calculus12 min read

Quick answer

ddxsec⁡x=sec⁡xtan⁡x\frac{d}{dx}\sec x = \sec x \tan x, ddxcosec⁡x=−cosec⁡xcot⁡x\frac{d}{dx}\operatorname{cosec} x = -\operatorname{cosec} x \cot x and ddxcot⁡x=−cosec⁡2x\frac{d}{dx}\cot x = -\operatorname{cosec}^2 x. Derive the first two with the chain rule on (cos⁡x)−1(\cos x)^{-1} and (sin⁡x)−1(\sin x)^{-1}, and the third with the quotient rule on cos⁡xsin⁡x\frac{\cos x}{\sin x}. Then use them with the chain, product and quotient rules for tangents, normals and stationary points. New in the 2024 Mathematics Advanced syllabus.

Jump to a section
  1. What this dot point is asking
  2. The answer
  3. Exam-style questions
  4. Practice questions

What this dot point is asking

This is new content in the Mathematics Advanced 11-12 Syllabus (2024), first examined in the 2027 HSC. The 2017 Advanced course defined the reciprocal trigonometric functions but only differentiated sin⁡x\sin x, cos⁡x\cos x and tan⁡x\tan x. The new Year 12 Differential calculus focus area asks you to "use the rules of differentiation to find the derivatives of cosec⁡x\operatorname{cosec} x, sec⁡x\sec x and cot⁡x\cot x", then to apply them with the chain, product and quotient rules and to "solve problems involving equations of tangents and normals to curves involving any of the functions within the scope of the Mathematics Advanced course".

So there are two jobs: derive the three results from rules you already know, and use them like any other derivative.

Note

You already know how to find the slope of sin⁡x\sin x, cos⁡x\cos x and tan⁡x\tan x. The three "reciprocal" functions are just one over those: sec⁡x\sec x is one over cos⁡x\cos x, cosec⁡x\operatorname{cosec} x is one over sin⁡x\sin x and cot⁡x\cot x is one over tan⁡x\tan x. It is like knowing how fast a tap fills a bucket and working out how fast the time-per-litre changes: you do not need a new machine, only the rules for flipping a fraction. Once you have the three new slope formulas, every question works exactly like the old ones.

The answer

Key fact

ddx(sec⁡x)=sec⁡xtan⁡x,ddx(cosec⁡x)=−cosec⁡xcot⁡x,ddx(cot⁡x)=−cosec⁡2x.\frac{d}{dx}(\sec x) = \sec x \tan x, \qquad \frac{d}{dx}(\operatorname{cosec} x) = -\operatorname{cosec} x \cot x, \qquad \frac{d}{dx}(\cot x) = -\operatorname{cosec}^2 x.

The three "co" functions (cos⁡\cos, cosec⁡\operatorname{cosec}, cot⁡\cot) all have a negative derivative formula. Each result holds wherever the function is defined: sec⁡x\sec x where cos⁡x≠0\cos x \neq 0, and cosec⁡x\operatorname{cosec} x and cot⁡x\cot x where sin⁡x≠0\sin x \neq 0.

Deriving sec⁡x\sec x and cosec⁡x\operatorname{cosec} x with the chain rule

Write each function as a power of a function you can differentiate.

sec⁡x=(cos⁡x)−1⇒ddx(sec⁡x)=−1×(cos⁡x)−2×(−sin⁡x)=sin⁡xcos⁡2x.\sec x = (\cos x)^{-1} \quad\Rightarrow\quad \frac{d}{dx}(\sec x) = -1 \times (\cos x)^{-2} \times (-\sin x) = \frac{\sin x}{\cos^2 x}.

Split the fraction into two familiar pieces:

sin⁡xcos⁡2x=1cos⁡x×sin⁡xcos⁡x=sec⁡xtan⁡x.\frac{\sin x}{\cos^2 x} = \frac{1}{\cos x} \times \frac{\sin x}{\cos x} = \sec x \tan x.

The same method gives cosec⁡x\operatorname{cosec} x:

cosec⁡x=(sin⁡x)−1⇒ddx(cosec⁡x)=−(sin⁡x)−2cos⁡x=−1sin⁡x×cos⁡xsin⁡x=−cosec⁡xcot⁡x.\operatorname{cosec} x = (\sin x)^{-1} \quad\Rightarrow\quad \frac{d}{dx}(\operatorname{cosec} x) = -(\sin x)^{-2} \cos x = -\frac{1}{\sin x} \times \frac{\cos x}{\sin x} = -\operatorname{cosec} x \cot x.

Deriving cot⁡x\cot x with the quotient rule

Write cot⁡x=cos⁡xsin⁡x\cot x = \frac{\cos x}{\sin x} with u=cos⁡xu = \cos x and v=sin⁡xv = \sin x:

ddx(cot⁡x)=vu′−uv′v2=sin⁡x(−sin⁡x)−cos⁡xcos⁡xsin⁡2x=−sin⁡2x+cos⁡2xsin⁡2x=−1sin⁡2x=−cosec⁡2x.\frac{d}{dx}(\cot x) = \frac{v u' - u v'}{v^2} = \frac{\sin x(-\sin x) - \cos x \cos x}{\sin^2 x} = -\frac{\sin^2 x + \cos^2 x}{\sin^2 x} = -\frac{1}{\sin^2 x} = -\operatorname{cosec}^2 x.

The Pythagorean identity sin⁡2x+cos⁡2x=1\sin^2 x + \cos^2 x = 1 is what collapses the numerator. (You can also treat cot⁡x=(tan⁡x)−1\cot x = (\tan x)^{-1} with the chain rule; you land on −sec⁡2xtan⁡2x-\frac{\sec^2 x}{\tan^2 x}, which simplifies to the same thing.)

What the result looks like on a graph

The gradient of y=sec⁡xy = \sec x is sec⁡xtan⁡x\sec x \tan x. At x=0x = 0 that is 1×0=01 \times 0 = 0, which matches the minimum turning point at (0,1)(0, 1). At x=π4x = \frac{\pi}{4} it is 2×1=2\sqrt{2} \times 1 = \sqrt{2}, and the gradient grows without bound as xx approaches the asymptote at π2\frac{\pi}{2}.

Gradient of y = sec xThe graph of y equals sec x between the vertical asymptotes x equals minus pi on 2 and x equals pi on 2. It has a minimum turning point at (0, 1) where the tangent is horizontal, so the gradient is 0. At x equals pi on 4 the curve passes through (pi on 4, root 2) and the tangent there has gradient sec x tan x, which is root 2. xy −π/2π/2 π/4 1 gradient 0 at (0, 1) gradient √2 y = sec x The gradient of y = sec x is sec x tan x: 0 at x = 0, √2 at x = π/4.

The chain-rule forms

Combine each result with the chain rule when the angle is a function of xx:

ddxsec⁡f(x)=f′(x)sec⁡f(x)tan⁡f(x),ddxcosec⁡f(x)=−f′(x)cosec⁡f(x)cot⁡f(x),\frac{d}{dx} \sec f(x) = f^\prime(x) \sec f(x) \tan f(x), \qquad \frac{d}{dx} \operatorname{cosec} f(x) = -f^\prime(x) \operatorname{cosec} f(x) \cot f(x),

ddxcot⁡f(x)=−f′(x)cosec⁡2f(x).\frac{d}{dx} \cot f(x) = -f^\prime(x) \operatorname{cosec}^2 f(x).

For example, ddxsec⁡(3x)=3sec⁡3xtan⁡3x\frac{d}{dx} \sec(3x) = 3 \sec 3x \tan 3x and ddxcot⁡(x2)=−2xcosec⁡2(x2)\frac{d}{dx} \cot(x^2) = -2x \operatorname{cosec}^2 (x^2).

How exam questions use these derivatives

  • "Show that ddx(sec⁡x)=sec⁡xtan⁡x\frac{d}{dx}(\sec x) = \sec x \tan x." Set out the chain rule (or quotient rule) and show the step that splits sin⁡xcos⁡2x\frac{\sin x}{\cos^2 x} into sec⁡xtan⁡x\sec x \tan x. Quoting the result earns nothing.
  • "Differentiate ..." Treat the reciprocal functions like any other: product rule for x2sec⁡xx^2 \sec x, chain rule for cosec⁡(2x+1)\operatorname{cosec}(2x + 1), quotient rule for cot⁡xx\frac{\cot x}{x}.
  • Tangents and normals. Find the point, evaluate the derivative there, then use point-gradient form (take the negative reciprocal for a normal).
  • Stationary points. Set the derivative to zero. Rewriting in sin⁡x\sin x and cos⁡x\cos x usually makes the equation easy to solve and the sign analysis clear.
  • Identities in disguise. 1+tan⁡2x=sec⁡2x1 + \tan^2 x = \sec^2 x and 1+cot⁡2x=cosec⁡2x1 + \cot^2 x = \operatorname{cosec}^2 x often turn an answer into the form the question asks for.
Worked examples

Differentiate a product and a composite

Differentiate (a) y=xcosec⁡xy = x \operatorname{cosec} x and (b) y=sec⁡(x2+1)y = \sec(x^2 + 1).

(a) Product rule. With u=xu = x and v=cosec⁡xv = \operatorname{cosec} x: dydx=1×cosec⁡x+x×(−cosec⁡xcot⁡x)=cosec⁡x (1−xcot⁡x)\frac{dy}{dx} = 1 \times \operatorname{cosec} x + x \times (-\operatorname{cosec} x \cot x) = \operatorname{cosec} x \, (1 - x \cot x).

(b) Chain rule. The inner function is x2+1x^2 + 1 with derivative 2x2x: dydx=2xsec⁡(x2+1)tan⁡(x2+1)\frac{dy}{dx} = 2x \sec(x^2 + 1) \tan(x^2 + 1).

Marker's note: in (a) the factorised form is not required unless asked, but the sign of the second term must be negative; in (b) the inner derivative 2x2x must appear.

Tangent to y=cosec⁡xy = \operatorname{cosec} x

Find the equation of the tangent to y=cosec⁡xy = \operatorname{cosec} x at x=π6x = \frac{\pi}{6}.

Point
y=1sin⁡(π/6)=2y = \frac{1}{\sin (\pi/6)} = 2, so the point is (π6,2)\left( \frac{\pi}{6}, 2 \right).
Gradient
dydx=−cosec⁡xcot⁡x=−2×3=−23\frac{dy}{dx} = -\operatorname{cosec} x \cot x = -2 \times \sqrt{3} = -2\sqrt{3} at x=π6x = \frac{\pi}{6}, since cot⁡π6=3\cot \frac{\pi}{6} = \sqrt{3}.
Tangent
y−2=−23(x−π6)y - 2 = -2\sqrt{3} \left( x - \frac{\pi}{6} \right), which rearranges to y=−23 x+3π3+2y = -2\sqrt{3}\,x + \frac{\sqrt{3}\pi}{3} + 2.

Marker's note: one mark each for the point, the gradient and the equation. Exact values (3\sqrt{3}, π\pi) are expected; do not round.

Prove the derivative of cot⁡x\cot x from tan⁡x\tan x

Given ddx(tan⁡x)=sec⁡2x\frac{d}{dx}(\tan x) = \sec^2 x, show that ddx(cot⁡x)=−cosec⁡2x\frac{d}{dx}(\cot x) = -\operatorname{cosec}^2 x.

Chain rule on (tan⁡x)−1(\tan x)^{-1}: ddx(tan⁡x)−1=−(tan⁡x)−2sec⁡2x=−sec⁡2xtan⁡2x\frac{d}{dx}(\tan x)^{-1} = -(\tan x)^{-2} \sec^2 x = -\frac{\sec^2 x}{\tan^2 x}.

Simplify: sec⁡2xtan⁡2x=1/cos⁡2xsin⁡2x/cos⁡2x=1sin⁡2x=cosec⁡2x\frac{\sec^2 x}{\tan^2 x} = \frac{1/\cos^2 x}{\sin^2 x / \cos^2 x} = \frac{1}{\sin^2 x} = \operatorname{cosec}^2 x, so the derivative is −cosec⁡2x-\operatorname{cosec}^2 x.

Marker's note: the simplification line is where the marks are. Showing sec⁡2xtan⁡2x=cosec⁡2x\frac{\sec^2 x}{\tan^2 x} = \operatorname{cosec}^2 x explicitly is essential in a "show that".

Common traps
Losing the minus sign
cosec⁡x\operatorname{cosec} x and cot⁡x\cot x both differentiate to negative expressions. Remember "co" means minus, just like cos⁡x\cos x.
Confusing cosec⁡2x\operatorname{cosec}^2 x with cosec⁡(x2)\operatorname{cosec}(x^2)
ddx(cot⁡x)=−cosec⁡2x\frac{d}{dx}(\cot x) = -\operatorname{cosec}^2 x means −(cosec⁡x)2-\left( \operatorname{cosec} x \right)^2, not the cosecant of x2x^2.
Forgetting the inner derivative
ddxsec⁡3x=3sec⁡3xtan⁡3x\frac{d}{dx} \sec 3x = 3 \sec 3x \tan 3x, not sec⁡3xtan⁡3x\sec 3x \tan 3x.
Using degrees
These results, like all trigonometric derivatives, hold only with xx in radians.
Differentiating where the function does not exist
sec⁡x\sec x has no derivative at x=π2x = \frac{\pi}{2} because the function itself is undefined there (a vertical asymptote).
Exam technique

Learn the three results and the two-line derivations: a "show that" question on one of them is an easy 2 marks if you set out the chain rule clearly. When a question mixes functions, convert to sin⁡x\sin x and cos⁡x\cos x before solving dydx=0\frac{dy}{dx} = 0, and use 1+tan⁡2x=sec⁡2x1 + \tan^2 x = \sec^2 x or 1+cot⁡2x=cosec⁡2x1 + \cot^2 x = \operatorname{cosec}^2 x when asked to show an answer in a particular form. Give exact values at standard angles.

Exam-style questions

Questions in the style of NESA 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.

HSC-style2 marks
Show that ddx(cosec⁡x)=−cosec⁡xcot⁡x\frac{d}{dx} \left( \operatorname{cosec} x \right) = -\operatorname{cosec} x \cot x.
Show worked answer →

Write cosec⁡x=(sin⁡x)−1\operatorname{cosec} x = (\sin x)^{-1} and use the chain rule:

ddx(sin⁡x)−1=−(sin⁡x)−2cos⁡x=−1sin⁡x×cos⁡xsin⁡x=−cosec⁡xcot⁡x.\frac{d}{dx} (\sin x)^{-1} = -(\sin x)^{-2} \cos x = -\frac{1}{\sin x} \times \frac{\cos x}{\sin x} = -\operatorname{cosec} x \cot x.

Markers look for the chain rule (or quotient rule on 1sin⁡x\frac{1}{\sin x}) set out correctly, and a final line that visibly splits cos⁡xsin⁡2x\frac{\cos x}{\sin^2 x} into cosec⁡xcot⁡x\operatorname{cosec} x \cot x. In a "show that" question the splitting step is the mark, so do not skip it.

HSC-style4 marks
Find the stationary point of y=tan⁡x+cot⁡xy = \tan x + \cot x for 0<x<π20 < x < \frac{\pi}{2} and determine its nature.
Show worked answer →

dydx=sec⁡2x−cosec⁡2x\frac{dy}{dx} = \sec^2 x - \operatorname{cosec}^2 x. Setting this to zero gives sec⁡2x=cosec⁡2x\sec^2 x = \operatorname{cosec}^2 x, so 1cos⁡2x=1sin⁡2x\frac{1}{\cos^2 x} = \frac{1}{\sin^2 x}, which means tan⁡2x=1\tan^2 x = 1. In 0<x<π20 < x < \frac{\pi}{2}, tan⁡x>0\tan x > 0, so tan⁡x=1\tan x = 1 and x=π4x = \frac{\pi}{4}.

Then y=tan⁡π4+cot⁡π4=1+1=2y = \tan \frac{\pi}{4} + \cot \frac{\pi}{4} = 1 + 1 = 2.

Nature: d2ydx2=2sec⁡2xtan⁡x+2cosec⁡2xcot⁡x\frac{d^2y}{dx^2} = 2 \sec^2 x \tan x + 2 \operatorname{cosec}^2 x \cot x. At x=π4x = \frac{\pi}{4} this is 2(2)(1)+2(2)(1)=8>02(2)(1) + 2(2)(1) = 8 > 0, so (π4,2)\left( \frac{\pi}{4}, 2 \right) is a minimum turning point.

Markers award one mark for the derivative, one for solving to x=π4x = \frac{\pi}{4} (rejecting tan⁡x=−1\tan x = -1 with a reason), one for y=2y = 2 and one for a valid test of nature.

Practice questions

Original practice questions graded from foundation to exam level, each with a full worked solution. Try them before revealing the solution.

foundation2 marks
Differentiate y=sec⁡x+cot⁡xy = \sec x + \cot x.
Show worked solution →

Differentiate term by term with the standard results. ddx(sec⁡x)=sec⁡xtan⁡x\frac{d}{dx}(\sec x) = \sec x \tan x and ddx(cot⁡x)=−cosec⁡2x\frac{d}{dx}(\cot x) = -\operatorname{cosec}^2 x, so

dydx=sec⁡xtan⁡x−cosec⁡2x.\frac{dy}{dx} = \sec x \tan x - \operatorname{cosec}^2 x.

Marker's note: one mark for each correct term. The usual slip is dropping the negative sign on the cot⁡x\cot x term.

foundation2 marks
Differentiate y=4cosec⁡xy = 4 \operatorname{cosec} x.
Show worked solution →

A constant multiple stays in front. Using ddx(cosec⁡x)=−cosec⁡xcot⁡x\frac{d}{dx}(\operatorname{cosec} x) = -\operatorname{cosec} x \cot x,

dydx=4×(−cosec⁡xcot⁡x)=−4cosec⁡xcot⁡x.\frac{dy}{dx} = 4 \times \left( -\operatorname{cosec} x \cot x \right) = -4 \operatorname{cosec} x \cot x.

Marker's note: one mark for the derivative of cosec⁡x\operatorname{cosec} x, one for the constant and the sign.

core2 marks
Differentiate y=cot⁡(5x−1)y = \cot(5x - 1).
Show worked solution →

Chain rule with the inner function u=5x−1u = 5x - 1. Since ddu(cot⁡u)=−cosec⁡2u\frac{d}{du}(\cot u) = -\operatorname{cosec}^2 u and dudx=5\frac{du}{dx} = 5,

dydx=−cosec⁡2(5x−1)×5=−5cosec⁡2(5x−1).\frac{dy}{dx} = -\operatorname{cosec}^2 (5x - 1) \times 5 = -5 \operatorname{cosec}^2 (5x - 1).

Marker's note: one mark for −cosec⁡2(5x−1)-\operatorname{cosec}^2(5x - 1), one for multiplying by the inner derivative 55.

core3 marks
Differentiate y=x2sec⁡xy = x^2 \sec x, giving your answer in factored form.
Show worked solution →

Product rule with u=x2u = x^2 and v=sec⁡xv = \sec x. Here u′=2xu' = 2x and v′=sec⁡xtan⁡xv' = \sec x \tan x, so

dydx=u′v+uv′=2xsec⁡x+x2sec⁡xtan⁡x.\frac{dy}{dx} = u'v + uv' = 2x \sec x + x^2 \sec x \tan x.

Factor out the common xsec⁡xx \sec x.

dydx=xsec⁡x (2+xtan⁡x).\frac{dy}{dx} = x \sec x \, (2 + x \tan x).

Marker's note: one mark for setting up the product rule, one for the correct derivative of sec⁡x\sec x, one for the factored answer.

core3 marks
Show that ddx(ln⁡(sec⁡x))=tan⁡x\frac{d}{dx} \left( \ln (\sec x) \right) = \tan x for −π2<x<π2-\frac{\pi}{2} < x < \frac{\pi}{2}. Hence evaluate ∫0π/3tan⁡x dx\int_0^{\pi/3} \tan x \, dx.
Show worked solution →

Differentiate with the chain rule. With u=sec⁡xu = \sec x, ddxln⁡u=u′u\frac{d}{dx} \ln u = \frac{u'}{u}:

ddxln⁡(sec⁡x)=sec⁡xtan⁡xsec⁡x=tan⁡x.\frac{d}{dx} \ln(\sec x) = \frac{\sec x \tan x}{\sec x} = \tan x.

On −π2<x<π2-\frac{\pi}{2} < x < \frac{\pi}{2} we have sec⁡x>0\sec x > 0, so the logarithm is defined.

Hence integrate. ln⁡(sec⁡x)\ln(\sec x) is a primitive of tan⁡x\tan x, so

∫0π/3tan⁡x dx=[ln⁡(sec⁡x)]0π/3=ln⁡(sec⁡π3)−ln⁡(sec⁡0)=ln⁡2−ln⁡1=ln⁡2.\int_0^{\pi/3} \tan x \, dx = \Big[ \ln(\sec x) \Big]_0^{\pi/3} = \ln\left( \sec \tfrac{\pi}{3} \right) - \ln(\sec 0) = \ln 2 - \ln 1 = \ln 2.

Marker's note: one mark for the derivative, one for recognising the primitive, one for ln⁡2\ln 2 (using sec⁡π3=2\sec \frac{\pi}{3} = 2).

exam4 marks
Find the equation of the normal to the curve y=sec⁡xy = \sec x at the point where x=π4x = \frac{\pi}{4}.
Show worked solution →

Find the point. y=sec⁡π4=1cos⁡(π/4)=2y = \sec \frac{\pi}{4} = \frac{1}{\cos (\pi/4)} = \sqrt{2}, so the point is (π4,2)\left( \frac{\pi}{4}, \sqrt{2} \right).

Find the gradient of the tangent. dydx=sec⁡xtan⁡x\frac{dy}{dx} = \sec x \tan x, so at x=π4x = \frac{\pi}{4},

dydx=2×1=2.\frac{dy}{dx} = \sqrt{2} \times 1 = \sqrt{2}.

The normal is perpendicular, so its gradient is −12-\frac{1}{\sqrt{2}}.

Point-gradient form.

y−2=−12(x−π4).y - \sqrt{2} = -\frac{1}{\sqrt{2}} \left( x - \frac{\pi}{4} \right).

Marker's note: one mark for the point, one for the tangent gradient 2\sqrt{2}, one for the normal gradient, one for the equation. Using the tangent gradient in the final line is the classic error.

exam5 marks
Let f(x)=sec⁡x−2cos⁡xf(x) = \sec x - 2\cos x for −π2<x<π2-\frac{\pi}{2} < x < \frac{\pi}{2}. (a) Show that f′(x)=sin⁡x(sec⁡2x+2)f^\prime(x) = \sin x \left( \sec^2 x + 2 \right). (b) Hence find the stationary point of ff and determine its nature. (c) State the range of ff.
Show worked solution →

(a) Differentiate. f′(x)=sec⁡xtan⁡x+2sin⁡xf^\prime(x) = \sec x \tan x + 2 \sin x. Write sec⁡xtan⁡x=sin⁡xcos⁡2x=sin⁡xsec⁡2x\sec x \tan x = \frac{\sin x}{\cos^2 x} = \sin x \sec^2 x, so

f′(x)=sin⁡xsec⁡2x+2sin⁡x=sin⁡x(sec⁡2x+2).f^\prime(x) = \sin x \sec^2 x + 2 \sin x = \sin x \left( \sec^2 x + 2 \right).

(b) Stationary points. sec⁡2x+2>0\sec^2 x + 2 > 0 for every xx in the domain, so f′(x)=0f^\prime(x) = 0 only when sin⁡x=0\sin x = 0, that is x=0x = 0. Then f(0)=1−2=−1f(0) = 1 - 2 = -1.

Nature: for xx slightly less than 00, sin⁡x<0\sin x < 0 so f′(x)<0f^\prime(x) < 0; for xx slightly more than 00, f′(x)>0f^\prime(x) > 0. The gradient changes from negative to positive, so (0,−1)(0, -1) is a minimum turning point.

(c) Range. As x→±π2x \to \pm \frac{\pi}{2}, sec⁡x→∞\sec x \to \infty while 2cos⁡x→02 \cos x \to 0, so f(x)→∞f(x) \to \infty. With a single minimum value of −1-1, the range is f(x)≥−1f(x) \geq -1.

Marker's note: one mark for f′f^\prime, one for rewriting it in the required form, one for x=0x = 0 and f(0)=−1f(0) = -1, one for justifying the minimum, one for the range.

exam3 marks
Given y=cot⁡xy = \cot x, show that dydx=−(1+y2)\frac{dy}{dx} = -\left( 1 + y^2 \right).
Show worked solution →

Differentiate. dydx=−cosec⁡2x\frac{dy}{dx} = -\operatorname{cosec}^2 x.

Use the Pythagorean identity 1+cot⁡2x=cosec⁡2x1 + \cot^2 x = \operatorname{cosec}^2 x (divide sin⁡2x+cos⁡2x=1\sin^2 x + \cos^2 x = 1 by sin⁡2x\sin^2 x):

dydx=−cosec⁡2x=−(1+cot⁡2x)=−(1+y2).\frac{dy}{dx} = -\operatorname{cosec}^2 x = -\left( 1 + \cot^2 x \right) = -\left( 1 + y^2 \right).

Marker's note: one mark for the derivative, one for the identity, one for substituting y=cot⁡xy = \cot x to finish.

Practise this

Sources & how we know this

ExamExplained