Menu Close

UPSC Maths Optional 2012 Paper 2 Solutions: All 30 Questions

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

Cover of the UPSC Prelims Topic-wise PYQ book with detailed explanations

From the Optional Province team

Preparing for Prelims too?

Our UPSC Prelims Topic-wise PYQ Book covers every Prelims question with detailed explanations, so you can see exactly where UPSC asks from. Now available as a hard copy and an eBook.

Buy Hard Copy on AmazonBuy eBook (PDF)

Download a free sample

Question 1 · Section A

How many elements of order 2 are there in the group of order 16 generated by a and b such that the order of a is 8, the order of b is 2 and bab−1=a−1.

Q1(a) · 12 marks

Topic: Groups and subgroups

See the step-by-step solution →

Let fn(x)={0,if x<1n+1,sinπx,if 1n+1≤x≤1n,0,if x>1n. Show that fn(x) converges to a continuous function but not uniformly.

Q1(b) · 12 marks

Topic: Sequences and series of functions

See the step-by-step solution →

Show that the function defined by f(z)={x3y5(x+iy)x6+y10,z≠00,z=0 is not analytic at the origin though it satisfies Cauchy-Riemann equations at the origin.

Q1(c) · 12 marks

Topic: Analytic functions

See the step-by-step solution →

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 ?

Q1(d) · 12 marks

Topic: Linear programming: graphical and simplex methods

See the step-by-step solution →

Show that the series ∑n=1∞(ππ+1)nn6 is convergent.

Q1(e) · 12 marks

Topic: Series

See the step-by-step solution →

↑ Back to the question list

Question 2 · Section A

How many conjugacy classes does the permutation group S5 of permutations 5 numbers have ? Write down one element in each class (preferably in terms of cycles).

Q2(a) · 15 marks

Topic: Permutation groups

See the step-by-step solution →

Let f(x,y)={(x+y)2x2+y2,if (x,y)≠(0,0)1,if (x,y)=(0,0). Show that ∂f∂x and ∂f∂y exist at (0,0) though f(x,y) is not continuous at (0,0).

Q2(b) · 15 marks

Topic: Functions of several variables

See the step-by-step solution →

Use Cauchy integral formula to evaluate ∫ce3z(z+1)4dz, where c is the circle |z|=2.

Q2(c) · 15 marks

Topic: Cauchy’s theorem and integral formula

See the step-by-step solution →

Find the minimum distance of the line given by the planes 3x+4y+5z=7 and x−z=9 from the origin, by the method of Lagrange’s multipliers.

Q2(d) · 15 marks

Topic: Functions of several variables

See the step-by-step solution →

↑ Back to the question list

Question 3 · Section A

Is the ideal generated by 2 and X in the polynomial ring ℤ[X] of polynomials in a single variable X with coefficients in the ring of integers ℤ, a principal ideal ? Justify your answer.

Q3(a) · 15 marks

Topic: Integral domains and fields

See the step-by-step solution →

Let f(x) be differentiable on [0,1] such that f(1)=f(0)=0 and ∫01f2(x)dx=1. Prove that ∫01xf(x)f′(x)dx=−12.

Q3(b) · 15 marks

Topic: Riemann integral

See the step-by-step solution →

Expand the function f(z)=1(z+1)(z+3) in Laurent series valid for (i) 1<|z|<3 (ii) |z|>3 (iii) 0<|z+1|<2 (iv) |z|<1

Q3(c) · 15 marks

Topic: Power, Taylor and Laurent series

See the step-by-step solution →

Evaluate by contour integration I=∫02πdθ1−2acosθ+a2,a2<1.

Q3(d) · 15 marks

Topic: Residues and contour integration

See the step-by-step solution →

↑ Back to the question list

Question 4 · Section A

Describe the maximal ideals in the ring of Gaussian integers ℤ[i]={a+bi∣a,b∈ℤ}.

Q4(a) · 20 marks

Topic: Rings and ideals

See the step-by-step solution →

Give an example of a function f(x), that is not Riemann integrable but |f(x)| is Riemann integrable. Justify.

Q4(b) · 20 marks

Topic: Riemann integral

See the step-by-step solution →

By the method of Vogel, determine an initial basic feasible solution for the following transportation problem : Products P1, P2, P3 and P4 have to be sent to destinations D1, D2 and D3. The cost of sending product Pi to destinations Dj is Cij, where the matrix [Cij]=[10015573615011913]. The total requirements of destinations D1, D2 and D3 are given by 45, 45, 95 respectively and the availability of the products P1, P2, P3 and P4 are respectively 25, 35, 55 and 70.

Q4(c) · 20 marks

Topic: Transportation and assignment problems

See the step-by-step solution →

↑ Back to the question list

Cover of the UPSC Mains Topic-wise and Year-wise PYQs book (2013–2026)

From the Optional Province team

Strengthen your GS papers

Our UPSC Mains Topic-wise & Year-wise PYQ Book (2013–2026) maps every GS question to the syllabus, so you know what UPSC asks and how often. Now available as a hard copy and an eBook.

Buy Hard Copy on AmazonBuy eBook (PDF)

Download a free sample

Question 5 · Section B

Solve the partial differential equation (D−2D′)(D−D′)2z=ex+y.

Q5(a) · 12 marks

Topic: Second order linear PDEs

See the step-by-step solution →

Use Newton-Raphson method to find the real root of the equation 3x=cosx+1 correct to four decimal places.

Q5(b) · 12 marks

Topic: Solution of equations

See the step-by-step solution →

Provide a computer algorithm to solve an ordinary differential equation dydx=f(x,y) in the interval [a,b] for n number of discrete points, where the initial value is y(a)=α, using Euler’s method.

Q5(c) · 12 marks

Topic: Numerical solution of ODEs

See the step-by-step solution →

Obtain the equations governing the motion of a spherical pendulum.

Q5(d) · 12 marks

Topic: Lagrangian and Hamiltonian mechanics

See the step-by-step solution →

A rigid sphere of radius a is placed in a stream of fluid whose velocity in the undisturbed state is V. Determine the velocity of the fluid at any point of the disturbed stream.

Q5(e) · 12 marks

Topic: Two-dimensional and axisymmetric flow

See the step-by-step solution →

↑ Back to the question list

Question 6 · Section B

Solve the partial differential equation px+qy=3z.

Q6(a) · 20 marks

Topic: First order PDEs

See the step-by-step solution →

A string of length l is fixed at its ends. The string from the mid-point is pulled up to a height k and then released from rest. Find the deflection y(x,t) of the vibrating string.

Q6(b) · 20 marks

Topic: Wave, heat and Laplace equations

See the step-by-step solution →

Solve the following system of simultaneous equations, using Gauss-Seidel iterative method : 3x+20y−z=−1820x+y−2z=172x−3y+20z=25.

Q6(c) · 20 marks

Topic: Solution of equations

See the step-by-step solution →

↑ Back to the question list

Question 7 · Section B

Find dydx at x=0.1 from the following data : x0.10.20.30.4y0.99750.99000.97760.9604

Q7(a) · 20 marks

Topic: Interpolation

See the step-by-step solution →

The edge r=a of a circular plate is kept at temperature f(θ). The plate is insulated so that there is no loss of heat from either surface. Find the temperature distribution in steady state.

Q7(b) · 20 marks

Topic: Wave, heat and Laplace equations

See the step-by-step solution →

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 M1 and for minors by M2 and M3. 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.

Q7(c) · 20 marks

Topic: Algorithms and flow charts

See the step-by-step solution →

↑ Back to the question list

Question 8 · Section B

A pendulum consists of a rod of length 2a and mass m; to one end of which a spherical bob of radius a/3 and mass 15m 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.

Q8(a)(i) · 15 marks

Topic: Moment of inertia and rigid body motion

See the step-by-step solution →

about a parallel axis through the centre of mass of the pendulum. [Given : The centre of mass of the pendulum is a/12 above the centre of the sphere.].

Q8(a)(ii) · 15 marks

Topic: Moment of inertia and rigid body motion

See the step-by-step solution →

Show that ϕ=xf(r) is a possible form for the velocity potential for an incompressible fluid motion. If the fluid velocity q⃗→0 as r→∞, find the surfaces of constant speed.

Q8(b) · 30 marks

Topic: Kinematics and equations of fluid motion

See the step-by-step solution →

↑ Back to the question list

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

Questions: UPSC Civil Services (Main) Examination 2012, Mathematics Paper 2. Solutions: Optional Province. Found an error? Tell us.

Spotted an error? Tell us.

We classify every PYQ with care, but mistakes can slip in. If a question is in the wrong topic, has a typo, the wrong year, or is missing, let us know. We review every report and update the page.

Report an Error
Subscribe
Notify of
guest

0 Comments
Oldest
Newest Most Voted