Steply

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

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) = (2 x² + x)(x − 3).

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

1 Name u and v

Call the first bracket u: 2 x² + x.

u = 2x2 + x

Call the second bracket v: x − 3.

v = x − 3

2 Find u′ and v′

The power rule on u gives u′ = 4x + 1.

u′ = 4x + 1

On v it gives v′ = 1.

v′ = 1

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) = (4x + 1)(x − 3) + (2x2 + x)(1)

Careful!

Not u′ times v′!

Each part needs the other bracket.

Careful: not u′ × v′ = 4x + 1 ✗

4 Open the brackets

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

= 4x2 − 12x + x − 3 + 2x2 + x

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) = 6 x² − 10x − 3.

= 6x2 − 10x − 3

5 Check

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

f(x) is 2 x³ − 5 x² − 3x.

f(x) = 2x3 − 5x2 − 3x

The power rule on that gives 6 x² − 10x − 3.

The same!

Right!

f′(x) = 6x2 − 10x − 3

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
= 6x2 − 10x − 3

Your turn

Try this one yourself, then check:

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

More from Product and quotient rules

The whole lesson: Product and quotient rules →