Minimalist IAS
CSAT 2018 paper

UPSC CSE CSAT 2018 · Paper II (CSAT) · Question 4 · Counting, permutations & probability

How many diagonals can be drawn by joining the vertices of an octagon?

UPSC Civil Services (Preliminary) Examination 2018, General Studies Paper II (CSAT), Question 4 — Counting, permutations & probability.

How many diagonals can be drawn by joining the vertices of an octagon?

Answer & explanation

Answer: (a) 20

Any two of the 8 vertices can be joined in C(8, 2) = 28 ways. Eight of those joins are the sides, so 20 are diagonals.

  1. Lines joining two vertices: C(8, 2) = 8 × 7 ÷ 2 = 28.
  2. Of these, 8 are sides of the octagon.
  3. Diagonals = 28 − 8 = 20.
  4. Check with the formula n(n − 3)/2 = 8 × 5 ÷ 2 = 20.

Remember · Diagonals of an n-sided polygon = n(n − 3)/2: each vertex joins n − 3 non-adjacent vertices, and each diagonal is counted twice.

Question and answer: UPSC's official GS Paper II (2018, Series A) — paper ↗ · answer key ↗. Explanation: Minimalist IAS, checked 30 Sept 2026 (how we verify). ·

Cite this question: UPSC CSE CSAT 2018, Q4 — minimalistias.com/pyqs/csat/2018/q4

In the UPSC syllabus: Counting, permutations & probability › Counting figures & cases See it and tick it covered →

Timed · 35 minutes Take CSAT Counting, permutations & probability · Set 1 as a test This question is in it — with UPSC's marking and an instant score. Start the set

More on Counting, permutations & probability

All Counting, permutations & probability questions →