Canonical: https://knowlpedia.com/differential-equations/comparison-barrier/

# Scalar comparison barriers for an ODE

Subsolutions and supersolutions bound a scalar solution when the vector field is locally Lipschitz.

Let \(y'=F(t,y)\), with \(F\) continuous and [locally uniformly Lipschitz](https://knowlpedia.com/topology/locally-lipschitz-map/) in its scalar state. Suppose differentiable barriers \(a,b\) satisfy
\[
a'\le F(t,a),\qquad b'\ge F(t,b),\qquad
a(t_0)\le y(t_0)\le b(t_0).
\]
As long as all three functions stay in the common equation domain, \(a(t)\le y(t)\le b(t)\) for \(t\ge t_0\).

## Why touching does not permit crossing

On a compact interval, the positive part of \(a-y\) is bounded by a Lipschitz constant times its own accumulated integral. Gronwall forces it to vanish; apply the same reasoning to \(y-b\). A barrier can therefore preserve positivity or separation from a singular denominator. For systems, componentwise comparison needs further order-preserving hypotheses and does not follow from this scalar statement.
