Finding Lipschitz constant of a scalar function

lipschitz-functionsreal-analysis

I'm aware of how to find the Lipschitz constant of simple functions, but here I've given the function
\begin{aligned}
f(t) = \begin{cases}
-\frac{2}{3l}\left( 1-\frac{t}{3l}\right)~&\text{if}\quad 0\le t \le 3l,\\
0~&\text{if}\quad 3l \le t \le 1-3l,\\
-\frac{2}{3l}\left( 1-\frac{1-t}{3l}\right) &\text{if}\quad 1-3l \le t \le 1.
\end{cases}
\end{aligned}

with $l=\frac{1}{9}$. How to find the Lipschitz constant? Do I consider the expression $$|f(t_1)-f(t_2)|\le L_f|t_1-t_2|$$ for each of the three intervals given or is there any other graphical or analytical way of finding this?

Best Answer

If $f$ is differentiable in its domain D than, if its derivative is bounded in D, you have that $L_f=\sup\{|f^{'}(x)| \ : \ x \in D \}$.

The function is easily differentiable in each of the three open intervals (when you talk about derivative, you have to work on an open set because you want to do limits) but is not overall differentiable (the conjuction points are the problems).

So, for solving your problem, you can calculate the three Lipschitz constants via derivative (it's quite simple because the derivative is constant in all the three intervals) and then take as $L_f$ the maximum of these three values. Finally, you can check manually if the Lipschitz constant holds also for the boundary points (so for a generic $x$ and each of the 4 boundary points and then for every possible combination of these 4 points, which are six).

Related Question