Given $z \in \mathbb{R}^n$ and $x \in \mathbb{R}$, we are given the following map $f: \mathbb{R}^{n+1} \rightarrow \mathbb{R}$, and $\alpha_{i,j}(x) \in L^{\infty}(\mathbb{R})$ :
$$f(x,z) = \sum_{i,j=1}^{n} \alpha_{i,j}(x) z_i z_j$$
I would like to check the map $z \mapsto f(x,z)$ is convex (for almost every $x \in \mathbb{R})$ in the case the ellipticity condition is satisfied.