Show that for weak solutions of \begin{aligned} &u_t + f(u)_x = 0 \quad\text{in}\quad \mathbb{R}\times (0,\infty) \\ &u=u_0 \quad\text{on}\quad t=0 \end{aligned} The entropy condition $$\dot{s}(|u_L-k|-|u_R-k|)\leq \text{sign}(u_L-k)(f(u_L)-f(k)) - \text{sign}(u_R-k)(f(u_R)-f(k))$$ for all $k \in \mathbb{R}$ is equivalent to the Oleinik condition $$\frac{f(k)-f(u_R)}{k-u_R}\leq \frac{f(u_L)-f(u_R)}{u_L-u_R} \leq \frac{f(k)-f(u_L)}{k-u_L}$$ for all $k$ between $u_L$ and $u_R$. ($\dot{s}=\frac{f(u_L)-f(u_R)}{u_L-u_R}$)
I have tried to solve this but I am stuck:
$\text{sign}(u_L-k)=-\text{sign}(u_R-k)$
$|u_L-k|-|u_R-k|=\text{sign}(u_L-k)(u_L-l)-\text{sign}(u_R-k)(u_R-k)=\text{sign}(u_L-k)(u_L+u_R-2k)$
$\text{sign}(u_L-k)(f(u_L)-f(k))-\text{sign}(u_R-k)(f(u_R)-f(k))=\text{sign}(u_L-k)(f(u_L)-f(k)+f(u_R)-f(k))$
Then with $h:=\text{sign}(u_L-k)$ the entropy condition becomes:
$\dot{s}(h(u_L+u_R-2k))\leq h(f(u_L)+f(u_R)-2f(k))$
For $h=-1$ (so $u_L<u_R$) I get:
$-\dot{s}(2u_R-2k)\leq -\dot{s}(u_L+u_R-2k)\leq -(f(u_L)+f(u_R)-2f(k))$ So
$\frac{f(u_L)+f(u_R)-2f(k)}{(2u_R-2k)}\leq \dot{s}$
This already looks kindof similar to the right inequality. I would need that $f(u_L)>f(u_R)$ to get the right inequality, but I don't that this has to be the case. Any advice?