If \(X\) represents a discrete random variable, hence the possible outcomes can be written in set notation:
\(X = \lbrace r : r = 0, 1, 2, 3\rbrace\)
If \(Y\) represents a continuous random variable, hence the possible outcomes can be written as:
\(Y = \lbrace y : y\) is the pupil's height in cm, \(a \leq y \leq b \rbrace\)
\(70\%\) of Form \(5\) Dahlia pupils achieved a grade A in the final year examination for the Science subject. Two pupils were chosen at random from that class.
\(P (A : A \text{ is a pupil who did not achieve a grade A}) \\ = 1-\dfrac{70}{100}\\ = 0.3.\)
\(P (B : B \text{ is a pupil who achieved a grade A}) \\ = \dfrac{70}{100}\\ = 0.7.\)
Then, \(X = \{0, 1, 2\}\).
\(\begin{aligned} P(X = 0) &= P(B, B) \\ &= 0.7 × 0.7\\ &=0.49.\\\\ P(X = 1) &= P(A, B) + P(B, A)\\ &= (0.3 × 0.7) + (0.7 × 0.3)\\ &=0.42.\\\\ P(X = 2) &= P(A, A) \\ &= 0.3 × 0.3\\ &=0.09 .\end{aligned}\)
Prepare exams with mock exam papers