Skill stop · How is this move done?

Maxima and Minima of Functions

In the Chinese book: 函数的最值

On an interval, max and min are at the vertex or an endpoint. Find the axis.

📖 Chapter 5 of 《一次函数与二次函数》M1 Completing the Square lineM6 Bounding lineM18 Cases and Enumeration line

Before this stop, visit:Functions and Quadratic Inequalities (Concept)

WorkbenchWe only look at the piece inside the light vertical band. Slowly drag the axis of symmetry and keep your eye on the “min” and “max” markers. When does each one jump somewhere else?

Loading figure…

What this move does

With no restriction, the maximum or minimum of a quadratic function is at the vertex. But problems often let take values only in an interval, and then the vertex may not even be there.

  1. Complete the square to find the axis of symmetry .
  2. See where the axis is relative to the interval : to the left, inside or to the right.
  3. If it opens upward: in those three cases the minimum is at the left endpoint, the vertex or the right endpoint; the maximum is at the endpoint farther from the axis. (If it opens downward, swap “maximum” and “minimum”.)

In other words, there are only three candidates: the two endpoints, plus the vertex if it lies in the interval.

Predict first

, with allowed only in . What is the minimum value of ?

Choose an answer first; then you can see the result.

Work through one: moving axis, fixed interval

The interval stays put; the axis, with a letter in it, moves around.

Example: max and min of f(x) = (x − h)² − 2 on −1 ≤ x ≤ 2

Step 1 / 5
Loading figure…
  1. Axis to the left of the interval

    . The piece of graph over the interval lies entirely to the right of the axis and keeps rising: the minimum is at the left endpoint and the maximum at the right endpoint.

Once more: fixed axis, moving interval

This time the parabola stays put and the interval, with a letter in it, slides. The idea is exactly the same: see which side of the interval the axis falls on.

Example: minimum of f(x) = x² − 2x − 1 on t ≤ x ≤ t + 2

Step 1 / 5
Loading figure…
  1. Complete the square first

    , so the axis is fixed. The interval has width .

One problem, several solutions

Find the maximum and minimum of on .

Complete the square, look at the axis

. The axis is inside the interval, so the minimum is .

The midpoint of the interval is . The axis is to the right of the midpoint, so the left endpoint is farther from it: the maximum is .

CostShows you why; the only way when there are letters.

Work out all three candidates

The candidates: left endpoint, right endpoint, and the vertex inside the interval.

, , .

The largest is and the smallest is .

CostNo thinking needed and quick with numbers; with letters you cannot compare the sizes.

When it fails

Break it

Counterexample lab: remove one condition

Conclusion: If the parabola opens upward, the minimum is the vertex's y-coordinate

When the axis is inside the interval, the vertex is the lowest point of that piece. No problem.

Loading figure…

Practice

Exercise 1Basic

Find the maximum of on .

Exercise 2Basic

Find the maximum of on .

Exercise 3Advanced

Real numbers and satisfy . Find the maximum of .

Exercise 4Advanced

The minimum of on is . Find .

Exercise 5Challenge

The minimum of on is . Find all possible values of .

Mistake Museum · Exhibits from this stop

Before you leave, look at the traps other people fell into here.See every exhibit in the museum →

Exhibit

Taking the vertex without looking at the interval

The wrong step: Minimum of on : , so the minimum is .
What went wrong? Think first, then open

Diagnosis only happens at , and is not in . On this interval the function keeps going up.

The right step: The axis is to the left of the interval, so the minimum is at the left endpoint: at , .

“First ask whether the vertex is inside the interval”

Exhibit

An axis with a letter in it, and no case analysis

The wrong step: The minimum of on is .
What went wrong? Think first, then open

Diagnosis The minimum is at the vertex only when the axis falls inside the interval (). For the minimum is ; for it is .

The right step: Write three cases: for ; for ; for .

“If the axis can move, split into three cases, left, inside and right”