All Exams Test series for 1 year @ ₹349 only
Question

Two numbers x and y are chosen at random from a set of the first 10 natural numbers. What is the probability that (x + y) is divisible by 4 ?

This question was previously asked in
NDA I 2022 GAT Previous Year Paper (10-Apr-2022)
The correct answer is \(\frac{2}{9}\)

Calculating Probability: Sum of Two Numbers Divisible by 4

The problem asks for the probability that the sum of two numbers, x and y, chosen at random from the first 10 natural numbers, is divisible by 4. The set of the first 10 natural numbers is S = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}.

When "two numbers x and y are chosen at random", it typically implies selecting two distinct numbers without replacement, and the order of selection matters (i.e., (x, y) is different from (y, x)). Let's proceed with this interpretation.

Step 1: Determine the Total Possible Outcomes

We are choosing two distinct numbers x and y from a set of 10 numbers, and the order matters. The total number of ordered pairs (x, y) with x ≠ y is the number of permutations of 10 items taken 2 at a time, denoted as &(\(\text{P}(10, 2)\)&).

&(\(\text{Total outcomes} = \text{P}(10, 2) = 10 \times 9 = 90\))

Step 2: Determine the Favourable Outcomes

We need to find the number of pairs (x, y) such that x ≠ y, x, y &(\(\in\)) S, and (x + y) is divisible by 4.

Let's find the pairs (x, y) where x ≠ y and x + y is a multiple of 4. The minimum possible sum is 1 + 2 = 3, and the maximum possible sum is 10 + 9 = 19. The multiples of 4 within this range are 4, 8, 12, and 16.

We can systematically list the pairs (x, y) with x ≠ y from S for each target sum:

  • Sum = 4: Possible pairs are (1, 3) and (3, 1). (2, 2) is not allowed as x ≠ y. There are 2 favourable pairs.
  • Sum = 8: Possible pairs are (1, 7), (7, 1), (2, 6), (6, 2), (3, 5), (5, 3). (4, 4) is not allowed. There are 6 favourable pairs.
  • Sum = 12: Possible pairs are (2, 10), (10, 2), (3, 9), (9, 3), (4, 8), (8, 4), (5, 7), (7, 5). (6, 6) is not allowed. There are 8 favourable pairs.
  • Sum = 16: Possible pairs are (6, 10), (10, 6), (7, 9), (9, 7). (8, 8) is not allowed. There are 4 favourable pairs.

The total number of favourable outcomes is the sum of the counts for each target sum:

&(\(\text{Total favourable outcomes} = 2 + 6 + 8 + 4 = 20\))

Step 3: Calculate the Probability

The probability of the event is the ratio of the total favourable outcomes to the total possible outcomes.

&(\(\text{Probability} = \frac{\text{Total favourable outcomes}}{\text{Total possible outcomes}} = \frac{20}{90}\))

Simplify the fraction:

&(\(\text{Probability} = \frac{20}{90} = \frac{2}{9}\))

Alternatively, we can use the concept of remainders modulo 4. The numbers in the set S = {1, 2, ..., 10} can be classified by their remainder when divided by 4:

  • Remainder 0: R0 = {4, 8} (2 numbers)
  • Remainder 1: R1 = {1, 5, 9} (3 numbers)
  • Remainder 2: R2 = {2, 6, 10} (3 numbers)
  • Remainder 3: R3 = {3, 7} (2 numbers)

The sum x + y is divisible by 4 if and only if the sum of their remainders modulo 4 is congruent to 0 modulo 4. Since x ≠ y, the possible combinations of remainder classes &(\(([x]_4, [y]_4)\) &) for (x + y) &(\(\equiv\)) 0 (mod 4) are:

  • &(\(([x]_4, [y]_4) = (0, 0)\)&): x, y &(\(\in\)) R0, x ≠ y. Number of pairs = &(\(\text{P}(2, 2) = 2 \times 1 = 2\)). Pairs: (4, 8), (8, 4).
  • &(\(([x]_4, [y]_4) = (1, 3)\)&): x &(\(\in\)) R1, y &(\(\in\)) R3. Number of pairs = &(\(|R_1| \times |R_3| = 3 \times 2 = 6\)).
  • &(\(([x]_4, [y]_4) = (3, 1)\)&): x &(\(\in\)) R3, y &(\(\in\)) R1. Number of pairs = &(\(|R_3| \times |R_1| = 2 \times 3 = 6\)).
  • &(\(([x]_4, [y]_4) = (2, 2)\)&): x, y &(\(\in\)) R2, x ≠ y. Number of pairs = &(\(\text{P}(3, 2) = 3 \times 2 = 6\)).

Total number of favourable pairs = 2 + 6 + 6 + 6 = 20.

Total possible ordered pairs (x, y) with x ≠ y = 90.

&(\(\text{Probability} = \frac{20}{90} = \frac{2}{9}\))

Both methods yield the same probability, &(\(\frac{2}{9}\)&).

Summary of Favourable Pairs (x, y) with x ≠ y where x+y is Divisible by 4
Target Sum (Multiple of 4) Favourable Pairs (x, y) Count
4 (1, 3), (3, 1) 2
8 (1, 7), (7, 1), (2, 6), (6, 2), (3, 5), (5, 3) 6
12 (2, 10), (10, 2), (3, 9), (9, 3), (4, 8), (8, 4), (5, 7), (7, 5) 8
16 (6, 10), (10, 6), (7, 9), (9, 7) 4
Total Favourable Pairs 20

Revision Table: Key Concepts

Key Probability Concepts
Concept Description
Sample Space The set of all possible outcomes of an experiment. In this case, ordered pairs (x, y) chosen from {1, ..., 10} with x ≠ y.
Event Space The subset of the sample space containing only the outcomes where the desired event occurs (x + y is divisible by 4).
Probability The ratio of the number of favourable outcomes to the total number of possible outcomes.
Permutation An arrangement of items where the order matters. Used here for selecting two distinct numbers (x, y).
Divisibility Rule for 4 A number is divisible by 4 if its remainder when divided by 4 is 0. For sums, this can be checked using remainders of individual numbers.

Additional Information: Probability with Replacement

If the question implied choosing two numbers with replacement (x and y can be the same), the total number of outcomes would be &(\(10 \times 10 = 100\)).

The favourable outcomes (x+y divisible by 4) would include pairs like (2, 2), (4, 4), (6, 6), (8, 8), (10, 10), plus other pairs where x ≠ y that sum to a multiple of 4.

  • Sum = 4: (1, 3), (2, 2), (3, 1) - 3 pairs
  • Sum = 8: (1, 7), (2, 6), (3, 5), (4, 4), (5, 3), (6, 2), (7, 1) - 7 pairs
  • Sum = 12: (2, 10), (3, 9), (4, 8), (5, 7), (6, 6), (7, 5), (8, 4), (9, 3), (10, 2) - 9 pairs
  • Sum = 16: (6, 10), (7, 9), (8, 8), (9, 7), (10, 6) - 5 pairs
  • Sum = 20: (10, 10) - 1 pair

Total favourable outcomes with replacement = 3 + 7 + 9 + 5 + 1 = 25.

Probability with replacement = &(\(\frac{25}{100} = \frac{1}{4}\)&).

Since &(\(\frac{1}{4}\)&) is not among the options and &(\(\frac{2}{9}\)&) is, the interpretation of choosing two distinct numbers without replacement (ordered pairs) is the intended one for this problem.

Was this answer helpful?

Similar Questions

  1. A biased coin with the probability of getting head equal to \(\frac{1}{4}\) is tossed five times. What is the probability of getting tail in all the first four tosses followed by head ? 

  2. A natural number n is chosen from the first 50 natural numbers. What is the probability that \(n+\frac{50}{n}<50 \) ?

  3. Three dice are thrown. What is the probability that each face shows only multiples of 3 ?

  4. A box contains 2 white balls, 3 black balls, and 4 red balls. What is the number of ways of drawing 3 balls from the box with at least one black ball?

  5. The probability that a person hits a target is 0.5. What is the probability of at least one hit in 4 shots ?

  6. A number x is chosen at random from first n natural numbers. What is the probability that the number chosen satisfies x + \(\frac{1}{\text{x}}\)  > 2 ?
  7. During war, one ship out of 5 was sunk on an average in making a certain voyage. What is the probability that exactly 3 out of 5 ships would arrive safely?

  8. A card is drawn from a pack of 52 cards. A gambler bets that it is either a spade or an ace. The odds against his winning are

  9. The completion of a construction job may be delayed due to strike. The probability of strike is 0.6. The probability that the construction job gets completed on time if there is no strike is 0.85 and the probability that the construction job gets completed on time if there is a strike is 0.35. What is the probability that the construction job will not be completed on time ?

  10. A coin is tossed twice. If E and F denote occurrence of head on first toss and second toss respectively, then what is P(E ∪ F) equal to?


Important Questions from Probability of Random Experiments

  1. A six faced die is a biased one. It is thrice more likely to show an odd number than to show an even number. It is thrown twice. The probability that the sum of the numbers in the two throws is even is

  2. A coin is biased so that a head is twice as likely to occur as a tail, if the coin is tossed three times, what is the probability of getting exactly two tails?

  3. From two well shuffled pack of cards what is the probability of getting one Jack from the first one and a King from the second?

  4. If A is an event of getting 13 by throwing two unbiased six-faced dice, then A is called

  5. One summer, Peter visits 4 villages (A, B, C and D) in a random order. Find the probability that he visits (i) A before B (ii) A before B and B before C respectively?

Need Expert Advice?
Upcoming Exams
NDA
September 13, 2026
CDS
September 13, 2026
Test Series
NDA img
Defence
NDA 2026 Mock Test Series (Latest Pattern)
501 Tests 1 Tests Free
677 Attempts
4.6(121)
English, Hindi

Start Your Preparation with Prepp Mobile App

Download the app from Google Play & App Store
Download the app from Google Play & App Store
Prepp Mobile App