AP-CALCBC-2.9-2.10

U2.9 The Quotient Rule and Derivatives of tan, cot, sec, csc

Master the quotient rule and derive the derivatives of tan, cot, sec, and csc for AP Calculus BC, with worked examples and practice.

What you'll do in this lesson

A voice-first session with the Crimsora tutor on U2.9 The Quotient Rule and Derivatives of tan, cot, sec, csc, then targeted practice and FRQs — with the tutor adapting to where you get stuck.

What this lesson covers

You already know how to differentiate sums, products, and the basic functions sinx\sin x, cosx\cos x, exe^x, and lnx\ln x. But what about a ratio like x2+1x3\frac{x^2+1}{x-3} or the function tanx=sinxcosx\tan x = \frac{\sin x}{\cos x}? For quotients you need a new tool: the quotient rule.

This lesson does two jobs. First, you'll learn the quotient rule and how to apply it cleanly without sign errors. Second, you'll use that rule to derive the four remaining trig derivatives — tanx\tan x, cotx\cot x, secx\sec x, and cscx\csc x — and then memorize them so you can apply them instantly on the exam. These six trig derivatives show up constantly in later units, so nailing them now pays off repeatedly.

The Quotient Rule

If h(x)=f(x)g(x)h(x) = \dfrac{f(x)}{g(x)} where g(x)0g(x) \neq 0, thenh(x)=f(x)g(x)f(x)g(x)[g(x)]2.h'(x) = \frac{f'(x)g(x) - f(x)g'(x)}{[g(x)]^2}.A reliable way to remember it: "low d-high minus high d-low, over low squared," where "high" is the numerator ff and "low" is the denominator gg. The order matters — unlike the product rule, the quotient rule is not symmetric, so subtracting in the wrong order flips the sign of your entire answer.

Three habits prevent nearly all mistakes. First, write down ff, gg, ff', and gg' separately before assembling anything. Second, keep the denominator term fgf g' subtracted, not added. Third, square the whole denominator, not just part of it.

A common misconception is that (fg)=fg\left(\frac{f}{g}\right)' = \frac{f'}{g'}. This is false. Another trap: forgetting that fg=fg1\frac{f}{g} = f \cdot g^{-1} can also be differentiated with the product rule plus the chain rule, giving the same result. On the AP exam you may see a quotient that simplifies first — always check whether algebra makes the derivative easier before reaching for the rule.

Deriving the Trig Derivatives

The quotient rule lets you derive every remaining trig derivative from sinx\sin x and cosx\cos x. Take tanx=sinxcosx\tan x = \dfrac{\sin x}{\cos x}:ddxtanx=cosxcosxsinx(sinx)cos2x=cos2x+sin2xcos2x=1cos2x=sec2x.\frac{d}{dx}\tan x = \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.The Pythagorean identity sin2x+cos2x=1\sin^2 x + \cos^2 x = 1 collapses the numerator. The same method on cotx=cosxsinx\cot x = \frac{\cos x}{\sin x} gives csc2x-\csc^2 x, on secx=1cosx\sec x = \frac{1}{\cos x} gives secxtanx\sec x \tan x, and on cscx=1sinx\csc x = \frac{1}{\sin x} gives cscxcotx-\csc x \cot x.

Notice the pattern: the three "co-" functions (cos\cos, cot\cot, csc\csc) all pick up a negative sign when differentiated. This is a fast memory check. Being able to re-derive sec2x\sec^2 x from scratch is valuable insurance if your memory of the table fails under exam pressure.

The Six Trig Derivatives Table

Memorize these. They appear in derivatives, chain-rule problems, integrals (as antiderivatives), and FRQs throughout the course.
FunctionDerivative
sinx\sin xcosx\cos x
cosx\cos xsinx-\sin x
tanx\tan xsec2x\sec^2 x
cotx\cot xcsc2x-\csc^2 x
secx\sec xsecxtanx\sec x \tan x
cscx\csc xcscxcotx-\csc x \cot x
Patterns that lock these in: every co-function's derivative is negative. The derivatives of tan\tan and cot\cot involve squared secant/cosecant. The derivatives of sec\sec and csc\csc are products of the function itself with tan\tan or cot\cot respectively.

On the exam these often combine with the product, quotient, or chain rules. For instance, ddx[xsecx]=secx+xsecxtanx\frac{d}{dx}[x \sec x] = \sec x + x \sec x \tan x uses the product rule and the sec\sec derivative together. Multiple-choice questions frequently place a sign trap: expect csc2x-\csc^2 x to appear alongside +csc2x+\csc^2 x as a distractor.

How the Exam Tests This

The AP exam tests these skills in three main ways. Multiple-choice questions ask you to differentiate a quotient or a trig expression and select the matching answer; distractors are built from common sign errors and from reversing the quotient rule's numerator order. Free-response questions rarely ask for a bare quotient rule computation but often embed one inside a larger problem — for example, finding where a function has a horizontal tangent, which requires setting a quotient-rule derivative's numerator equal to zero.

A frequent setup: given h(x)=f(x)g(x)h(x) = \frac{f(x)}{g(x)} with a table of values for ff, gg, ff', gg' at a specific point, compute h(a)h'(a). This tests whether you can apply the rule numerically without any formula for the functions themselves.

Speed matters. You should not need to re-derive sec2x\sec^2 x during a timed section, but you should be able to if pressed. Practice assembling the quotient rule so that writing fgfgg2\frac{f'g - fg'}{g^2} becomes automatic, and always double-check the subtraction order and the squared denominator before finalizing.

Key terms

Quotient Rule.
The rule stating that (fg)=fgfgg2\left(\frac{f}{g}\right)' = \frac{f'g - fg'}{g^2} for g0g \neq 0.
Numerator (high).
The top function ff in a quotient fg\frac{f}{g}; its derivative ff' is multiplied by gg in the quotient rule.
Denominator (low).
The bottom function gg in a quotient; it is squared in the quotient rule's denominator.
Pythagorean Identity.
sin2x+cos2x=1\sin^2 x + \cos^2 x = 1, used to simplify the numerator when deriving tanx\tan x and secx\sec x derivatives.
Secant.
secx=1cosx\sec x = \frac{1}{\cos x}, with derivative secxtanx\sec x \tan x.
Cosecant.
cscx=1sinx\csc x = \frac{1}{\sin x}, with derivative cscxcotx-\csc x \cot x.
Co-function sign rule.
An informal pattern: the derivatives of the co-functions cos\cos, cot\cot, and csc\csc all carry a negative sign.

Worked example

Find h(x)h'(x) for h(x)=x2+1sinxh(x) = \dfrac{x^2 + 1}{\sin x}, and then evaluate the numerator-based condition for a horizontal tangent.
Identify the pieces. Let f(x)=x2+1f(x) = x^2 + 1, so f(x)=2xf'(x) = 2x. Let g(x)=sinxg(x) = \sin x, so g(x)=cosxg'(x) = \cos x.

Apply the quotient rule h=fgfgg2h' = \frac{f'g - fg'}{g^2}:h(x)=2xsinx(x2+1)cosxsin2x.h'(x) = \frac{2x \sin x - (x^2+1)\cos x}{\sin^2 x}.Double-check: the first term uses fg=2xsinxf'g = 2x\sin x, and we subtract fg=(x2+1)cosxfg' = (x^2+1)\cos x. The denominator is g2=sin2xg^2 = \sin^2 x. Order and sign are correct.

A horizontal tangent occurs where h(x)=0h'(x) = 0, which requires the numerator to equal zero (while the denominator is nonzero). So set2xsinx(x2+1)cosx=0.2x \sin x - (x^2+1)\cos x = 0.This transcendental equation would be solved numerically on a calculator-active question, but the key exam skill is recognizing that only the numerator determines where the derivative vanishes. The denominator sin2x\sin^2 x instead tells you where hh is undefined (at x=nπx = n\pi).

Practice questions

What is ddx[cotx]\frac{d}{dx}\left[\cot x\right]?
  1. sec2x\sec^2 x
  2. csc2x-\csc^2 x
  3. csc2x\csc^2 x
  4. secxtanx-\sec x \tan x

Answer: csc2x-\csc^2 x

Write cotx=cosxsinx\cot x = \frac{\cos x}{\sin x} and apply the quotient rule: (sinx)(sinx)(cosx)(cosx)sin2x=(sin2x+cos2x)sin2x=1sin2x=csc2x\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} = -\csc^2 x. The negative sign follows the co-function pattern, ruling out the positive choices.
Let h(x)=f(x)g(x)h(x) = \frac{f(x)}{g(x)}. At x=2x = 2, f(2)=3f(2) = 3, f(2)=5f'(2) = 5, g(2)=4g(2) = 4, and g(2)=1g'(2) = -1. Find h(2)h'(2).
  1. 2316\frac{23}{16}
  2. 1716\frac{17}{16}
  3. 234\frac{23}{4}
  4. 54-\frac{5}{4}

Answer: 2316\frac{23}{16}

Apply h=fgfgg2h' = \frac{f'g - fg'}{g^2} at x=2x=2: numerator =(5)(4)(3)(1)=20+3=23= (5)(4) - (3)(-1) = 20 + 3 = 23; denominator =42=16= 4^2 = 16. So h(2)=2316h'(2) = \frac{23}{16}. Watch the sign: subtracting fg=3(1)=3fg' = 3(-1) = -3 becomes +3+3.
Derive the derivative of secx\sec x using the quotient rule, showing each step.

Answer: ddxsecx=secxtanx\frac{d}{dx}\sec x = \sec x \tan x

Write secx=1cosx\sec x = \frac{1}{\cos x}, so f=1f = 1, f=0f' = 0, g=cosxg = \cos x, g=sinxg' = -\sin x. The quotient rule gives (0)(cosx)(1)(sinx)cos2x=sinxcos2x\frac{(0)(\cos x) - (1)(-\sin x)}{\cos^2 x} = \frac{\sin x}{\cos^2 x}. Split this as 1cosxsinxcosx=secxtanx\frac{1}{\cos x} \cdot \frac{\sin x}{\cos x} = \sec x \tan x. Recognizing the factoring into secx\sec x times tanx\tan x is the final step that matches the standard form.

FAQ

How do I remember the quotient rule without mixing up the order?
Use the phrase "low d-high minus high d-low, over low squared." "Low" is the denominator gg, "high" is the numerator ff. So the numerator is gffgg \cdot f' - f \cdot g', and you divide by g2g^2. The subtraction order is what makes the quotient rule different from the product rule, so always keep the fgf'g term first.
Do I need to memorize the trig derivatives or can I derive them?
Memorize all six for speed on the exam, but also know how to derive tan\tan, cot\cot, sec\sec, and csc\csc from sin\sin and cos\cos using the quotient rule. The derivation is your backup if you blank under pressure, and it reinforces the co-function negative-sign pattern.
When should I use the product rule instead of the quotient rule?
Any quotient fg\frac{f}{g} can be rewritten as fg1f \cdot g^{-1} and differentiated with the product rule plus the chain rule, giving the same answer. The quotient rule is usually faster for genuine fractions, but rewriting can be cleaner when the denominator is a simple power like xnx^n.
Why do cos, cot, and csc all have negative derivatives?
It comes from the calculus, not a coincidence. The derivative of cosx\cos x is sinx-\sin x, and that negative propagates through the quotient-rule derivations of cotx\cot x and cscx\csc x. Treat the "co-functions get a minus sign" rule as a quick memory check, not a proof.

Learn this with a teacher, not a page

The Crimsora tutor teaches U2.9 The Quotient Rule and Derivatives of tan, cot, sec, csc live — explaining on a whiteboard, asking you questions, and adapting to where you get stuck.