The function $f$ is convex when:
$$f(tx+ (1-t)x', ty + (1-t)y') ≤ tf(x,y) + (1-t)f(x', y')$$
for all numbers $0≤t≤1$ and all pairs of points $(x,y)$ and $(x',y')$ in the domain of $f$ (the whole of $R^2$)
How would I interpret this geometrically? Also what is an example of a convex function whose graph is not a plane?
In $1$ dimension: $$ f(tx+(1-t)y)\le tf(x)+(1-t)f(y) $$
$tx+(1-t)y, \; t \in [0;1]$ describes the line segment between $x$ and $y$ and $tf(x)+(1-t)f(y), \; t \in [0;1]$ describes the line segment between $f(x)$ and $f(y)$. So the inequality means that the image of the line segment $tx+(1-t)y$ (the green curve) lies beneath the line segment between the images of $x$ and $y$ (the pink curve).