Chalk−1

Math · Calculus I · Concept

The quotient rule for derivatives

To differentiate a quotient f⁡(x)⁢/⁢g⁡(x), use the quotient rule. The derivative is (f′g−fg′)⁢/g2, the bottom times the top’s derivative minus the top times the bottom’s derivative, all over the bottom squared. It holds wherever g⁡(x)≠0.

Try one — Chalk checks each line

A concrete case

Follow one small change

Take Q⁢(x)=x⁢/⁢(x2+1). At x=2 the top is 2, the bottom is 5, and the quotient is 0.4.

Nudge x up by 0.01, to 2.01. The top becomes 2.01 and the bottom becomes 5.0401. Both grew, yet the quotient fell, to about 0.398802. The change is about −0.001198, and divided by the nudge that is a rate of about −0.1198.

The top grew by 0.01, which is 0.5⁢% of 2. The bottom grew by 0.0401, about 0.8⁢% of 5. The bottom grew faster for its size, and a larger bottom makes a smaller quotient. Dividing the two rates, 1 by 4, gives +0.25, which has the wrong sign. The exact rate at x=2 is −3⁢/25=−0.12, and the quotient rule finds it.

−0.0011980.01≈−0.1198
Following a nudge of 0.01 through x⁢/⁢(x2+1) at x=2
QuantityAt x=2At x=2.01Change
Top, x22.010.01
Bottom, x2+155.04010.0401
Quotient0.40.398802−0.001198

The rule

The quotient rule

Let f and g both have a derivative at x, with g⁡(x)≠0. The derivative of f/⁢g is the bottom times the derivative of the top, minus the top times the derivative of the bottom, all over the bottom squared. Here f is the top, g is the bottom, and f′ and g′ are their derivatives.

Unlike the product rule, the order matters. The two terms of the numerator are subtracted, and swapping them changes the sign of the answer. Saying it with the bottom first, as above, keeps the order straight.

(fg)′=f′g−fg′g2

Why it works

Why the rule looks like this

Call the quotient Q, so Q=f/⁢g. Multiplying by g turns the quotient into a product, f=Q⋅g, and the product rule applies to that. It gives f′=Q′g+Qg′. Subtract Qg′ and divide by g to get Q′=(f′−Qg′)⁢/⁢g. Replace Q with f/⁢g and multiply the top and bottom by g, and the quotient rule appears.

The minus sign has a reason. When the bottom grows, the quotient shrinks, so the bottom’s rate g′ counts against the answer. The g2 comes from dividing by g twice, once to solve for Q′ and once inside Q=f/⁢g.

The case above fits. At x=2, f=2, f′=1, g=5 and g′=4. The numerator is 1⋅5−2⋅4=−3, the bottom squared is 25, and the rate is −3⁢/25.

f=Q⁢g⇒f′=Q′g+Qg′⇒Q′=f′g−fg′g2
f=Q⁢g⇒f′=Q′g+Qg′⇒Q′=f′g−fg′g2

The method

The method in five steps

Write the four pieces first, the top, the bottom and their derivatives, then assemble. Put brackets around the top before you subtract, because the minus sign applies to the whole product. The table works through y=(2⁢x−1)⁢/⁢(x+3).

Leave the denominator squared and factored. Expanding (x+3)2 only hides where the derivative is undefined.

dd⁢x2⁢x−1x+3=2⁢(x+3)−(2⁢x−1)⁢(1)(x+3)2=7(x+3)2
dd⁢x2⁢x−1x+3=2⁢(x+3)−(2⁢x−1)⁢(1)(x+3)2=7(x+3)2
The quotient rule on y =(2⁢x−1)⁢/⁢(x+3)
StepWhat to doFor y =(2⁢x−1)⁢/⁢(x+3)
1Name the top and the bottom, and where the bottom is 0top 2⁢x−1, bottom x+3, x≠−3
2Differentiate eachtop′=2, bottom′=1
3Bottom times top′, minus top times bottom′, over bottom2[2⁢(x+3)−(2⁢x−1)⁢(1)]⁢/⁢(x+3)2
4Simplify the numerator only2⁢x+6−2⁢x+1 =7
5State the answer and where it holds7⁢/⁢(x+3)2, for x≠−3

When another route is quicker

Not every fraction needs the rule. A constant bottom is a constant factor, so (x2+1)⁢/5 has derivative 2⁢x⁢/5. A bottom that is a single power of x can be divided into each term. The quotient (x3+6)⁢/x2 is x+6x−2, and the power rule finishes it.

A constant top gives a short special case. With f=c the top’s derivative is 0, the first term vanishes, and −c⋅g′/g2 is left. The derivative of 5⁢/⁢(x2+1) is −10⁢x⁢/⁢(x2+1)2.

Use the full rule when both the top and the bottom vary with x. The tangent, tanx=sinx⁢/cosx, is the classic case, and the second worked example does it.

dd⁢xcg=−cg′g2

Where it breaks

Where it breaks

The quotient and its derivative exist only where the bottom is not 0. The derivative of (x2+1)⁢/⁢(x−3) has (x−3)2 below, so it is undefined at x=3, exactly where the function is. Say so when you give the answer.

Cancelling does not restore a missing point. (x2−1)⁢/⁢(x−1) equals x+1 for every x except 1, and its derivative there is 1. At x=1 the function has no value, and so it has no derivative. Chalk marks the row x+1 ✓ and adds that the earlier line excludes x=1 and this one doesn’t.

The tempting shortcut is to divide the derivatives. For x⁢/⁢(x2+1) at x=2 that gives 1⁢/4, but the true rate is −3⁢/25. The quotient of the derivatives is not the derivative of the quotient, just as the product of the derivatives is not the derivative of the product.

(fg)′≠f′g′

Check your answer

Check your answer

A quotient rule answer is long enough to hide a sign, so test it before you trust it.

Step off by h=0.001. The ratio [f⁡(x+h)−f⁡(x)]⁢/⁢h should be close to your derivative. For x⁢/⁢(x2+1) at x=2 it is about −0.1200, against −0.12.

Differentiate another way. A one-term bottom can be divided in. Any quotient f/⁢g is also the product f⋅g−1, which the product and chain rules handle.

Check the sign. Where the top is constant and the bottom grows, the quotient falls, so the derivative there must be negative.

To have Chalk check the work, write the function on the first row of a Math box as f⁡(x)=… and each step below it as f′(x)=…. Keep the bracketed numerator as its own row before you simplify it. A sign slip in the simplifying then shows on that row alone, as ✗ with “Not equivalent.” and a value of x where the two rows differ. A reversed numerator reads ✗ with “Not the derivative of row 1.”

The derivative of (x−1)⁢/⁢(x+1) came out as −2⁢/⁢(x+1)2. Can that sign be right?

No. That derivative is negative at every x, so the quotient would fall wherever it is defined. But it is −1 at x=0 and 0 at x=1, so it rises there. The rule puts the bottom times the top’s derivative first, giving ((x+1)⋅1−(x−1)⋅1)⁢/⁢(x+1)2=2⁢/⁢(x+1)2. The minus sign came from subtracting in the wrong order, fg′−f′g.

Why the rule is true, and where it leads

The argument in Why it works assumes that Q has a derivative before finding it. A full proof starts from the reciprocal 1⁢/⁢g. Its difference quotient is −[g⁡(x+h)−g⁡(x)]⁢/⁢h divided by g⁡(x+h)⁢g⁡(x), which tends to −g′/g2 as h shrinks to 0. The product rule applied to f times 1⁢/⁢g then gives the quotient rule.

The case above hides a second way to read the rule. Divide both sides by Q=f/⁢g, wherever f and g are not 0. The rule becomes Q′/⁢Q=f′/⁢f−g′/⁢g, so the relative rate of a quotient is the top’s relative rate minus the bottom’s. At x=2 those are 1⁢/2 and 4⁢/5, the quotient’s is −0.3, and the nudge of 0.01 moved it by about −0.3⁢%. Taking logarithms to turn quotients into differences is called logarithmic differentiation.

dd⁢x1g=−g′g2Q′Q=f′f−g′g
dd⁢x1g=−g′g2Q′Q=f′f−g′g

Common mistakes

  • Reversing the numerator. Writing fg′−f′g gives the negative of the derivative, because the rule subtracts in one order only. Start with the bottom times the top’s derivative.
  • Forgetting to square the bottom. For (x2+1)⁢/⁢(x−3) the derivative’s denominator is (x−3)2, not x−3, because the bottom divides in twice.
  • Dividing the derivatives. For x⁢/⁢(x2+1) that gives 1⁢/⁢(2⁢x), which is +0.25 at x=2, but the true rate is −3⁢/25. A quotient’s rate depends on both values as well as both rates.
  • Dropping the brackets before the minus sign. 2⁢x⁢(x−3)−(x2+1) is x2−6⁢x−1, not x2−6⁢x+1, because the minus applies to every term of the top.
  • Dropping the excluded values. The derivative of (x2+1)⁢/⁢(x−3) does not exist at x=3, because the function itself is undefined there.

Key terms

Quotient rule
(u⁢/⁢v)′=(u′v−uv′)⁢/v2 where v≠0: the bottom times the derivative of the top, minus the top times the derivative of the bottom, over the bottom squared. Values that made the original denominator zero stay excluded.
Product rule
To differentiate a product, take the derivative of the first factor times the second, plus the first times the derivative of the second: (u⁢v)′=u′v+uv′.
Chain rule
The rule for differentiating a function inside another function: [f⁡(g⁡(x))]′ =f′(g⁡(x))⋅g′(x). Differentiate the outside, keeping the inside as it is, then multiply by the derivative of the inside.
Rational expression
A fraction whose numerator and denominator are polynomials. Any value that makes the original denominator zero stays excluded, even if that factor cancels when you simplify.
Domain
The set of inputs for which a function or expression is defined. In the real numbers that rules out zero denominators, negative numbers under even roots and inputs of logarithms that aren’t positive.

Work through an example

Differentiate f⁡(x)=(x2+1)⁢/⁢(x−3), then find where its tangent line is horizontal.

Differentiate a quotient of polynomials →

Differentiate tanx with the quotient rule →

Sources and scope

Authored study material. Tool results depend on the stated inputs and model assumptions.

After reading

Try it, then study it

Open the example in its tool to check steps or change values, then review the key terms as flashcards.

Check the derivative in Math See the horizontal tangents in Graph Study the 5 key terms Open worked example on a board Quotient rule in Math Reference

Your existing work stays on this device. Examples open as editable copies.