We have to find two matrices P and Q satisfying
PA=BandAQ=B
for A=[24−2−2],B=[3193].
Since A is a square matrix, first compute its inverse.
Determinant of A:
detA=2(−2)−(−2)(4)=−4+8=4
Adjugate of A:
adj(A)=[−2−422]
Hence
A−1=detA1adj(A)=41[−2−422]=[−21−12121]
Matrix P is obtained from PA=B:
P=BA−1=[3193][−21−12121]
Multiplying row by column:
First row:
(3,9)⋅[−21−1]=−23−9=−221,(3,9)⋅[2121]=23+29=6
Second row:
(1,3)⋅[−21−1]=−21−3=−27,(1,3)⋅[2121]=21+23=2
Thus
P=[−221−2762]
Matrix Q is obtained from AQ=B:
Q=A−1B=[−21−12121][3193]
Multiplying:
First row:
(−21,21)⋅[31]=−23+21=−1,(−21,21)⋅[93]=−29+23=−3
Second row:
(−1,21)⋅[31]=−3+21=−25,(−1,21)⋅[93]=−9+23=−215
So
Q=[−1−25−3−215]
Add P and Q:
P+Q=[−223−63−211]
Compute 2(P+Q):
2(P+Q)=[−23−126−11]
The sum of its diagonal elements (its trace) is
tr(2(P+Q))=−23+(−11)=−34
Taking the absolute value:
∣tr(2(P+Q))∣=34
Therefore, the required value is 34.