2

The proof starts like this: enter image description here I can't prove this inequality. What I've tried is split into two cases: If $|s-t|\ge 2$ I can prove it. If $|s-t|<2$ I have $\varphi (s)=|s+2m|$ and $\varphi (t)=|t+2n|$ for some integers $m,n$ such that $|m-n|=0$ or $1$. Thus $$|\varphi (s)-\varphi (t)|=||s+2m|-|t+2n||\le |s+2m-(t+2n)|\le |s-t|+2|m-n|$$ If $|m-n|=1$ I don't know what to do.

2 Answers2

5

Since $\varphi(x)\in[0,1]$, we always have $|\varphi(s)-\varphi(t)|\leq1$. So the only non-trivial case occurs when $|s -t|<1$. In this case, by subtracting an adequate multiple of $2$ from both, we may assume without loss of generality that either $s,t\in[-1,1]$ or $s,t\in[0,2]$:

  1. $s,t\in[-1,1]$. If both $s,t$ have the same sign we have $|\varphi(s)-\varphi(t)|=|s -t|$. If signs are opposite, say $s<0$ and $t>0$, then $$|\varphi(s)-\varphi(t)|=|-s-t|\leq|s -t| . $$

  2. $s,t\in[0,2]$. Now $\varphi(x)=1-|x-1|$. Then $$ |\varphi(s)-\varphi(t)|=\big|\,|t-1|-|s-1|\,\big| $$ and so we may replace $s,t$ with $s-1,t-1$, which takes us to case 1 again.

Martin Argerami
  • 205,756
0

Let $G:\mathbb{R}\rightarrow \mathbb{R}$ be $G(x)=|x-i+1|$ on $[i-2,i]$ for $i\geq 1$ and $G(x)=|x+i+1|$ on $[-i-2,-i]$ for $i\geq 1$

Now $G(x+2)=\varphi(x)$ for all $x$ and $0\leq G \leq 1$

Now a case by case analysis should work.

  • The equality $G(x+2)=\varphi(x)$ only works for $x\in[-1,1]$, and so you don't have $|G(s)-G(t)|=|\varphi(s)=\varphi(t)|$ for all $s,t$. The problem, that I had to correct in my answer, is that by subtracting multiples of $2$ you are not guaranteed to get both numbers in $[-1,1]$. Say for example that $s=2.9$, $t=3.8$. Then $s-2=0.9$, $t-2=1.8$, and $s-4=-1.1$. You have $$|\varphi(s)-\varphi(t)|=|0.9-0.2|=0.7,$$ while $$|G(s)-G(t)|=|0.9-1.8|=0.9.$$ – Martin Argerami Mar 18 '24 at 03:45
  • @MartinArgerami If $x\in \mathbb{R}$, then $G(x+2)=|(x+2)-2|=|x|=\varphi(x)$. Clearly this holds for all $x\in \mathbb{R}$. – monoidaltransform Mar 18 '24 at 05:30
  • not sure what you mean. Take $x=6$, then $G(x+2)=G(8)=|6|=6$, while $\varphi(6)=0$. – Martin Argerami Mar 18 '24 at 05:42
  • @MartinArgerami $\varphi(6)=6$. Recall, $\varphi(x)=|x|$. I'm just using $G$ to denote the 'extension' of $\varphi$ to $\mathbb{R}$. – monoidaltransform Mar 18 '24 at 06:20
  • no, $\varphi(6)=0$. The function $\varphi$ only agrees with the absolute value on $[-1,1]$. The extension is periodic. – Martin Argerami Mar 18 '24 at 13:14
  • @monoidaltransform $\varphi$ si not just absolute value dude – Manuel Ocaña Mar 18 '24 at 15:47