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 .
Open in App
Solution
Let matrix A=⎡⎢⎣abcdefghi⎤⎥⎦
We need a+b+c+d+e+f+g+h+i=5 Possible casesNumber of ways5→1′s,4→zeroes9!5!4!=1266→1′s,2→zeroes,1→−19!6!2!=2527→1′s,2→−1′s9!7!2!=36
Total ways =126+252+36=414