Courses / Physics I
Calculus of a Single Variable

Extrema and optimization

Physics I 256 words Free to read

Finding Local Extrema

A critical point occurs where f(c)=0f'(c) = 0 or f(c)f'(c) is undefined. This is our primary tool for locating peaks and valleys.

The first derivative test tracks the sign of ff' around the critical point to classify its nature:

ff' changes fromConclusion at cc
++ to -Local maximum
- to ++Local minimum
no sign changeNeither (inflection)

The second derivative test evaluates f(c)f''(c) when f(c)=0f'(c) = 0:

f(c)>0    local minimumf(c)<0    local maximumf''(c) > 0 \;\Rightarrow\; \text{local minimum} \qquad f''(c) < 0 \;\Rightarrow\; \text{local maximum}

Common pitfall: f(c)=0f'(c) = 0 makes cc a candidate, not a guarantee. For example, f(x)=x3f(x) = x^3 has a derivative of zero at 00, but pauses flat mid-climb and is neither a maximum nor a minimum.

Global Extrema & MVT

To find global extrema on [a,b][a,b], evaluate ff at every critical point and at both endpoints. The largest resulting value is the absolute maximum, and the smallest is the absolute minimum. True extremes often hide at the endpoints where the derivative never vanishes.

The Mean Value Theorem (MVT) states that if ff is continuous on [a,b][a,b] and differentiable on (a,b)(a,b), there exists at least one c(a,b)c \in (a,b) such that:

f(c)=f(b)f(a)baf'(c) = \frac{f(b)-f(a)}{b-a}

This guarantees a point where the instantaneous rate of change equals the average rate of change over the interval.

Physics link: Minimising potential energy U(x)U(x) to find the equilibrium position is a direct application where U(x)=0U'(x) = 0.

Calculus: Extrema and optimization

Practise this lesson

The explanation above is free to read. The graded practice for this lesson lives in the Tryals app.

14practice questions
2interactive scenes

Calculus of a Single Variable