Differentiation means finding a derivative. A derivative tells you how fast a function is changing at a point, so in calculus it is used for slope and rate of change questions.

The fastest way to choose the right rule is to look at the structure first. Is the expression a power like x5x^5, a sum like x3+2xx^3 + 2x, a product like x2exx^2 e^x, or a function inside another function like (3x+1)4(3x+1)^4? The derivative rule depends on that structure.

Which Differentiation Rule Should You Use?

Start with the outermost shape of the expression.

  • If the expression is a single power of xx, use the power rule.
  • If terms are added or subtracted, differentiate term by term.
  • If two changing expressions are multiplied, use the product rule.
  • If one changing expression is divided by another, use the quotient rule.
  • If one function sits inside another, use the chain rule.

Many exercises use more than one rule. In that case, pick the rule that matches the outside structure first.

Main Differentiation Rules

Constant Rule

If cc is a constant, then:

ddx(c)=0\frac{d}{dx}(c) = 0

A fixed number does not change when xx changes.

Power Rule

If nn is a real number, then:

ddx(xn)=nxn1\frac{d}{dx}(x^n) = nx^{n-1}

Example: ddx(x4)=4x3\frac{d}{dx}(x^4) = 4x^3.

Constant Multiple Rule

If cc is constant and ff is differentiable, then:

ddx[cf(x)]=cf(x)\frac{d}{dx}[cf(x)] = c f'(x)

The constant stays in front.

Sum And Difference Rule

If ff and gg are differentiable, then:

ddx[f(x)±g(x)]=f(x)±g(x)\frac{d}{dx}[f(x) \pm g(x)] = f'(x) \pm g'(x)

Differentiate each term separately, then keep the same plus or minus sign.

Product Rule

If ff and gg are differentiable, then:

ddx[f(x)g(x)]=f(x)g(x)+f(x)g(x)\frac{d}{dx}[f(x)g(x)] = f'(x)g(x) + f(x)g'(x)

Use this when both factors depend on xx.

Quotient Rule

If ff and gg are differentiable and g(x)0g(x) \ne 0, then:

ddx[f(x)g(x)]=f(x)g(x)f(x)g(x)[g(x)]2\frac{d}{dx}\left[\frac{f(x)}{g(x)}\right] = \frac{f'(x)g(x) - f(x)g'(x)}{[g(x)]^2}

The condition g(x)0g(x) \ne 0 matters because division by zero is undefined.

Chain Rule

If y=f(g(x))y = f(g(x)), and both functions are differentiable where needed, then:

ddxf(g(x))=f(g(x))g(x)\frac{d}{dx}f(g(x)) = f'(g(x)) \cdot g'(x)

Use this when one function is nested inside another.

Why Structure Matters In Differentiation

Differentiation rules are shortcuts for common expression shapes. If the expression is simple, one rule is often enough. If it is built from parts, you combine rules.

That is why students often make errors before they even start differentiating. The main skill is not algebra first. It is recognizing the outside structure before you compute anything.

Differentiation Example: Product Rule And Chain Rule Together

Find the derivative of:

y=x2(3x+1)4y = x^2(3x+1)^4

The outside structure is a product, so start with the product rule. Let:

f(x)=x2andg(x)=(3x+1)4f(x) = x^2 \quad \text{and} \quad g(x) = (3x+1)^4

Then:

y=f(x)g(x)+f(x)g(x)y' = f'(x)g(x) + f(x)g'(x)

Differentiate the first factor:

f(x)=2xf'(x) = 2x

Now differentiate g(x)=(3x+1)4g(x) = (3x+1)^4. This needs the chain rule because the inner expression is 3x+13x+1, not just xx:

g(x)=4(3x+1)33=12(3x+1)3g'(x) = 4(3x+1)^3 \cdot 3 = 12(3x+1)^3

Substitute both pieces:

y=2x(3x+1)4+x212(3x+1)3y' = 2x(3x+1)^4 + x^2 \cdot 12(3x+1)^3

This is already a correct derivative. If you want a factored form:

y=2x(3x+1)3[(3x+1)+6x]y' = 2x(3x+1)^3[(3x+1) + 6x] y=2x(3x+1)3(9x+1)y' = 2x(3x+1)^3(9x+1)

The important step is not the factoring. It is noticing that the whole expression is a product, while one factor also requires the chain rule.

Common Differentiation Mistakes

  1. Using the power rule on the whole expression when the function is actually a product or quotient.
  2. Forgetting the inner derivative in the chain rule. For (3x+1)4(3x+1)^4, the full derivative is 4(3x+1)334(3x+1)^3 \cdot 3.
  3. Differentiating a product by multiplying the derivatives. In general, [f(x)g(x)]f(x)g(x)[f(x)g(x)]' \ne f'(x)g'(x).
  4. Losing track of conditions. The quotient rule requires the denominator to be nonzero.

When Differentiation Rules Are Used

Differentiation rules appear anywhere one quantity changes with respect to another. In calculus, they are used for tangent slopes, optimization, and curve sketching.

In physics, derivatives describe quantities such as velocity and acceleration. In economics or engineering, they are used when you need a marginal change or a rate of change.

Try A Similar Differentiation Problem

Differentiate y=(x3+1)(2x5)2y = (x^3 + 1)(2x - 5)^2 and decide which rule applies first. If your answer is missing two product-rule terms or the inner derivative from (2x5)2(2x - 5)^2, go back and check the outside structure before simplifying.

Frequently Asked Questions

How do you know which differentiation rule to use?
Look at the structure of the expression first, starting with the outermost shape. A single power of x uses the power rule, sums and differences are differentiated term by term, products of two changing expressions use the product rule, quotients use the quotient rule, and a function inside another function uses the chain rule.
What is the power rule for derivatives?
The power rule says the derivative of x to the n is n times x to the n minus 1, for any real exponent n. For example, the derivative of x to the fourth power is 4 times x cubed. Combined with the constant and sum rules, it handles most polynomial differentiation.
When do you use the chain rule?
Use the chain rule when one function sits inside another, such as a quantity like 3x plus 1 raised to the fourth power. Differentiate the outer function while keeping the inside unchanged, then multiply by the derivative of the inner function. Many exercises combine the chain rule with the product or quotient rule.
What is the difference between the product rule and the quotient rule?
The product rule applies when two changing expressions are multiplied: the derivative is the first derivative times the second plus the first times the second derivative. The quotient rule applies to division: it subtracts the two cross terms and divides by the square of the denominator, and it requires the denominator to be nonzero.

Need help with a problem?

Upload your question and get a verified, step-by-step solution in seconds.

Open GPAI Solver →