The number of 3×2 matrices A, which can be formed using the elements of the set {-2,-1,0,1,2} such that the sum of all the diagonal elements of ATA is 5, is ________ . [2026]
(312)
(a1b1a2b2a3b3)3×2
ATA=(a1a2a3b1b2b3)2×3(a1b1a2b2a3b3)3×2
=(a12+a22+a32⋯⋯b12+b22+b32)
Tr(ATA)=a12+a22+a32+b12+b22+b32=5
{2,1,0,0,0,0}
{2,-1,0,0,0,0}
{-2,1,0,0,0,0}
{-2,-1,0,0,0,0}
{1,1,1,1,1,0}
No. of ways=6!4!×4+2×6!5!+2×6!4!+2×6!3!2!
=6!3!+2×6×2+2×15×2×6!3!
=120+120+12+60=312