Skip to content
Lesson 5 of 10 · Calculus I

Rules of differentiation

Differentiate powers, sums, products, quotients, compositions, and the standard trig, exponential and logarithm functions, quickly and without errors.

22 min

Reference

The rules at a glance

Constant

Formula
d/dx (c) = 0

Power

Formula
d/dx (xⁿ) = n xⁿ⁻¹

Constant multiple, sum

Formula
(c·f)′ = c·f′; (f + g)′ = f′ + g′

Product

Formula
(f·g)′ = f′g + f g′

Quotient

Formula
(f/g)′ = (f′g − f g′) / g²

Chain

Formula
d/dx f(g(x)) = f′(g(x)) · g′(x)

Trig

Formula
(sin x)′ = cos x; (cos x)′ = −sin x; (tan x)′ = sec²x

Exponential

Formula
(eˣ)′ = eˣ; (aˣ)′ = aˣ ln a

Logarithm

Formula
(ln x)′ = 1/x

Rewrite roots and reciprocals as powers first: √x = x^(1/2), 1/x³ = x⁻³.

How to choose the rule

Look at the outermost operation of the expression:

  • Is it a sum? Differentiate each term.
  • Is it a product of two things that both contain x? Use the product rule.
  • Is it a quotient? Use the quotient rule (or rewrite as a product with a negative power).
  • Is it a function of a function, such as (3x² + 1)⁵ or sin(2x)? Use the chain rule: differentiate the outer function, leave the inside alone, then multiply by the derivative of the inside.

Many expressions need two rules together. Work from the outside in.

Differentiate y = x² sin x.

  1. 1

    Product of u = x² and v = sin x

    Both contain x.

1/3

Differentiate y = (x² + 1)/(x − 1).

  1. 1

    u = x² + 1, v = x − 1; u′ = 2x, v′ = 1

    Set up the pieces.

1/3

Differentiate y = (3x² + 1)⁵.

  1. 1

    Outer: u⁵, inner: u = 3x² + 1

    Identify the layers.

1/4

Pick the rule from the outermost operation.

  • Always identify the outermost operation first.
  • Product: f′g + fg′. Quotient: (f′g − fg′)/g².
  • Chain rule: outer derivative evaluated at the inside, times the inside's derivative.
  • (sin x)′ = cos x, (cos x)′ = −sin x, (eˣ)′ = eˣ, (ln x)′ = 1/x.
  • Rewrite roots and reciprocals as powers before differentiating.
Check yourself

Practice.

1Numeric answer

f(x) = (x² + 1)³. Find f′(1).

2Numeric answer

f(x) = x/(x + 1). Find f′(1).

3Numeric answer

f(x) = ln(x² + 1). Find f′(1).

4Numeric answer

f(x) = x² eˣ. Find f′(0).

5Multiple choice

d/dx [sin(3x)] =

  • Acos(3x)
  • B3 cos(3x)
  • C−3 cos(3x)
  • D3 sin(3x)

Practise this lesson, not just read it

In BiliMind the questions above are marked when you answer, the flashcards come back on a schedule, and the rest of Calculus I is planned around your week. Free.