All 28 questions of the UPSC Civil Services (Main) 2023 Mathematics Optional Paper 2, in question order. Each question links to its full step-by-step solution on our topic-wise solution pages.
Want the paper itself? See the 2023 Paper 2 PDF and our 2023 paper analysis. The other paper of this year: 2023 Paper 1 solutions. Prefer to revise topic by topic? Use our topic-wise solutions.
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 – by computer algebra, by numerical simulation for mechanics, or step by step for proofs – and each one says how it was checked.
Spotted a mistake? Tell us in the comments below or through Report an error.
Jump to a question:
Question 1 Question 2 Question 3 Question 4 Question 5 Question 6 Question 7 Question 8
Question 1 · Section A
Let be a group of order 10 and be a group of order 6. Examine whether there exists a homomorphism of onto .
Express the ideal as a principal ideal in the integral domain .
Topic: Integral domains and fields
State the sufficient conditions for a function to be analytic in its domain. Hence, show that is analytic in its domain and find .
Topic: Analytic functions
A person requires 24, 24 and 20 units of chemicals , and respectively for his garden. Product contains 2, 4 and 1 units of chemicals , and respectively per jar and product contains 2, 1 and 5 units of chemicals , and respectively per jar. If a jar of costs ₹ 30 and a jar of costs ₹ 50, then how many jars of each should be purchased in order to minimize the cost and meet the requirements?
Question 2 · Section A
Prove that a non-commutative group of order , where is an odd prime, must have a subgroup of order .
Topic: Permutation groups
Using the method of Lagrange’s multipliers, find the minimum and maximum distances of the point from the sphere .
Evaluate using contour integration.
Question 3 · Section A
Prove that is an irreducible polynomial in . Further show that the quotient ring is a field of 9 elements.
Topic: Integral domains and fields
Prove that is harmonic. Find its conjugate harmonic function and express the corresponding analytic function in terms of .
Topic: Analytic functions
Solve the following linear programming problem by Big M method : Minimize subject to Is the optimal solution unique? Justify your answer.
Question 4 · Section A
Prove that the oscillation of a real-valued bounded function defined on is the supremum of the set .
Classify the singular point of the function and obtain the principal part of its Laurent series expansion.
A department head has 5 subordinates and 5 jobs to be performed. The time (in hours) that each subordinate will take to perform each job is given in the matrix below : How should the jobs be assigned, one to each subordinate, so as to minimize the total time? Also, obtain the total minimum time to perform all the jobs if the subordinate cannot be assigned job .
Question 5 · Section B
By eliminating the arbitrary functions and from , form partial differential equation.
Topic: Formulation of PDEs
Given with initial condition at . Find the value of for by Euler’s method, correct to 4 decimal places, taking step length .
Topic: Numerical solution of ODEs
Evaluate, using the binary arithmetic, the following numbers in their given system : (i) (ii)
A planet of mass is revolving around the sun of mass . The kinetic energy and the potential energy of the planet are given by and , where are the polar coordinates of the planet at time , is the gravitational constant and is the major axis of the ellipse (the path of the planet). Find the Hamiltonian and the Hamilton equations of the planet’s motion.
In a fluid motion, there is a source of strength placed at and two sinks of strength are placed at and . Find the streamlines.
Question 6 · Section B
Find the surface passing through the two lines and , and satisfying the partial differential equation .
Topic: Second order linear PDEs
Solve the system of linear equations correct up to 4 significant figures by the Gauss-Seidel iterative method. Take initially guessed solution as .
Topic: Solution of equations
A mechanical system with 2 degrees of freedom has the Lagrangian where , , , are constants. Find the parameter so that under the transformation the Lagrangian in terms of , will not contain the product term . Find the Lagrange’s equations w.r.t. and independent of parameter .
Question 7 · Section B
(i) Find the conjunctive normal form (CNF) of the following Boolean function : \(ii\) Express the Boolean function in disjunctive normal form (DNF) and construct the truth table for the function.
A perfectly rough ball is at rest within a hollow cylindrical roller. The roller is drawn along a level path with uniform velocity . Let and be the radii of the ball and the roller respectively. If , then show that the ball will roll completely round the inside of the roller.
Solve the partial differential equation subject to the conditions
Question 8 · Section B
Reduce the partial differential equation to canonical form.
Topic: Second order linear PDEs
Compute a root of the equation , in the interval , by Regula-Falsi method, correct to 6 decimal places.
Topic: Solution of equations
Determine under what conditions the velocity field , , is a solution to the Navier-Stokes momentum equations. Assuming that the conditions are met, determine the resulting pressure distribution, when is up and the external body forces are , .
Solutions for other years
Paper 1
2026 2025 2024 2023 2022 2021 2020 2019 2018 2017 2016 2015 2014 2013 2012 2011 2010 2009 2008
Paper 2
2026 2025 2024 2023 2022 2021 2020 2019 2018 2017 2016 2015 2014 2013 2012 2011 2010 2009 2008
More for Mathematics Optional
- Topic-wise PYQ solutions (all 1,171 questions, 2008–2026)
- Year-wise question papers (PDF)
- Topic-wise PYQs (questions only, for practice)
- Mathematics PYQ analysis
Questions: UPSC Civil Services (Main) Examination 2023, Mathematics Paper 2. Solutions: Optional Province. Found an error? Tell us.

