I have trouble simplifying the following matrix
A =
{{(a^2 + b^2 + c^2 + Im[Sqrt[(a - I*b)^2 + c^2]]^2 +
Re[Sqrt[(a - I*b)^2 + c^2]]^2)/
(2*Sqrt[(a - I*b)^2 + c^2]*Conjugate[
Sqrt[(a - I*b)^2 + c^2]]),
(I*b*c)/(Sqrt[(a - I*b)^2 + c^2]*Conjugate[
Sqrt[(a - I*b)^2 + c^2]])},
{(-((a + I*b)*(a^2 + b^2 + c^2)) +
(a - I*b)*Conjugate[Sqrt[(a - I*b)^2 + c^2]]^2)/
(2*c*Sqrt[(a - I*b)^2 + c^2]*Conjugate[
Sqrt[(a - I*b)^2 + c^2]]),
(Sqrt[(a - I*b)^2 + c^2] + (2*b*((-I)*a + b))/
Conjugate[Sqrt[(a - I*b)^2 + c^2]] +
Conjugate[Sqrt[(a - I*b)^2 + c^2]])/
(2*Sqrt[(a - I*b)^2 + c^2])}};
Here, $a,b,c$ are all real and positive.
Firstly, Im[Sqrt[(a - I*b)^2 + c^2]]^2 + Re[Sqrt[(a - I*b)^2 + c^2]]^2
should be just Abs[Sqrt[(a - I*b)^2 + c^2]]^2
. Secondly, when checked numerically, the diagonal elements seems to be identical. How can I simplify this matrix in the best possible way?
ComplexExpand
. $\endgroup$