Search the atlas

Extrema and mean value theorems

Compare the hypotheses for existence of extrema, stationary points, Rolle’s theorem and Cauchy’s mean value theorem.

The extreme value theorem

The extreme value theorem (Weierstrass’s theorem) guarantees that a continuous real-valued function on a nonempty compact domain attains its maximum and minimum. An optimisation problem starts with this existence question: is the best possible value achieved by any admissible choice?

On a closed, bounded interval [a,b][a,b], a continuous function stays bounded and takes both its largest and its smallest value. Neither extreme can lie just beyond an excluded endpoint.

Statement

Let f:[a,b]→Rf:[a,b]\to\mathbb{R} be continuous on a nonempty closed, bounded interval. There exist points

xmin⁡,xmax⁡∈[a,b]x_{\min},x_{\max}\in[a,b]

such that, for every x∈[a,b]x\in[a,b],

f(xmin⁡)≤f(x)≤f(xmax⁡).f(x_{\min}) \le f(x) \le f(x_{\max}).

The number f(xmin⁡)f(x_{\min}) is the absolute minimum and f(xmax⁡)f(x_{\max}) the absolute maximum. Several points may attain the same extreme value.

More generally, if KK is a nonempty compact set and f:K→Rf:K\to\mathbb{R} is continuous, then ff attains both extremes on KK:

∃xmin⁡,xmax⁡∈Ksuch thatf(xmin⁡)≤f(x)≤f(xmax⁡)∀x∈K.\exists x_{\min},x_{\max}\in K \quad \text{such that} \quad f(x_{\min})\le f(x)\le f(x_{\max}) \quad \forall x\in K.

In Rn\mathbb{R}^n, the Heine–Borel theorem characterises compact sets as closed and bounded. In other spaces, closed and bounded sets need not be compact.

Boundedness and attainment

The theorem has two conclusions:

  1. The function is bounded above and below on its domain.
  2. At least one point attains its supremum and at least one attains its infimum.

Attainment is stronger than boundedness. For f(x)=xf(x)=x on (0,1)(0,1), the infimum is 00 and the supremum is 11. Neither is a function value because neither endpoint belongs to the domain.

The theorem gives existence. To locate extrema in a typical one-variable problem, investigate

  • Interior stationary points.
  • Interior points where the derivative does not exist.
  • Interval endpoints.
  • Any additional points singled out by domain restrictions.

Compare the function values at the candidates.

Why the theorem holds

First prove boundedness. Otherwise we could choose xn∈[a,b]x_n\in[a,b] with

∣f(xn)∣>n.|f(x_n)|>n.

Compactness gives a convergent subsequence xnk→x∗∈[a,b]x_{n_k}\to x_\ast\in[a,b]. Continuity forces f(xnk)→f(x∗)f(x_{n_k})\to f(x_\ast), contradicting ∣f(xnk)∣>nk|f(x_{n_k})|>n_k. The image is therefore bounded and nonempty.

Its supremum is now a well-defined real number:

M=sup⁡f([a,b]).M=\sup f([a,b]).

By the definition of supremum, choose a sequence (xn)(x_n) in [a,b][a,b] such that

f(xn)→M.f(x_n)\to M.

Compactness again gives a convergent subsequence in the domain:

xnk→x∗∈[a,b].x_{n_k}\to x_\ast\in[a,b].

By continuity,

f(xnk)→f(x∗).f(x_{n_k})\to f(x_\ast).

Hence f(x∗)=Mf(x_\ast)=M and the supremum is attained. Apply the same reasoning to the infimum. Compactness supplies a limit point in the domain, and continuity identifies the corresponding function value.

What can fail without the hypotheses?

On the open interval (0,1)(0,1) the function

f(x)=xf(x)=x

is continuous and bounded, yet attains neither extreme.

On the unbounded interval [0,+∞)[0,+\infty) the function

f(x)=xf(x)=x

has its minimum at 00 but no maximum.

Even a closed, bounded interval does not suffice for an arbitrary discontinuous function. Consider

f(x)={1x,x∈(0,1],0,x=0,f(x)= \begin{cases} \dfrac{1}{x}, & x\in(0,1],\\ 0, & x=0, \end{cases}

on [0,1][0,1]. It is discontinuous at 00 and unbounded above.

These examples show why the separate hypotheses matter for the guarantee. Some functions that fail them still have extrema.

Connections with other theorems

Several different results bear the name Weierstrass:

Here the relevant connections are Rolle’s theorem, the intermediate value theorem and the Heine–Cantor theorem. A continuous function on a compact domain is bounded, attains its extrema and is uniformly continuous. If the domain is also connected, as a closed interval is, it takes every value between its minimum and maximum.

Existence in design and numerical models

A continuous objective on a nonempty compact feasible set has an admissible minimiser and maximiser. This matters when comparing component dimensions, optimising a process or looking for a maximum temperature in a continuous field.

In finite dimensions, check that the feasible set includes its boundary and prevents parameters from escaping to infinity. A strict constraint may exclude the limiting optimum. Artificially adding a boundary point is justified only if it represents an admissible physical design.

Check continuity where operating regimes meet. Contact, phase changes, switching, saturation and piecewise laws require attention. A geometric singularity may produce unbounded stresses in an ideal continuum model even when a discretisation returns a finite largest stress.

The theorem guarantees neither uniqueness nor convexity and supplies no algorithm. Different starts can find different local minima or nearly flat regions. Compare boundary values, refine the search, and use independent upper or lower bounds where available.

Document the feasible domain, continuity, active constraints, singularities and units. Assess sensitivity to tolerances: existence alone does not ensure a stable optimum. For function spaces, specify the norm or topology and establish compactness in that setting. Comparing a calculated maximum with an analytical bound can help distinguish errors in the mesh, model and optimisation.

Common errors

  • A supremum is a maximum only if some point attains it.
  • Check points excluded by an open domain.
  • On an unbounded interval continuity alone does not guarantee extrema.
  • The theorem does not find the maximising or minimising point.
  • Check continuity even on a compact domain.
  • Include the boundary in multivariable searches.
  • Distinguish the extreme value theorem from the other results named after Weierstrass.

Explore the connections between compactness, extrema, uniform continuity and connectedness in these worked multivariable problems.

See continuity, compact sets, maximum, minimum, supremum, infimum, Bolzano–Weierstrass, the calculus formula sheet and worked problems on absolute extrema.

Fermat’s stationary-point theorem

Fermat’s stationary-point theorem says that a differentiable function has derivative zero at an interior local extremum. This necessary condition identifies candidates when seeking critical points, analysing a function or solving an optimisation problem.

Here Fermat’s theorem concerns stationary points in real analysis. Fermat’s little theorem and his last theorem belong to number theory.

Statement

Suppose ff is defined near x0x_0 and that

  1. x0x_0 is an interior point of the domain.
  2. The function has a local maximum or minimum at x0x_0.
  3. The derivative exists at x0x_0.

Then

f′(x0)=0.f'(x_0)=0.

Geometrically, the graph has a horizontal tangent at a differentiable interior extremum.

Why the point must be interior

At an endpoint, a function can have a local or absolute extremum without a zero slope.

For example, restrict the affine function

F(x)=x,F(x)=x,

to [0,1][0,1]. Its absolute minimum is at x=0x=0 and its maximum is at x=1x=1. The restriction lacks a two-sided derivative at either endpoint, although the extension F:R→RF:\mathbb R\to\mathbb R satisfies

F′(0)=F′(1)=1,F'(0)=F'(1)=1,

The one-sided derivatives of the restriction also equal 11. At an endpoint only one direction of variation is available, so Fermat’s interior argument does not apply.

Proof

Consider a local maximum. The proof for a local minimum reverses the inequalities. In a neighbourhood of a maximum x0x_0,

f(x)≤f(x0).f(x)\le f(x_0).

For sufficiently small h>0h>0,

f(x0+h)−f(x0)≤0,f(x_0+h)-f(x_0)\le0,

and therefore

f(x0+h)−f(x0)h≤0.\dfrac{f(x_0+h)-f(x_0)}{h}\le0.

Taking the limit as h→0+h\to0^+ gives

f+′(x0)≤0.f'_+(x_0)\le0.

For sufficiently small h<0h<0, we also have

f(x0+h)−f(x0)≤0,f(x_0+h)-f(x_0)\le0,

Dividing by h<0h<0 reverses the inequality:

f(x0+h)−f(x0)h≥0.\dfrac{f(x_0+h)-f(x_0)}{h}\ge0.

Taking the limit as h→0−h\to0^- gives

f−′(x0)≥0.f'_-(x_0)\ge0.

Differentiability makes the one-sided limits equal:

f−′(x0)=f+′(x0)=f′(x0).f'_-(x_0)=f'_+(x_0)=f'(x_0).

Only zero is both ≤0\le0 and ≥0\ge0, so

f′(x0)=0.f'(x_0)=0.

The argument uses admissible increments of both signs and the existence of a two-sided derivative.

Stationary points

A point satisfying

f′(x0)=0f'(x_0)=0

is called a stationary point. Every differentiable interior local extremum is stationary. Stationarity alone does not establish an extremum.

For example, the function

f(x)=x3f(x)=x^3

has derivative

f′(x)=3x2,f′(0)=0.f'(x)=3x^2, \qquad f'(0)=0.

At x=0x=0 the tangent is horizontal, but the function increases through the origin. This is a stationary inflection point. To classify a stationary point, examine changes in sign of f′f', use a second-derivative or Taylor test when applicable, or compare nearby function values.

Corners and other points without a derivative

Fermat’s condition does not apply where the derivative fails to exist. The function

f(x)=∣x∣f(x)=|x|

attains its local and absolute minimum at x=0x=0. Its left derivative is −1-1 and its right derivative is 11.

Include possible extrema at corners, cusps, vertical tangents, discontinuities in the model and domain boundaries. Solving only f′(x)=0f'(x)=0 can miss them.

How Fermat, Rolle and Weierstrass fit together

To prove Rolle’s theorem, the extreme value theorem gives an attained maximum and minimum. Under Rolle’s endpoint condition, a nonconstant function attains at least one of them inside the interval. Fermat then gives a zero derivative there.

The mean value theorem extends Rolle by relating a derivative to the secant slope. This chain of results underlies monotonicity tests and bounds on change:

(Weierstrass+Fermat)⟹Rolle⟹Lagrange.\bigl(\text{Weierstrass}+\text{Fermat}\bigr) \quad\Longrightarrow\quad \text{Rolle} \quad\Longrightarrow\quad \text{Lagrange}.

Fermat’s theorem supplies the step from the existence of an interior extremum to a condition on slopes.

Functions of several variables

Suppose a function is differentiable:

f:Rn→R,f:\mathbb R^n\to\mathbb R,

At an interior local extremum x0x_0, the gradient vanishes:

∇f(x0)=0.\nabla f(x_0)=0.

For each direction vv, consider the one-variable function

g(t)=f(x0+tv)g(t)=f(x_0+tv)

It has a local extremum at t=0t=0. Fermat’s theorem gives

g′(0)=0.g'(0)=0.

The derivative g′(0)g'(0) is the directional derivative of ff along vv. A differentiable function has directional derivative equal to the gradient dotted with vv. Vanishing in every direction therefore forces a zero gradient.

A zero gradient may indicate a local minimum, a local maximum or a saddle. The Hessian matrix often helps distinguish them.

Unconstrained and constrained optimisation

In nonlinear optimisation, the necessary condition for a differentiable, unconstrained interior optimum is

∇f(x∗)=0.\nabla f(x^\ast)=0.

An algorithm may report a small gradient norm or stationarity residual near a minimum, maximum, saddle or flat region. This alone cannot establish global optimality.

On a boundary or constraint surface, only feasible directions matter. Lagrange multipliers or other constrained optimality conditions may be appropriate.

Checking a numerical stationary point

The first-order condition says that local sensitivity vanishes at a smooth interior optimum. It applies to sizing, calibration, process settings and objectives such as energy, mass, cost or error when the model is differentiable and no constraint is active.

Classify a candidate using curvature, changes in feasible directions and direct objective comparisons. Nonconvex problems may require multiple starts or a global bound.

Geometric limits, saturation, backlash, dry friction and piecewise laws can place an optimum at a boundary or corner. Include these feasible candidates and apply constrained conditions where needed.

Computed derivatives depend on variable scales, units and solver accuracy. A badly chosen finite-difference step, noise or ill-conditioning can imitate a zero derivative. Scale the variables, check gradients independently and compare predicted and actual objective changes.

Record the domain, constraints, gradient norm, tolerances, constraint residuals and sensitivity to perturbations. For control or identification problems, assess feasibility and stability as well as numerical convergence.

Common errors

The condition f′(x0)=0f'(x_0)=0 is necessary at a differentiable interior extremum but is insufficient to classify the point.

A global maximum or minimum may lie at a boundary with nonzero one-sided slope.

Absolute values, piecewise functions, cusps and saturation can give extrema where f′=0f'=0 does not apply.

Specify which theorem of Fermat you mean: this one is a result in calculus.

See derivatives, critical points, maxima, minima, nondifferentiability, Rolle’s theorem, the mean value theorem, the extreme value theorem, worked problems on Fermat, Rolle and Lagrange, optimisation and absolute extrema problems.

Rolle’s theorem

Rolle’s theorem says that a function continuous on a closed interval and differentiable inside it has at least one interior stationary point if its endpoint values agree. A graph that starts and finishes at the same height under these conditions must have a horizontal tangent somewhere in between.

Conditions at a glance

Three conditions must hold together:

Condition

Where to check

What to look for

Continuity

[a,b][a,b]

Defined throughout, with no gaps or jumps.

Differentiability

(a,b)(a,b)

A finite two-sided derivative at each interior point, excluding corners, cusps or vertical tangents.

Endpoint values

aa and bb

f(a)=f(b)f(a)=f(b)

There is then at least one c∈(a,b)c\in(a,b) with f′(c)=0f'(c)=0. The theorem gives neither its location nor its uniqueness.

Statement

Let a<ba<b. Suppose f:[a,b]→Rf:[a,b]\to\mathbb{R} satisfies

  1. ff is continuous on [a,b][a,b].
  2. It is differentiable on (a,b)(a,b).
  3. Its endpoint values satisfy f(a)=f(b)f(a)=f(b).

Then some c∈(a,b)c\in(a,b) satisfies

f′(c)=0.f'(c)=0.

Continuity is required up to both endpoints. Differentiability is required only in the open interval.

The geometric picture

If f(a)=f(b)f(a)=f(b), the secant from (a,f(a))(a,f(a)) to (b,f(b))(b,f(b)) is horizontal. Rolle’s theorem gives a tangent parallel to that secant at an interior point.

A graph that rises above its common endpoint height must attain an interior maximum. If it falls below that height it must attain an interior minimum. For a constant function every interior point satisfies f′(c)=0f'(c)=0.

Proof

Combine two earlier results:

  • The extreme value theorem gives absolute extrema for a continuous function on a closed, bounded interval.
  • Fermat’s theorem gives a zero derivative at a differentiable interior local extremum.

The function attains its maximum MM and minimum mm. If M=mM=m, it is constant and f′(c)=0f'(c)=0 for every c∈(a,b)c\in(a,b).

If M>mM\gt m, equal endpoint values cannot account for both extreme values. At least one extremum occurs in the open interval. At that point Fermat’s theorem gives

f′(c)=0.f'(c)=0.

Each hypothesis is used: continuity gives attainment, endpoint equality gives an interior extremum in the nonconstant case, and differentiability gives the horizontal tangent.

Applying the theorem

Check the hypotheses before finding the points:

  1. Verify continuity throughout [a,b][a,b].
  2. Check differentiability on (a,b)(a,b).
  3. Evaluate both endpoint values.
  4. State why Rolle applies.
  5. Solve f′(x)=0f'(x)=0.
  6. Keep only the solutions inside (a,b)(a,b).

A stationary point can exist even when the theorem’s hypotheses fail. Conversely, establishing that Rolle applies proves existence before any derivative equation is solved.

Example 1. One stationary point

Consider the function

f(x)=x2−4x+3f(x)=x^2-4x+3

on [1,3][1,3]. A polynomial is continuous and differentiable, and its endpoint values are

f(1)=0,f(3)=0.f(1)=0,\qquad f(3)=0.

Rolle applies. Differentiate:

f′(x)=2x−4.f'(x)=2x-4.

Solving f′(c)=0f'(c)=0 gives

2c−4=0⟹c=2.2c-4=0 \quad\Longrightarrow\quad c=2.

The point c=2c=2 lies in (1,3)(1,3), at the vertex of the parabola.

Example 2. Two stationary points

Take

f(x)=sin⁡xf(x)=\sin x

on [0,2π][0,2\pi]. The function is continuous and differentiable, with

f(0)=f(2π)=0.f(0)=f(2\pi)=0.

Its derivative is

f′(x)=cos⁡x.f'(x)=\cos x.

In (0,2π)(0,2\pi) there are two solutions to cos⁡x=0\cos x=0:

c1=π2,c2=3π2.c_1=\dfrac{\pi}{2}, \qquad c_2=\dfrac{3\pi}{2}.

The calculation finds two points. The theorem guaranteed at least one.

What can go wrong?

Dropping any one of the conditions can invalidate the conclusion.

Missing condition

Example

Consequence

Continuity on [a,b][a,b]

An endpoint jump

Equal endpoint values can occur with no interior horizontal tangent: take f(x)=xf(x)=x on [0,1)[0,1) and f(1)=0f(1)=0.

Differentiability on (a,b)(a,b)

f(x)=∣x∣f(x)=\lvert x\rvert on [−1,1][-1,1]

The function has a corner at zero and no derivative there.

Equal endpoint values

f(x)=xf(x)=x on [0,1][0,1]

Its derivative is 11 everywhere.

In particular, ∣x∣\lvert x\rvert has equal values at −1-1 and 11, but its derivative is nonzero wherever it exists. The corner at 00 prevents application of the theorem.

Connection with mean value theorems

Apply Rolle to suitable auxiliary functions to derive the ordinary mean value theorem or Cauchy’s mean value theorem. Conversely, taking the identity as Cauchy’s second function yields the ordinary result. The remainder in Taylor’s formula uses related arguments.

Schematically,

Rolle⟹{Lagrange,Cauchy.\text{Rolle} \quad\Longrightarrow\quad \begin{cases} \text{Lagrange},\\ \text{Cauchy}. \end{cases}

Thus a theorem about a horizontal tangent also proves results about arbitrary secant slopes.

Stationary points and zero counting

Two frequent applications are

  1. Proving that an interior critical point exists.
  2. Bounding the number of zeros, often as part of an existence-and-uniqueness argument.

Any two distinct zeros of a function satisfying Rolle’s regularity assumptions have a zero of the derivative between them. If f′(x)f'(x) never vanishes on an interval, the function has at most one zero there.

The same argument applies to two occurrences of any given function value.

Interpreting repeated measurements

A smooth trajectory that returns to the same height has an intermediate instant with zero vertical velocity. This gives qualitative information about oscillations, profiles and calibration curves.

If a derivative never vanishes on an interval, the function is injective there. A calibration equation can then have at most one solution, an important condition for inverting a sensor response.

Impacts, switching, hysteresis, backlash and saturation can introduce jumps or corners. Two equal readings do not establish regularity of the underlying continuous-time model.

An oscillating signal may have several stationary points. Noise and numerical differentiation can add apparent zeros. Use a model, isolating intervals and appropriate tolerances to estimate their locations.

Specify the interval and regularity. For a model with exact endpoint equality, use Rolle directly. For measured values, include uncertainty before drawing a conclusion. To count roots of an approximation error, apply the same principle only if the error function satisfies the hypotheses. Document tolerances and check candidates in the original function.

Common errors

  • Equal endpoints alone do not suffice.
  • The guaranteed point belongs to (a,b)(a,b), excluding the endpoints.
  • Several points may satisfy the conclusion.
  • Use an actual real interval contained in the domain.
  • The existence of a zero derivative somewhere does not establish all of Rolle’s hypotheses.

Further practice

A progression through the material:

  1. Review continuity, derivatives and critical points.
  2. Work through problems on Fermat, Rolle and Lagrange to distinguish existence, uniqueness and counterexamples.
  3. Apply the theorem to polynomial functions.
  4. Continue with the ordinary mean value theorem and Cauchy’s generalisation.

Explain why f(x)=∣x∣f(x)=|x| on [−1,1][-1,1] meets the continuity and endpoint conditions but fails differentiability.

See Fermat’s theorem, the mean value theorem, Cauchy’s theorem, continuity and derivatives.

Cauchy’s mean value theorem

Cauchy’s mean value theorem extends the ordinary mean value theorem to two functions on the same interval. It compares a finite change in ff with a finite change in gg.

The name here refers to a theorem in real analysis. Cauchy’s integral theorem and Cauchy’s integral formula concern holomorphic functions in complex analysis.

1. The general cross-multiplied identity

Let a<ba<b and suppose f,g:[a,b]→Rf,g:[a,b]\to\mathbb R satisfy both requirements:

  1. Both are continuous on [a,b][a,b].
  2. Both are differentiable on (a,b)(a,b).

Then there exists a c∈(a,b)c\in(a,b) such that

f′(c) [g(b)−g(a)]=g′(c) [f(b)−f(a)].f'(c)\,[g(b)-g(a)] = g'(c)\,[f(b)-f(a)].

This identity involves no division, so it remains valid even when g′(c)g'(c) or g(b)−g(a)g(b)-g(a) is zero.

2. The ratio form

Suppose in addition that

g′(x)≠0for all x∈(a,b),g'(x)\ne0 \qquad \text{for all }x\in(a,b),

Then g(b)≠g(a)g(b)\ne g(a). Otherwise Rolle’s theorem would give some ξ∈(a,b)\xi\in(a,b) with g′(ξ)=0g'(\xi)=0.

Both denominators in the following expression are now nonzero:

f(b)−f(a)g(b)−g(a)=f′(c)g′(c).\dfrac{f(b)-f(a)}{g(b)-g(a)} = \dfrac{f'(c)}{g'(c)}.

Requiring g′≠0g'\ne0 throughout the open interval is a convenient sufficient condition for the ratio form.

3. Geometric interpretation

In the ordinary mean value theorem, the derivative equals the slope of a secant at some interior point. For Cauchy’s ratio form, consider the parametric curve

x⟼(g(x),f(x)).x\longmapsto \bigl(g(x),f(x)\bigr).

The endpoints give a secant through (g(a),f(a))(g(a),f(a)) and (g(b),f(b))(g(b),f(b)), with slope

f(b)−f(a)g(b)−g(a).\dfrac{f(b)-f(a)}{g(b)-g(a)}.

At some intermediate parameter cc, the tangent to the parametric curve has that same slope:

df/dxdg/dx(c)=f′(c)g′(c).\dfrac{df/dx}{dg/dx}(c) = \dfrac{f'(c)}{g'(c)}.

This compares ff directly with gg even when both were specified as functions of an auxiliary parameter xx.

4. Proof using an auxiliary function

To apply Rolle’s theorem, define a function with equal values at the two endpoints:

Φ(x)=(f(b)−f(a))(g(x)−g(a))−(g(b)−g(a))(f(x)−f(a)).\Phi(x)= \bigl(f(b)-f(a)\bigr)\bigl(g(x)-g(a)\bigr) - \bigl(g(b)-g(a)\bigr)\bigl(f(x)-f(a)\bigr).

By construction,

Φ(a)=0,Φ(b)=0.\Phi(a)=0, \qquad \Phi(b)=0.

The function Φ\Phi inherits continuity on [a,b][a,b] and differentiability on (a,b)(a,b). Rolle therefore gives a c∈(a,b)c\in(a,b) with Φ′(c)=0\Phi'(c)=0.

Differentiate:

Φ′(x)=(f(b)−f(a))g′(x)−(g(b)−g(a))f′(x).\Phi'(x)= \bigl(f(b)-f(a)\bigr)g'(x) - \bigl(g(b)-g(a)\bigr)f'(x).

At cc, this gives

(f(b)−f(a))g′(c)=(g(b)−g(a))f′(c).\bigl(f(b)-f(a)\bigr)g'(c) = \bigl(g(b)-g(a)\bigr)f'(c).

This is the general identity. If g′≠0g'\ne0 throughout (a,b)(a,b), then g(b)−g(a)≠0g(b)-g(a)\ne0 too. Divide by (g(b)−g(a))g′(c)\bigl(g(b)-g(a)\bigr)g'(c) to obtain

f(b)−f(a)g(b)−g(a)=f′(c)g′(c).\dfrac{f(b)-f(a)}{g(b)-g(a)} = \dfrac{f'(c)}{g'(c)}.

The auxiliary linear combination was chosen precisely to give equal endpoint values without first dividing.

5. Recovering the ordinary mean value theorem

Choose the second function to be

g(x)=x.g(x)=x.

Then g′(x)=1g'(x)=1 and g(b)−g(a)=b−ag(b)-g(a)=b-a. Cauchy’s theorem becomes

f(b)−f(a)b−a=f′(c),\dfrac{f(b)-f(a)}{b-a} = f'(c),

the ordinary real-variable mean value theorem.

Rolle relates equal endpoints to a stationary point, the ordinary theorem relates an increment to a slope, and Cauchy compares two increments:

Rolle⟶Lagrange⟶Cauchy⟶De L’Hopital.\text{Rolle} \longrightarrow \text{Lagrange} \longrightarrow \text{Cauchy} \longrightarrow \text{De L'Hopital}.

6. Connection with l’Hôpital’s rule

In the 0/00/0 case of l’Hôpital’s rule, extend the functions by f(x0)=g(x0)=0f(x_0)=g(x_0)=0 when their limits permit it. Apply Cauchy on the interval with endpoints x0x_0 and xx.

For each nearby xx there is an intermediate cxc_x such that

f(x)−f(x0)g(x)−g(x0)=f′(cx)g′(cx).\dfrac{f(x)-f(x_0)}{g(x)-g(x_0)} = \dfrac{f'(c_x)}{g'(c_x)}.

As xx tends to x0x_0, so does cxc_x. If the derivative ratio has a limit LL,

lim⁡t→x0f′(t)g′(t)=L,\lim_{t\to x_0} \dfrac{f'(t)}{g'(t)} = L,

then

lim⁡x→x0f(x)g(x)=L,\lim_{x\to x_0} \dfrac{f(x)}{g(x)} = L,

provided the regularity and denominator hypotheses hold. The argument explains why l’Hôpital’s rule works under those conditions.

7. Eliminating a parameter in applications

The theorem helps compare changes in two quantities that depend on the same parameter, even when that parameter is not the quantity of physical interest.

Applications include:

  • Limits and asymptotic expansions, where a derivative ratio can determine a function ratio.
  • Transient response, comparing finite changes to local sensitivities.
  • Linearisation, interpreting an incremental ratio in terms of differential response somewhere along the path.
  • Numerical error estimates using auxiliary functions or a change of variable.
  • Thermodynamics and continuum models, where one quantity may be differentiated with respect to another.

Under the stated ratio-form assumptions, the overall ratio of changes equals a local derivative ratio at some interior point.

Interpreting a measured sensitivity

When two regular quantities follow the same parameter, the secant slope in their plane describes the overall response. Cauchy’s theorem gives an intermediate point where the local sensitivity equals that slope.

A nowhere-zero denominator derivative is a sufficient condition for the ratio form. If the denominator quantity stops changing or reverses direction, the derivative ratio can become undefined. The cross-multiplied identity still holds under the original hypotheses.

In a thermodynamic, kinematic or calibration model, the intermediate state need not be uniquely determined and sensitivity need not be constant. Treating the observed slope as a coefficient throughout the interval requires an additional error estimate.

Numerical differentiation amplifies noise and depends on step size. Fit or filter measurements where justified, estimate uncertainty and compare against an independent sensitivity calculation. One observed agreement cannot establish regularity on the full interval.

Specify the parameter, orientation, units and interval. Check differentiability, endpoint continuity and denominator behaviour before choosing a theorem form. Compare the resulting sensitivity with physical bounds or tolerances and keep the conclusion within the stated path.

8. Worked example

Take

f(x)=ex,g(x)=x2+1,x∈[0,1].f(x)=e^x, \qquad g(x)=x^2+1, \qquad x\in[0,1].

Both functions are continuous and differentiable, and

g′(x)=2x.g'(x)=2x.

On (0,1)(0,1) the derivative of gg never vanishes. Some c∈(0,1)c\in(0,1) therefore satisfies

e1−e0(12+1)−(02+1)=ec2c.\dfrac{e^1-e^0}{(1^2+1)-(0^2+1)} = \dfrac{e^c}{2c}.

Since the increment of gg is 11, this becomes

e−1=ec2c.e-1 = \dfrac{e^c}{2c}.

Existence of such a point can be useful even when its exact location is unknown.

9. Common errors

Check these points:

  1. Distinguish the real mean value theorem from Cauchy’s integral results in complex analysis.
  2. Verify continuity at both endpoints as well as differentiability in the interior.
  3. Use the cross-multiplied identity if division has not been justified.
  4. Establish existence without presuming uniqueness of cc.
  5. Before using l’Hôpital’s rule, check the indeterminate form, regularity and limit of the derivative ratio.
  6. Apply the real-variable result on an interval with ordered endpoints.

See continuity, derivatives, Rolle’s theorem, the ordinary mean value theorem, Fermat’s theorem and l’Hôpital’s rule. For complex analysis, see Cauchy’s integral theorem and Cauchy’s integral formula.

Back to contents