How to prove the $f(x_1,x_2)=10 - 2(x_2 - x_1^2)^2$ a convex function on S or not, where S = $\{ (x_1, x_2) | -22 \le x_1 \le 2, -2 \le x_2 \le 2\}$?
How should I start to prove it? Thanks.
I look into the math tutorial about convexivity online, I found this:
For $\theta \in [0, 1]$, $f(\theta x + (1 - \theta)y) \le \theta f(x) + (1 - \theta)f(y)$.
AND
assume $g(x) = f(x_1, x_2)$,
$f(\theta(x_1', x_2') + (1 - \theta)(x_1, x_2))$
$=f((1 - \theta)x_1 + \theta x_1', (1 - \theta)x_2 + \theta x_2')$
$=g((1 - \theta)x_1 + \theta x_1')$
$\ge (1 - \theta)g(x) + \theta g(x')$
$=(1 - \theta)f(x_1,x_2) + \theta f(x_1', x_2')$
$=(1 - \theta)(10 - 2(x_2 - x_1^2)^2) + \theta f(x_1', x_2')$
But I don't know what's the next step and what are the values of $(x_1', x_2')$.