Let $n \in \{1,2,\dots\}$, and let $A$ be an $n\times n$ matrix of real numbers. Consider the unique function $f:\mathbb{R}^n\rightarrow\mathbb{R}$ satisfying $f(x) = x^TAx$ for every $x \in \mathbb{R}^n$. Suppose $A$ is not symmetric.
- Is it possible for $f$ to be convex?
- Suppose that $f(x) \geq 0$ for every $x \in \mathbb{R}^n$. Must $f$ be convex? What if $f(x) > 0$ for every $x \in \mathbb{R}^n$?
- Is $A$ uniquely determined by $f$? In other words, suppose that $B$ is an $n\times n$ matrix of real numbers satisfying that $f(x) = x^TBx$ for every $x \in \mathbb{R}^n$; is it necessarily the case that $A=B$?