The sign table and the shape of the graph

A sign table lays out the sign of the derivative interval by interval. We build one for f(x)=x36x2+9xf(x) = x^3 - 6x^2 + 9x.

The sign of the derivative

Since f(x)=3x212x+9=3(x1)(x3)f'(x) = 3x^2 - 12x + 9 = 3(x - 1)(x - 3), we have f=0f' = 0 at x=1x = 1 and x=3x = 3. Those two points cut the number line into three parts, and we examine the sign on each.

Range(x1)(x-1)(x3)(x-3)ff'Behavior
x<1x < 1negativenegativepositiveincreasing
1<x<31 < x < 3positivenegativenegativedecreasing
x>3x > 3positivepositivepositiveincreasing

The sign table

xx\cdots11\cdots33\cdots
f(x)f'(x)++00-00++
f(x)f(x)increasinglocal max 44decreasinglocal min 00increasing

At x=1x = 1, where increase turns to decrease, there is a local maximum; at x=3x = 3, where decrease turns to increase, a local minimum. The values are f(1)=4f(1) = 4 and f(3)=0f(3) = 0.

Crossings of the xx-axis

Factoring f(x)=x(x3)2f(x) = x(x - 3)^2 shows that the graph meets the xx-axis at x=0x = 0 and x=3x = 3. Since x=3x = 3 is a double root, the graph touches the axis there without crossing. That is the same statement as the local minimum being exactly 00.

The shape of the graph

The curve climbs from the left, turns at (1,4)(1, 4), touches the xx-axis at (3,0)(3, 0) and climbs again. As xx \to -\infty we have ff \to -\infty and as xx \to \infty we have ff \to \infty: the typical shape of a cubic.

The graph of the derivative

ff' is an upward parabola crossing the xx-axis at x=1x = 1 and x=3x = 3. Only between those two points is ff' negative, and that is the interval on which ff decreases. The vertex of ff' is at x=2x = 2, and f(2)=3f'(2) = -3 is the least value of the slope.

The center of symmetry

The graph of a cubic has point symmetry about its inflection point, the midpoint of the local maximum and the local minimum. Here that center is (1+32,4+02)=(2,2)\left( \dfrac{1 + 3}{2}, \dfrac{4 + 0}{2} \right) = (2, 2).

Whether a point is an extremum is decided by the change of sign of ff'. If f=0f' = 0 but the sign does not change, it is not an extremum. The trouble of writing out a sign table is what keeps that change of sign from being missed.

The cubic on the graph is y=x36x2+9xy = x^3 - 6x^2 + 9x, the parabola is the derivative, and the large dots are the local maximum (1,4)(1, 4) and the local minimum (3,0)(3, 0).