Steply

Derivative of (3x - 2)(x^2 + 2x)

Step by step, with the reason for every step · Product and quotient rules · Calculus

Step by step

The question

Question: find the derivative of f(x) = (3x − 2)(x² + 2x).

f(x) = (3x − 2)(x2 + 2x)

1 Name u and v

Call the first bracket u: 3x − 2.

u = 3x − 2

Call the second bracket v: x² + 2x.

v = x2 + 2x

2 Find u′ and v′

The power rule on u gives u′ = 3.

u′ = 3

On v it gives v′ = 2x + 2.

v′ = 2x + 2

3 Use the rule

The product rule: the derivative of u times v is u′ v plus u v′.

(uv)′ = u′v + uv′

Put them in.

f′(x) = (3)(x2 + 2x) + (3x − 2)(2x + 2)

Careful!

Not u′ times v′!

Each part needs the other bracket.

Careful: not u′ × v′ = 6x + 6 ✗

4 Open the brackets

What is in front of a bracket multiplies every part inside.

= 3x2 + 6x + 6x2 + 6x − 4x − 4

Terms are the parts between the + and − signs.

Like terms are the same kind: same letters, same powers.

All the x terms go together.

Plain numbers go together.

So f′(x) = 9 x² + 8x − 4.

= 9x2 + 8x − 4

5 Check

Let's check another way: multiply the brackets out first.

f(x) is 3 x³ + 4 x² − 4x.

f(x) = 3x3 + 4x2 − 4x

The power rule on that gives 9 x² + 8x − 4.

The same!

Right!

f′(x) = 9x2 + 8x − 4

Let's look back.

First: name u and v.

Then: find u′ and v′.

Then: use the rule.

Then: open the brackets.

Last: check.

Answer
= 9x2 + 8x − 4

Your turn

Try this one yourself, then check:

Find the derivative of f(x) = (x − 2)(x2 + x)
Show the answer
f′(x) = 3x2 − 2x − 2

More from Product and quotient rules

The whole lesson: Product and quotient rules →