Cubic Graphs, Optimisation and Rates of Change

30 min
0/3 practice checks

Sketching a cubic

For f(x)=ax3+bx2+cx+df(x) = ax^3 + bx^2 + cx + d you need: the intercepts, the stationary points (where f(x)=0f'(x) = 0) and the point of inflection (where f(x)=0f''(x) = 0, i.e. x=b3ax = -\dfrac{b}{3a}).

Worked example: f(x)=x36x2+9xf(x) = x^3 - 6x^2 + 9x

Intercepts. f(0)=0f(0) = 0. Factorising, x(x26x+9)=x(x3)2x(x^2-6x+9) = x(x-3)^2, so x=0x = 0 or x=3x = 3 (a touch point).

Stationary points. f(x)=3x212x+9=3(x1)(x3)f'(x) = 3x^2 - 12x + 9 = 3(x-1)(x-3), so x=1x = 1 or x=3x = 3.

  • f(1)=16+9=4f(1) = 1 - 6 + 9 = 4 — local maximum at (1;4)(1; 4).
  • f(3)=2754+27=0f(3) = 27 - 54 + 27 = 0 — local minimum at (3;0)(3; 0).

Inflection. f(x)=6x12=0f''(x) = 6x - 12 = 0 at x=2x = 2, and f(2)=824+18=2f(2) = 8 - 24 + 18 = 2, so (2;2)(2; 2).

Optimisation

To maximise or minimise a quantity: write it as a function of one variable using the constraint, differentiate, set the derivative to zero, and solve.

Worked example: a vegetable garden

A school has 40 m of fencing for a rectangular garden against an existing wall (no fence needed along the wall). If the two equal sides are ww metres, then the third side is 402w40 - 2w and

A(w)=w(402w)=40w2w2A(w) = w(40 - 2w) = 40w - 2w^2
A(w)=404w=0    w=10A'(w) = 40 - 4w = 0 \implies w = 10

So the sides are 10 m, 10 m and 20 m, giving a maximum area of 200 m2200\ \text{m}^2.

Rates of change

If s(t)s(t) is distance then s(t)s'(t) is velocity and s(t)s''(t) is acceleration. The derivative always answers "how fast is this quantity changing right now?"

Given f(x)=x33x224x+7f(x) = x^3 - 3x^2 - 24x + 7. Determine the xx-coordinate of the local minimum of ff.

A farmer near the Vaal River has 60 m of fencing to enclose a rectangular vegetable plot. The straight riverbank forms one full side, so no fencing is needed there. What is the maximum area (in m2^2) that can be enclosed?

Determine the coordinates of the point of inflection of f(x)=2x36x2+4x1f(x) = 2x^3 - 6x^2 + 4x - 1.