Why Boundary Endpoints Matter
To find absolute extrema on a region, it is not enough to check points in the interior. A point where the function is largest or smallest may lie on the boundary. When a boundary piece is a smooth arc, we can study the function along that arc by expressing its points with one parameter.
This turns the boundary search into a one-variable problem. Interior points of the parameter interval can be tested by setting the derivative of the restricted function equal to zero. The two endpoints require separate attention: an extremum can occur there even when that derivative is not zero.
Restriction to a Parametrized Arc
Let \(f\) be a differentiable function of two variables, and let a boundary arc be parametrized by \(\boldsymbol{\gamma}(t)=(x(t),y(t))\), where \(a\le t\le b\). The function restricted to the arc is the one-variable function \(g(t)=f(x(t),y(t))\). A parameter value \(t\) therefore corresponds to the boundary point \(\boldsymbol{\gamma}(t)\), and \(g(t)\) is the value of \(f\) at that point.
The chain rule gives the derivative of this restriction:
This formula measures how the function changes as we move along the arc. It is the derivative along the boundary path, not a requirement that both partial derivatives of \(f\) vanish.
The Complete Candidate Rule
Assume that \(\boldsymbol{\gamma}\) is continuous on the closed interval \([a,b]\), that \(g=f\circ\boldsymbol{\gamma}\) is continuous there, and that \(g\) is differentiable for \(a<t<b\). The Extreme Value Theorem guarantees that \(g\) attains a maximum and a minimum on \([a,b]\). If either extremum occurs at an interior parameter \(t_0\), Fermat’s theorem for one-variable functions says that \(g'(t_0)=0\). Otherwise, it occurs at an endpoint.
This statement gives a complete set of necessary candidates; it does not say that every candidate is an extremum. A zero derivative might correspond to neither a maximum nor a minimum. Evaluate \(f\) at all candidates and compare the resulting values to determine the extrema on the arc.
Why the Rule Works
The justification is a direct application of the one-variable extreme-value and Fermat theorems. The key point is that an extremum strictly inside the parameter interval can be approached along the arc in both directions. At an endpoint, only one direction along the interval is available, so the derivative need not vanish.
Set \(g(t)=f(\boldsymbol{\gamma}(t))\). It is continuous on the closed interval \([a,b]\), so it attains its largest and smallest values there.
If \(t_0\) is an interior maximum or minimum of \(g\), then \(g\) has a local extremum at \(t_0\). Since \(g\) is differentiable there, Fermat’s theorem implies \(g'(t_0)=0\).
If an extremum is not at an interior zero of \(g'\), it must occur at \(a\) or \(b\). Thus both endpoint values belong on the candidate list.
When the arc is regular, meaning \(\boldsymbol{\gamma}'(t)\ne\mathbf{0}\), the equation \(g'(t)=0\) says that the directional change of \(f\) along the tangent to the arc is zero. It does not require \(\nabla f=\mathbf{0}\): the full gradient may be nonzero while its component along the arc’s tangent is zero.
Worked Examples
Worked Example: A Parabolic Arc with an Interior Candidate
Find the maximum and minimum of \(f(x,y)=x^2+y\) on the arc \(\boldsymbol{\gamma}(t)=(t,t^2)\), \(-1\le t\le1\).
First restrict \(f\) to the arc:
Differentiate and solve for interior stationary parameters:
The full candidate parameter list is \(t=-1,0,1\): the stationary parameter \(0\) and both endpoints. Their points and function values are
Thus the minimum on this arc is \(0\), attained at \((0,0)\), and the maximum is \(2\), attained at both endpoints. As a check, \(g(t)=2t^2\ge0\) for every \(t\) in the interval, and \(g(t)\le2\) when \(-1\le t\le1\), confirming the candidate comparison.
Worked Example: Several Stationary Parameters
Find the maximum and minimum of \(f(x,y)=(x^2-1)^2+y\) on the line segment \(\boldsymbol{\gamma}(t)=(t,0)\), \(-2\le t\le2\).
The restriction is
Differentiate by the chain rule:
The interior stationary parameters are \(t=-1,0,1\). Include the endpoints \(t=-2\) and \(t=2\). Evaluate \(g\) at all five candidates:
The minimum is \(0\), attained at \((-1,0)\) and \((1,0)\); the maximum is \(9\), attained at the two endpoints \((-2,0)\) and \((2,0)\). To check the stationary calculation, substitution into \(g'(t)=4t(t-1)(t+1)\) gives zero at each of \(-1,0,1\). The endpoint values are obtained directly from \(g\), as required even though those parameters are not interior stationary points.
Worked Example: An Arc with No Interior Stationary Parameter
Find the maximum and minimum of \(f(x,y)=x\) on the parabolic arc \(\boldsymbol{\gamma}(t)=(t,t^2)\), \(0\le t\le2\).
Restrict the function and differentiate:
The equation \(g'(t)=0\) has no solutions, so there are no interior stationary candidates. The endpoints must still be checked:
Therefore the minimum on the arc is \(0\) at \((0,0)\), and the maximum is \(2\) at \((2,4)\). The check is immediate from \(g(t)=t\): on \(0\le t\le2\), its values range from \(0\) to \(2\). In particular, the absence of interior stationary parameters does not mean the arc has no extrema; both occur at endpoints.
A Common Mistake: Omitting the Endpoints
A frequent error is to solve \(g'(t)=0\) and treat the resulting stationary parameters as the entire candidate list. The third example shows why that fails. There, \(g'(t)=1\) everywhere, so the stationary-point equation has no solution. Concluding that there are no extrema would be wrong: the restricted function has a minimum at one endpoint and a maximum at the other.
Another related error is to solve \(f_x=f_y=0\) as though every boundary extremum must be a critical point of \(f\) in the full plane. The condition for an interior extremum along the arc is instead \(g'(t)=0\), or equivalently \(\nabla f(\boldsymbol{\gamma}(t))\cdot\boldsymbol{\gamma}'(t)=0\). These are different tests: the latter checks change along the boundary direction.
Using the Candidate List
For one closed smooth arc, the practical steps are:
- Write its parametrization \(\boldsymbol{\gamma}(t)\) and parameter interval \([a,b]\).
- Form \(g(t)=f(\boldsymbol{\gamma}(t))\).
- Differentiate \(g\), using the chain rule.
- Solve \(g'(t)=0\) for parameters strictly inside \((a,b)\).
- Add both endpoint parameters \(a\) and \(b\).
- Evaluate \(f\) at the corresponding boundary points and compare the values.
The candidate set may contain repeated points or points that are not extrema; keeping such candidates is harmless. Also, the stationary set need not always be finite. If \(g'\) vanishes at many parameter values, the rule still identifies the endpoint and stationary locations that must be considered, but solving or describing that set may require further analysis.
When a region’s boundary is made of several arcs, this procedure applies to each arc, with the endpoints of every arc included. A point shared by two arcs may appear more than once; it is still just one geometric candidate. The interior candidates of the region are a separate part of the absolute-extrema search.
Check Your Understanding
Use the restriction-to-an-arc rule to answer these questions.
- For \(g(t)=f(\boldsymbol{\gamma}(t))\) on \([a,b]\), which parameter values must be checked besides interior solutions of \(g'(t)=0\)?
- Why does an interior extremum of the restricted function require \(g'(t)=0\), while an endpoint extremum need not?
- For \(f(x,y)=x+y\) and \(\boldsymbol{\gamma}(t)=(t,t^2)\) on \([-1,1]\), find \(g(t)\), its interior stationary parameters, and the endpoint parameters.
- Does \(g'(t)=0\) imply that both partial derivatives \(f_x\) and \(f_y\) vanish? Explain using the chain-rule formula.
- If \(g'(t)\) has no zero in \((a,b)\), can \(g\) still attain a maximum and minimum on \([a,b]\)? Where must they occur?