---
title: "Number of Sides of a Convex Polygon with Interior Angles in AP"
organization: "NityaDhi Digital Mathematics Lab (Asa Edtech Private Limited)"
url: "https://www.nityadhi.com/problems/hard-c10-w1-08-ap-convex-polygon-interior-angles"
board: "CBSE"
grade: "Class 10"
published_at: "2026-11-25T15:30:00+05:30"
---

# Number of Sides of a Convex Polygon with Interior Angles in AP

The interior angles of a convex polygon are in an arithmetic progression. The smallest angle is $120^\circ$ and the common difference is $5^\circ$. Find the number of sides of the polygon.

## Textbook Solution

**Step 1: Equate Two Expressions for the Sum of Interior Angles**

Let the polygon have $n$ sides ($n \ge 3$). Its $n$ interior angles form an AP with $a = 120^\circ$ and $d = 5^\circ$.
- Sum from AP formula: $S_n = \frac{n}{2}[2(120) + (n - 1)5] = \frac{n}{2}(5n + 235)$
- Sum from polygon geometry: $(n - 2) \times 180^\circ$

Equating the two:
$$\frac{n}{2}(5n + 235) = 180(n - 2)$$

**Step 2: Solve the Quadratic in $n$**
$$5n^2 + 235n = 360n - 720$$
$$5n^2 - 125n + 720 = 0 \implies n^2 - 25n + 144 = 0$$
Factorising ($144 = 9 \times 16$ and $9 + 16 = 25$):
$$(n - 9)(n - 16) = 0 \implies n = 9 \text{ or } n = 16$$

**Step 3: Check Convexity Constraint**
In a convex polygon, every interior angle must be strictly less than $180^\circ$:
- For $n = 16$: largest angle $= T_{16} = 120^\circ + 15(5^\circ) = 195^\circ > 180^\circ$ (invalid!).
- For $n = 9$: largest angle $= T_9 = 120^\circ + 8(5^\circ) = 160^\circ < 180^\circ$ (valid!).

**Final Answer:** The polygon has **$9$ sides** (a nonagon).

## Vedic Shortcut

**NityaDhi Exterior-Angle Invariant Trick:**

Every convex polygon's exterior angles sum to $360^\circ$! Since interior angles start at $120^\circ$ and increase by $5^\circ$, the exterior angles form a decreasing AP starting at $180^\circ - 120^\circ = 60^\circ$ with $d = -5^\circ$.
Also, all exterior angles must stay strictly positive ($60 - 5(n-1) > 0 \implies n < 13$), which instantly rules out $n = 16$ before even solving!
Check cumulative sum from $60$: $60 + 55 + 50 + 45 + 40 + 35 + 30 + 25 + 20 = 9 \times 40 = 360^\circ \implies n = 9$!

## Common Mistakes

- **Accepting both $n = 9$ and $n = 16$:** Because both are positive integers, students often miss the geometric constraint that a convex polygon cannot have an interior angle $\ge 180^\circ$ (in fact, at $n = 13$, $T_{13} = 180^\circ$, which degenerates into a straight segment).