Derivative of sec x
The derivative of sec x is sec x tan x, by the chain rule (reciprocal). The second derivative is sec x tan^2 x + sec^3 x. Defined where cos x โ 0.
๐ The chain rule (reciprocal)
d/dx sec x = sec x tan x.
d/dx sec x = sec x tan x, and dยฒ/dxยฒ sec x = sec x tan2 x + sec3 x.
โ๏ธ Differentiating sec x
- Write sec x = 1 / cos x = (cos x)โ1.
- Chain rule on the reciprocal: d/dx (v)โ1 = โ(v)โ2 ยท vโฒ.
- Work it: โ(cos x)โ2 ยท (โsin x) = sin x / cos2 x = (1/cos x)(sin x/cos x) = sec x tan x.
- So d/dx sec x = sec x tan x.
๐ Where the rule comes from
sec x is 1/cos x, a reciprocal, so the chain rule on (cos x)โ1 does the work; the answer is usually written as the product sec x tan x. It is positive where sec x is increasing (0 to ฯ/2) and negative where it is decreasing, as a derivative should be.
๐ The slope of sec x at a point, and the tangent line
fโฒ(a) is the slope of the graph at x = a, and the tangent line there is y = fโฒ(a)(x โ a) + f(a). Values to four decimal places; the calculator below gives any other point.
| Point | sec x | sec x tan x | Tangent line |
|---|---|---|---|
| x = โ2 | โ2.403 | โ5.2506 | y = โ5.2506x โ 12.9043 |
| x = โ1 | 1.8508 | โ2.8825 | y = โ2.8825x โ 1.0317 |
| x = โ0.5 | 1.1395 | โ0.6225 | y = โ0.6225x + 0.8282 |
| x = 0 | 1 | 0 | y = 1 |
| x = 0.5 | 1.1395 | 0.6225 | y = 0.6225x + 0.8282 |
| x = 1 | 1.8508 | 2.8825 | y = 2.8825x โ 1.0317 |
| x = 2 | โ2.403 | 5.2506 | y = 5.2506x โ 12.9043 |
| x = 3 | โ1.0101 | 0.144 | y = 0.144x โ 1.4421 |
๐ช Trigonometric functions: the derivatives side by side
The same rule, or the same trap, runs through the whole family; each row has its own worked page.
| Function | Derivative | |
|---|---|---|
| sin x | cos x | the page |
| cos x | โsin x | the page |
| tan x | sec2 x | the page |
| csc x | โcsc x cot x | the page |
| cot x | โcsc2 x | the page |
| sin(2x) | 2 cos(2x) | the page |
| cos(2x) | โ2 sin(2x) | the page |
| sin(3x) | 3 cos(3x) | the page |
| cos(3x) | โ3 sin(3x) | the page |
| sin(x2) | 2x cos(x2) | the page |
| cos(x2) | โ2x sin(x2) | the page |
| tan(2x) | 2 sec2(2x) | the page |
โ ๏ธ The mistakes that lose the marks
- Guessing a pattern from sin and cos: the derivative of sec x is sec x tan x, which has to be derived, not remembered as a swap.
- Dropping the minus sign on the co-functions (cos, csc, cot): each of their derivatives is negative.
๐งฎ Calculator
The answer appears here, with the working in words.
โ๏ธ Five questions, answers hidden
1. Differentiate sec(2x).
Answer: 2 sec(2x) tan(2x)
2. Differentiate 3 sec x.
Answer: 3 sec x tan x
3. Differentiate xยทsec x.
Answer: sec x + xยทsec x tan x
4. What is the slope of y = sec x at x = ฯ/4?
Answer: โ2
5. Find the second derivative of sec x.
Answer: sec x tan^2 x + sec^3 x
๐ The class this belongs to
Derivatives are taught in AP Calculus AB and BC and in Calculus 1 in the US (the power, product, quotient and chain rules, trigonometric, exponential and logarithmic derivatives, implicit differentiation), in A-level Maths (Year 12 and 13, Pure) in the UK, in IB Mathematics Analysis and Approaches (Topic 5), in Class 11 and 12 in CBSE (NCERT Limits and Derivatives, Continuity and Differentiability) and in Mathematical Methods (Units 3 and 4) and Specialist Mathematics in Australia.
If this page is the homework and the method is not sticking, that is what a 1-on-1 class fixes: one tutor with a master's degree, one child, on a shared whiteboard, in your time zone, about US$10 to $13 an hour. How 1-on-1 online tutoring works.
