On this concept: Formula

Not sure which lesson to do first? Find your level and get a plan →

Math · Introduction to Calculus · Grade 9-12

Differentiation Rules

Differentiation rules are memorized formulas — power, product, quotient — that give a derivative without setting up the limit each time.

Power: ddx[xn]=nxn−1. Product: (fg)′=f′g+fg′. Quotient: (fg)′=f′g−fg′g2.

Quick Answer

Differentiation rules are memorized formulas — power, product, quotient — that give a derivative without setting up the limit each time. Use them whenever you need the derivative of a polynomial, a product such as x2sin⁡x, or a fraction such as xx+1. The power rule turns xn into nxn−1, the product rule gives (fg)′=f′g+fg′, and the quotient rule gives (fg)′=f′g−fg′g2. Along with sums and constant multiples, these cover most functions you meet before the chain rule.

Why This Matters

The limit definition takes half a page even for x3; the rules do the same job in one line, so your effort can go into what the derivative means: a velocity, a marginal cost, the location of a maximum. Picking the wrong rule, such as multiplying two derivatives for a product, gives answers that look plausible and are wrong, so matching the rule to the shape matters as much as the formulas.

Intuitive Explanation

Work out a few derivatives from the limit definition and a pattern appears: x2 gives 2x, x3 gives 3x2, x4 gives 4x3. The exponent comes down in front and the power drops by one. That is the power rule, ddxxn=nxn−1, and it holds for other exponents too: x=x1/2 has derivative 12x−1/2=12x. Sums and constant multiples go term by term, so 5x3−2x+7 has derivative 15x2−2.

Products need more care. Picture a rectangle with sides f and g, so its area is fg. If f grows by a little Δf and g by Δg, the area gains a strip Δf⋅g along one side, a strip f⋅Δg along the other, and a tiny corner Δf⋅Δg that vanishes as the changes shrink. So (fg)′=f′g+fg′: each factor's change times the other factor.

The tempting shortcut (fg)′=f′g′ fails a one-line test: x⋅x=x2 has derivative 2x, but f′g′=1⋅1=1. The power rule has a boundary too. (x+1)3 looks like a power, but its base is a function of x rather than x itself, so it needs the chain rule. The bare power rule happens to give the right 3(x+1)2 only because x+1 has derivative 1; for (2x+1)3 it misses a factor of 2.

Think of it like this. The rules work like a kitchen conversion chart: once you know a cup of flour weighs about 120 grams, you stop weighing cups. Each rule is a result worked out once from the limit definition and reused forever. Like any chart, it only helps if you read the right row: a product is not a power, and a fraction is not a product.

Core idea. Differentiation rules are standard formulas (power, product, quotient) that compute derivatives of common function forms directly.


When to Use

Use the rules whenever you need a derivative and can name the expression's shape: a power of x or a polynomial (power rule, term by term), two factors multiplied (product rule), or one function divided by another (quotient rule). Ask which operation is done last: in x2sin⁡x it is multiplication, in xx+1 division. If one function sits inside another, as in (3x+1)5 or sin⁡(x2), use the chain rule. If a problem asks you to show where a derivative comes from, use the limit definition.

Tip. Ask: Can I name the expression's shape (power, product, or quotient) and apply the matching formula instead of the limit definition?

How to Recognize It

Find the operation you would do last if you evaluated the expression for a number, because that operation decides which rule comes first.

  1. Is the expression a sum of terms like 4x3−2x+7, each a number times a power of plain x?

    Yes means the power rule term by term, giving 12x2−2; a constant on its own contributes 0. If a term is a power of a bracket rather than of x, such as (2x+1)3, you need the chain rule.

  2. Are two expressions that both contain x multiplied together, as in x3ex?

    Yes means the product rule, f′g+fg′, never the product of the two derivatives. If one factor is just a number, as in 5sin⁡x, it is a constant multiple: keep the 5 and differentiate the rest.

  3. Does x appear in a denominator?

    Usually that means the quotient rule. When the top is only a number, as in 3x2, rewriting it as 3x−2 and using the power rule is quicker and gives −6x−3.

  4. Does some piece contain another function inside it, like x2+1 or sin⁡3x?

    Yes means the chain rule joins in, often alongside these rules: x2sin⁡3x needs the product rule for the outside and the chain rule for sin⁡3x. No means these rules finish the job alone.

Differentiation Rules compared with Chain rule, Limit definition, and Product rule vs just multiplying derivatives

Each row is a route to a derivative, and the wrong route still produces an answer. Ask which operation the expression does last: a power, product or quotient uses these rules, a function of a function needs the chain rule, and a proof needs the limit definition.

Differentiation Rules

Meaning
Use this when you need a derivative fast and the expression matches a known shape (power, product, or quotient).
Key test
Can I name the expression's shape (power, product, or quotient) and apply the matching formula instead of the limit definition?
Formula
Power: ddx[xn]=nxn−1. Product: (fg)′=f′g+fg′. Quotient: (fg)′=f′g−fg′g2.
Example
Differentiate xx+1.

Chain rule

Meaning
Differentiates a composite (function inside a function), multiplying by the inner derivative.
Key test
Use when one function is plugged into another, like sin⁡(x2), not merely multiplied.
Formula
f′(g(x))⋅g′(x)
Example
(x2+1)5 is a composite, not a product

Limit definition

Meaning
Derives the derivative from scratch as a limit of difference quotients.
Key test
Use when proving a rule or when no standard formula applies.
Formula
lim⁡h→0f(x+h)−f(x)h
Example
Deriving why ddxx2=2x

Product rule vs just multiplying derivatives

Meaning
The product rule is f′g+fg′, not the (wrong) f′g′.
Key test
Use the full product rule whenever a derivative of a product is needed.
Formula
(fg)′=f′g+fg′
Example
ddx(x⋅ex)=ex+xex, not 1⋅ex

Formula & Notation

Power: ddx[xn]=nxn−1. Product: (fg)′=f′g+fg′. Quotient: (fg)′=f′g−fg′g2.
Power: ddx[xn]=nxn−1 for n∈R. Product: (fg)′(x)=f′(x)g(x)+f(x)g′(x). Quotient: (fg)′(x)=f′(x)g(x)−f(x)g′(x)[g(x)]2,  g(x)≠0.

How to read it: (fg)′ for product rule, (fg)′ for quotient rule. Prime notation f′ or Leibniz notation ddx[f].

Worked Examples

Example 1 — Quotient rule

Easy

Differentiate xx+1.
Show the steps and the answer
  1. Name the parts: top f=x, bottom g=x+1, with f′=1 and g′=1.

    One function divided by another is the shape the quotient rule f′g−fg′g2 is built for.

  2. Substitute: (1)(x+1)−(x)(1)(x+1)2.

    Order matters: the top's derivative times the bottom comes first, because the minus sign makes the rule lopsided.

  3. Simplify the numerator: x+1−x=1, giving 1(x+1)2.

    Leave the denominator squared; expanding it would only hide the simple form.

  4. Check the sign: 1(x+1)2>0 for every x≠−1.

    So the function always increases, which fits its values 0, 12, 23 at x=0, 1, 2.

Answer: 1(x+1)2

Takeaway: Quotient rule: the top's derivative times the bottom, minus the top times the bottom's derivative, all over the bottom squared.

Example 2 — A composite, not a product

Standard

Differentiate (x+1)3.
Show the steps and the answer
  1. Look at the base: (x+1)3 is a power of x+1, not of x.

    The power rule is stated for x itself; a base that is its own function makes this a composite.

  2. Apply the chain rule: the outer u3 gives 3u2, the inner u=x+1 gives u′=1, so the result is 3(x+1)2⋅1.

    A composite's derivative is the outer derivative evaluated at the inner, times the inner derivative.

  3. Confirm by expanding: (x+1)3=x3+3x2+3x+1, with derivative 3x2+6x+3=3(x+1)2.

    Expanding turns the composite into a polynomial the power rule can handle, and the two answers agree.

  4. See why the shortcut looked right: the inner derivative here is 1.

    For (2x+1)3 the bare power rule would give 3(2x+1)2, but the true derivative is 6(2x+1)2.

Answer: 3(x+1)2

Takeaway: When the base of a power is a function of x, multiply by the base's derivative; skipping it only looks harmless when that derivative is 1.

Example 3 — Find the mistake: a product of derivatives

Application

Differentiate y=x3(2x+5). Ana writes: "y′=3x2⋅2=6x2." Find the mistake and correct it.
Show the steps and the answer
  1. Name the shape: x3 times (2x+5), a product of two functions.

    Ana multiplied the two derivatives, 3x2 and 2, and no rule says to do that.

  2. Apply (fg)′=f′g+fg′ with f=x3 and g=2x+5: 3x2(2x+5)+x3⋅2.

    Each factor changes while the other holds still, and the two effects add.

  3. Simplify: 6x3+15x2+2x3=8x3+15x2.

    Collect the two x3 terms.

  4. Check by expanding first: y=2x4+5x3, so y′=8x3+15x2.

    Both methods agree. At x=1 the true slope is 23, while Ana's 6x2 gives 6.

Answer: y′=8x3+15x2

Takeaway: The derivative of a product is not the product of the derivatives; use f′g+fg′, or expand first when that is easy.

Where You'll See It

  • Setting a coffee price

    A cafe sells q=400−50p cups a day at price p dollars, so revenue is R=p(400−50p). The product rule gives R′=(400−50p)+p(−50)=400−100p, which is zero at p=4. At $4 the cafe sells 200 cups for $800; the two terms show the trade-off between more money per cup and fewer cups sold.

  • Average cost falling as production grows

    With $2,000 of fixed costs and $5 per item, the average cost of q items is A(q)=2000+5qq. The quotient rule gives A′(q)=5q−(2000+5q)q2=−2000q2. At q=100 that is −0.2: each extra item lowers the average cost by about 20 cents.

  • A ripple spreading on a pond

    A circular ripple of radius r encloses area A=πr2, and the power rule gives dAdr=2πr, the circumference. At r=10 cm the area grows by about 62.8 cm² for each extra centimetre of radius: the new area is a thin ring around the edge.

Common Mistakes

  1. The slip: Thinking the derivative of a product is the product of the derivatives

    Instead: it is (fg)′=f′g+fg′, not f′g′.

  2. The slip: Forgetting to lower the exponent in the power rule

    Instead: ddxxn=nxn−1 brings the power down as a coefficient and subtracts one.

  3. The slip: Swapping the quotient rule's order

    Instead: it is f′g−fg′g2 (low-d-high minus high-d-low), and the minus sign and order matter.


Mini Practice

Try these on your own. Tap Reveal when you want to check.

  1. Differentiate f(x)=4x5−3x2+7x−2.

    Hint: Apply the power rule to each term separately. A constant has derivative zero.

  2. Differentiate g(x)=x+2x3.

    Hint: Rewrite both terms as powers of x first.

  3. Use the product rule to differentiate h(x)=(x2+1)(3x−2). Check by expanding first.

    Hint: Product rule: derivative of the first times the second, plus the first times the derivative of the second.

  4. For q(x)=x2x−1, find q′(3).

    Hint: Quotient rule: bottom times derivative of top, minus top times derivative of bottom, all over bottom squared.

  5. You need the derivatives of (2x+1)⋅x3 and of (2x+1)3. Which one needs the product rule and which needs the chain rule?

    Hint: Ask whether the two pieces sit side by side or one sits inside the other.

  6. A student differentiates x2⋅x3 as "2x⋅3x2=6x3." Find the error.

    Hint: Simplify x2⋅x3 first and differentiate that. Do the two answers match?

Want the full set?

50 practice questions for this concept — free to try, every one with a complete worked solution showing the why, not just the answer.

Frequently Asked Questions

Why isn't the derivative of a product just the product of the derivatives?

Test it on x⋅x=x2x\cdot x=x^2: the true derivative is 2x2x, but multiplying the two derivatives gives 1⋅1=11\cdot1=1. Picture a rectangle with sides ff and gg that are both growing. Its area gains a strip along one side, f′gf'g, and a strip along the other, fg′fg'. The tiny corner where both grow at once shrinks away in the limit, which is why the rule has two terms and no f′g′f'g'.

Does the power rule work for negative and fractional exponents?

Yes, for any real exponent, as long as plain xx is the base. ddxx−1=−x−2\frac{d}{dx}x^{-1}=-x^{-2}, and ddxx=ddxx1/2=12x−1/2=12x\frac{d}{dx}\sqrt{x}=\frac{d}{dx}x^{1/2}=\frac{1}{2}x^{-1/2}=\frac{1}{2\sqrt{x}}. It does not cover 2x2^x, where the variable sits in the exponent instead of the base: that derivative is 2xln⁡22^x\ln 2, which comes from the rule for exponential functions.

Should I use the quotient rule or rewrite the fraction first?

Rewrite when the bottom is a single term. x3+4xx\frac{x^3+4x}{x} simplifies to x2+4x^2+4, so its derivative is 2x2x with no quotient rule at all, and 5x3\frac{5}{x^3} becomes 5x−35x^{-3}, with derivative −15x−4-15x^{-4}. Keep the quotient rule for fractions like xx2+1\frac{x}{x^2+1}, whose bottom cannot be split off. Both routes give the same answer; rewriting just leaves fewer places to drop a sign.

Where do sin⁡x and ex fit, since they are not powers of x?

They have their own entries in the table, each worked out once from the limit definition: ddxsin⁡x=cos⁡x\frac{d}{dx}\sin x=\cos x, ddxcos⁡x=−sin⁡x\frac{d}{dx}\cos x=-\sin x, ddxex=ex\frac{d}{dx}e^x=e^x and ddxln⁡x=1x\frac{d}{dx}\ln x=\frac{1}{x}. The product and quotient rules then combine them with powers, as in ddx(x2ex)=2xex+x2ex\frac{d}{dx}(x^2e^x)=2xe^x+x^2e^x. Up to a constant multiple, exe^x is the only function equal to its own derivative.

Learning Path

← Before

Derivative
Differentiation Rules

You are here

You need the Derivative: the slope at a point, defined as a limit of secant slopes. This concept packages the results of that limit into formulas for powers, sums, products and quotients, so any polynomial or rational function can be differentiated quickly. Next, the Chain Rule handles composite functions, and Optimization uses these derivatives to find maximum and minimum values.

See Also