The rule in words
A fraction with functions in both the numerator and the denominator differentiates like this:
The derivative of the top times the bottom, minus the top times the derivative of the bottom. All divided by the bottom squared.
Holds where the denominator is not zero and both the top and the bottom are differentiable.
It is the product rule with a minus sign and a denominator, and those two differences are where mistakes usually happen. The order on top matters — swap the terms and you get the right number with the wrong sign.
Worked examples
Step by step. f(x) = x² / (x + 1)
- Name them: u = x², v = x + 1.
- Differentiate: u′ = 2x, v′ = 1.
- The numerator: u′v − uv′ = 2x(x + 1) − x²·1 = 2x² + 2x − x² = x² + 2x.
- The denominator: v² = (x + 1)².
- Answer: (x² + 2x) / (x + 1)²
Checked against something you already know. f(x) = x⁵ / x² = x³, whose derivative is 3x². The quotient rule gives (5x⁴·x² − x⁵·2x) / x⁴ = (5x⁶ − 2x⁶) / x⁴ = 3x⁶/x⁴ = 3x². The same answer.
Remembering the order
The term that starts with a derivative comes first: the derivative of the top times the bottom, minus the top times the derivative of the bottom. What decides it is that the differentiated numerator stands first, before the minus sign.
A way to check afterwards: put in a simple case you already know, like x⁵/x² above. If you have the terms the wrong way round the answer comes out −3x² instead of 3x², and the mistake shows immediately.
When you can avoid it
The quotient rule can often be avoided:
- A constant on the bottom. f(x) = x³/4 is the same as ¼x³, which differentiates to ¾x². No quotient rule needed — a constant denominator is just a constant factor.
- A constant on top. f(x) = 3/x² is 3x⁻², which the power rule differentiates to −6x⁻³. Rewrite the fraction as a negative power.
- The fraction cancels. (x² − x)/x is x − 1, whose derivative is 1. Simplify first, differentiate after.
Common mistakes
- The wrong order on top. A common mistake, and it gives the wrong sign.
- Plus instead of minus. The product rule has a plus, the quotient rule has a minus. They resemble each other just enough to be confused.
- Forgetting to square the denominator. Under the line is v², not v.
- Differentiating the denominator in the denominator. The denominator of the answer is the original denominator squared, not its derivative.
Frequently asked questions
What happens where the denominator is zero?
There is no derivative there, because there is no function there. f(x) = x²/(x + 1) is undefined at
x = −1, and so is its derivative. The rule holds for every x where the denominator is not zero.
Can I use the product rule instead?
Yes, if you write the fraction as a product with a negative exponent: f/g is f·g⁻¹. That then needs the
chain rule for g⁻¹, so it is rarely simpler — but it is the same mathematics and gives the same answer.
Why is the denominator squared?
It comes from putting the two fractions in the working over a common denominator. They have denominators
v and v², and their common denominator is v².