All 17 questions UPSC has asked on groups and subgroups in the Mathematics Optional (Paper II, Algebra) from 2008 to 2025, solved step by step – latest first.
Try them yourself first: the same questions, without solutions, are on our Algebra topic-wise PYQs page.
How we check these solutions
These are our own solutions, prepared with AI help. UPSC does not publish official answers. Every solution is checked a second way before it goes up, and says how:
- ✓ Checked by computer the answer was worked out again independently with computer algebra (SymPy).
- ✓ Proof checked step by step for “prove that” questions, every step was checked against the definitions.
Spotted a mistake or a neater method? Tell us in the comments below or through Report an error.
Jump to a question (year · question number):
2025 · 1a 2025 · 1b 2021 · 4a 2020 · 2a 2019 · 1a 2018 · 3a 2016 · 2b 2015 · 1a 2013 · 1b 2012 · 1a 2011 · 1a 2011 · 1e(i) 2011 · 1e(ii) 2011 · 2a 2011 · 4a 2010 · 1a 2008 · 1a
Let and be two subgroups of a group such that and . Show that , where is the identity element. Here , and denote the order of , and respectively.
Solution
Use the product formula for subgroups: is a subset of , so .
Suppose . Then which is impossible. Hence .
✓ Proof checked step by step Proof checked step by step.
Let be a non-Abelian group with and . Show that (where is the identity element of and , denote the order of the elements , respectively).
Solution
Since , it is one of . We rule out all but one.
- gives , but . ✗
- gives ; gives . ✗ (both contradict )
- gives . ✗
- would make and commute. Since is generated by and , would be abelian. ✗
The only possibility left is .
✓ Proof checked step by step Proof checked step by step; also checked by computer on the dihedral group of order 6.
Show that there are infinitely many subgroups of the additive group of rational numbers.
Solution
For each positive integer let Subgroup. , and , so is a subgroup of .
All different. If and are distinct primes, then but (otherwise , i.e. , which is impossible). So .
There are infinitely many primes, so the give infinitely many distinct subgroups. (Even simpler: , , are infinitely many distinct subgroups.)
✓ Proof checked step by step Proof checked step by step.
Let be a finite cyclic group of order . Then prove that has generators (where is Euler’s -function).
Solution
Let with , so .
Claim. generates if and only if .
- If , there are integers with . Then , so and .
- If , then , so and cannot generate .
So the generators are exactly with and . Their number is by the definition of Euler’s function.
✓ Proof checked step by step Proof checked step by step; checked by computer for .
Let be a finite group, and subgroups of such that . Show that .
Solution
For a finite group, Lagrange’s theorem gives the index as a quotient of orders: Multiplying,
✓ Proof checked step by step Proof checked step by step.
Find all the proper subgroups of the multiplicative group of the field , where and represent addition modulo 13 and multiplication modulo 13 respectively.
Solution
The multiplicative group is , of order 12. It is cyclic, generated by : A cyclic group of order 12 has exactly one subgroup of each order dividing 12, namely of order .
| Order | Generator | Subgroup |
|---|---|---|
| 1 | ||
| 2 | ||
| 3 | ||
| 4 | ||
| 6 |
These are all the proper subgroups (the trivial subgroup is often excluded, leaving four non-trivial proper subgroups). The order-12 subgroup is the whole group.
✓ Checked by computer We checked by computer: the cyclic subgroups of are exactly the six listed.
Let be a prime number and denote the additive group of integers modulo . Show that every non-zero element of generates .
Solution
has order . Let in , and let .
By Lagrange’s theorem divides , so or . Since , contains the non-identity element , so . Hence and .
So every non-zero element generates .
✓ Proof checked step by step Proof checked step by step.
(i) How many generators are there of the cyclic group of order 8? Explain. (ii) Taking a group of order 4, where is the identity, construct composition tables showing that one is cyclic while the other is not.
Solution
(i) A cyclic group of order has generators: is a generator exactly when . For these are , so there are generators: .
(ii) Cyclic group (with of order 4, , ):
Here generates the group, so it is cyclic.
Non-cyclic group (Klein four-group):
Every non-identity element has order 2, so no element has order 4 and this group is not cyclic.
✓ Checked by computer We checked by computer: generators; the two tables are and the Klein group.
Give an example of an infinite group in which every element has finite order.
Solution
Example 1. under addition. It is infinite (the cosets are distinct for ). Every element has finite order, since .
Example 2. The group of all complex roots of unity, , under multiplication: it is infinite, and each element satisfies for some .
✓ Proof checked step by step Proof checked step by step.
How many elements of order 2 are there in the group of order 16 generated by and such that the order of is 8, the order of is 2 and .
Solution
The group is the dihedral group of order 16. Every element can be written uniquely as or (), and .
- Rotations . has order 2 exactly when with , i.e. . One element: .
- Reflections . . So all 8 elements have order 2.
Total: elements of order 2.
✓ Checked by computer We checked by computer, listing all 16 elements: exactly 9 have order 2.
Show that the set of six transformations on the set of Complex numbers defined by is a non-abelian group of order 6 w.r.t. composition of mappings.
Solution
Composition of maps is associative, and is the identity. We check closure and inverses.
Some compositions ():
- , and
Full table (row column):
- Closure: every entry is one of the six maps.
- Identity: . Inverses: are self-inverse; .
So is a group of order 6. It is non-abelian because .
✓ Checked by computer We checked by computer: the composition table closes, and .
Prove that a group of Prime order is abelian.
Solution
Let , a prime. Take , . By Lagrange’s theorem divides , and it is not 1, so and .
So is cyclic, and every cyclic group is abelian ().
✓ Proof checked step by step Proof checked step by step.
How many generators are there of the cyclic group of order 8 ?
Solution
If has order 8, then generates exactly when , i.e. .
So there are generators: , , , .
✓ Checked by computer We checked by computer: .
Give an example of a group in which every proper subgroup is cyclic but the group itself is not cyclic.
Solution
Example: the Klein four-group with and .
- Its proper subgroups are , , , , each cyclic.
- itself is not cyclic: every non-identity element has order 2, so no element generates all four elements.
(Another example is the quaternion group : its proper subgroups have orders 1, 2 and 4 and are all cyclic, but is not.)
✓ Checked by computer We checked by computer: every proper subgroup of the Klein group (and of ) is cyclic.
Let and be elements of a group, with , and . Find the order of , and express its inverse in each of the forms and .
Solution
The relations force . From we get . Conjugating again by (and ): So . Then , and the relation becomes : and commute.
Order of . Since they commute, . Assume and (so , ). Then (orders differ), so needs and , i.e. and . Hence
Inverse. using , and . (Equivalently and .)
✓ Proof checked step by step Proof checked step by step; the relations were checked by computer.
Let be the set of all real numbers omitting . Define the binary relation on by . Show is a group and it is abelian.
Solution
Closure. For : , so and .
Associativity. Using : so .
Identity. , so is the identity.
Inverse. We need : , which exists since , and (else , impossible). So every element has an inverse.
Abelian. .
Hence is an abelian group.
(In fact is an isomorphism from onto .)
✓ Proof checked step by step Proof checked step by step.
Let be the set of all real numbers except zero. Define a binary operation on as : where denotes absolute value of . Does form a group? Examine.
Solution
Closure holds: for . Associativity holds:
Identity. for all , so is a left identity. But it is not a two-sided identity: .
In fact there is no two-sided identity : needs , i.e. depending on the sign of , so no single works for both positive and negative .
Hence is not a group: it has closure, associativity and a left identity, but no two-sided identity.
✓ Proof checked step by step Proof checked step by step.
More on Algebra
- Algebra topic-wise PYQs (questions only, for practice)
- Mathematics PYQ analysis: which units carry the marks year by year
- Year-wise question papers
- Mathematics booklist
Questions: UPSC Civil Services (Main) Examination, Mathematics Paper II, 2008–2025. Solutions: Optional Province. Found an error? Tell us.

