Skip to content
Worked Examples · Example 4

Q.Find the number of different signals that can be generated by arranging at least 2 flags in order (one below the other) on a vertical staff, if five different flags are available.

Himachal HpboseTextbookSubjective· 3mImportance★★★★★est
8% · 10/130 Questions
🔒 Locked · start free trial →

You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.

Start your 14-day free trial to unlock the full solution →

We treat each arrangement as an ordered selection of rr flags from 5 distinct flags, where rr can be 2, 3, 4, or 5. The total number of signals is the sum of permutations for each length: P(5,2)+P(5,3)+P(5,4)+P(5,5)=20+60+120+120=320P(5,2) + P(5,3) + P(5,4) + P(5,5) = 20 + 60 + 120 + 120 = 320.

The key idea here is that a signal is an ordered arrangement of flags placed one below the other on a vertical staff. The order matters — swapping two flags gives a different signal. Also, we cannot reuse a flag within a single signal because each flag is distinct and used at most once. This is a classic case of permutations without repetition.

Why not combinations? Because the sequence top-to-bottom is part of the signal’s identity. If you choose flags {red, blue, green}, the signal “red above blue above green” is different from “green above blue above red”. So we count permutations, not combinations.

The problem says “at least 2 flags”. That means we can use 2, 3, 4, or all 5 flags. Each possible length rr gives a separate set of signals, and since no signal can have two different lengths, we simply add the counts.

Let’s work through each case.

  1. Signals using exactly 2 flags We choose any 2 flags from the 5, and arrange them in order. The number of ways to arrange rr distinct items taken from nn distinct items is P(n,r)=n!(n−r)!P(n, r) = \frac{n!}{(n-r)!}. For n=5n=5, r=2r=2:

P(5,2)=5!(5−2)!=5×4×3!3!=5×4=20.P(5,2) = \frac{5!}{(5-2)!} = \frac{5 \times 4 \times 3!}{3!} = 5 \times 4 = 20.

So there are 20 different 2-flag signals.

  1. Signals using exactly 3 flags

P(5,3)=5!(5−3)!=5×4×3×2!2!=5×4×3=60.P(5,3) = \frac{5!}{(5-3)!} = \frac{5 \times 4 \times 3 \times 2!}{2!} = 5 \times 4 \times 3 = 60.

  1. Signals using exactly 4 flags

P(5,4)=5!(5−4)!=5×4×3×2×1!1!=5×4×3×2=120.P(5,4) = \frac{5!}{(5-4)!} = \frac{5 \times 4 \times 3 \times 2 \times 1!}{1!} = 5 \times 4 \times 3 \times 2 = 120.

  1. Signals using all 5 flags …

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.