Solveeit Logo

Question

Mathematics Question on Permutations

Let A be a 3 × 3 matrix having entries from the set {–1, 0, 1}. The number of all such matrices A having sum of all the entries equal to 5, is ______.

Answer

Let matrix [abc\[0.3em]def\[0.3em]ghi]\begin{bmatrix} a & b & c \\\[0.3em] d & e & f \\\[0.3em] g & h & i \end{bmatrix}
Given, a+b+c+d+e+f+g+h+i=5a + b + c + d + e + f + g + h + i = 5

Possible casesNumber of ways
515 → 1’s, 44 → zeroes9!5!4!=126\frac {9!}{5!4!}=126
616 → 1’s, 22 → zeroes, 111 →–19!6!2!=252\frac {9!}{6!2!}=252
717 → 1’s, 212 →–1's9!7!2!=36\frac {9!}{7!2!}=36

Total number of ways =126+252+36=414= 126 + 252 + 36 = 414

So, the answer is 414414.