arthham

JEE Advanced 2017 · Matrices

How many 3×33 \times 3 matrices M with entries from {0,1,2}\{0, 1, 2\} are there, for which the sum of the diagonal entries of MTMM^{T} M is 5?

Answer: B. 198198

Watch this solved on the board The full walkthrough, written out a line at a time with narration explaining each step as it appears. Pause anywhere and ask why a line is there. Free to watch

Or read the worked solution below. Jump to the steps ↓

Written solution

How many 3 × 3 matrices M with entries from {0, 1, 2} are there, for which the sum of the diagonal entries of M^{T} M is 5? M is 3×3,mij∈{0,1,2}M \text{ is } 3\times3,\qquad m_{ij}\in\{0,1,2\} trace(MTM)=5\text{trace}\left(M^{T}M\right)=5 To find: the number of such matrices M\text{To find: the number of such matrices } M (1) 126(2) 198(3) 162(4) 135(1)\ 126 \quad (2)\ 198 \quad (3)\ 162 \quad (4)\ 135 (MTM)ij=ci⃗⋅cj⃗(M^{T}M)_{ij}=\vec{c_i}\cdot\vec{c_j} trace(MTM)=∣c1⃗∣2+∣c2⃗∣2+∣c3⃗∣2\text{trace}(M^{T}M)=|\vec{c_1}|^{2}+|\vec{c_2}|^{2}+|\vec{c_3}|^{2} cj⃗=column j of M\vec{c_j}=\text{column } j \text{ of } M count ordered (c1⃗,c2⃗,c3⃗) with ∑∣cj⃗∣2=5\text{count ordered } (\vec{c_1},\vec{c_2},\vec{c_3}) \text{ with } \sum|\vec{c_j}|^{2}=5 c⃗∈{0,1,2}3:∣c⃗∣2=a+4b  (a=#1, b=#2)\vec{c}\in\{0,1,2\}^{3}:\quad |\vec{c}|^{2}=a+4b\ \ (a=\#1,\ b=\#2) ∣c⃗∣2∈{0,1,2,3,4,5}|\vec{c}|^{2}\in\{0,1,2,3,4,5\} N(0)=1, N(1)=3, N(2)=3, N(3)=1, N(4)=3, N(5)=6N(0)=1,\ N(1)=3,\ N(2)=3,\ N(3)=1,\ N(4)=3,\ N(5)=6 (0,0,5),(0,1,4),(0,2,3),(1,1,3),(1,2,2)(0,0,5),\quad (0,1,4),\quad (0,2,3),\quad (1,1,3),\quad (1,2,2) (0,0,5): 3⋅N(0)2N(5)=3⋅6=18(0,0,5):\ 3\cdot N(0)^2N(5)=3\cdot6=18 (0,1,4): 6⋅N(0)N(1)N(4)=6⋅9=54(0,1,4):\ 6\cdot N(0)N(1)N(4)=6\cdot9=54 (0,2,3): 6⋅N(0)N(2)N(3)=6⋅3=18(0,2,3):\ 6\cdot N(0)N(2)N(3)=6\cdot3=18 (1,1,3): 3⋅N(1)2N(3)=3⋅9=27(1,1,3):\ 3\cdot N(1)^2N(3)=3\cdot9=27 (1,2,2): 3⋅N(1)N(2)2=3⋅27=81(1,2,2):\ 3\cdot N(1)N(2)^2=3\cdot27=81 Total=18+54+18+27+81=198\text{Total}=18+54+18+27+81=198 198 ⇒ option (2)198\ \Rightarrow\ \text{option }(2) 198⇒ (2)\boxed{198}\quad\Rightarrow\ (2)

More from Matrices

All 13 Matrices questions →