story
I am near certain that you did not mean this.
> When the semi-axes are parallel to the coordinate axes, the matrix is diagonal.
Let D =
the matrix
| 2 0 |
| 0 1 |
And let R be any 2-by-2 rotation matrix.A = D * R would give you a locus of points (under {Ax | x^T x = 1}) that has the semi-axes parallel to the coordinate axes. In general, A is not diagonal.
For the condition you mention (axis-aligned semi-axes of ellipsoid iff matrix is diagonal) is true for {x | x^T * A * x = 1} .