Skip to content
Miscellaneous Examples · Example 9

Q.On her vacations Veena visits four cities (A, B, C and D) in a random order. What is the probability that she visits

(i) A before B?
(ii) A before B and B before C?
(iii) A first and B last?
(iv) A either first or second?
(v) A just before B?
Rajasthan RbseTextbookSubjective· 3mImportance★★★★★est
40% · 37/93 Questions
✓ Free question

When arrangements are equally likely, probability equals the fraction of favorable orderings. (i) 12\frac{1}{2}, (ii) 16\frac{1}{6}, (iii) 112\frac{1}{12}, (iv) 12\frac{1}{2}, (v) 14\frac{1}{4}.

The heart of this problem is symmetry in permutations. When Veena visits four cities in a random order, all 4!=244! = 24 orderings are equally likely. For any subset of cities, every relative ordering of that subset appears equally often across all permutations. This symmetry principle lets us count favorable outcomes without listing every arrangement.

The total number of ways to visit four cities is 4!=244! = 24.


(i) Probability that A comes before B

Among all orderings of four cities, consider just the relative positions of A and B. By symmetry, in exactly half of all arrangements A appears before B, and in the other half B appears before A. The presence of C and D doesn't break this symmetry—they simply fill the remaining slots.

The probability is 1224=12\frac{12}{24} = \frac{1}{2}.

Tip

For any two objects in a random permutation, the probability that one specific object comes before the other is always 12\frac{1}{2}.


(ii) Probability that A before B and B before C

Now we need the specific ordering A, then B, then C (with D anywhere). Among the three cities A, B, C, there are 3!=63! = 6 possible relative orderings:

  • ABC, ACB, BAC, BCA, CAB, CBA

Only one of these six orderings satisfies "A before B before C": namely ABC.

Since all relative orderings of any three cities are equally likely, the probability is 16\frac{1}{6}.

Alternatively, count directly: D can occupy any of the 4 positions. Once D's position is fixed, the remaining 3 positions must be filled by A, B, C in that specific order. There are 44 ways to place D and 11 way to arrange A, B, C in the required order, giving 44 favorable outcomes out of 2424 total: 424=16\frac{4}{24} = \frac{1}{6}.

The probability is 16\frac{1}{6}.


(iii) Probability that A is first and B is last

We need A in position 1 and B in position 4. The middle two positions (2 and 3) can be filled by C and D in any order.

  1. Fix A in position 1: done.
  2. Fix B in position 4: done.
  3. Arrange C and D in positions 2 and 3: 2!=22! = 2 ways.

Favorable outcomes: 22.

The probability is 224=112\frac{2}{24} = \frac{1}{12}.


(iv) Probability that A is either first or second

We split into two disjoint cases:

Case 1: A is first.

The remaining three cities B, C, D can be arranged in positions 2, 3, 4 in 3!=63! = 6 ways.

Case 2: A is second.

One of B, C, D occupies position 1 (33 choices), and the remaining two cities fill positions 3 and 4 (2!=22! = 2 ways each). Total: 3×2=63 \times 2 = 6 ways.

Favorable outcomes: 6+6=126 + 6 = 12.

The probability is 1224=12\frac{12}{24} = \frac{1}{2}.

Note

Alternatively, by symmetry each city is equally likely to occupy any given position. The probability A is in position 1 is 14\frac{1}{4}, and the probability A is in position 2 is also 14\frac{1}{4}. Since these events are disjoint, the total probability is 14+14=12\frac{1}{4} + \frac{1}{4} = \frac{1}{2}.


(v) Probability that A is immediately before B

"A just before B" means A and B occupy consecutive positions with A first. The possible consecutive pairs of positions are:

  • (1, 2), (2, 3), (3, 4)

That's 3 pairs of consecutive positions.

For each pair:

  1. Place A in the first position of the pair and B in the second.
  2. Arrange the remaining two cities (C and D) in the remaining two positions: 2!=22! = 2 ways.

Favorable outcomes: 3×2=63 \times 2 = 6.

The probability is 624=14\frac{6}{24} = \frac{1}{4}.

Watch out

Don't confuse "A before B" (anywhere in the sequence) with "A just before B" (immediately adjacent). The former has probability 12\frac{1}{2}, the latter 14\frac{1}{4}.


✓Final answer

The probabilities are: (i) 12\boxed{\frac{1}{2}}, (ii) 16\boxed{\frac{1}{6}}, (iii) 112\boxed{\frac{1}{12}}, (iv) 12\boxed{\frac{1}{2}}, (v) 14\boxed{\frac{1}{4}}.

Unlock everything free for 14 days

  • Full step-by-step solutions
  • Concept-first explanations
  • Methods, shortcuts & mistakes
  • PYQ mapping + timed mock tests

Full access for 14 days. No credit card required.