Tutorials › Calculus I › Endpoint Behavior and Extrema in Open Domains

Curve Analysis and Sketching · Tutorial 848 of 1495

Endpoint Behavior and Extrema in Open Domains

Use endpoint limits and interior critical points to find a function’s bounds, then decide whether those bounds are attained on an open or half-open interval.

Intermediate 10 min read

What You'll Learn

  • Distinguish a supremum or infimum from an attained maximum or minimum.
  • Use finite one-sided endpoint limits to analyze open and half-open intervals.
  • Identify the interior critical points that can determine global extrema.
  • Compare endpoint-limit values with critical-point values.
  • Check whether a candidate bound is achieved at a point in the domain.
  • Avoid counting an excluded endpoint as an attained extremum.

Why Missing Endpoints Matter

A function can approach a value at the edge of its domain without ever taking that value. On an open interval, neither endpoint belongs to the domain; on a half-open interval, one endpoint belongs and the other does not. This distinction can decide whether a function has a maximum or minimum, even when its largest or smallest possible value is easy to identify.

To analyze global behavior on these domains, compare two kinds of candidates: the values at interior critical points and the limits at missing endpoints. Then ask a separate question: does the function actually take the candidate value at some point in its domain? A limiting value can determine a bound without being an attained extremum.

Bounds and Attained Extrema

Definition: A number \(M\) is an upper bound for \(f\) on a domain \(D\) if \(f(x)\leq M\) for every \(x\in D\). The supremum is the least upper bound, when it exists. A maximum is a value \(f(c)\) for some \(c\in D\) such that \(f(x)\leq f(c)\) for all \(x\in D\). Lower bounds, the infimum, and a minimum are defined by reversing the inequalities.

Every maximum is a supremum, and every minimum is an infimum. The converse need not hold. The supremum or infimum describes a bound on the values of the function; a maximum or minimum also requires that the function attain that value at a point in its domain.

For example, on \(D=(0,1)\), the function \(f(x)=x\) has supremum \(1\), but it has no maximum: \(1\) is approached as \(x\) approaches the excluded endpoint, but \(f(x)\) is never \(1\) for \(x\in D\). This is the essential issue in endpoint analysis.

Endpoint Limits and Interior Candidates

Let \(f\) be defined on an interval with finite endpoints \(a<b\), such as \((a,b)\), \([a,b)\), or \((a,b]\). At an endpoint excluded from the domain, a finite one-sided limit may still exist. For example, \(\lim_{x\to a^+}f(x)=L\) means that values of \(f(x)\) approach \(L\) as \(x\) approaches \(a\) from within the interval. It does not mean that \(f(a)=L\), since \(a\) may not be in the domain.

Definition: An interior critical number is a point \(c\) inside the interval where \(f'(c)=0\), or where \(f'(c)\) does not exist. Interior points where the function itself is not defined are not critical numbers of \(f\) on that domain.

For a differentiable function, Fermat’s theorem says that if it has a local maximum or minimum at an interior point, then its derivative there is zero. Thus interior critical points are candidates for interior extrema. Endpoint limits are also candidates for the global bounds, but a limit at an excluded endpoint is not itself an attained value.

A Candidate Principle for Open and Half-Open Intervals

The following principle makes the endpoint comparison precise. Suppose \(f\) is continuous on an interval with finite endpoints, and has a finite one-sided limit at each endpoint missing from its domain. Define a function \(F\) on the closed interval \([a,b]\) by keeping the original values in the interior and assigning each missing endpoint its corresponding one-sided limit. At an endpoint already included in the domain, assign its original function value.

The resulting \(F\) is continuous on \([a,b]\). The extreme value theorem therefore guarantees that \(F\) has a maximum and a minimum on \([a,b]\). If an extreme occurs at an interior point where \(f\) is differentiable, Fermat’s theorem implies that the derivative is zero there. If the derivative does not exist there, the point is critical under the definition above. Thus the candidates for the extrema of \(F\) are its endpoint values and its interior critical points.

Theorem: Under these continuity and finite-limit assumptions, the supremum and infimum of \(f\) on its open or half-open domain equal the maximum and minimum of its continuous extension \(F\) to \([a,b]\). To decide whether either bound is attained by \(f\), check whether some point in the original domain has that value. A missing endpoint alone cannot count as such a point.

Here is why the bounds agree. Every value of \(f\) on the original domain is also a value of \(F\), so the maximum of \(F\) is an upper bound for \(f\). If that maximum occurs only at a missing endpoint, values of \(f\) arbitrarily close to the endpoint approach the maximum. No smaller number can then be an upper bound for \(f\). If the maximum occurs at a point of the original domain, it is attained there. The same reasoning, with inequalities reversed, applies to the minimum.

This principle separates two tasks that are easy to confuse: finding the bound, and deciding whether it is achieved. Also, an endpoint limit equal to a bound does not by itself show that the bound is unattained. The same value might occur at an interior point or at an included endpoint.

Worked Examples

Worked Example: Both Bounds Are Approached but Not Attained

Find the supremum, infimum, maximum, and minimum of \(f(x)=x^2\) on \(D=(0,2)\).

First compute the endpoint limits:

$$ \lim_{x\to 0^+}x^2=0, \qquad \lim_{x\to 2^-}x^2=4. $$

The derivative in the interior is \(f'(x)=2x\). Solving \(2x=0\) gives \(x=0\), which is not in \((0,2)\). There are no interior critical numbers. The continuous extension to \([0,2]\) is \(F(x)=x^2\), whose minimum is \(0\) and maximum is \(4\) at the endpoints.

For every \(x\in(0,2)\), \(0<x^2<4\). Values approach \(0\) as \(x\to0^+\), and approach \(4\) as \(x\to2^-\). Therefore \(\inf f=0\) and \(\sup f=4\), but neither is attained: \(f\) has no minimum and no maximum on this domain.

Check: The inequalities show that \(0\) and \(4\) are bounds; the endpoint limits show that no larger lower bound or smaller upper bound is possible. Since neither endpoint belongs to the domain and no interior point gives either value, neither bound is an extremum.

Worked Example: An Interior Maximum and an Unattained Infimum

Find the global bounds of \(f(x)=x(2-x)\) on \(D=(0,2)\), and determine which are attained.

The endpoint limits are

$$ \lim_{x\to0^+}x(2-x)=0, \qquad \lim_{x\to2^-}x(2-x)=0. $$

Differentiate and solve for interior critical numbers:

$$ f'(x)=2-2x, \qquad 2-2x=0 \quad\Longrightarrow\quad x=1. $$

At this critical point, \(f(1)=1(2-1)=1\). The endpoint-limit candidates are both \(0\). Hence the extension to \([0,2]\) has maximum \(1\) and minimum \(0\).

To check attainment on the original domain, rewrite the function as \(f(x)=1-(x-1)^2\). For \(x\in(0,2)\), \((x-1)^2\geq0\), so \(f(x)\leq1\), with equality at \(x=1\). Also \(x>0\) and \(2-x>0\), so \(f(x)>0\) throughout the domain. Thus the maximum \(1\) is attained at \(x=1\), while the infimum \(0\) is not attained.

Check: Substitution gives \(f(1)=1\), confirming the maximum. The factorization \(x(2-x)\) is strictly positive on \((0,2)\), while its endpoint limits are zero, confirming that zero is the infimum but not a minimum.

Worked Example: A Half-Open Interval with an Unattained Supremum

Find the extrema and bounds of \(f(x)=x\) on \(D=[0,1)\).

The left endpoint is included, so its actual function value is \(f(0)=0\). The right endpoint is excluded, but its limit exists:

$$ \lim_{x\to1^-}x=1. $$

The derivative is \(f'(x)=1\), so there are no interior critical numbers. The continuous extension to \([0,1]\) has minimum \(0\) and maximum \(1\). On the original domain, \(0\leq x<1\), so \(0\leq f(x)<1\). The minimum \(0\) is attained at the included endpoint \(x=0\). Values approach \(1\) as \(x\to1^-\), but \(1\) is not in the range, so the supremum is \(1\) and there is no maximum.

Check: \(f(0)=0\) verifies the minimum. For any \(x\in[0,1)\), \(f(x)=x<1\), while values can be made arbitrarily close to \(1\); this verifies the supremum and its nonattainment.

Worked Example: A Missing Endpoint Does Not Prevent Attainment Elsewhere

Find the extrema and bounds of \(f(x)=4x(1-x)\) on \(D=[0,1)\).

At the included endpoint, \(f(0)=0\). At the excluded endpoint,

$$ \lim_{x\to1^-}4x(1-x)=0. $$

Differentiate:

$$ f'(x)=4-8x, \qquad 4-8x=0 \quad\Longrightarrow\quad x=\frac12. $$

The critical-point value is

$$ f\left(\frac12\right) =4\left(\frac12\right)\left(1-\frac12\right) =4\left(\frac12\right)\left(\frac12\right) =1. $$

For \(0\leq x<1\), both factors \(x\) and \(1-x\) are nonnegative, so \(f(x)\geq0\). Also, \(4x(1-x)=1-(2x-1)^2\leq1\), with equality at \(x=\frac12\). Thus the maximum \(1\) is attained at \(x=\frac12\), and the minimum \(0\) is attained at \(x=0\). The fact that the missing endpoint also has limiting value \(0\) does not remove the minimum: the included endpoint already attains it.

Check: Direct substitution gives \(f(0)=0\) and \(f(\frac12)=1\), agreeing with the inequalities. The limit at \(1\) is \(0\), but \(1\) is excluded; the minimum is nevertheless attained at the distinct domain point \(0\).

A Common Mistake: Treating a Limit as a Function Value

A frequent error is to assign an excluded endpoint’s limiting value to the original function and then call it a maximum or minimum. For instance, on \((0,2)\), the limits of \(x^2\) at the endpoints are \(0\) and \(4\). It would be wrong to conclude that the function has minimum \(0\) and maximum \(4\): those values occur at \(x=0\) and \(x=2\) in the closed extension, not at any point in the original domain.

The correction is to keep the extension and the original function distinct. Endpoint limits help determine the supremum and infimum. To claim a maximum or minimum, name a point \(c\) in the original domain and verify that \(f(c)\) equals the proposed bound. If no such point exists, the bound is not attained.

When the Endpoint Method Applies

The continuous-extension method requires finite one-sided limits at the missing endpoints and continuity on the interval. If a limit is infinite, there is no finite endpoint value to use in the extension. For example, \(f(x)=1/x\) on \((0,1)\) grows without bound as \(x\to0^+\), so it has no finite upper bound. Other situations may require checking continuity or the behavior of interior critical points carefully; endpoint limits alone do not replace those conditions.

When the method does apply, an efficient analysis is:

1
Mark which endpoints belong to the domain.
Use the actual function value at an included endpoint and a one-sided limit at a missing endpoint.
2
Find interior critical numbers.
Check where the derivative is zero or does not exist inside the interval.
3
Compare candidate values.
Use the endpoint values or limits together with the function values at interior critical numbers to find the bounds.
4
Check attainment in the original domain.
A candidate at a missing endpoint is not an attained extremum unless the same value occurs at another point that belongs to the domain.

Why the Distinction Matters

Finding a supremum or infimum answers how far the function values extend, including values approached arbitrarily closely. Finding a maximum or minimum answers whether the function actually reaches that bound. These are different questions, especially on open and half-open domains.

In applications, the distinction can affect whether an optimal value is achievable under the stated constraints. A value may be approached as closely as desired without being attained by any permitted input. Checking endpoint inclusion prevents an analysis from reporting an impossible optimizer.

Check Your Understanding

For each question, distinguish the value of a bound from whether the function attains it.

  1. For \(f(x)=x\) on \((2,5)\), what are the infimum and supremum? Does either bound give a minimum or maximum?
  2. For \(f(x)=-(x-1)^2\) on \((0,2)\), find the endpoint limits and the interior critical-point value. Which bounds are attained?
  3. For \(f(x)=3-x\) on \([1,4)\), identify the included endpoint value and the missing-endpoint limit. Which extremum is not attained?
  4. Can an endpoint limit equal the infimum even when the function has a minimum? Explain using the half-open interval example in this tutorial.
  5. What additional check is needed before calling an endpoint-limit candidate a maximum or minimum?

Test yourself: Calculus I final exam practice

Ready to check what you know? Work a full-length practice final, then open the complete worked solutions.

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers the full Calculus AB & BC curriculum (the core of Calculus I and II): full review, every practice question, and step-by-step solutions to each one.

QR code to download the Calc Pass app

Get the Calc Pass App

Scan to download and practice on the go, with instant scoring.

Calc Pass Volume 1: 1,114 Practice Questions book cover

Vol. 1: 1,114 Questions

The complete practice question bank, organized by AB & BC topic.

View on Amazon
Calc Pass Volume 2: Solutions Manual book cover

Vol. 2: Solutions Manual

Fully worked solutions to every question in Volume 1.

View on Amazon