Algorithm Search⌘K

Theoremadvanced

Barbalat's lemma

Also called Barbalat lemma.

If a function of time has a finite limit and its derivative is uniformly continuous, the derivative tends to zero. It replaces LaSalle's principle for time-varying and adaptive systems.

Barbalat's lemma is a fact from real analysis that control theory uses in place of LaSalle's invariance principle when the system depends on time. It says when a function of time that settles to a limit also has a derivative that goes to zero. Settling alone is not enough: a function can tend to a limit while it oscillates faster and faster with smaller and smaller amplitude, and then its derivative does not go to zero. The extra condition is that the derivative is uniformly continuous, which holds for example when the second derivative is bounded. In adaptive control the lemma is the standard way to prove that a tracking error goes to zero from a Lyapunov-like function whose derivative is only nonpositive.

Statement

Lemma (Barbălat). Let ϕ:[0,∞)→R\phi : [0, \infty) \to \mathbb{R} be uniformly continuous on [0,∞)[0, \infty), and let the limit

lim⁡t→∞∫0tϕ(τ) dτ\lim_{t \to \infty} \int_0^t \phi(\tau)\, d\tau

exist and be finite. Then ϕ(t)→0\phi(t) \to 0 as t→∞t \to \infty.

Corollary (derivative form). Let f:[0,∞)→Rf : [0, \infty) \to \mathbb{R} be differentiable, let lim⁡t→∞f(t)\lim_{t \to \infty} f(t) exist and be finite, and let f˙\dot f be uniformly continuous on [0,∞)[0, \infty). Then f˙(t)→0\dot f(t) \to 0 as t→∞t \to \infty.

Corollary (Lyapunov-like form). Let V(t)V(t) be differentiable along a solution of x˙=f(t,x)\dot x = f(t, x), bounded below, with V˙(t)≤0\dot V(t) \le 0 for all t≥0t \ge 0, and let V˙\dot V be uniformly continuous in tt. Then V˙(t)→0\dot V(t) \to 0 as t→∞t \to \infty.

A function ϕ\phi is uniformly continuous on [0,∞)[0, \infty) if for each ε>0\varepsilon > 0 there is one δ>0\delta > 0 such that ∣t−s∣<δ|t - s| < \delta implies ∣ϕ(t)−ϕ(s)∣<ε|\phi(t) - \phi(s)| < \varepsilon, for all t,s≥0t, s \ge 0. A sufficient condition is that ϕ\phi is differentiable with a bounded derivative, because then ϕ\phi is Lipschitz.

In plain words

Suppose a quantity changes over time and its total change, added up from the start, approaches a fixed value. One would like to say that the rate of change dies out. This can fail if the rate makes short, sharp spikes that come less and less often or get thinner and thinner: they add up to little, but they never stop. The lemma forbids such spikes by asking that the rate cannot jump quickly, with the same speed limit for all time. Then a rate that stayed away from zero now and then would stay away from zero for a fixed short while each time, and these pieces would add up to too much. So the rate must die out.

Proof

Proof of the lemma. Suppose that ϕ(t)\phi(t) does not tend to 00. Then there are ε>0\varepsilon > 0 and times tk→∞t_k \to \infty with ∣ϕ(tk)∣≥ε|\phi(t_k)| \ge \varepsilon. By uniform continuity there is δ>0\delta > 0 such that ∣t−s∣<δ|t - s| < \delta implies ∣ϕ(t)−ϕ(s)∣<ε/2|\phi(t) - \phi(s)| < \varepsilon / 2. So for t∈[tk,tk+δ]t \in [t_k, t_k + \delta],

∣ϕ(t)∣≥∣ϕ(tk)∣−∣ϕ(t)−ϕ(tk)∣>ε/2,|\phi(t)| \ge |\phi(t_k)| - |\phi(t) - \phi(t_k)| > \varepsilon / 2 ,

and ϕ(t)\phi(t) has the sign of ϕ(tk)\phi(t_k) on that interval, because it does not pass through 00. Then

∣∫0tk+δϕ dτ−∫0tkϕ dτ∣=∫tktk+δ∣ϕ(τ)∣ dτ≥εδ2.\left| \int_0^{t_k + \delta} \phi\, d\tau - \int_0^{t_k} \phi\, d\tau \right| = \int_{t_k}^{t_k + \delta} |\phi(\tau)|\, d\tau \ge \frac{\varepsilon \delta}{2} .

But the integral ∫0tϕ dτ\int_0^t \phi\, d\tau converges as t→∞t \to \infty, so by the Cauchy criterion the left side tends to 00 as k→∞k \to \infty. This is a contradiction. □\square

Proof of the derivative form. Take ϕ=f˙\phi = \dot f. Then ∫0tϕ dτ=f(t)−f(0)\int_0^t \phi\, d\tau = f(t) - f(0), which converges. Apply the lemma. □\square

Proof of the Lyapunov-like form. VV is nonincreasing and bounded below, so it has a finite limit. Apply the derivative form to VV. □\square

Consequences

A recipe for time-varying systems. For x˙=f(t,x)\dot x = f(t, x), find V(t,x)V(t, x) bounded below with V˙≤−W(x)≤0\dot V \le -W(x) \le 0 along solutions, with WW continuous. Show that the solution is bounded, often from VV itself. Then show that ddtW(x(t))\frac{d}{dt} W(x(t)) is bounded, so that W(x(t))W(x(t)) is uniformly continuous. Since ∫0tW(x(τ)) dτ≤V(0,x(0))−inf⁡V\int_0^t W(x(\tau))\, d\tau \le V(0, x(0)) - \inf V, the integral converges, and the lemma gives W(x(t))→0W(x(t)) \to 0 (Khalil 2002, Section 8.3).

Example: an adaptive error equation. Let ee be a tracking error and θ~\tilde\theta a parameter error, with a bounded regressor w(t)w(t):

e˙=−e+θ~ w(t),θ~˙=−e w(t).\dot e = -e + \tilde\theta\, w(t), \qquad \dot{\tilde\theta} = -e\, w(t) .

This is the error system of a simple model reference adaptive law. With V=e2+θ~2V = e^2 + \tilde\theta^2,

V˙=2e(−e+θ~w)+2θ~(−ew)=−2e2≤0.\dot V = 2 e (-e + \tilde\theta w) + 2 \tilde\theta (-e w) = -2 e^2 \le 0 .

So VV is nonincreasing, and ee and θ~\tilde\theta stay bounded. Then e˙\dot e is bounded, so V¨=−4ee˙\ddot V = -4 e \dot e is bounded, and V˙\dot V is uniformly continuous. By the Lyapunov-like form, V˙→0\dot V \to 0, so e(t)→0e(t) \to 0. The system is time-varying through w(t)w(t), so the invariance principle does not apply here.

The lemma says nothing about θ~\tilde\theta. A simulation with e(0)=θ~(0)=1e(0) = \tilde\theta(0) = 1 (classical Runge-Kutta, step 0.0010.001) shows the difference:

w(t)w(t) e(20)e(20) θ~(20)\tilde\theta(20) θ~(60)\tilde\theta(60)
sin⁡t\sin t 9.8⋅10−59.8 \cdot 10^{-5} 5.7⋅10−45.7 \cdot 10^{-4} below 10−610^{-6}
e−te^{-t} below 10−610^{-6} 0.32510.3251 0.32510.3251

With w=sin⁡tw = \sin t the parameter error also goes to zero. With w=e−tw = e^{-t} the regressor dies out, and the parameter error stays at about 0.32510.3251 while the tracking error goes to zero. Convergence of the parameters needs persistent excitation of ww. This is the usual situation in adaptive control: Barbalat's lemma proves that the error converges, and a separate argument is needed for the parameters.

Rule of thumb, not a theorem. In practice one checks uniform continuity by showing that the derivative of the function is bounded. This is only a sufficient condition. It is the step that is most often skipped in faulty proofs, and the counterexamples below show that it is needed.

Tightness

Uniform continuity cannot be dropped. Let f(t)=sin⁡(t2)/tf(t) = \sin(t^2) / t for t≥1t \ge 1. Then f(t)→0f(t) \to 0, but

f˙(t)=2cos⁡(t2)−sin⁡(t2)t2,\dot f(t) = 2 \cos(t^2) - \frac{\sin(t^2)}{t^2} ,

which takes values near 22 and near −2-2 for arbitrarily large tt, so f˙\dot f has no limit. Here f˙\dot f is continuous but not uniformly continuous: f¨(t)=−4tsin⁡(t2)+O(1/t)\ddot f(t) = -4 t \sin(t^2) + O(1/t) is unbounded, and the oscillations of f˙\dot f get faster and faster.

Continuity is not enough in the integral form either. Let ϕ\phi be made of triangular pulses: at each integer k≥1k \ge 1, a triangle of height 11 and base width 1/k21 / k^2, and ϕ=0\phi = 0 elsewhere. Then ϕ\phi is continuous, ∫0∞ϕ dτ=∑k12k2\int_0^\infty \phi\, d\tau = \sum_k \frac{1}{2 k^2} is finite, and ϕ(k)=1\phi(k) = 1 for every kk. The pulses get steeper, so ϕ\phi is not uniformly continuous.

A finite limit of ff is needed. f(t)=sin⁡tf(t) = \sin t has a uniformly continuous derivative cos⁡t\cos t, which does not tend to 00. The function ff is bounded but has no limit.

The converse is false. f˙→0\dot f \to 0 does not imply that ff converges: f(t)=ln⁡(1+t)f(t) = \ln(1 + t) has f˙(t)=1/(1+t)→0\dot f(t) = 1 / (1 + t) \to 0 and f(t)→∞f(t) \to \infty, and f(t)=sin⁡(ln⁡(1+t))f(t) = \sin(\ln(1 + t)) has f˙→0\dot f \to 0 and oscillates forever between −1-1 and 11.

History

Barbălat published the lemma in 1959, in a short French paper on systems of nonlinear oscillation equations in the Revue de Mathématiques Pures et Appliquées. Adaptive control later adopted it, because Lyapunov designs of adaptive laws give functions whose derivative is only negative semidefinite, and the systems are time-varying through the reference signals. Textbooks on nonlinear and adaptive control then made it a standard tool, often in the Lyapunov-like form above. Khalil (2002, Section 8.3) states it with the other invariance-like theorems for time-varying systems.

References

  1. I. Barbălat, Systèmes d'équations différentielles d'oscillations non linéaires, Revue de Mathématiques Pures et Appliquées 4, 267-270, 1959 (in French), the lemma on functions whose integral converges and which are uniformly continuous
  2. Hassan K. Khalil, Nonlinear Systems, third edition, Prentice Hall, 2002, Section 8.3, Invariance-like Theorems (Barbalat's lemma and its use for time-varying systems)

Where this leads

About this page

The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.

LadderLevelWhat the next level needs
Human proofH0 no proof
  • add a proof in proofs/ (06.5)
LeanL0 no Lean part
  • name a Lean module in the lean field (07)
VisualV0 none
  • add viz/scene.ts or a figure (10)
WritingW4 complete
  • a review of the text: no review record reviews/88QYMK/text.yaml