198
135
126
162
Let M be a 3x3 square matrix, M = ⎡⎢⎣abcdefghi⎤⎥⎦
Thus, MTM = ⎡⎢⎣adgbehcfi⎤⎥⎦⎡⎢⎣abcdefghi⎤⎥⎦
The sum of the diagonal elements of MTM will be S = a2 + b2 + c2 + d2 + e2 + f2 + g2 + h2 + i2
For S = 5 ⇒ a2 + b2 + c2 + d2 + e2 + f2 + g2 + h2 + i2 = 5
out of {0, 1, 2}, there are only two possibilities: