Show for arbitrary $a,b \in \mathbb{R}$ that the given set is convex$$E(a,b):=\left\{\begin{pmatrix} x_1\\ x_2 \end{pmatrix} \in \mathbb{R}^2 \, \Bigg\vert \, \frac{x^2_1}{a^2} + \frac{x^2_2}{b^2}\leq 1\right\}$$
I think because the set is written in terms of vectors, I need to use the vector definition which is, if I understood correctly (sadly there was no definition in my books):
- A set $S$ is convex if for any $u,v \in S$, the point $tu + (1-t)v \in S$ for all $t \in [0,1]$
So then let for the example above $x_1, z \in E$ and $t \in [0,1]$. We have
$$\frac{(tx_1+(1-t)z)^2}{a^2}+\frac{x_2^2}{b^2} = \\ = \frac{t^2x_1^2}{a^2}-\frac{2t^2x_1z}{a^2}+\frac{t^2z^2}{a^2}+\frac{2tx_1z}{a^2}-\frac{2tz^2}{a^2}+\frac{z^2}{a^2} +\frac{x_2^2}{b^2}$$
Now I'm not sure how to continue because is really every fraction lower/equal than $1$? The second and fifth fraction surely are because they are negative, the last fraction must be lower/equal than $1$ as well because it's from the original set...
I somehow wanted continue by writing an inequality now and forming for $t$ but no idea how to complete this? Maybe there is another way of showing this easier?
we have $x^TAx \le 1$ and $y^TAy \le 1$ where $A$ is positive definite and also diagonal.
\begin{align} &(t x + (1-t) y)^TA(t x + (1-t)y)\\ &= t^2 x^TAx+2t (1-\lambda) x^TAy + (1-t)^2y^TAy \\ &\le t^2 x^TAx+2t (1-\lambda) \sqrt{(x^TAx)(y^TAy)} + (1-t)^2y^TAy \\ &=(t \sqrt{x^TAx}+(1-t)\sqrt{y^TAy})^2\\ &\le 1 \end{align}