Mistake Master
Finding the Derivatives of Tangent, Cotangent, Secant, and/or Cosecant Functions
Four Fractions, One Rule, and Every Co-Function Keeps the Minus
You'll learnto build all four remaining trigonometric derivatives out of the quotient rule, and to know which three of them carry a minus sign without memorising a table.
tan x is sin x over cos x, so it is a fraction, and you already have a rule for fractions. Run it and something small happens that shrinks the whole answer: the rule subtracts, the derivative of cos x is itself negative, and the two minus signs make a plus. The numerator becomes cos²x + sin²x, which is 1, and four terms of work collapse to sec²x. Do the same to cos x over sin x, to 1 over cos x and to 1 over sin x, and the other three fall out with one pattern holding every sign in place. Twelve short steps; press Next for each one.
Read all 12 steps as text
Four fractions
Four derivatives are left in the trigonometric library, and every one of them is a fraction built from sine and cosine: tan x = sin x/cos x, cot x = cos x/sin x, sec x = 1/cos x and csc x = 1/sin x.
Feed it to the quotient rule
Nothing here is new. Topic 2.9 takes a top and a bottom and returns one expression, so put u = sin x over v = cos x and write down the four ingredients before assembling anything.
Two minus signs meet
The second term is −(sin x)(−sin x), which is +sin²x, so the numerator is cos²x + sin²x. Handle only one of the two minus signs and you get cos²x − sin²x, an answer that refuses to simplify — and that is the tell.
The two squares always total 1
Draw cos²x and sin²x as two waves and stack their heights on a moving vertical: wherever the vertical is, the two pieces fill the same bar exactly. That is the Pythagorean identity, and it turns the whole numerator into 1.
The picture that checks it
sec²x is a square, so it is never negative, and since cos²x is at most 1 it is never even below 1. The lower panel sits above its own axis with a gap, and the upper panel does exactly what that predicts.
Secant beside cosecant
Both have a constant on top, so u′ = 0 kills the first term and one term survives. For sec x that term is −1(−sin x), where two minus signs cancel; for csc x it is −1(cos x), where nothing cancels and the minus lives on.
Cotangent gets it twice
cot x = cos x/sin x has u′ = −sin x as well as v′ = +cos x, so both numerator terms come out negative. The identity fires a second time and (−sin²x − cos²x)/sin²x is −1/sin²x.
Mirror images
cot x is tan(π/2 − x), which is tan x reflected. Reflection reverses every slope, so one curve climbs on every branch and the other falls on every branch, and their derivatives are forced to have opposite signs.
The whole sign rule
Every function is paired with its co-function, and the three names that begin with "co" are exactly the three whose derivatives are negative. The second half is just as strict: each result stays inside its own family.
Put them to work
A library result behaves like any other derivative and drops straight into the product and quotient rules as a factor. The left panel checks itself against a slope measured off the graph of x tan x, two calculations that share nothing.
Drop the minus and watch
A student writes d/dx[cot x] = csc²x. Two of the three things about that are right, because a cosecant is correct and squared is correct, and only the sign is wrong — but the sign is the whole content of the pattern.
One above, one below
If a sign will not come back to you, rebuild it: write the function over sine or cosine, run the rule, and look at v′. A cos x underneath brings its own minus and cancels the subtraction; a sin x underneath does not, so the minus survives.