Here $\Omega$ is a bounded domain.
Define $f:H^1 \times H^1 \to \mathbb{R}$ by $$f(u,v) = \int_\Omega (v-u)^+.$$ (Note the $H^1$, not $L^2$).
I want to find an expression for the (directional or Frechet) derivative $f'(u,v)(h_1, h_2)$.
Define $I(w) = \int_\Omega w$, then $I'(w)h = \int_\Omega h$. Now I think we need to differentiate $g(x) : = (x)^+$ and somehow combine, but I don't know the details. Could someone help please?