Steply

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

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

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

1 Name u and v

Call the first bracket u: x² − 3.

u = x2 − 3

Call the second bracket v: x + 1.

v = x + 1

2 Find u′ and v′

The power rule on u gives u′ = 2x.

u′ = 2x

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

Careful!

Not u′ times v′!

Each part needs the other bracket.

Careful: not u′ × v′ = 2x ✗

4 Open the brackets

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

= 2x2 + 2x + x2 − 3

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

= 3x2 + 2x − 3

5 Check

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

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

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

The power rule on that gives 3 x² + 2x − 3.

The same!

Right!

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

Your turn

Try this one yourself, then check:

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

More from Product and quotient rules

The whole lesson: Product and quotient rules →