Finding the Lipschitz Constant of a Function
We've already explored Lipschitz functions, which have a bounded rate of change. Now, let's focus on how to find the Lipschitz constant—the key parameter that determines how "steep" a function can be.
What is the Lipschitz Constant?
A function
The Lipschitz constant
Finding the Lipschitz Constant for a Function
There are different ways to compute the Lipschitz constant depending on whether we are dealing with:
- Lipschitz continuity of function values (
) - Lipschitz continuity of the gradient (smoothness condition,
)
1. Lipschitz Constant for Function Values
To find the Lipschitz constant
This means that
The supremum (or least upper bound) of a set is the smallest number that is greater than or equal to all elements in the set.
Example 1
To find the Lipschitz constant
Using the difference of squares identity:
Since
Thus,
2. Lipschitz Constant for the Gradient (Smoothness Constant)
A function is
To find
where
Example 2
- Compute the gradient:
- Compute the Lipschitz constant of the gradient:
Since
So, for a bounded interval, the function is
Lipschitz Constant from the Hessian
For twice-differentiable functions, the Lipschitz constant of the gradient can be found using the Hessian matrix
where
Example 3
The Hessian is:
The eigenvalues of this matrix are both 2, so:
This means
Summary
| Type of Lipschitz Constant | Formula | Meaning |
|---|---|---|
| Lipschitz function values ( |
Controls how fast function values change. | |
| Lipschitz gradient ( |
Controls how fast the gradient changes. | |
| Hessian-based Lipschitz constant | Controls the curvature of the function. |