0
$\begingroup$

Suppose $D_0$ is a $K\times K$ diagonal matrix with $\pm1$ as its elements. How to construct a matrix $O$ such that $OD_0O^T=D_0$?(NOTE: I'm sorry for previously missing the transpose on the second $O$)

The interesting case is elements in $D_0$ are not all identical and $O$ is not identity -- otherwise the question is trivial.. Also (thanks to your responses but) let's take $O=(D_0)^p$($p$: odd integer) solutions out of consideration, too.

I now clarify my previously unclear expression that I want to know if there is a non-orthonormal $O$ that satisfies this equation. (orthonormal $A$ means $A^TA=I$)

Thanks much!

$\endgroup$
3
  • $\begingroup$ You take $O$ to be the identity. I guess you want $-D_0$ in your formula? $\endgroup$ Commented Feb 3, 2014 at 19:16
  • $\begingroup$ You take any odd power of D, right? $\endgroup$
    – Pifagor
    Commented Feb 3, 2014 at 19:18
  • $\begingroup$ Try to reduce it to the case when $D_0$ has $n$ ones followed by $K-n$ negative ones first. From there the problem is a bit more tractable, as you can reduce it to a $2\times2$ block matrix. $\endgroup$
    – Nate
    Commented Feb 3, 2014 at 19:30

1 Answer 1

3
$\begingroup$

Let $O=D_0$. Then $O D_0 O = D_0^3 = D_0$.

In fact any diagonal $O$ whose diagonal entries that satisfy $x^2 = 1$ will do.

$\endgroup$
2
  • $\begingroup$ The last sentence is not quite true. It also has to be nonzero where $D_0$ is nonzero. Otherwise $O$ as the zero matrix would vacuously satisfy your condition but not satisfy $OD_0O=D_0$. $\endgroup$ Commented Feb 3, 2014 at 19:45
  • $\begingroup$ @JohnMoeller: Thanks for catching that. $\endgroup$
    – copper.hat
    Commented Feb 3, 2014 at 19:50

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .