I encountered the following question about inequalities which I am curious how to solve. The simplest case is to consider the inequality $$|x|+|y|+|x+y|+ax+by\geq 0$$ where $x,y,a,b\in\mathbb{R}$. The question is which values of parameters $a,b\in\mathbb{R}$ would guarantee that the inequality holds for all $x,y\in\mathbb{R}$.
I tried playing with such inequalities and was surprised that this question is harder than I anticipated.
I first found that necessarily $a\in [-2,2]$: for $x=1$ and $y=0$ we get $2+a\geq 0$ so $a\geq -2$ and for $x=-1$ and $y=0$ we get $2-a\geq 0$ so $a\leq 2$.
Similarly, $b\in [-2,2]$ must hold.
Furthermore, I did find out that if $a=b\in [-2,2]$ then the inequality certainly holds for all $x,y\in\mathbb{R}$, because $$|x|+|y|+|x+y|+ax+by=(|x|+ax/2)+(|y|+ay/2)+(|x+y|+a(x+y)/2)$$ and each element in the parentheses is non-negative because $a/2\in [-1,1]$ and so $$|z|+az/2=\begin{cases} (1+a/2)z & z\geq 0\\ (-1+a/2)z & z<0\end{cases}\geq 0$$
However, I am sure that there are also other parameters $a,b\in [-2,2]$ for which the inequality holds. For instance $a=2$ and $b=1$ turn out to be a valid solution for all $x,y\in\mathbb{R}$ if you consider the various different cases. My question is how would I go about finding all such $a,b$?
More generally, is there some theory about such inequalities? Any good reference (paper/book) that is recommend to read in order to better grasp these inequalities? I am also interested in more general inequalities, with more parameters and variables, for instance $|x|+|y|+|z|+|x+y|+|x+z|+ax+by+cz\geq 0$ (with the task of finding $a,b,c$ so that it holds for all $x,y,z$). I am interested to which extent there is a theory of how to solve these questions generally.