tan, cot, sec, cosec
Four integrals found by substitution, used later without proof.
tan x is a fraction
tan x is not in our table. But tan x = sin x / cos x, and the top is almost the derivative of the bottom.
Which substitution might work for ∫ tan x dx?
What this lesson covers
The idea
By substitution: ∫ tan x dx = log |sec x| + C, ∫ cot x dx = log |sin x| + C, ∫ sec x dx = log |sec x + tan x| + C, ∫ cosec x dx = log |cosec x − cot x| + C.
tan x is a fraction
tan x is not in our table. But tan x = sin x / cos x, and the top is almost the derivative of the bottom.
Which substitution might work for ∫ tan x dx?
- t = sin x
- t = cos x
- t = tan x
Find the four
Each integral is first written as a fraction. Choose t so that the top becomes dt (up to a sign).
Four standard integrals
∫ tan x dx = log |sec x| + C ∫ cot x dx = log |sin x| + C ∫ sec x dx = log |sec x + tan x| + C ∫ cosec x dx = log |cosec x − cot x| + C
Each came from a substitution that turned the integral into ∫ dt/t = log |t|. The book says these will be used later without reference.
−log |cos x| = log |1/cos x| = log |sec x|, because −log a = log (1/a).
cosec²x − cot²x = 1, so (cosec x + cot x)(cosec x − cot x) = 1. Hence 1/(cosec x + cot x) = cosec x − cot x, and −log |cosec x + cot x| = log |cosec x − cot x|.
Notes
∫ tan x dx = log |sec x| + C, ∫ cot x dx = log |sin x| + C ∫ sec x dx = log |sec x + tan x| + C ∫ cosec x dx = log |cosec x − cot x| + C
Check yourself
∫ tan x dx = ?
To find ∫ sec x dx, the book multiplies the top and the bottom by…
Exercise 7.2, Q30: ∫ sin x/(1 + cos x) dx = ?
- sec²x + C. sec²x is the derivative of tan x, not its integral.
- log |cos x| + C. The sign is wrong: d/dx log |cos x| = −tan x.
- log |sec x| + C — correct. Yes! It equals −log |cos x| + C.
- −log |sin x| + C. Its derivative is −cot x.
- sec x + tan x — correct. Yes! The top becomes sec²x + sec x tan x, which is exactly the derivative of the bottom, sec x + tan x.
- cos x. Then the integrand is 1/cos x again: nothing has changed.
- sin x. The top would be sec x sin x = tan x, and it is not the derivative of the bottom.
- tan x. The top would be sec x tan x, and it is not the derivative of the bottom, tan x (that is sec²x).
- log |1 + cos x| + C. With t = 1 + cos x, dt = −sin x dx: there is a minus sign.
- −log |1 + cos x| + C — correct. Yes! t = 1 + cos x, dt = −sin x dx, so the integral is −∫ dt/t = −log |1 + cos x| + C.
- −cos x + log |cos x| + C. We cannot split the fraction that way.
- log |sec x| + C. That is ∫ tan x dx, a different integral.