Menu Close

UPSC Maths Optional 2026 Paper 2 Solutions: All 29 Questions

All 29 questions of the UPSC Civil Services (Main) 2026 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 2026 Paper 2 PDF and our 2026 paper analysis. The other paper of this year: 2026 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

Let G be a group of order pq, where p and q are primes. Show that either G is an abelian group or no non-identity element commutes with every element of G.

Q1(a) · 10 marks

Topic: Normal subgroups and homomorphisms

See the step-by-step solution →

Show that every non-zero prime ideal in a Euclidean Domain is maximal.

Q1(b) · 10 marks

Topic: Integral domains and fields

See the step-by-step solution →

Find the points of discontinuity of the function f:(0,1)→ℝ defined by f(x)=limn→∞(1+sinπx)n−1(1+sinπx)n+1,x∈(0,1).

Q1(c) · 10 marks

Topic: Continuity and uniform continuity

See the step-by-step solution →

Show that the function f(z)=|xy| is not analytic at the origin, although Cauchy-Riemann equations are satisfied at that point.

Q1(d) · 10 marks

Topic: Analytic functions

See the step-by-step solution →

Solve the dual problem of the following linear programming problem by the graphical method : Minimize Y=10y1+6y2+2y3+y4 subject to the constraints : y1+y2+y3+y4≥22y1+y2−y3−2y4≥1y1,y2,y3,y4≥0

Q1(e) · 10 marks

Topic: Linear programming: graphical and simplex methods

See the step-by-step solution →

↑ Back to the question list

Question 2 · Section A

Let G be a finite group generated by two elements u and v of order 2 each. Show that G is isomorphic to the dihedral group of order 2n, where O(uv)=n.

Q2(a) · 15 marks

Topic: Normal subgroups and homomorphisms

See the step-by-step solution →

Prove that the sequence (un) defined by the recursion formula un+1=7+un, u1=7, converges to the positive root of x2−x−7=0.

Q2(b) · 15 marks

Topic: Real number system and sequences

See the step-by-step solution →

Use the method of contour integration to prove ∫02πsin2θa+bcosθdθ=2πb2{a−a2−b2},if a>b>0.

Q2(c) · 20 marks

Topic: Residues and contour integration

See the step-by-step solution →

↑ Back to the question list

Question 3 · Section A

Prove that cosh(z+1z)=a0+∑n=1∞an(zn+1zn), where an=12π∫02πcosnθcosh(2cosθ)dθ,for n=0,1,2,….

Q3(a) · 15 marks

Topic: Power, Taylor and Laurent series

See the step-by-step solution →

A function f is defined on [0,1] by f(x)={x2,when x is rationalx3,when x is irrational Evaluate lower integral ∫_01f and upper integral ∫¯01f. Does the integral ∫01f exist?

Q3(b) · 20 marks

Topic: Riemann integral

See the step-by-step solution →

The following table represents the estimated costs of assigning jobs to machines. Solve this assignment problem to minimize the total cost. Job∖MachineM1M2M3M4J18242832J28131719J38151922 Is the assignment unique for the total minimum cost ? Justify your answer and obtain an alternate assignment, if it exists.

Q3(c) · 15 marks

Topic: Transportation and assignment problems

See the step-by-step solution →

↑ Back to the question list

Question 4 · Section A

Let n be a positive integer. Show that the following statements are equivalent : (i) ℤ/nℤ is an integral domain. (ii) ℤ/nℤ is a field. (iii) n is prime.

Q4(a) · 15 marks

Topic: Integral domains and fields

See the step-by-step solution →

Prove that the improper integral ∫0∞11+x2sin2xdx is divergent.

Q4(b) · 15 marks

Topic: Riemann integral

See the step-by-step solution →

Solve the following linear programming problem by the Simplex method : Maximize Z=4x1+10x2 subject to the constraints 2x1+x2≤102x1+5x2≤202x1+3x2≤18x1,x2≥0 Obtain an alternate optimal solution, if it exists, with explanation.

Q4(c) · 20 marks

Topic: Linear programming: graphical and simplex methods

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

Find the integral surface of the equations dxxz−y=dyyz−x=dz1−z2.

Q5(a) · 10 marks

Topic: First order PDEs

See the step-by-step solution →

By using the Newton-Raphson iterative formula, establish the formula xi+1=13(2xi+Nxi2) to find the cube root of N. Use this formula, if established, to find the cube root of 63 correct to four decimal places with the initial approximation 3.9.

Q5(b) · 10 marks

Topic: Solution of equations

See the step-by-step solution →

Consider the logic circuit L : [Figure: logic circuit L with inputs A, B, C; the first AND gate takes A, B, C; the second AND gate takes A, B‾ (through a NOT gate) and C; the third AND gate takes A‾ (through a NOT gate) and B; the outputs of the three AND gates feed an OR gate whose output is Y] (i) Express Y as a Boolean expression. (ii) Write 8-bit special sequences for A, B and C. (iii) Find the truth table of L using 8-bit special sequences.

Q5(c) · 10 marks

Topic: Computer systems, logic gates and Boolean algebra

See the step-by-step solution →

A simple source of strength m is fixed at the origin O in a uniform stream of incompressible fluid moving with velocity Uî. Find out the velocity potential ϕ at any point P of the stream where OP=r and θ is the angle OP⃗ makes with the direction î. Find the differential equation of the stream lines and show that they lie on the surface Ur2sin2θ−2mcosθ=constant.

Q5(d) · 10 marks

Topic: Two-dimensional and axisymmetric flow

See the step-by-step solution →

A uniform heavy solid hemisphere of radius ‘a‘ is held at rest with its base vertical and its curved surface in contact with a horizontal plane. If the hemisphere is released when the plane is rough enough to prevent slipping, show that the angle θ that the base makes with the horizontal at time t, is such that (dθdt)2=15gcosθa(28−15cosθ).

Q5(e) · 10 marks

Topic: Moment of inertia and rigid body motion

See the step-by-step solution →

↑ Back to the question list

Question 6 · Section B

Reduce the partial differential equation y∂2z∂x2+(x+y)∂2z∂x∂y+x∂2z∂y2=0 to canonical form and hence solve it.

Q6(a) · 20 marks

Topic: Second order linear PDEs

See the step-by-step solution →

Find the decimal equivalent of the following floating point 10-bit numbers with 5 bits as fractional part : 1010111011 and 0100101010.

Q6(b)(i) · 8 marks

Topic: Number systems and representation

See the step-by-step solution →

Evaluate (11001.1011)10+(33.24)8+(101101)2 and convert the final result in hexadecimal system.

Q6(b)(ii) · 7 marks

Topic: Number systems and representation

See the step-by-step solution →

Suppose that there is an infinitely long cylinder of radius ‘a‘ placed in a uniform stream having velocity −Vî. Then using Milne-Thomson’s circle theorem, what will be its complex velocity potential ? If in addition, a circulation round the cylinder of k is produced, find out the stagnation points. Do they produce a lifting tendency in the vertical direction ? Explain how.

Q6(c) · 15 marks

Topic: Two-dimensional and axisymmetric flow

See the step-by-step solution →

↑ Back to the question list

Question 7 · Section B

Solve the partial differential equation (2D2−5DD′+2D′2)z=24(y−x)+sin(y−x) where D≡∂∂x, D′≡∂∂y, z=z(x,y).

Q7(a) · 15 marks

Topic: Second order linear PDEs

See the step-by-step solution →

Evaluate the integral ∫00.8f(x)dx, where f(x)=0.2+25x−200x2+675x3−900x4+400x5 by using single application of Simpson’s 38 rule.

Q7(b) · 15 marks

Topic: Numerical integration

See the step-by-step solution →

A smooth uniform rod, say OA, of length 2a and mass m is pivoted at one end to a fixed point O. The rod is inclined at an angle θ with the downward vertical line OZ and the plane OAZ makes an angle ϕ with a fixed vertical plane. A bead of mass λm slides smoothly on the rod and is connected to O by a light elastic string of modulus nmg and natural length a. Show that the kinetic energy T of the system is given by 2T=43ma2(θ̇2+ϕ̇2sinθ)+λm(ẋ2+x2θ̇2+x2ϕ̇2sin2θ), where x is the stretched length of the string, and derive the equations of motion.

Q7(c) · 20 marks

Topic: Lagrangian and Hamiltonian mechanics

See the step-by-step solution →

↑ Back to the question list

Question 8 · Section B

Two-dimensional harmonic equation in plane polar coordinates (r,θ) takes the form : ∂2V∂r2+1r∂V∂r+1r2∂2V∂θ2=0 Deduce that it has solutions of the form (Arn+Br−n)e±inθ, where A, B, n are constants. Determine V if it satisfies the two-dimensional harmonic equation in the region 0≤r≤a, 0≤θ≤2π and satisfies the conditions : (i) V remains finite as r→0, (ii) V=∑ncncos(nθ) on r=a.

Q8(a) · 15 marks

Topic: Wave, heat and Laplace equations

See the step-by-step solution →

Consider the initial value problem : dydx=1+yx, y(1)=1, h=1 (Step-size) (i) Apply the classical fourth order Runge-Kutta method to approximate the solution y(2). (ii) Use Euler’s method to find y(2) and y(3).

Q8(b) · 15 marks

Topic: Numerical solution of ODEs

See the step-by-step solution →

A viscous incompressible fluid is filled between two concentric cylinders of radius a, b (b>a). The flow is steady and no body forces are taken into consideration. Discuss and formulate the velocity of the fluid if : (i) the inner cylinder is given angular velocity Ω while the outer one is held at rest; (ii) the outer cylinder is rotated with angular velocity Ω while the inner one is held at rest.

Q8(c) · 20 marks

Topic: Viscous flow: Navier–Stokes equation

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 2026, 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