Steply

Derivative of (x + 2)(x - 5)

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

f(x) = (x + 2)(x − 5)

1 Name u and v

Call the first bracket u: x + 2.

u = x + 2

Call the second bracket v: x − 5.

v = x − 5

2 Find u′ and v′

The power rule on u gives u′ = 1.

u′ = 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) = (1)(x − 5) + (x + 2)(1)

Careful!

Not u′ times v′!

Each part needs the other bracket.

Careful: not u′ × v′ = 1 ✗

4 Open the brackets

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

= x − 5 + x + 2

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

= 2x − 3

5 Check

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

f(x) is x² − 3x − 10.

f(x) = x2 − 3x − 10

The power rule on that gives 2x − 3.

The same!

Right!

f′(x) = 2x − 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
= 2x − 3

Your turn

Try this one yourself, then check:

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

More from Product and quotient rules

The whole lesson: Product and quotient rules →