Is the scalar field $ X \mapsto \mbox{tr} \left( X A X^T B \right) $ always convex?

633 Views Asked by At

If the matrices $A$ and $B$ are positive semidefinite, is the scalar field $$ X \mapsto \mbox{tr} \left( X A X^T B \right) $$ always convex? I get an error when I put this in CVX even though I double-checked that $A$ and $B$ do not have negative eigenvalues.


Related: Is the function $X \mapsto \mbox{trace} \left( X X^T \right)$ convex?

2

There are 2 best solutions below

0
On

If $B$ is positive semi-definite, it is equal to $CC^t,$ so your expression is equal to $\mathrm{trace}((C^t X) A (C^t X)^t).$ This is basically just the Frobenius norm of the vector $C^t X,$ which is a linear function of $X,$ and is convex (strictly if $A, B$ are positive definite, not strictly otherwise).

1
On

Yes, this is $trace(Y Y^T)$ where $Y = B^{1/2} X A^{1/2}$ is a linear function of $X$, so it is indeed convex.