Solveeit Logo

Question

Question: If $a_1$, $a_2$, $b_1$ and $b_2$ take values in the set $\{1, -1, 0\}$, then the probability that th...

If a1a_1, a2a_2, b1b_1 and b2b_2 take values in the set {1,1,0}\{1, -1, 0\}, then the probability that the equation a1a2=b1b2a_1a_2 = b_1b_2 is satisfied, is pq\frac{p}{q}, (where pp and qq are co-prime positive integers), then q+2pq + 2p is equal to ___.

Answer

49

Explanation

Solution

There are 3 choices for each of the four variables, so the total number of outcomes is

34=81.3^4 = 81.

Consider the pair (a1,a2)(a_1, a_2). The product a1a2a_1a_2 can be:

  • 11 in 2 cases: (1,1)(1, 1) and (1,1)(-1, -1),
  • 1-1 in 2 cases: (1,1)(1, -1) and (1,1)(-1, 1),
  • 00 in 5 cases: (1,0),(0,1),(1,0),(0,1)(1,0), (0,1), (-1,0), (0,-1) and (0,0)(0,0).

Similarly, the pair (b1,b2)(b_1, b_2) has the same distribution.

For the equation a1a2=b1b2a_1a_2 = b_1b_2 to hold, both products must be equal. The number of favorable outcomes is:

Favorable=22+22+52=4+4+25=33.\text{Favorable} = 2^2 + 2^2 + 5^2 = 4 + 4 + 25 = 33.

Thus, the probability is 3381=1127\frac{33}{81} = \frac{11}{27}.

Here, p=11p = 11 and q=27q = 27. The required value is:

q+2p=27+2(11)=27+22=49.q + 2p = 27 + 2(11) = 27 + 22 = 49.