Class 12 Maths, Worked in Full Past papersGet updates
Chapter 13 · Probability

Miscellaneous · Q8: A 2×22 \times 2 determinant of 0s and 1s is positive, P=316P = \frac{3}{16}

Miscellaneous ExerciseIndependent events · Section 13.4
The question

If each element of a second order determinant is either zero or one, what is the probability that the value of the determinant is positive? (Assume that the individual entries of the determinant are chosen independently, each value being assumed with probability 12\frac12⁠).

Exam answer

Let the determinant be ∣abcd∣=ad−bc\begin{vmatrix} a & b \\ c & d \end{vmatrix} = ad - bc⁠, where each of a,b,c,da, b, c, d is 0 or 1.

The entries are independent, each 0 or 1 with probability 12\frac12⁠. So there are 24=162^4 = 16 determinants, each with probability (12)4=116\left(\frac12\right)^4 = \frac{1}{16}⁠.

Let EE⁠: the determinant is positive. Since adad and bcbc are each 0 or 1, ad−bc>0ad - bc > 0 only when ad=1ad = 1 and bc=0bc = 0⁠.

ad=1ad = 1 only when a=d=1a = d = 1⁠: 1 way. bc=0bc = 0 when (b,c)=(0,0),(0,1)(b, c) = (0, 0), (0, 1) or (1,0)(1, 0)⁠: 3 ways.

So n(E)=1×3=3n(E) = 1 \times 3 = 3⁠: (a,b,c,d)=(1,0,0,1)(a, b, c, d) = (1, 0, 0, 1)⁠, (1,0,1,1)(1, 0, 1, 1) and (1,1,0,1)(1, 1, 0, 1)⁠.

∴ P(E)=n(E)n(S)=316\therefore\ P(E) = \dfrac{n(E)}{n(S)} = \dfrac{3}{16}⁠.

Want the reason behind every step, the basics and the checks?

The one idea this problem is built on

A second order determinant is ad−bcad - bc⁠. With entries 0 or 1, both products adad and bcbc are 0 or 1, so the determinant is positive only in the one way "ad=1ad = 1 and bc=0bc = 0". Counting the 16 equally likely determinants (or multiplying independent probabilities) gives 316\frac{3}{16}⁠.

Given, to find, and the plan
Given
A determinant ∣abcd∣\begin{vmatrix} a & b \\ c & d \end{vmatrix} whose entries are chosen independently, each equal to 0 or 1 with probability 12\frac12⁠.
To find
P(the value of the determinant is positive).
Plan
(1) Write the value ad−bcad - bc and its possible values. (2) Set up the 16 equally likely cases. (3) Decide when the value is positive. (4) Count. (5) Confirm by independence.

Basics you need

1A determinant of order 2

∣abcd∣=ad−bc\begin{vmatrix} a & b \\ c & d \end{vmatrix} = ad - bc (Chapter 4, Determinants).

2Multiply the choices

4 entries, 2 choices each: 2×2×2×2=162 \times 2 \times 2 \times 2 = 16 determinants. Basics: counting

3Independent events

For independent entries the probability of a combination is the product, so each of the 16 cases has probability (12)4\left(\frac12\right)^4 (Section 13.4). Lesson: independent events

4Classical probability

P(E)=n(E)n(S)P(E) = \frac{n(E)}{n(S)} for equally likely outcomes. Basics: P(E) = n(E)/n(S)

Solution

  1. The value of the determinant

    Write the determinant as

    ∣abcd∣=ad−bc,\begin{vmatrix} a & b \\ c & d \end{vmatrix} = ad - bc,

    where each of a,b,c,da, b, c, d is 0 or 1. A product of two such numbers is 1 only when both are 1, and 0 otherwise. So adad and bcbc are each 0 or 1, and the value ad−bcad - bc is −1-1⁠, 00 or 11⁠.

    Turning the determinant into a number tells us exactly what "positive" means here: the value must be 1.
    Determinant of order 2 (Chapter 4).
  2. The 16 equally likely determinants

    Each entry has 2 possible values, so there are 24=162^4 = 16 possible determinants. The entries are chosen independently, each value with probability 12\frac12⁠, so each determinant has probability

    12×12×12×12=116.\frac12 \times \frac12 \times \frac12 \times \frac12 = \frac{1}{16}.
    Independence lets us multiply the four probabilities. All 16 cases come out equal, so we may count: P(E)=n(E)16P(E) = \frac{n(E)}{16}⁠.
    Mutually independent events multiply (Section 13.4, Remark (iv), extended to four events). Lesson: independent events
  3. When is the value positive?

    Let EE⁠: the determinant is positive. As adad and bcbc are each 0 or 1,

    ad−bc>0  ⟺  ad=1 and bc=0.ad - bc > 0 \iff ad = 1 \text{ and } bc = 0.

    ad=1ad = 1 only when a=1a = 1 and d=1d = 1⁠. bc=0bc = 0 when at least one of b,cb, c is 0: (b,c)=(0,0),(0,1)(b, c) = (0, 0), (0, 1) or (1,0)(1, 0)⁠.

    The other combinations give 1−1=01 - 1 = 0⁠, 0−0=00 - 0 = 0 or 0−1=−10 - 1 = -1⁠, none of them positive.
    An event described in words becomes a set of outcomes. Basics: events as sets
  4. Count the favourable cases

    There is 1 choice for (a,d)(a, d) and 3 choices for (b,c)(b, c)⁠, so n(E)=1×3=3n(E) = 1 \times 3 = 3⁠. The three positive determinants have (a,b,c,d)=(1,0,0,1)(a, b, c, d) = (1, 0, 0, 1)⁠, (1,0,1,1)(1, 0, 1, 1) and (1,1,0,1)(1, 1, 0, 1)⁠. So

    P(E)=n(E)n(S)=316.P(E) = \frac{n(E)}{n(S)} = \frac{3}{16}.
    columns: b and c rows: a and d ad − bc b=0, c=0 b=0, c=1 b=1, c=0 b=1, c=1 a=0, d=0 0 0 0 −1 a=0, d=1 0 0 0 −1 a=1, d=0 0 0 0 −1 a=1, d=1 1 1 1 0 value 1 in 3 of the 16 cells
    All 16 determinants. The rows fix aa and dd⁠, the columns fix bb and cc⁠, and each cell shows ad−bcad - bc⁠. Only the 3 shaded cells in the bottom row have the value 1.
    The choice of (a,d)(a, d) and the choice of (b,c)(b, c) are separate, so the counts multiply.
    Multiply the choices. Basics: counting
  5. The same answer by independence

    ad=1ad = 1 needs a=1a = 1 and d=1d = 1⁠, so P(ad=1)=12×12=14P(ad = 1) = \frac12 \times \frac12 = \frac14⁠. bc=0bc = 0 is the complement of "b=1b = 1 and c=1c = 1", so P(bc=0)=1−14=34P(bc = 0) = 1 - \frac14 = \frac34⁠. The two events use different entries, so they are independent, and

    P(E)=14×34=316.P(E) = \frac14 \times \frac34 = \frac{3}{16}.
    "ad=1ad = 1" depends only on aa and dd⁠, and "bc=0bc = 0" only on bb and cc⁠; since all four entries are independent, the two events are independent too.
    P(E∩F)=P(E) P(F)P(E \cap F) = P(E)\,P(F) for independent events (Section 13.4, Definition 3). Lesson: independent events
Result

The probability that the determinant is positive is 316\frac{3}{16}⁠. (Textbook answer: 316\frac{3}{16}⁠.)

Check it with numbers

Of the 16 determinants, 3 have value 1, 3 have value −1-1 (the mirror cases with ad=0ad = 0 and b=c=1b = c = 1⁠), and the other 10 have value 0: 3+3+10=163 + 3 + 10 = 16⁠. So P(E)=316=0.1875P(E) = \frac{3}{16} = 0.1875⁠. The verify script lists all 16 and computes each determinant.

Common mistakes
  1. Counting only (1,0,0,1)(1, 0, 0, 1)⁠. bcbc is 0 whenever at least one of b,cb, c is 0; there are 3 such pairs, not 1.
  2. Including a=b=c=d=1a = b = c = d = 1⁠. Its value is 1−1=01 - 1 = 0⁠, which is not positive.
  3. Answering 13\frac13⁠. The three values −1,0,1-1, 0, 1 are not equally likely; count the 16 cases.
What to take away
  1. Turn the condition into numbers first: here "positive" means ad=1ad = 1 and bc=0bc = 0⁠.
  2. Independent entries with probability 12\frac12 each make all 2n2^n cases equally likely, so counting works.
  3. Events that depend on separate independent entries are independent: 14×34\frac14 \times \frac34⁠.

Every fact used, and where it comes from

FactUsed inSource
∣abcd∣=ad−bc\begin{vmatrix} a & b \\ c & d \end{vmatrix} = ad - bcStep 1Chapter 4, Determinants
Multiply the choices: 24=162^4 = 16Steps 2, 4Counting, Class XI (Basics: counting)
Mutually independent events multiplySteps 2, 5Section 13.4, Definition 3 and Remark (iv) (Lesson: independent events)
P(E)=n(E)n(S)P(E) = \frac{n(E)}{n(S)} for equally likely outcomesStep 4Class XI, Probability (Basics: classical probability)
P(E′)=1−P(E)P(E') = 1 - P(E)Step 5Class XI axioms (Basics: rules of probability)
Found an error, or want more?

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 →