All 30 questions of the UPSC Civil Services (Main) 2012 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 2012 Paper 2 PDF. The other paper of this year: 2012 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
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 .
Topic: Groups and subgroups
Let Show that converges to a continuous function but not uniformly.
Show that the function defined by is not analytic at the origin though it satisfies Cauchy-Riemann equations at the origin.
Topic: Analytic functions
For each hour per day that Ashok studies mathematics, it yields him 10 marks and for each hour that he studies physics, it yields him 5 marks. He can study at most 14 hours a day and he must get at least 40 marks in each. Determine graphically how many hours a day he should study mathematics and physics each, in order to maximize his marks ?
Question 2 · Section A
How many conjugacy classes does the permutation group of permutations 5 numbers have ? Write down one element in each class (preferably in terms of cycles).
Topic: Permutation groups
Let Show that and exist at though is not continuous at .
Use Cauchy integral formula to evaluate where is the circle .
Find the minimum distance of the line given by the planes and from the origin, by the method of Lagrange’s multipliers.
Question 3 · Section A
Is the ideal generated by 2 and in the polynomial ring of polynomials in a single variable with coefficients in the ring of integers , a principal ideal ? Justify your answer.
Topic: Integral domains and fields
Let be differentiable on such that and . Prove that .
Topic: Riemann integral
Expand the function in Laurent series valid for (i) (ii) (iii) (iv)
Evaluate by contour integration
Question 4 · Section A
Describe the maximal ideals in the ring of Gaussian integers .
Topic: Rings and ideals
Give an example of a function , that is not Riemann integrable but is Riemann integrable. Justify.
Topic: Riemann integral
By the method of Vogel, determine an initial basic feasible solution for the following transportation problem : Products , , and have to be sent to destinations , and . The cost of sending product to destinations is , where the matrix The total requirements of destinations , and are given by 45, 45, 95 respectively and the availability of the products , , and are respectively 25, 35, 55 and 70.
Question 5 · Section B
Solve the partial differential equation
Topic: Second order linear PDEs
Use Newton-Raphson method to find the real root of the equation correct to four decimal places.
Topic: Solution of equations
Provide a computer algorithm to solve an ordinary differential equation in the interval for number of discrete points, where the initial value is , using Euler’s method.
Topic: Numerical solution of ODEs
Obtain the equations governing the motion of a spherical pendulum.
A rigid sphere of radius is placed in a stream of fluid whose velocity in the undisturbed state is . Determine the velocity of the fluid at any point of the disturbed stream.
Question 6 · Section B
A string of length is fixed at its ends. The string from the mid-point is pulled up to a height and then released from rest. Find the deflection of the vibrating string.
Solve the following system of simultaneous equations, using Gauss-Seidel iterative method :
Topic: Solution of equations
Question 7 · Section B
The edge of a circular plate is kept at temperature . The plate is insulated so that there is no loss of heat from either surface. Find the temperature distribution in steady state.
In a certain examination, a candidate has to appear for one major and two minor subjects. The rules for declaration of results are : marks for major are denoted by and for minors by and . If the candidate obtains 75% and above marks in each of the three subjects, the candidate is declared to have passed the examination in first class with distinction. If the candidate obtains 60% and above marks in each of the three subjects, the candidate is declared to have passed the examination in first class. If the candidate obtains 50% or above in major, 40% or above in each of the two minors and an average of 50% or above in all the three subjects put together, the candidate is declared to have passed the examination in second class. All those candidates, who have obtained 50% and above in major and 40% or above in minor, are declared to have passed the examination. If the candidate obtains less than 50% in major or less than 40% in any one of the two minors, the candidate is declared to have failed in the examinations. Draw a flow chart to declare the results for the above.
Topic: Algorithms and flow charts
Question 8 · Section B
A pendulum consists of a rod of length and mass ; to one end of which a spherical bob of radius and mass is attached. Find the moment of inertia of the pendulum : (i) about an axis through the other end of the rod and at right angles to the rod.
about a parallel axis through the centre of mass of the pendulum. [Given : The centre of mass of the pendulum is above the centre of the sphere.].
Show that is a possible form for the velocity potential for an incompressible fluid motion. If the fluid velocity as , find the surfaces of constant speed.
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 2012, Mathematics Paper 2. Solutions: Optional Province. Found an error? Tell us.

