To find the number of matrices

229 Views Asked by At

Is there any formula to find the number of all possible matrices of order n × n with each entry 0 or 1 ?

2

There are 2 best solutions below

0
On BEST ANSWER

We have 2 choices for $n^2$ entries thus for the Rule of product

$$\overbrace{2\cdot 2\cdot 2\cdot 2\cdot ...\cdot 2}^{\color{red}{n^2 \,times}}=2^{n^2}$$

0
On

I'd say $2^{n^2}$ for you have 2 choices for each of the $n^2$ entries