The Quotient Rule

The same idea, over the denominator squared.

A quotient written as a product

Let u and v be functions of x, and write u' for du/dx and v' for dv/dx. To differentiate y = u/v, write the quotient as a product: u/v = u × (1/v).

The product rule, (uv)' = u'v + uv', then applies to u and 1/v. It needs the derivative of each factor, and the one that is new is the derivative of 1/v.

The derivative of 1/v

Write v for v(x) and V for v(x + h). The change in 1/v is 1/V − 1/v = (v − V)/(v · V). Divide by h: the difference quotient is −((V − v)/h) × 1/(v · V).

As h → 0, (V − v)/h tends to v', and V tends to v. So the derivative of 1/v is −1/v² × v'. The minus sign is there because v − V is the change in v taken the other way round: when v grows, 1/v shrinks.

With v = x this gives −1/x², the power rule’s answer for x⁻¹. With v = x² + 1 it gives −2x/(x² + 1)², which is −2/4 = −0.5 at x = 1; the chord from x = 1 to x = 1.01 on y = 1/(x² + 1) has gradient −0.4975.

xy

The gold curve y = 1/x, whose gradient is −1/x². The gold line is its tangent at (1, 1), with gradient −1, and the dashed line is its tangent at (2, 0.5), with gradient −1/4.

The rule

Put this into the product rule: (u × (1/v))' = u' × (1/v) − u × (1/v²) × v'.

Over the common denominator v², the first term is u'v/v² and the second is (uv')/v². So (u/v)' = (u'v − uv')/v². In words: the derivative of the numerator times the denominator, minus the numerator times the derivative of the denominator, all over the denominator squared. It holds wherever v ≠ 0.

Check it on x³/x, which is x², with derivative 2x. Here u = x³ and v = x, so the rule gives (3x² · x − x³ · 1)/x² = 2x³/x² = 2x.

An example, checked

Take y = x²/(x + 1), for x ≠ −1. The numerator is u = x², so u' = 2x; the denominator is v = x + 1, so v' = 1.

The rule gives dy/dx = (2x(x + 1) − x² · 1)/(x + 1)² = (x² + 2x)/(x + 1)². At x = 1 that is (1 + 2)/4 = 0.75, and at x = 2 it is 8/9.

Check at x = 1 with a chord. y(1) = 1/2 = 0.5 and y(1.01) = 1.0201/2.01 = 0.5075124, so the chord gradient is 0.0075124/0.01 = 0.7512, close to 0.75.

xy

The gold curve y = x²/(x + 1) and, at (1, 0.5), the gold tangent with gradient 0.75 from (u'v − uv')/v². The dashed line has gradient −0.75, from the numerator taken in the other order: it cuts across a curve that is rising.

The order matters

In the product rule the two terms are added, so their order makes no difference. In the quotient rule they are subtracted. Swapping them gives (uv' − u'v)/v², which is exactly the negative of the derivative.

For y = x²/(x + 1) at x = 1, the swapped order gives (1 − 4)/4 = −0.75. That says the curve is falling at x = 1, but y goes from 0.5 to 0.5075 between x = 1 and x = 1.01.

One way to hold the order: a growing denominator makes the quotient smaller, so the term with v' in it is the one that is subtracted. The term with u' in it comes first.

A constant over v

When the numerator is a constant k, u' = 0 and the rule leaves (0 × v − kv')/v², which is −k/v² × v'. For y = 3/(x² + 1) that is −6x/(x² + 1)², which is −6/4 = −1.5 at x = 1.

When the denominator is a single power of x, the power rule is quicker. 3/x² = 3x⁻², which differentiates to −6x⁻³. The quotient rule gives the same: (0 · x² − 3 · 2x)/x⁴ = −6x/x⁴ = −6/x³.

The usual mistakes

Differentiating the numerator and the denominator separately. For x²/(x + 1) that gives 2x/1, which is 2 at x = 1, not 0.75.

Writing the numerator as uv' − u'v. That changes the sign of every answer.

Adding the two terms, as in the product rule. The term with v' is subtracted.

Leaving the denominator as v. The derivative of 1/v is −1/v² × v', so the denominator is v², the original denominator squared.

A drug in the blood

In the application below, a concentration is 20x/(x² + 4). The quotient rule gives its rate of change, and the numerator of that derivative, set to zero, gives the time of the greatest concentration.

Worked example: A Drug in the Blood After an Injection: the Rate of Change of a Concentration Written as a Quotient

Question After an injection, the concentration of a drug in a patient's blood is C = 20xx2 + 4 milligrams per liter, where x is the number of hours since the injection. (a) How fast is the concentration changing after 1 hour? (b) When is the concentration greatest, and what is it then?

  1. 1.Let x be the number of hours since the injection and write the concentration as C = uv, with u = 20x and v = x2 + 4.

    024602468hours since the injection, xmg per liter(1, 4)C = u/vu = 20x and v = x2+ 4
    024602468hours since the injection, xmg per liter(1, 4)C = u/vu = 20x and v = x2+ 4
    The concentration is a quotient: u = 20x over v = x2 + 4, and both parts change with time.
  2. 2.Differentiate each part: dudx = 20 and dvdx = 2x.

    024602468hours since the injection, xmg per liter(1, 4)du/dx = 20dv/dx = 2x
    024602468hours since the injection, xmg per liter(1, 4)du/dx = 20dv/dx = 2x
    Differentiate each part on its own: dudx = 20 and dvdx = 2x.
  3. 3.Apply the quotient rule: dCdx = vdudx − udvdxv2 = 20(x2 + 4) − 20x(2x)(x2 + 4)2 = 80 − 20x2(x2 + 4)2.

    024602468hours since the injection, xmg per liter(1, 4)dC/dx = (v du/dx − u dv/dx)/v2= (80 − 20x2)/(x2+ 4)2
    024602468hours since the injection, xmg per liter(1, 4)dC/dx = (v du/dx − u dv/dx)/v2= (80 − 20x2)/(x2+ 4)2
    The quotient rule gives dCdx = 80 − 20x2(x2 + 4)2.
  4. 4.(a) After 1 hour, dCdx = 80 − 2025 = 2.4, so the concentration is rising at 2.4 mg per liter each hour.

    024602468hours since the injection, xmg per litergradient 2.4(1, 4)x = 1: (80 − 20)/25 = 2.4rising 2.4 mg per liter each hour
    024602468hours since the injection, xmg per litergradient 2.4(1, 4)x = 1: (80 − 20)/25 = 2.4rising 2.4 mg per liter each hour
    (a) After 1 hour the tangent has gradient 80 − 2025 = 2.4: the concentration is rising at 2.4 mg per liter each hour.
  5. 5.The concentration stops rising where the numerator is zero: 80 − 20x2 = 0, so x2 = 4 and x = 2. A time cannot be −2, so that root is rejected.

    024602468hours since the injection, xmg per liter(1, 4)80 − 20x2= 0, so x = 2a time cannot be −2
    024602468hours since the injection, xmg per liter(1, 4)80 − 20x2= 0, so x = 2a time cannot be −2
    The derivative is zero where its numerator is: 80 − 20x2 = 0, so x = 2. The root x = −2 is not a time.
  6. 6.(b) After 2 hours the concentration is greatest, at 408 = 5 mg per liter. Check: it is 4 mg per liter after 1 hour and about 4.6 after 3 hours, both below 5.

    024602468hours since the injection, xmg per liter(2, 5)(1, 4)x = 2: C = 40/8 = 5 mg per literC is 4 at x = 1 and about 4.6 at x = 3
    024602468hours since the injection, xmg per liter(2, 5)(1, 4)x = 2: C = 40/8 = 5 mg per literC is 4 at x = 1 and about 4.6 at x = 3
    (b) The concentration is greatest after 2 hours, at 5 mg per liter, where the curve is flat.

Answer: (a) It is rising at 2.4 mg per liter each hour; (b) after 2 hours, at 5 mg per liter

Common mistakes

  • Differentiating the top and the bottom separately to get 202x. A quotient is not differentiated term by term; the quotient rule keeps the numerator and the denominator together in one expression.
  • Writing the numerator of the quotient rule as udvdx − vdudx. The order matters, and reversing it changes the sign of the whole derivative.

More rules of differentiation problems, worked step by step →

Practice The Quotient Rule in the app