Question

Let SS be a sample space and two mutually exclusive events AA and BB be such that A∪B=SA \cup B = S. If P(⋅)P(\cdot) denotes the probability of the event, the maximum value of P(A)P(B)P(A)P(B) is _____.

Official answer and solution
Official answer
0.25
From
Official GATE 2014 answer key

Solution

Use the axioms of probability to express P(B) in terms of P(A) and maximize the resulting quadratic function.

  1. Events AA and BB are mutually exclusive, so A∩B=∅A \cap B = \emptyset.

  2. Their union is the entire sample space: A∪B=SA \cup B = S.

  3. By the addition rule for mutually exclusive events:

    P(A∪B)=P(A)+P(B)=P(S)=1.P(A \cup B) = P(A) + P(B) = P(S) = 1.
  4. Let p=P(A)p = P(A), then P(B)=1−pP(B) = 1 - p, where 0≤p≤10 \le p \le 1.

  5. Maximize the Product:

    f(p)=P(A)P(B)=p(1−p)=p−p2.f(p) = P(A)P(B) = p(1 - p) = p - p^2.

    Differentiating with respect to pp:

    f′(p)=1−2p=0  ⟹  p=12=0.5.f'(p) = 1 - 2p = 0 \implies p = \frac{1}{2} = 0.5.

    Second derivative: f′′(p)=−2<0f''(p) = -2 < 0, confirming a local maximum.

  6. The maximum value is:

    f(0.5)=0.5×0.5=0.25.f(0.5) = 0.5 \times 0.5 = 0.25.
Final answer

0.25

Common trap

Thinking P(A) and P(B) are independent rather than mutually exclusive.

The answer is the one in the official GATE answer key. The solution is this site's own explanation.

Source

Paper
GATE 2014 Computer Science and Information Technology (CS) Session 3
Question
58 of 65, printed as CS Q.48
Section
Computer Science and Information Technology

Report an error in this question

GATE questions are the work of the organising institutes. This site is independent and is not affiliated with them.