Steply

Where is f(x) = x^2 - 6x + 5 increasing

Step by step, with the reason for every step · Maximum, minimum and optimization · Calculus

Step by step

The question

Question: find where f(x) = x² − 6x + 5 is increasing and where it is decreasing.

f(x) = x2 − 6x + 5

The derivative is the slope.

Where it is positive, the graph goes up.

Where it is negative, the graph goes down.

f′(x) > 0: going up ↗
f′(x) < 0: going down ↘

1 Find f′(x)

Use the power rule on each term.

f′(x) = 2x^(2 − 1) − 6 × 1 + 0

Now we have f′(x) = 2x − 6.

= 2x − 6

2 Solve f′(x) = 0

At a turning point the graph is flat for a moment: the slope is 0.

So we solve f′(x) = 0.

f′(x) = 0
2x − 6 = 0

Take out the 2.

2(x − 3) = 0

So x = 3.

x = 3

Careful!

f′ = 0 alone does not tell max or min.

The signs on each side tell us.

Careful: f′(x) = 0 is not enough: look at the signs

3 Sign table

A sign table.

The numbers 3 cut the line into 2 parts.

Test one number in each part: 2, 4.

f′(2) = −2, f′(4) = 2

f′(2) is −2: negative.

So f goes down there.

f′(4) is 2: positive.

So f goes up there.

0

4 Read the table

f is increasing, going up, where f′ is positive: x > 3.

up ↗ : x > 3

f is decreasing, going down, where f′ is negative: x < 3.

down ↘ : x < 3

5 Check

Let's check with the graph.

Down, then up: just like the table.

Right!

Let's look back.

First: find f′(x).

Then: solve f′(x) = 0.

Then: sign table.

Then: read the table.

Last: check.

Answer
up ↗ : x > 3

Your turn

Try this one yourself, then check:

Find where f(x) = x2 − 4x + 5
Show the answer
increasing: x > 2; decreasing: x < 2

More from Maximum, minimum and optimization

The whole lesson: Maximum, minimum and optimization →