Exercise 3.1 · Q10 (MCQ): How many matrices have every entry 0 or 1?
The number of all possible matrices of order with each entry 0 or 1 is:
(A) 27
(B) 18
(C) 81
(D) 512
A matrix has 9 entries, and each entry can be chosen in 2 ways (0 or 1).
Number of matrices .
Answer: (D) 512
Want the reason behind every step, the basics and the checks?
A matrix has entries. Building one means making 9 separate choices, one per entry, and each choice has 2 options (0 or 1). Choices made one after another, independently, multiply: there are ways in all. And two matrices are different as soon as one entry differs, so different choices give different matrices.
- Given
- Matrices of order ; each entry must be 0 or 1.
- To find
- How many different such matrices exist.
- Plan
- (1) Count the entries. (2) Use equality of matrices to see that a matrix is exactly a list of 9 choices. (3) Count the lists with the multiplication principle. (4) Test the method on small cases and examine every option.
Basics you need
An matrix has entries, so a matrix has 9. Basics: rows, columns and the address
Two matrices of the same order are equal exactly when every pair of corresponding entries is equal (Definition 2). So changing even one entry gives a different matrix. Lesson: equality of matrices
If one choice can be made in ways and, whatever it was, a second choice can be made in ways, then the pair of choices can be made in ways. With 9 choices of 2 ways each: ways.
, , , , …, .
Solution
Count the entries
A matrix has 3 rows and 3 columns, so entries:
The question restricts the entries, not the order, so the shape is fixed and only the 9 entries vary.A matrix is the same thing as a list of 9 choices
Each matrix of this kind is fixed completely by choosing a value, 0 or 1, for each of . Conversely, by Definition 2, two such matrices are equal only if all 9 entries agree. So:
- every list of 9 choices gives a matrix, and
- different lists give different matrices.
Hence counting the matrices is the same as counting the lists of 9 choices.
This step makes sure we are neither double-counting nor missing anything. Without it, one might worry that two different choices could produce "the same" matrix; Definition 2 rules that out, because the matrices would differ in at least one entry.Equal matrices agree entry by entry. Lesson: equality of matricesCount the choices
Choose the entries one at a time. Each has 2 options, whatever was chosen for the others:
Working out the power: , so
So there are 512 such matrices.
Nine cells, each filled independently with 0 or 1. Every cell doubles the number of possibilities, so nine cells give different matrices. The choices are independent: picking does not restrict in any way. That is exactly when the multiplication principle applies, and the counts multiply rather than add.Multiplication principle: independent choices multiply.Test the method on small cases
A matrix with entry 0 or 1: , , so . A matrix: four possibilities, 0 0, 0 1, 1 0, 1 1, so . In general an matrix with entries 0 or 1 can be filled in ways. A one gives , and our gives .
Small cases can be listed by hand, and they match the formula, which confirms that the reasoning (one factor of 2 per entry) is right.Examine every option
Option Number Verdict (A) 27 Wrong. , as if 3 choices were made for 3 things. But there are 9 entries with 2 choices each, not 3 with 3. (B) 18 Wrong. , from multiplying the number of entries by the number of values. That counts "which entry and which value" for a single entry; it does not count whole matrices. (C) 81 Wrong. , which puts the 9 and the 2 the wrong way round: instead of . (D) 512 Correct. , from Step 3. The base of the power is the number of options per entry (2), and the exponent is the number of entries (9). Each wrong option comes from mixing up these roles, or from adding or multiplying the wrong numbers.
The correct answer is (D): there are matrices of order with each entry 0 or 1. (Textbook answer: D.)
Think of each matrix as a 9-digit binary string, reading the entries row by row (for example 100010001 for the identity matrix). Binary strings of length 9 represent exactly the whole numbers from 0 to , one each, so there are of them ✓. The site's verification script also lists all such matrices by computer and counts 512 ✓.
- Writing instead of . The exponent counts the choices; the base counts the options per choice.
- Adding instead of multiplying, which gives .
- Thinking the order of the entries does not matter. A 1 in position and a 1 in position give different matrices.
- An matrix whose entries each come from a set of values can be filled in ways.
- Different entries anywhere give different matrices, by the definition of equality.
- Independent choices multiply.
Every fact used, and where it comes from
| Fact | Used in | Source |
|---|---|---|
| An matrix has elements | Step 1 | Section 3.2.1 (Lesson: what a matrix is) |
| Two matrices are equal only if all corresponding entries are equal | Step 2 | Definition 2, Section 3.3.1 (Lesson: equality of matrices) |
| Multiplication principle of counting | Step 3 | NCERT Class XI Mathematics, Chapter 6 (Permutations and Combinations), Section 6.2, Fundamental Principle of Counting |
| ; the count 512 by listing all matrices | Steps 3, 5; Check | Recomputed in the site's verification script |
Tell us if something on this page is wrong or unclear, or if you would like a fuller explanation, another method or a new feature. Send feedback on this problem →