I am an engineer and I am developing a research, I need to prove that this function has a maximum (or minimum) global. I do not remember how you do it, if you can help me, I thank you.
The function is $f:\mathbb{R^4}\longrightarrow \mathbb{R}$ $$f(x,y,z,w) = xy+\frac12(z-y)(x-w) $$
If you fix $x$, $y$ and $z$, note that the function is linear with respect to $w$ (and non-constant). So it is not bounded.
I'm assuming that the domain of $f$ is $\Bbb R^4$.