The product rule

Lessons and exercises follow the school system and stay in its language.Les leçons et les exercices suivent le système scolaire et restent dans sa langue.Lektionen und Übungen folgen dem Schulsystem und bleiben in seiner Sprache.

About this lesson

Calculus AB (AP-aligned) › Differentiation rules

To save a PDF, choose “Save as PDF” in the print dialog.

Sources and credits

Written with this source as a starting point:

sedifier rewrote the text and added its own examples and exercises.

Written with AI assistance; every answer is checked by our math engine. Not yet reviewed by a teacher.

This lesson: CC BY-SA 4.0, © sedifier · All credits

The product rule

Differentiation rules.

Warm-up

Three quick questions from earlier lessons.

  1. f(x)=x2−3xf(x) = x^2 - 3x. Find the tangent line to its graph at x=3x = 3, from the definition.
    1. f(3)=  ?f(3) = \;?
    2. Simplify f(3+h)−f(3)h\dfrac{f(3 + h) - f(3)}{h} for h≠0h \ne 0:   ?\;?
    3. f′(3)=  ?f'(3) = \;?
    4. The tangent line: y=  ?y = \;?
    5. With the derivative rules: f′(x)=  ?f'(x) = \;?
    6. Approximation of f(3+0.1)f(3 + 0.1) by the tangent line:
  2. f(x)=7x3+5xf(x) = 7x^{ 3 } + 5x. Find f′(x)f'(x).
  3. f(x)=4x1f(x) = \dfrac{ 4 }{x^{ 1 } }. Find f′(x)f'(x).

Discover

f(x)=xf(x) = x and g(x)=xg(x) = x, so f(x)g(x)=x2f(x)g(x) = x^2. Is (x2)′(x^2)' equal to f′(x) g′(x)=1⋅1f'(x)\,g'(x) = 1 \cdot 1?

  1. No
  2. Yes

Key idea

Each factor takes its turn to be differentiated.

Product rule: (f g)′=f′ g+f g′(f\,g)' = f'\,g + f\,g'.

Worked example

h(x)=x3exh(x) = x^3 e^x. Find h′(x)h'(x).

f′=3x2f' = 3x^2, g′=exg' = e^x
f = x³, g = eˣ.
h′(x)=3x2ex+x3exh'(x) = 3x^2 e^x + x^3 e^x
f'g + fg'.
h′(x)=x2ex(3+x)h'(x) = x^2 e^x (3 + x)
Factor if you like.

Your turn, guided

Your turn: h(x)=xcos⁡xh(x) = x\cos x.

f′=1f' = 1, g′=−sin⁡xg' = -\sin x
f = x, g = cos x.
h′(x)=cos⁡x−xsin⁡xh'(x) = \cos x - x\sin x
f'g + fg'.

Practice ★

  1. f(x)=x3sin⁡xf(x) = x^{ 3 }\sin x. Find f′(x)f'(x).
  2. f(x)=x9sin⁡xf(x) = x^{ 9 }\sin x. Find f′(x)f'(x).
  1. f(x)=(x+3)exf(x) = (x + 3)e^x. Find f′(x)f'(x).
  2. f(x)=(x+74)exf(x) = (x + 74)e^x. Find f′(x)f'(x).

Watch out!

Practice ★★

  1. f(2)=4f(2) = 4, f′(2)=4f'(2) = 4, g(2)=−4g(2) = -4 and g′(2)=−1g'(2) = -1. Find (fg)′(2)(fg)'(2).
  2. f(2)=−4f(2) = -4, f′(2)=−2f'(2) = -2, g(2)=2g(2) = 2 and g′(2)=3g'(2) = 3. Find (fg)′(2)(fg)'(2).
  3. f(2)=−1f(2) = -1, f′(2)=1f'(2) = 1, g(2)=5g(2) = 5 and g′(2)=−1g'(2) = -1. Find (fg)′(2)(fg)'(2).

Exit ticket

Three questions to check you have got it.

  1. f(x)=x3sin⁡xf(x) = x^{ 3 }\sin x. Find f′(x)f'(x).
  2. f(x)=x9sin⁡xf(x) = x^{ 9 }\sin x. Find f′(x)f'(x).
  3. f(x)=x2sin⁡xf(x) = x^{ 2 }\sin x. Find f′(x)f'(x).

Summary card

Product rule

(fg)′=f′g+fg′(fg)' = f'g + fg': differentiate one factor at a time, keep the other.

Watch out: (fg)′≠f′g′(fg)' \ne f'g'.

One more step is optional: a challenge. Try it, or finish the lesson now.

Challenge ★★★

  1. f(x)=x4exf(x) = x^{ 4 }e^x. Find f′(1)f'(1).
Sources and credits

Written with this source as a starting point:

sedifier rewrote the text and added its own examples and exercises.

Written with AI assistance; every answer is checked by our math engine. Not yet reviewed by a teacher.

This lesson: CC BY-SA 4.0, © sedifier · All credits