Skip to main content
United StatesCalculusSyllabus dot point

How do the derivatives of tangent, cotangent, secant, and cosecant follow from sine and cosine and the quotient rule?

Topic 2.10 Finding the Derivatives of Tangent, Cotangent, Secant, and/or Cosecant Functions: derive and apply the derivatives of the remaining trigonometric functions.

A focused answer to AP Calculus AB Topic 2.10, deriving the derivatives of tangent, cotangent, secant and cosecant from sine and cosine via the quotient rule, with the full table and worked examples.

Generated by Claude Opus 4.88 min answer

Reviewed by: AI editorial process; not yet individually human-reviewed

Have a quick question? Jump to the Q&A page

Jump to a section
  1. What this topic is asking
  2. The derivative table
  3. Where they come from
  4. Deriving one to trust the rest
  5. The memory pattern in full
  6. Putting it all together

What this topic is asking

The College Board (Topic 2.10) completes the trigonometric derivatives: tanx\tan x, cotx\cot x, secx\sec x, and cscx\csc x. Each one is built from sinx\sin x and cosx\cos x using the quotient rule, so this topic ties together the trig derivatives of Topic 2.7 with the quotient rule of Topic 2.9.

The derivative table

A pattern helps memory: the two "co" functions (cotangent and cosecant) have negative derivatives, mirroring how cosx\cos x has the negative derivative among sinx\sin x and cosx\cos x.

Where they come from

Deriving one to trust the rest

The exam sometimes asks you to derive one of these, which proves you understand where the table comes from. The cleanest is tanx\tan x, shown in the worked example below; the others follow the same pattern and use the Pythagorean identity sin2x+cos2x=1\sin^2 x + \cos^2 x = 1.

The memory pattern in full

There is a tidy symmetry that makes all six trig derivatives easier to hold in memory. The three "co" functions - cosine, cotangent, and cosecant - all have a negative sign in their derivatives, while sine, tangent, and secant are positive. Moreover, the derivatives pair up: ddx[tanx]=sec2x\frac{d}{dx}[\tan x] = \sec^2 x mirrors ddx[cotx]=csc2x\frac{d}{dx}[\cot x] = -\csc^2 x, and ddx[secx]=secxtanx\frac{d}{dx}[\sec x] = \sec x \tan x mirrors ddx[cscx]=cscxcotx\frac{d}{dx}[\csc x] = -\csc x \cot x. Notice that each "co" derivative is the same as its partner's but with every function replaced by its co-function and a minus sign attached. If you firmly know the tangent and secant derivatives, you can write the cotangent and cosecant derivatives by this co-function mirror, which halves what you have to memorize and gives you a self-check.

Putting it all together

With Topics 2.5 through 2.10, you can now differentiate any combination of powers, the six trig functions, exponentials and logarithms, using the power, constant-multiple, sum, product and quotient rules. This completes the fundamental differentiation toolkit of Unit 2; the chain rule for compositions comes in Unit 3. On the exam these derivatives rarely appear in isolation - they show up as one factor inside a product or quotient, or as a term in a sum - so the skill being tested is selecting the correct trig derivative quickly and combining it with the right structural rule. A frequent application is finding the slope of a tangent line to a curve like y=secxy = \sec x or y=tanxy = \tan x at a given point, which simply means evaluating the corresponding derivative there and, if asked, writing the tangent-line equation in point-slope form.

Exam-style practice questions

Practice questions written in the style of College Board exam questions on this dot point, with worked answer explainers. The year tag is the paper they imitate, not the source.

AP 2021 (style)1 marksSection I (multiple choice, no calculator). If f(x)=tanxf(x) = \tan x, then f(x)=f'(x) = (A) secxtanx\sec x \tan x (B) sec2x\sec^2 x (C) csc2x-\csc^2 x (D) cotx\cot x
Show worked answer →

The correct answer is (B), sec2x\sec^2 x.

The derivative of tanx\tan x is sec2x\sec^2 x. (Choice A is the derivative of secx\sec x; choice C is the derivative of cotx\cot x.) This follows from the quotient rule applied to tanx=sinxcosx\tan x = \frac{\sin x}{\cos x}.

AP 2023 (style)3 marksSection II (free response, no calculator). (a) Use the quotient rule on tanx=sinxcosx\tan x = \frac{\sin x}{\cos x} to derive ddx[tanx]\frac{d}{dx}[\tan x]. (b) State ddx[secx]\frac{d}{dx}[\sec x]. (c) Differentiate f(x)=xsecxf(x) = x\sec x using the product rule.
Show worked answer →

A 3-point trig-derivative question.

(a) (1 point) ddx[sinxcosx]=cosxcosxsinx(sinx)cos2x=cos2x+sin2xcos2x=1cos2x=sec2x\frac{d}{dx}\left[\frac{\sin x}{\cos x}\right] = \frac{\cos x \cos x - \sin x(-\sin x)}{\cos^2 x} = \frac{\cos^2 x + \sin^2 x}{\cos^2 x} = \frac{1}{\cos^2 x} = \sec^2 x.
(b) (1 point) ddx[secx]=secxtanx\frac{d}{dx}[\sec x] = \sec x \tan x.
(c) (1 point) Product rule with u=xu = x, v=secxv = \sec x: f(x)=(1)secx+x(secxtanx)=secx+xsecxtanxf'(x) = (1)\sec x + x(\sec x \tan x) = \sec x + x\sec x \tan x.

Related dot points

Sources & how we know this