B.2 The Quotient Rule

On this screen we're going to develop "The Quotient Rule," which we need to find the derivative of the quotient of two differentiable functions, 𝑓𝑔. This is a natural next step after we found the Product Rule on the preceding screen. With this new rule, we'll be able to find the derivative of functions like 𝑒𝑥𝑥 and sin𝜃cos𝜃. We of course have Practice Problems below for you to use to become comfortable with this new rule.

As we saw for the Product Rule, let's emphasize immediately that the naive approach does not work: the derivative of the quotient of two functions is not the quotient of the derivatives:

[𝑓(𝑥)𝑔(𝑥)]𝑓(𝑥)𝑔(𝑥)

After working to develop the Product Rule, we expect a more involved calculation than that of the naive approach. After all, we know from algebra that we can think of division as multiplication by the reciprocal of what's in the denominator: [𝑓(𝑥)𝑔(𝑥)]=[𝑓(𝑥)1𝑔(𝑥)] Hence we could think about the quotient instead as a product ... but to use this approach we need one more tool, which we'll see on the next screen.

Deriving the Quotient Rule

For now, let's stick with viewing the function 𝑓𝑔 as a quotient, and develop a Quotient Rule we can use to easily compute the derivative in terms of 𝑓, 𝑔, 𝑓 and 𝑔. We begin, of course, with the Definition of the Derivative, now applied to the quotient 𝑓𝑔 :

[𝑓(𝑥)𝑔(𝑥)]=lim0𝑓(𝑥+)𝑔(𝑥+)𝑓(𝑥)𝑔(𝑥)=lim0𝑓(𝑥+)𝑔(𝑥+)𝑔(𝑥)𝑔(𝑥)𝑓(𝑥)𝑔(𝑥)𝑔(𝑥+)𝑔(𝑥+)=lim0𝑓(𝑥+)𝑔(𝑥)𝑓(𝑥)𝑔(𝑥+)𝑔(𝑥)𝑔(𝑥+)=lim01𝑓(𝑥+)𝑔(𝑥)𝑓(𝑥)𝑔(𝑥+)𝑔(𝑥)𝑔(𝑥+)()

Let's focus briefly on what's in the dashed box, setting aside the limit and 1 for a moment. Similar to what we encountered in our development of the Product Rule, it's unclear how to proceed given this collection of terms, especially those in the numerator. But let's remember that we're aiming to develop a Quotient Rule that involves the terms 𝑓(𝑥) and 𝑔(𝑥), and so we can work to force those to appear. In fact, in our "algebra-based derivation of the Product Rule," we did just that, using an "algebraic trick" to cleverly introduce the terms we need: we subtract and add the same term 𝑓(𝑥) 𝑔(𝑥) to force the definitions of the derivatives 𝑓(𝑥) and 𝑔(𝑥) to pop up. Let's do the same thing here:

𝑓(𝑥+)𝑔(𝑥)𝑓(𝑥)𝑔(𝑥+)𝑔(𝑥)𝑔(𝑥+)=𝑓(𝑥+)𝑔(𝑥)=0, so we're good¯¯¯¯¯¯¯¯𝑓(𝑥)𝑔(𝑥)+𝑓(𝑥)𝑔(𝑥)𝑓(𝑥)𝑔(𝑥+)𝑔(𝑥)𝑔(𝑥+)=[𝑓(𝑥+)𝑓(𝑥)]𝑔(𝑥)+𝑓(𝑥)[𝑔(𝑥)𝑔(𝑥+)]𝑔(𝑥)𝑔(𝑥+)=[𝑓(𝑥+)𝑓(𝑥)]𝑔(𝑥)𝑓(𝑥)[𝑔(𝑥+)𝑔(𝑥)]𝑔(𝑥)𝑔(𝑥+)

The bits in blue and green, the first and last [...] terms in the numerator, will turn into 𝑓(𝑥) and 𝑔(𝑥) respectively when we divide by h and take the limit in a minute. Substituting back into the equation (*) where we left off above,

[𝑓(𝑥)𝑔(𝑥)]=lim01𝑓(𝑥+)𝑔(𝑥)𝑓(𝑥)𝑔(𝑥+)𝑔(𝑥)𝑔(𝑥+)()=lim01[𝑓(𝑥+)𝑓(𝑥)]𝑔(𝑥)𝑓(𝑥)[𝑔(𝑥+)𝑔(𝑥)]𝑔(𝑥)𝑔(𝑥+)=lim01[𝑓(𝑥+)𝑓(𝑥)]𝑔(𝑥)1𝑓(𝑥)[𝑔(𝑥+)𝑔(𝑥)]𝑔(𝑥)𝑔(𝑥+)=lim0[𝑓(𝑥+)𝑓(𝑥)]𝑔(𝑥)𝑓(𝑥)[𝑔(𝑥+)𝑔(𝑥)]𝑔(𝑥)𝑔(𝑥+)=[lim0[𝑓(𝑥+)𝑓(𝑥)]]𝑔(𝑥)𝑓(𝑥)[lim0[𝑔(𝑥+)𝑔(𝑥)]]lim0[𝑔(𝑥)𝑔(𝑥+)]=𝑓(𝑥)𝑔(𝑥)𝑓(𝑥)𝑔(𝑥)𝑔(𝑥)𝑔(𝑥)

As you saw, in the second-to-last line when we evaluated the limit, the pesky h in the denominator went away as part of the definition of the derivative for 𝑓 and 𝑔, because of the algebraic trick we used. We have thus developed the Quotient Rule we were after:

\begin{small}

Quotient Rule

Consider two differentiable functions 𝑓 and 𝑔, and 𝑔(𝑥) 0.
In prime notation: [𝑓(𝑥)𝑔(𝑥)]=𝑓(𝑥)𝑔(𝑥)𝑓(𝑥)𝑔(𝑥)𝑔(𝑥)2 And in Leibniz notation: 𝑑𝑑𝑥(𝑓(𝑥)𝑔(𝑥))=(𝑑𝑑𝑥𝑓(𝑥))𝑔(𝑥)𝑓(𝑥)(𝑑𝑑𝑥𝑔(𝑥))𝑔(𝑥)2
Tip icon This rule is usually harder for students to remember than, say, the Product Rule, so be on guard. Typical mistakes include switching the terms in the numerator, and forgetting to square the denominator.

Many students remember the quotient rule by thinking of the numerator as "high," the demoninator as "low," the derivative as "d," and then singing:

♫ "low d-high,
minus high d-low,
all over low-squared" ♫

♫ "low d-high, minus high d-low,
all over low-squared" ♫

Every teacher who's given an exam on this material has seen students silently mouthing that phrase — to good use! — to make sure they use the Quotient Rule correctly.

The Quotient Rule may seem more intimidating to use than the Product Rule was, but we promise that with some practice (see below!) you'll quickly get it down and have it as part of your working toolkit. Let's consider a few examples to see how it works.

Example 1: Derivative of 𝑒𝑥𝑥.

Find the derivative of 𝑒𝑥𝑥.

Solution.

Here, our "high" function in the numerator is 𝑓(𝑥) =𝑒𝑥, while our "low" function in the denominator is 𝑔(𝑥) =𝑥.

The Quotient Rule says [𝑓(𝑥)𝑔(𝑥)] =𝑓(𝑥)𝑔(𝑥)𝑓(𝑥)𝑔(𝑥)𝑔(𝑥)2, so:

[𝑒𝑥𝑥]=(𝑒𝑥)𝑥𝑒𝑥(𝑥)𝑥2=𝑒𝑥𝑥𝑒𝑥1𝑥2=𝑥𝑒𝑥𝑒𝑥𝑥2

Example 2: Derivative of tan𝜃 =sin𝜃cos𝜃.

Find the derivative of the tangent function, tan𝜃 =sin𝜃cos𝜃.

Solution.

Here, our "high" function in the numerator is 𝑓(𝜃) =sin𝜃, while our "low" function in the denominator is 𝑔(𝜃) =cos𝜃.

The Quotient Rule says [𝑓(𝜃)𝑔(𝜃)] =𝑓(𝜃)𝑔(𝜃)𝑓(𝜃)𝑔(𝜃)𝑔(𝜃)2, so: [tan𝜃]=[sin𝜃cos𝜃]=(sin𝜃)cos(𝜃)sin𝜃(cos𝜃)cos(𝜃)2[Recall (sin𝜃)=cos𝜃, (cos𝜃)=sin𝜃)]=cos𝜃cos𝜃sin𝜃(sin𝜃)(cos𝜃)2=cos2𝜃+sin2𝜃cos2𝜃[Recall cos2𝜃+sin2𝜃=1]=1cos2𝜃=sec2𝜃

That is, the derivative of the tangent function is 𝑑(tan𝜃)𝑑𝜃 =sec2𝜃.

The result of Example 2 is actually a big "trig function derivative" that we'll use on occasion, and that appears in our "Trig Function Derivatives" and "Table of Derivatives" screens that are accessible from the "Key Formulas" menu at the top of every screen:

Derivative of tan𝜃

𝑑𝑑𝜃tan𝜃=sec2𝜃

As we wrote above, while the Quotient Rule may initially look awkward to use, with practice it will feel as routine as using something like the Quadratic Formula has probably become for you. So let's practice!

Practice Problems

Practice Problem 1
If (𝑥) =𝑥2𝑒𝑥, then find (𝑥) using the Quotient Rule. (A) 𝑥(2𝑥)(B) 𝑥𝑒𝑥(2+𝑥)(C) 𝑥𝑒𝑥(2𝑥) (D) 𝑥𝑒𝑥(𝑥2)(E) None of the above
Practice Problem 2
If 𝑦 =sin𝑥𝑥, find 𝑑𝑦𝑑𝑥 using the Quotient Rule. (A) 1𝑥(cos𝑥sin𝑥2𝑥)(B) 𝑥(cos𝑥+sin𝑥𝑥) (C) 1𝑥(cos𝑥sin𝑥𝑥)(D) 1𝑥(sin𝑥+cos𝑥2𝑥) (E) None of the above
Practice Problem 3
Given 𝑓(1) =4, 𝑓(1) = 2, 𝑔(1) =12, and 𝑔(1) =1, evaluate (𝑓(𝑥)𝑔(𝑥)) at 𝑥 =1. (A) 2(B) 20(C) 12(D) 20(E) None of the above
Practice Problem 4
value of 𝑥𝑓(𝑥)𝑓(𝑥)𝑔(𝑥)𝑔(𝑥)(𝑓𝑔)(𝑥)
𝑥 = 1201-5(𝑓𝑔)( 1)
𝑥 =05-212𝑔(0)-4
𝑥 =2-1𝑓(2)3-82
𝑥 =5𝑓(5)3-2412

Given the values for 𝑔, 𝑔, 𝑓 and (𝑓𝑔) from the table, 𝑓(5) =
(A) 14(B) 18(C) 12(D ) 2(E) 8

Practice Problem 5
If 𝑓(3) =2, 𝑓(3) = 4, 𝑔(3) =3, 𝑔(3) = 12, (3) = 1, and (3) =2, find [𝑓(𝑥)𝑔(𝑥)(𝑥)] at 𝑥 =3.

(A) 149(B) 19(C) 1118(D) 239(E) None of the above
Practice Problem 6

If 𝑝(𝑥) =cos𝑥𝑥𝑒𝑥, find 𝑝(𝑥).

[Note: Since there's a product in the denominator, finding this derivative requires a combination of the Quotient and Product Rules. There are several ways to approach this. If you'd like to compare your solution to ours, in our work below we use 𝑝(𝑥) =𝑓(𝑥)𝑔(𝑥) and will apply the Product Rule to the denominator function 𝑔(𝑥).]

(A) 𝑥sin𝑥+cos𝑥𝑥2𝑒𝑥(B) 𝑥sin𝑥+cos𝑥𝑥cos𝑥(𝑥𝑒𝑥)2(C) sin𝑥+cos𝑥𝑥𝑒𝑥(D) 𝑥sin𝑥+cos𝑥+𝑥cos𝑥𝑥2𝑒𝑥 (E) None of the above

Practice Problem 7
Graphs of f and g. Both are piecewise graphs comprised of line segments.  For f: From (-10, 6) to (2, 6) the graph is horizontal. The next segment starts at (2, 6) and goes to (10, 10). The final segment goes from (10, 10) to (30, -10). For g: The first segment goes from (-8, -11) to (10, 7). The next and final segment goes from (10, 7) to (32, -4). If (𝑥) =𝑓(𝑥)𝑔(𝑥) where f and g are shown in the figure, find (0). (A) 23(B) 19(C) 3(D) 6(E) 115
Practice Problem 8
Graphs of f and g. Both are piecewise graphs comprised of line segments.  For f: The first segment starts at (-3, 6) and goes to (2, 6). The next segment goes from (2, 6) to (10, 10). The final segment goes from (10, 10) to (30, -10). For g: The first segment goes from (-4, -12) to (0, 0). The second and final segment goes from (0, 0) to (32, -8). If (𝑥) =𝑓(𝑥)𝑔(𝑥) where 𝑓 and 𝑔 are shown in the figure, find (8). (A) 516(B) 98(C) 45(D) 14(E) None of the above
Practice Problem 9
If 𝑓(𝑥) =𝑥21𝑥3, then find the equation for the line tangent to the curve 𝑦 =𝑓(𝑥) at 𝑥 = 1. (A) 𝑦=13𝑥(B) 𝑦=𝑥12(C) 𝑦=72(𝑥+3) (D) 𝑦=14(1𝑥)(E) 𝑦=18(1+𝑥)
Practice Problem 10
If 𝑓(𝑥) =sin𝑥cos𝑥𝑥21, then find the equation for the line normal (perpendicular) to the curve 𝑦 =𝑓(𝑥) at 𝑥 =0. (A) 𝑦=𝑥(B) 𝑦=1(C) 𝑦=(𝑥+1) (D) 𝑦=𝑥(E) 𝑦=1𝑥

The Upshot

  1. The Quotient Rule as applied to two differentiable functions 𝑓 and 𝑔, and 𝑔(𝑥) 0 is
    in prime notation: [𝑓(𝑥)𝑔(𝑥)]=𝑓(𝑥)𝑔(𝑥)𝑓(𝑥)𝑔(𝑥)𝑔(𝑥)2 and in Leibniz notation: 𝑑𝑑𝑥(𝑓(𝑥)𝑔(𝑥))=(𝑑𝑑𝑥𝑓(𝑥))𝑔(𝑥)𝑓(𝑥)(𝑑𝑑𝑥𝑔(𝑥))𝑔(𝑥)2 In words, =[(derivative of the numerator) × (the denominator)][ (the numerator) × (derivative of the denominator)]all divided by [the denominator, squared]
  2. The derivative of tan𝑥 is 𝑑𝑑𝑥tan𝑥 =sec2𝑥.

In the next section, we'll develop a final Big Rule that we use to compute most derivatives: the Chain Rule. We'll see what's being "chained," and will provide lots of practice so finding the derivative of complicated functions becomes automatic for you.

For now, what do you think about the Quotient Rule? Easier, harder, or the same difficulty as using the Product Rule? Let us know over on the Forum! And if you have any problems that you're working on and could use some help with, if you post we'll do our best to assist. : )