I have an $8\times8$ symbolic matrix, $G$. It contains mostly real parameters but a few complex ones too. Mathematica computes (actually pretty fast) its inverse $G^{-1}$. The problem is that the inverse provided is too complicated, that is, it is far from being simplified, even though I am pretty sure that it could be much simpler.
If I apply directly Simplify[]
of FullSimplify[]
, Mathematica gets stuck.
What can I do to massage $G^{-1}$ so that a simplification can be carried on?
I tried basically two things: (I)Inputting some assumptions in the simplification and (II)specifying different Methods-->" "
for Inverse[]
. Using my assumptions about parameters (positive, reals, etc) leads equally to a stuck calculation and different methods lead to equally complicated inverses.
Another question that may help me solving the issue is:
How can I trace which manipulations are slowing down (Full)Simplify
?
Here is my matrix G, in input form:
{{-γa - 2*ΓHa*Re[tH] - 2*ΓVa*Re[tV], -1/2*γb - ΓHb*Re[tH] - ΓVb*Re[tV], 0, 0, -(tH*Sqrt[ΓHa]*Sqrt[ΓHb]) - tV*Sqrt[ΓVa]*Sqrt[ΓVb] - (Sqrt[ΓHa]*Sqrt[ΓHb]*Conjugate[tH])/2 -
(Sqrt[ΓVa]*Sqrt[ΓVb]*Conjugate[tV])/2, 0, 0, -1/2*(tH*Sqrt[ΓHa]*Sqrt[ΓHb]) - (tV*Sqrt[ΓVa]*Sqrt[ΓVb])/2 - Sqrt[ΓHa]*Sqrt[ΓHb]*Conjugate[tH] -
Sqrt[ΓVa]*Sqrt[ΓVb]*Conjugate[tV]}, {-1/2*γa - ΓHa*Re[tH] - ΓVa*Re[tV], -γb - 2*ΓHb*Re[tH] - 2*ΓVb*Re[tV], 0, 0,
-1/2*(tH*Sqrt[ΓHa]*Sqrt[ΓHb]) - (tV*Sqrt[ΓVa]*Sqrt[ΓVb])/2 - Sqrt[ΓHa]*Sqrt[ΓHb]*Conjugate[tH] - Sqrt[ΓVa]*Sqrt[ΓVb]*Conjugate[tV], 0, 0,
-(tH*Sqrt[ΓHa]*Sqrt[ΓHb]) - tV*Sqrt[ΓVa]*Sqrt[ΓVb] - (Sqrt[ΓHa]*Sqrt[ΓHb]*Conjugate[tH])/2 - (Sqrt[ΓVa]*Sqrt[ΓVb]*Conjugate[tV])/2},
{0, 0, -1/2*γa - tH*ΓHa - tV*ΓVa - I*Δa - (I/2)*Δb, -(tH*Sqrt[ΓHa]*Sqrt[ΓHb]) - tV*Sqrt[ΓVa]*Sqrt[ΓVb], 0, 0, 0, 0},
{0, 0, -(tH*Sqrt[ΓHa]*Sqrt[ΓHb]) - tV*Sqrt[ΓVa]*Sqrt[ΓVb], -1/2*γb - tH*ΓHb - tV*ΓVb - (I/2)*Δa - I*Δb, 0, 0, 0, 0},
{-(tH*Sqrt[ΓHa]*Sqrt[ΓHb]) - tV*Sqrt[ΓVa]*Sqrt[ΓVb], -(Sqrt[ΓHa]*Sqrt[ΓHb]*Conjugate[tH]) - Sqrt[ΓVa]*Sqrt[ΓVb]*Conjugate[tV], 0, 0,
-1/2*γa - γb/2 - tH*ΓHb - tV*ΓVb - (I/2)*Δa + (I/2)*Δb - ΓHa*Conjugate[tH] - ΓVa*Conjugate[tV], 0, 0, 0},
{0, 0, 0, 0, 0, -1/2*γa + I*Δa + (I/2)*Δb - ΓHa*Conjugate[tH] - ΓVa*Conjugate[tV], -(Sqrt[ΓHa]*Sqrt[ΓHb]*Conjugate[tH]) - Sqrt[ΓVa]*Sqrt[ΓVb]*Conjugate[tV], 0},
{0, 0, 0, 0, 0, 0, -1/2*γb + (I/2)*Δa + I*Δb - ΓHb*Conjugate[tH] - ΓVb*Conjugate[tV], 0}, {-(Sqrt[ΓHa]*Sqrt[ΓHb]*Conjugate[tH]) - Sqrt[ΓVa]*Sqrt[ΓVb]*Conjugate[tV],
-(tH*Sqrt[ΓHa]*Sqrt[ΓHb]) - tV*Sqrt[ΓVa]*Sqrt[ΓVb], 0, 0, 0, 0, 0, -1/2*γa - γb/2 - tH*ΓHa - tV*ΓVa - (I/2)*Δa + (I/2)*Δb - ΓHb*Conjugate[tH] - ΓVb*Conjugate[tV]}}
Where $\gamma a,~\gamma b,~\Gamma Ha,~\Gamma Hb,~\Gamma Va,~\Gamma Vb,~\Delta a,~\Delta_b >0$ and $tH,~tV \in \mathbb{C}$
Simplify[..., Map[{Element[#, Reals], # > 0} &, { \[Gamma]a, \[Gamma]b, \[CapitalGamma]Ha, \ \[CapitalGamma]Hb, \[CapitalGamma]Va, \[CapitalGamma]Vb, \ \[CapitalDelta]a, \[CapitalDelta]b } ] ]
$\endgroup$