Stationary values and optimisation

Classify stationary points, resolve inconclusive tests and compare feasible candidates, endpoints and ties in optimisation.

More
Reading settingsKeep track of this lesson

Read offline with Premium

Save lessons and their figures on this device to read without an internet connection. Offline saving is included with Premium.

Connect at least once every 30 days to confirm Premium. Topic checks, coaching and sync need a connection.

Find this activity in your course
On this page

Reading settings

Colour theme, text size, line spacing and reading width for your lessons.

Colour theme
Text size
Line spacing
Reading width
Revision Mode

Keep just the revision notes by hiding embedded questions and activities, including worked examples. Your choice follows your account across both subjects and devices. Turn off to show the full lesson again.

Checking Premium access…

Explore Premium

Live preview

Take a moment to read at your own pace. Choose the text size and spacing that feel comfortable for you.

Pause after each idea, then explain it in your own words before moving on.

Narrower lines take effect when the screen has room.

Enlarged diagram

Use the change of sign

A stationary point has a horizontal tangent, so its derivative is zero. To determine its nature, ask how the original function behaves immediately before and after it. A local maximum is higher than nearby points on both sides; a local minimum is lower than nearby points on both sides. Local comparisons do not yet identify the greatest or least value over an entire restricted interval.

For f(x) = x³ − 3x, solve f'(x) = 3x²-3 = 3(x-1)(x + 1) = 0. The stationary inputs are −1 and 1. The factors show the derivative’s signs:

Input intervalSign of f′Behaviour of f
x < −1PositiveIncreasing
−1 < x < 1NegativeDecreasing
x > 1PositiveIncreasing

At −1 the sign changes from positive to negative, so the curve rises into a local maximum and falls away afterwards. Substitute into the original function to obtain (−1,2). At 1 the sign changes from negative to positive, giving local minimum (1,−2). Solving f′ = 0 gave inputs; the original f supplies the corresponding heights.

A zero second derivative leaves a decision open

At a stationary input a, f″(a) < 0 gives a local maximum and f″(a) > 0 gives a local minimum. For the cubic above, f″(x) = 6x gives −6 at x = −1 and 6 at x = 1, agreeing with the first-derivative sign tests.

If f″(a) = 0, this test is inconclusive. It does not establish a point of inflexion. Compare two simple cases at zero:

For g(x) = x³, g′(x) = 3x² is positive on both sides of zero, so the function increases through its horizontal tangent. The second derivative 6x changes from negative to positive: the curve’s bending changes there. Thus (0,0) is a stationary point of inflexion, not an extremum.

For h(x) = x⁴, h′(x) = 4x³ changes from negative to positive. Thus (0,0) is a local minimum, even though h″(0) = 0 too. Its second derivative 12x² is positive on both sides, so it does not change concavity there.

Check your understanding 1 Finish an inconclusive test

For p(x) = -x⁴, a proposed solution uses p′(0) = p″(0) = 0 to label (0,0) a stationary point of inflexion. Determine its actual nature and justify it by checking behaviour on both sides.

Show answer

Since p′(x) = −4x³, the derivative is positive for x < 0 and negative for x > 0. The function rises into and falls away from (0,0), so this is a local maximum. Also p(x) ≤ 0, with equality only at zero. The second derivative −12x² is negative on both sides; its zero value at the stationary input did not prove a change in concavity.

Build the objective from the constraint

Squares of side x cm are cut from the corners of a 12 cm square sheet, and the sides fold into an open box. Neglect sheet thickness. The height is x and each base side is 12 − 2x: a strip is lost from each end of a base side. Positive height and base dimensions require 0 < x < 6.

Multiply the height by the base area to form the volume, then expand so the permitted termwise derivative rules apply:

V = x(12-2x)² = 4x³-48x² + 144x.
V' = 12x²-96x + 144 = 12(x-2)(x-6).

The stationary algebraic candidates are 2 and 6. Only x = 2 lies inside the allowed interval; x = 6 would have a zero-width base, so it is not a second usable box.

For 0 < x < 2, both factors in V′ are negative and their product is positive. For 2 < x < 6, they have opposite signs and V′ is negative. The volume increases up to x = 2 and decreases afterwards, so this is the greatest volume throughout the model’s allowed interval. The second derivative V″(2) = 24(2) − 96 = −48 also confirms the local maximum.

At x = 2 the box has dimensions 2 cm × 8 cm × 8 cm and volume 128 cm³. This checks the answer against the original geometry. Near either excluded boundary the volume approaches zero. Zero itself is not an attained minimum volume among the positive-dimension boxes: the boundaries describe degenerate shapes outside the model.

A restricted interval may select an endpoint

If manufacture restricts x to [1,1.5], the stationary x = 2 is unavailable. V′ is positive throughout that restricted interval, so its greatest volume occurs at the included endpoint x = 1.5. The volume is 1.5 × 9² = 121.5 cm³, despite V′ not being zero there.

For a continuous function on a closed interval, compare its values at included endpoints and all stationary inputs in the interior; also inspect any interior point where the derivative does not exist. For the differentiable examples here, endpoints and stationary candidates suffice. Keep ties: two different inputs may give the same greatest or least value.

Check your understanding 2 A stationary point may lie outside the interval

Find the greatest value of f(x) = -x² + 6x + 1 for 0 ≤ x ≤ 2, and the input where it occurs. Explain why a stationary-point calculation alone would fail.

Show answer

The unrestricted stationary input is x = 3, outside the interval. Since f′ = 6 − 2x is positive on [0,2], the maximum is f(2) = 9 at the right endpoint. Reporting f(3) = 10 would violate the restriction.

A numerical extremum needs a stated region

For k(x) = x + e^(-x) on [−1,2], enter the whole function and choose the minimum operation over that interval. A result near (0,1) agrees with k'(x) = 1-e^(-x) = 0 at x = 0. Since k″(x) = e⁻ˣ > 0, it is a local minimum; the derivative is negative before zero and positive afterwards, establishing the least value 1 over the stated interval.

The greatest value over [−1,2] is not another stationary point. Check the endpoints: k(−1) = e − 1 ≈ 1.71828 and k(2) = 2 + e⁻² ≈ 2.13534. The greatest value is 2 + e⁻² at x = 2. A tool searching only for an interior turning point could miss that answer.

Record the original function, search interval, returned coordinates and final precision. Classify a reported extremum and check feasibility before interpreting it. A visually flat patch is not proof of an exact stationary input, and enlarging a plotting window changes what is visible without changing the task’s allowed interval.

Try it yourself 1

Find every place a greatest or least value occurs

Minimal support

Problem

For F(t) = t³-6t² + 9t + 2 on 0 ≤ t ≤ 4, find the greatest and least values and every input where each is attained. A solution that only reports the two interior stationary points may give the right values yet still be incomplete. Explain why.

Write your answer, then compare it with the solution

Hints

Hint 1

Separate a nearby comparison from the whole interval

Decide which inputs could supply an extreme value on the stated closed interval. Use the original function to compare their outputs, keeping different inputs when their outputs agree.

Show full solution
  1. Find and classify the interior stationary points

    Method

    Differentiate and solve F′(t) = 0.

    Reason

    A differentiable interior extremum must be stationary, but the interval’s boundary has a different status.

    Working

    Answer

    F'(t) = 3t²-12t + 9 = 3(t-1)(t-3) gives t = 1 and 3. The derivative changes positive to negative at 1, giving a local maximum, and negative to positive at 3, giving a local minimum.
  2. Compare all permitted candidates

    Method

    Evaluate F at 0, 1, 3 and 4.

    Reason

    The function is differentiable throughout the closed interval, so these stationary inputs and endpoints contain every possible greatest or least value.

    Working

    Answer

    F(0) = 2, F(1) = 6, F(3) = 2 and F(4) = 6. The derivative’s signs establish increase on (0,1), decrease on (1,3) and increase on (3,4), so no other input attains these extremes.
  3. Report both values and every attaining input

    Method

    Keep the ties in the comparison.

    Reason

    The question asks where each extreme is attained, not just its numerical value or one local example.

    Working

    Answer

    The greatest value is 6, attained at t = 1 and t = 4. The least value is 2, attained at t = 0 and t = 3. Reporting only the stationary points would omit an included endpoint for each value.

Keep track of this lesson

Mark the lesson done when you have worked through it.

Lesson progress is optional and kept on this device.

Your lesson mark records your own study. Checks are kept separately in My Learning.