A probability problem by Parth Sankhe

Probability Level pending

There is a matrix M = ( a i , j ) 25 × 25 M=(a_{i,j})_{25×25} , where a = 1 a=1 or 1 -1 .

Let r i r_i denote product of all elements in the i t h i^{th} row, and c j c_j denote the product of all the elements in the j t h j^{th} column.

How many matrices M M satisfy:-

r 1 + r 2 + r 3 . . . . + r 25 + c 1 + c 2 + . . . . + c 25 = 0 ? r_1+r_2+r_3....+r_{25}+c_1+c_2+....+c_{25}=0?


The answer is 0.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

3 solutions

Joe Giusti
Nov 5, 2018

Each number is counted twice, once in its row and once in its column. This means the number of 1s and -1s must be equal for the result to be 0. 25x25 = 625 which can not be halved evenly, so the # of 1s and -1s can never be equal.

Very cool approach !

Parth Sankhe - 2 years, 7 months ago
Arturo Presa
Nov 5, 2018

For any matrix M , M, we can denote S ( M ) = r 1 + r 2 + . . . + r 25 + c 1 + c 2 + . . . + c 25 S(M)=r_1+r_2+...+r_{25}+c_1+c_2+...+c_{25} . Let N N represent the 25 × 25 25\times 25 -matrix consisting only of 1s. Obviously, S ( N ) = 50. S(N)=50. Now for any matrix M M like the one defined in the problem, there is a finite sequence of matrices M 1 , M 2 , M 3 , . . . , M n , M_1, M_2, M_3, ..., M_n, such that M 1 = N , M_1=N, M n = M , M_n=M, and every M k M_k can be obtained from M k 1 M_{k-1} by changing the sign of only one of the entries of the latter matrix. It is easy to see that S ( M k ) S(M_k) is either equal to S ( M k 1 ) , S(M_{k-1}), S ( M k 1 ) + 4 , S(M_{k-1})+4, or S ( M k 1 ) 4. S(M_{k-1})-4. That is why all the members of the sequence are ( S ( M k ) ) 1 k n (S(M_k))_{1\leq k \leq n} are congruent modulus 4. Then S ( M ) S ( N ) 50 2 S(M)\equiv S(N) \equiv 50 \equiv 2 mod 4. Therefore, S ( M ) 0 S(M)\neq 0 and the answer to the problem is 0 . \boxed{0}.

Very cool solution!

Parth Sankhe - 2 years, 7 months ago

Log in to reply

Thank you, Parth, for such a nice problem!

Arturo Presa - 2 years, 7 months ago
Parth Sankhe
Oct 28, 2018

The sum of these 50 terms to be zero suggests that there are 25 1 1 s and 25 1 -1 s. [ r i r_i and c j c_j can either be 1 or -1]

This tells us that the product of these 50 terms = ( 1 ) 25 ( 1 ) 25 = 1 (1)^{25}\cdot (-1)^{25}=-1 .

But, in the product of these terms each r i r_i will be multiplied to each c j c_j , making each term a i , j a_{i,j} being multiplied to itself.

Thus, the whole product would become product of each ( a i , j ) 2 (a_{i,j})^2 . This a product of 50 squares, and thus a product of 50 positive terms, which can never be 1 -1 .

Therefore, no such matrix exists.

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...