Kim’s Math NotesCourse index

The Quotient Rule and the Other Trig Derivatives

In what order do I subtract the terms in the quotient rule?

Use the quotient rule with formulas, tables, and graphs, know when to rewrite instead, and find the derivatives of tan, cot, sec, and csc.

Two quick checks

Bottom first, and square the bottom

Common mistake (x2x+1)′=x2(1)−(x+1)(2x)x+1

Correction (x+1)(2x)−x2(1)(x+1)2=x2+2x(x+1)2

Rewrite instead

Common mistake (x4+13)′=3(4x3)−(x4+1)(0)9: right, but long, with more places to slip.

Correction x4+13=13x4+13, so the derivative is 43x3.

Only the co-functions get a minus

Common mistake (secx)′=−secxtanx and (cotx)′=csc2x.

Correction (secx)′=secxtanx and (cotx)′=−csc2x.

Build the quotient rule

Last time was the product rule. Today, it's a fraction, f over g, and its slope. Do we need a brand-new rule to memorize? Watch: we can build it out of the product rule. Call the fraction q, for quotient.

q is f over g, so f is q times g. That's a product.

Watch this part of the concept lesson

Read the rest of this scene

We'll assume q has a derivative, and g is not zero. Differentiate both sides with the product rule. f prime equals q prime g, plus q g prime. How do we get q prime out of that? Move q g prime over.

q prime g equals f prime minus q g prime. Multiply both sides by g, so no fraction sits inside a fraction. q prime g squared equals g f prime, minus q g times g prime. And q g is just f. So q prime g squared is g f prime, minus f g prime.

Divide by g squared. That's the quotient rule. f over g, prime, is g f prime minus f g prime, all over g squared, with g not zero. Here's a first use: one over x. x times zero, minus one times one, over x squared, is negative one over x squared.

Same as the power rule.

Order and rewriting

The order matters. The bottom stays first, and the top gets the prime first: g f prime. Swap the two terms on top, and the sign flips. And square the bottom. Some classes chant it: low d-high, minus high d-low, over low squared. Same rule.

Now, here's when not to use it.

Watch this part of the concept lesson

Read the rest of this scene

If the bottom is a number, or a single power of x, rewrite first. x cubed minus five, over four, is one fourth x cubed, minus five fourths. Its derivative is three fourths x squared. Five over root x is five x to the negative one half, so its derivative is negative five halves, x to the negative three halves. A sum on the bottom can't be split like that.

That's when you need the quotient rule.

Problem 1

Example one. f and g are differentiable, with values in the table. q of x is f of x over g of x. Find q prime of two. There are four choices.

The plan: frame first, then the x equals two column. q prime of two is g of two, f prime of two, minus f of two, g prime of two, all over g of two, squared. From the two column: three times negative one, minus six times two, over three squared. Negative three minus twelve is negative fifteen, over nine, negative five thirds. So the answer is B.

The workbook has more table problems.

Watch this part of the concept lesson

Read the rest of this scene

Here's the slip: the prime goes on the bottom first. Six times two, minus three times negative one, over nine. Writing f prime g instead is fine, since a product never cares about order. Subtraction does, so the top gets the prime first, while the bottom waits. g f prime, minus f g prime.

And keep the bottom squared.

Problem 2

Example two. In part a, use tangent equals sine over cosine to show its derivative is secant squared. In part b, do cotangent the same way. In part c, find the tangent line to y equals tangent x at pi over four. The plan: write sine over cosine, use the rule, then sine squared plus cosine squared. Part a. Tangent x, prime, is sine x over cosine x, prime.

Bottom first: cosine x times cosine x, minus sine x times negative sine x, over cosine squared x.

Watch this part of the concept lesson

Read the rest of this scene

Minus times minus is plus. Cosine squared x plus sine squared x, over cosine squared x. The top is one. One over cosine squared is secant squared x, wherever cosine x isn't zero. Your turn: the same move is in your workbook.

Part b, cotangent: cosine over sine. Sine x times negative sine x, minus cosine x times cosine x, over sine squared x. That's negative, sine squared plus cosine squared, over sine squared: negative one over sine squared. Negative cosecant squared x, wherever sine x isn't zero. One like this waits in your workbook.

Part c. The line is y equals f of a, plus f prime of a, times x minus a. f of pi over four is tangent of pi over four, one. f prime of pi over four is secant squared, one over cosine squared of pi over four. Cosine of pi over four is root two over two, and root two over two, squared, is two fourths, one half. One over one half is two. That's the slope.

So the line is y equals one, plus two times x minus pi over four. The workbook has the next one.

All six trig derivatives

Secant is one over cosine. Secant x, prime, is cosine x times zero, minus one times negative sine x, over cosine squared x. That's sine x over cosine squared x: one over cosine x, times sine x over cosine x. That's secant x tangent x. Cosecant is one over sine.

Sine x times zero, minus one times cosine x, over sine squared x, which is negative cosecant x cotangent x.

Watch this part of the concept lesson

Read the rest of this scene

Now all six, in pairs. Sine goes to cosine, and cosine goes to negative sine. Tangent goes to secant squared, and cotangent to negative cosecant squared. Secant goes to secant tangent, and cosecant to negative cosecant cotangent. The co- functions: swap to the co-name, and add a minus in front.

Problem 3

Example three. f of x is x minus one, over x plus one. Find f prime, and then all points on the graph where the tangent line is parallel to y equals two x. The plan: there's a sum on the bottom, so the quotient rule, then f prime equals two. First, x can't be negative one.

Part a gives x plus one, times one, minus x minus one, times one, over x plus one, squared.

Watch this part of the concept lesson

Read the rest of this scene

Keep the parentheses. x plus one, minus x, plus one: the x terms drop out, leaving two. Part b. Parallel to y equals two x means slope two. Two over x plus one, squared, equals two. So x plus one, squared, is one: x plus one is one, or negative one.

x is zero or negative two. Neither is negative one, so both are allowed. We want points, not just x values. f of zero is negative one over one, negative one. f of negative two is negative three over negative one, three.

So the points are zero, negative one, and negative two, three. One on each branch, with two parallel tangent lines. Your workbook has more slope problems.

Worked examples

Example 1

f, g are differentiable; values are in the table. Let q(x)=f(x)g(x). Find q′(2).
x25
f(x)6-1
f′(x)-14
g(x)32
g′(x)2-3
  1. 53
  2. −53
  3. −5
  4. −12
Hint

Bottom first. Then square the bottom.

Answer and solution

Answer B. −53

  1. Type: a quotient from a table. Method: the structure first, then the numbers from the x = 2 column.
  2. q′(2)=g(2)f′(2)−f(2)g′(2)[g(2)]2=(3)(−1)−(6)(2)32=−159=−53
  3. Answer B.

Example 2

(a) Use tanx=sinxcosx to show (tanx)′=sec2x.
(b) In the same way, find (cotx)′.
(c) Write an equation of the tangent line to y=tanx at x=π4.
Hint

Use cos²x + sin²x = 1 on the top.

Answer and solution
  1. shown: the top is cos2x+sin2x=1, so sec2x
  2. −csc2x
  3. y=1+2(x−π/4)
  1. Type: a trig derivative from sin and cos. Method: write the quotient, use the quotient rule, then the identity cos^2 x + sin^2 x = 1.
  2. ddxsinxcosx=cosx⋅cosx−sinx⋅(−sinx)cos2x=cos2x+sin2xcos2x=1cos2x=sec2x
  3. ddxcosxsinx=sinx⋅(−sinx)−cosx⋅cosxsin2x=−1sin2x=−csc2x
  4. (b) The minus comes from the derivative of cos x. (c) Point: tan(pi/4) = 1. Slope: sec^2(pi/4) = 1/cos^2(pi/4) = 1/(1/2) = 2.
  5. y=1+2(x−π4)

Example 3

Let f(x)=x−1x+1.
(a) Find f′(x).
(b) Find all points on the graph of f where the tangent line is parallel to y=2x.
Hint

Plan: bottom is a sum → quotient rule → f′(x)=2

Answer and solution
  1. 2/(x+1)^2
  2. (0, -1), (-2, 3)
  1. f′(x)=(x+1)(1)−(x−1)(1)(x+1)2=2(x+1)2
  2. Parallel to y=2x means slope 2: 2(x+1)2=2, so (x+1)2=1, x=0 or x=−2.
  3. f(0)=−1, f(−2)=3: the points (0,−1) and (−2,3).

Workbook

Problem 1

Let y=xx2+4. (a) Find dydx. (b) At what positive value of x is the line tangent to the graph horizontal?
Hint

Quotient rule: bottom first. A horizontal tangent needs the top of y′ to be 0.

Answer and solution
  1. dydx=4−x2(x2+4)2
  2. 2
  1. dydx=(x2+4)(1)−x(2x)(x2+4)2=4−x2(x2+4)2
  2. (b) Horizontal tangent: dy/dx = 0. The bottom is never 0, so the top must be 0: 4 - x^2 = 0, x = 2 or x = -2. The positive value is x = 2.

Common mistake Setting the bottom of y' equal to 0.

Watch the worked solution to Problem 1

Problem 2

Let g(x)=5x3−2x2. (a) Rewrite g(x) without a fraction and find g′(x). (b) Find g′(−1). (c) Check your answer with the quotient rule.
Hint

Divide each term by x2 first: 5x−2x−2.

Answer and solution
  1. g(x)=5x−2x−2, g′(x)=5+4x−3
  2. 1
  3. 1, the same as (b)
  1. (a) g(x) = 5x^3/x^2 - 2/x^2 = 5x - 2x^{-2}. Then g'(x) = 5 + 4x^{-3}.
  2. (b) g'(-1) = 5 + 4/(-1) = 1.
  3. x2(15x2)−(5x3−2)(2x)x4|x=−1=15−(−7)(−2)1=1

Common mistake Using the quotient rule and losing a sign.

Watch the worked solution to Problem 2

Problem 3

Find the slope of the graph of y=secx+cotx at x=π4.
Hint

Use (secx)′=secxtanx and (cotx)′=−csc2x.

Answer and solution

Answer 2−2

  1. dydx=secxtanx−csc2x
  2. At x = pi/4: sec(pi/4) = sqrt(2), tan(pi/4) = 1, csc^2(pi/4) = 2.
  3. dydx|x=π/4=2⋅1−2=2−2

Common mistake Forgetting the minus on (cot x)'.

Watch the worked solution to Problem 3

Problem 4

The graphs of f and g are made of line segments. If q(x)=f(x)g(x), what is the value of q′(4)?
xy123451234
Graph of f(x)
xy123451234
Graph of g(x)
  1. 78
  2. −78
  3. −74
  4. −2
Hint

Read heights and segment slopes at x=4. Bottom first, and square the bottom.

Answer and solution

Answer B. −78

  1. From the graphs: f(4) = 3 and f'(4) = -1 (the segment from (3, 4) to (6, 1)); g(4) = 2 and g'(4) = 1/2 (the segment from (2, 1) to (6, 3)).
  2. q′(4)=g(4)f′(4)−f(4)g′(4)[g(4)]2=(2)(−1)−(3)(12)4=−78
  3. Answer B.

Common mistake Swapping the order on top, or not squaring the bottom.

Watch the worked solution to Problem 4

Problem 5

If f(x)=cscx, then f′(π6)=
  1. −23
  2. 23
  3. −4
  4. 23
Hint

(cscx)′=−cscxcotx: the co-function gets a minus.

Answer and solution

Answer A. −23

  1. f′(x)=−cscxcotx
  2. csc(pi/6) = 2 and cot(pi/6) = sqrt(3), so f'(pi/6) = -2 sqrt(3).
  3. Answer A.

Common mistake Dropping the minus of the co-function.

Watch the worked solution to Problem 5

Problem 6

Which of the following is an equation of the line tangent to the graph of y=secx at x=π3?
  1. y=23(x−π3)
  2. y=2+23(x−π3)
  3. y=2+4(x−π3)
  4. y=2−23(x−π3)
Hint

Point (π3,secπ3), slope secxtanx at π3.

Answer and solution

Answer B. y=2+23(x−π3)

  1. Point: sec(pi/3) = 1/cos(pi/3) = 2. Slope: (sec x)' = sec x tan x, so 2 * sqrt(3) = 2 sqrt(3).
  2. y=2+23(x−π3)
  3. Answer B.

Common mistake Leaving out the point (π/3, 2).

Watch the worked solution to Problem 6

Problem 7

Making x tables costs C(x) dollars (values of C and C′ in the table). The average cost per table is A(x)=C(x)x.
x (tables)4050
C(x) (dollars)8801000
C′(x) (dollars per table)1012
  1. Find A′(50). Show the work and units.
  2. Explain A′(50) in context.
  3. Find A(50). Why does C′(50)<A(50) give A′(50)<0?
Hint

Quotient rule with C and x: A′=xC′−Cx2.

Answer and solution
  1. −0.16 dollar per table, per table
  2. when 50 tables are made, the average cost per table is decreasing at a rate of 0.16 dollar per table, for each additional table
  3. A(50)=20; A′(50)=(C′(50)−A(50))/50<0 because 12<20
  1. (a) A(x) = C(x)/x: top C(x), bottom x, with (x)' = 1. The structure first.
  2. A′(50)=50C′(50)−C(50)⋅1502=600−10002500=−4002500=−0.16
  3. Units: dollars per table, per table. (b) When 50 tables are made, the average cost per table is decreasing at 0.16 dollar per table for each additional table.
  4. (c) A(50) = 1000/50 = 20 dollars per table. Divide the top and bottom by 50: A'(50) = (C'(50) - A(50))/50 = (12 - 20)/50 < 0. At x = 50, C'(50) = 12 dollars per table is about the cost of one more table (the marginal cost); it is below the average cost, 20 dollars per table, so the average cost is decreasing.

Common mistake Units: dollars per table, per table.

Watch the worked solution to Problem 7

Problem 8

Let f(x)=sinx1+cosx for −π<x<π.
  1. Show that f′(x)=11+cosx.
  2. Write an equation of the line tangent to the graph of f at x=π2.
  3. Explain why every line tangent to the graph of f has a positive slope.
Hint

Simplify the top with sin2x+cos2x=1.

Answer and solution
  1. shown: the top simplifies to 1+cosx
  2. y=1+(x−π/2)
  3. cosx>−1 on (−π,π), so 1+cosx>0 and f′(x)>0
  1. (1+cosx)cosx−sinx(−sinx)(1+cosx)2=cosx+cos2x+sin2x(1+cosx)2=cosx+1(1+cosx)2
  2. (a) Use cos^2 x + sin^2 x = 1, then cancel one factor 1 + cos x (it is not 0 for -pi < x < pi).
  3. (b) f(pi/2) = 1/(1 + 0) = 1 and f'(pi/2) = 1/(1 + 0) = 1: y = 1 + (x - pi/2).
  4. (c) On -pi < x < pi, cos x > -1, so 1 + cos x > 0. The slope f'(x) = 1/(1 + cos x) is positive everywhere.

Common mistake Not simplifying the top with sin^2 x + cos^2 x = 1.

Watch the worked solution to Problem 8

Problem 9

Let f(x)=cotxx. A calculator may be used.
  1. Your calculator has no cot key. Enter cotx as 1tanx and find f′(1) to three decimal places.
  2. Check your answer to (a) with the quotient rule: write f′(1) exactly.
Hint

1tanx is not tan−1x: the tan−1 key is a different function.

Answer and solution
  1. f′(1)≈−2.054
  2. f′(1)=(1)(−csc21)−(cot1)(1)12=−csc21−cot1
  1. Enter Y1 = 1/(tan(X)·X) and take its numerical derivative at X = 1.
  2. f′(1)≈−2.054
  3. f′(x)=x(−csc2x)−cotx⋅1x2,f′(1)=−csc21−cot1≈−2.054

Common mistake Entering tan^{-1} (the inverse) instead of 1/tan.

Watch the worked solution to Problem 9