Steply

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

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

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

1 Name u and v

Call the first bracket u: x² + 1.

u = x2 + 1

Call the second bracket v: 3x − 2.

v = 3x − 2

2 Find u′ and v′

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

u′ = 2x

On v it gives v′ = 3.

v′ = 3

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

Careful!

Not u′ times v′!

Each part needs the other bracket.

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

4 Open the brackets

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

= 6x2 − 4x + 3x2 + 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) = 9 x² − 4x + 3.

= 9x2 − 4x + 3

5 Check

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

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

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

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

The same!

Right!

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

Your turn

Try this one yourself, then check:

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

More from Product and quotient rules

The whole lesson: Product and quotient rules →