I have real symmetric positive definite matrix $M = \left(\begin{matrix} a & b \\ b & c \end{matrix}\right)$ where $a,b,c \in R,\ a,c>0,\ \left|b\right|<2\sqrt{a c}$.
I want to define CONVEX objective function of $M$ (preferably polynomial) which has minimum value for prescribed value of trace and determinant of $M$, i.e. $tr(M) = L$ and $det(M) = V$.
Natural definition of such function is probably
$f(M) = f(a,b,c) = \left( \frac{tr(M)}{L} - 1 \right)^2 + \left( \frac{det(M)}{V} - 1 \right)^2 = \left( \frac{a + c}{L} - 1 \right)^2 + \left( \frac{a c - b^2}{V} - 1 \right)^2$
The problem is that this function is not convex.
Does anybody have an idea how to define this function to be convex or can it be proved that this is not possible?
Thank you for any help.