Find the number of $n × n$ binary matrices that have precisely one 1 in every row and every column.

175 Views Asked by At

We want to find the number of $n × n$ binary matrices that have precisely one 1 in every row and every column. I believe the number of such matrices is $n!$. This is my reasoning: the number of $n × n$ binary matrices that have precisely one 1 in every row and every column corresponds to all possible permutations of the identity matrix (i.e. every permutation matrix of size $n$), of which there are $n!$. How would one go about proving this?

1

There are 1 best solutions below

0
On BEST ANSWER

The first row can be filled in $n$ ways ($n$ columns is possible to put $1$ and $0$ in other column ). After filling first row there is $(n-1)$ ways (One column is already used) as so on.

BY FUNDAMENTAL PRINCIPLE OF COUNTING, there are $n!$ ways.