Product, Quotient or Chain Rule?

Most derivative mistakes are not arithmetic. They come from choosing the wrong rule, or stopping after one rule when the problem needed two. This guide gives a one-question method, worked examples that mix rules, and numerical checks that prove each answer.

The thesis: name the outermost operation first, and the rule follows.

9 min read · Updated Nov 7, 2026

Why Derivatives Go Wrong Before the Algebra Starts

Most students who lose marks on derivatives do not fail at arithmetic. They pick the wrong rule, apply one rule when the problem needed two, or forget a factor the chain rule demanded. The formulas are short, yet the decision of which one to use is where the trouble begins. Typical complaints are “I know the rules but never know which one” and “my answer is close but the textbook disagrees”.

This guide gives a method for the decision, worked examples that mix rules, and numerical evidence that each answer is correct.

The Three Rules in Plain Words

Product rule. For two functions multiplied together, (f·g)′ = f′g + fg′. Differentiate one factor at a time and add. See the product rule for a proof.

Quotient rule. For one function divided by another, (f/g)′ = (f′g − fg′) ÷ g². The order in the numerator matters because of the minus sign. The quotient rule follows from the product rule.

Chain rule. For a function inside another function, (f(g(x)))′ = f′(g(x)) · g′(x). Differentiate the outside, keep the inside unchanged, then multiply by the derivative of the inside. The chain rule concerns composition, not multiplication, and that is the difference most often confused.

The Decision Method: Name the Outermost Operation

Before touching anything, say out loud what the last operation is if the expression were evaluated at a number. If the last step multiplies two parts, start with the product rule. If it divides, start with the quotient rule. If it applies a function such as sin, a power or an exponential to a whole expression, start with the chain rule.

Then repeat inside each part. This works like peeling an onion, from the outside in. The derivative calculator is helpful for checking the final answer after the peeling is done by hand.

One Rule at a Time: Three Worked Examples

Product. Differentiate x³ ln x. The last operation multiplies x³ and ln x, so (x³)′ ln x + x³ (ln x)′ = 3x² ln x + x². At x = 2, that is 12 ln 2 + 4 = 12.3178.

Quotient. Differentiate (x² + 1) ÷ (x − 2). The numerator of the rule is 2x(x − 2) − (x² + 1) = x² − 4x − 1, so the derivative is (x² − 4x − 1) ÷ (x − 2)². At x = 3, this is −4 ÷ 1 = −4.

Chain. Differentiate (3x² + 1)⁵. The outside is a fifth power and the inside is 3x² + 1, so the derivative is 5(3x² + 1)⁴ · 6x = 30x(3x² + 1)⁴. At x = 1, that is 30 × 256 = 7,680.

Two Rules in One Problem

Real exam questions rarely stop at one rule. Three combinations cover most of them.

Product with a chain inside. Differentiate x² sin 3x. The last operation is a product, so (x²)′ sin 3x + x² (sin 3x)′. The second term needs the chain rule: (sin 3x)′ = 3 cos 3x. The result is 2x sin 3x + 3x² cos 3x.

Quotient with a chain on top. Differentiate e²ˣ ÷ (x² + 1). The rule gives (2e²ˣ(x² + 1) − e²ˣ · 2x) ÷ (x² + 1)². Factoring e²ˣ gives e²ˣ(2x² − 2x + 2) ÷ (x² + 1)². At x = 0, this is 2.

Chain inside chain. Differentiate sin³(x² + 1). Peel from the outside: the cube gives 3 sin²(x² + 1), then the sine gives cos(x² + 1), then the inside gives 2x. Multiply all three: 6x sin²(x² + 1) cos(x² + 1).

Proving the Answers Numerically

Mathvelo checked each result above against the central difference, (f(x + h) − f(x − h)) ÷ 2h with h = 0.00001. Close agreement means the rule was applied correctly.

FunctionAt x =Formula resultCentral difference
x³ ln x212.3177712.31777
(x² + 1) ÷ (x − 2)3−4.00000−4.00000
(3x² + 1)⁵17,6807,680.00001
e²ˣ ÷ (x² + 1)02.000002.00000
sin³(x² + 1)1−2.06448−2.06448

The same habit works for any answer in the guide to checking a math answer. It takes one line of work and exposes a wrong rule at once.

The Chain Rule in Leibniz Notation

The chain rule is often written dy/dx = dy/du × du/dx. Here u stands for the inside expression. For y = (3x² + 1)⁵, let u = 3x² + 1. Then dy/du = 5u⁴ and du/dx = 6x. Multiplying gives 30x(3x² + 1)⁴, the same result as before. The substitution form is slower on easy problems but safer on long ones, because each piece is written down and nothing is left in the head.

A Template You Can Reuse

Step one: write the expression and name its outermost operation. Step two: write the rule’s formula with blanks. Step three: fill in each part and differentiate each part separately, using a smaller rule if needed. Step four: assemble, then simplify only at the end. Step five: test one value of x numerically. Writing the formula out first, even though it feels slow, is the habit that most reduces sign and ordering errors in the quotient rule.

Why These Rules Matter Outside Class

Economics offers a clean example of the product rule. If the price falls as quantity rises, p(q) = 50 − 0.5q, then revenue is R = q · p(q). The product rule gives R′ = p + q p′ = (50 − 0.5q) + q(−0.5) = 50 − q. At q = 20 units, marginal revenue is 30 per extra unit, which matches differentiating R = 50q − 0.5q² directly. Chain-rule thinking drives rates in physics, such as a radius that changes with time while the area depends on the radius.

Five Practice Problems With Answers

Name the outermost operation first, then check the answers below.

  1. x eˣ. Answer: (1 + x)eˣ.
  2. (2x + 1) ÷ (x² + 4). Answer: (−2x² − 2x + 8) ÷ (x² + 4)².
  3. cos(5x²). Answer: −10x sin(5x²).
  4. x√(x² + 1). Answer: (2x² + 1) ÷ √(x² + 1).
  5. ln(x² + 1) ÷ x. Answer: (2x² ÷ (x² + 1) − ln(x² + 1)) ÷ x².

Problem 4 is a product with a chain inside, problem 5 is a quotient with a chain in the numerator, and problem 3 is a pure chain. Verify each in the derivative calculator after attempting it by hand.

Where the Rules Lead Next

The same three rules power the next topics. Implicit differentiation applies the chain rule to y as a function of x, which is why a factor dy/dx appears every time y is differentiated. Higher derivatives repeat the process on the result, so a clean first derivative saves work later. Taylor series need derivatives of every order at a point, which is why a tidy method matters. The implicit differentiation calculator and the Taylor series calculator show these steps, and the integral calculator runs the process backwards.

How Long Each Type Should Take

With the method above, a single rule should take under a minute, a combined problem two to three minutes, and a chain inside a chain about three minutes. If a problem takes much longer, the usual cause is expanding too early or skipping the naming step. A useful exam habit is to write the rule’s formula in the margin first, because it prevents the most common ordering mistake and costs only five seconds. Time saved here can go to checking, which the checking guide shows how to do quickly.

The Mistakes That Cost the Most Marks

Forgetting the inner derivative. For x² sin 3x, writing cos 3x instead of 3 cos 3x gives −0.708 at x = 1, while the true value is −2.688. The error is large and the answer looks plausible.

Using the product rule on a composition. sin(x²) is not a product of sin x and x². It is sin applied to x², so the chain rule gives 2x cos(x²).

Reversing the quotient numerator. The order is f′g − fg′. Swapping it flips the sign of the whole answer.

Differentiating the denominator only. The quotient rule needs both parts. For a constant denominator, such as x³ ÷ 5, skip the rule and write (1/5)x³ to get (3/5)x².

When You Can Skip a Rule

Many quotients become simpler without the quotient rule. (x² + 3x) ÷ x equals x + 3 after dividing, so the derivative is 1. A negative power can turn a quotient into a product or a chain: 1 ÷ (x² + 1) is (x² + 1)⁻¹, and the chain rule gives −2x ÷ (x² + 1)². Expanding a small product, such as (2x + 3)(5x − 1) = 10x² + 13x − 3, may be faster than the product rule when the factors are polynomials. Skipping a rule is a skill, and it still deserves a numerical check.

What Is Overrated, Underrated and Often Wrong

Overrated: memorising a long list of formulas. Three short rules and a method cover most problems. Underrated: rewriting before differentiating. A radical becomes a power, a quotient becomes a negative power, and the work often shrinks. Often wrong: thinking the quotient rule is mandatory for every fraction. A fraction with a constant denominator or a simple common factor needs no rule at all.

Quick Answers

How do I know whether to use the product, quotient or chain rule?

Name the outermost operation. Multiplication means product, division means quotient, and a function applied to an expression means chain.

Can I use the product rule instead of the quotient rule?

Yes. Write f ÷ g as f · g⁻¹ and use the product rule with the chain rule for g⁻¹. The result is the same.

What if a problem needs more than one rule?

Start with the outermost operation, then apply the next rule to each part. Finally, check the answer numerically.

Why is my answer close but wrong?

A missing chain-rule factor is the usual cause. Compare with a central difference at one value of x.

Do these rules work for partial derivatives?

Yes, one variable at a time, treating the others as constants. The partial derivative calculator shows this.

Related Mathvelo Tools

Further Reading and Sources

A note on these guides. Every derivative was computed by hand and compared with a numerical check. Opinions are labelled as opinions. This page is educational and not professional advice.

↑