Definition: A function $f$ is concave if the function evaluated at the weighted average
of any two points is no less than the weighted average of the function evaluated at these two points.
That is, for all $x$ and $y$ and for any $\alpha$ in $(0,1)$, we must have that
$f(\alpha x + (1-\alpha) x) \ge \alpha f(x) + (1-\alpha) f(y)$.
Consider the consumer problem,
A common trick is to use the equality constraints to eliminate variables from the problem,
converting the constrained maximization problem into an unconstrained problem with fewer variables.
Let's take a look at the peer-effects model: individuals $1$ and $2$ choose actions $x$ and $y$. Individuals want everyone to choose their favorite actions $a_1$ and $a_2$ respectively, but if the peer chooses some different action, the individual also dislikes choosing actions far away from the peer's choice.
Assume individuals are able to contract on the choice of $x$ and $y$. What choices will then maximize their joint utility $u_1(x,y)+u_2(x,y)$?