UPSC PYQPrelims 2018

Civil Services Examination · Question 4

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

  1. 20

  2. 24

  3. 28

  4. 64

Show answer & explanationShow explanation

Answer: (A) 20

Explanation

Given: A regular or convex octagon having n = 8 vertices. Formula: The number of diagonals in an n-sided polygon is n(n − 3) / 2. Substitute n = 8: Number of diagonals = 8 × (8 − 3) / 2 ⇒ (8 × 5) / 2 = 20. Shortcut: Joining any 2 vertices out of 8 gives ⁸C₂ = (8 × 7)/2 = 28 segments; subtracting the 8 sides leaves 28 − 8 = 20 diagonals. Correct Answer: (a) 20

Diagram explaining the answer