Menu Close

UPSC Maths Optional 2025 Paper 2 Solutions: All 29 Questions

All 29 questions of the UPSC Civil Services (Main) 2025 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 2025 Paper 2 PDF and our 2025 paper analysis. The other paper of this year: 2025 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 H and K be two subgroups of a group G such that o(H)>o(G) and o(K)>o(G). Show that H∩K≠{e}, where e is the identity element. Here o(H), o(K) and o(G) denote the order of H, K and G respectively.

Q1(a) · 10 marks

Topic: Groups and subgroups

See the step-by-step solution →

Let G={e,x,x2,y,yx,yx2} be a non-Abelian group with o(x)=3 and o(y)=2. Show that xy=yx2 (where e is the identity element of G and o(x), o(y) denote the order of the elements x, y respectively).

Q1(b) · 10 marks

Topic: Groups and subgroups

See the step-by-step solution →

Examine whether the series ∑n=1∞(−1)n−1n is absolutely or conditionally convergent.

Q1(c) · 10 marks

Topic: Series

See the step-by-step solution →

Expand f(z)=1(z+1)(z+3) in a Laurent series valid for 1<|z|<3.

Q1(d) · 10 marks

Topic: Power, Taylor and Laurent series

See the step-by-step solution →

How many basic solutions are there for the following system of equations? 2x1−x2+3x3+x4=64x1−2x2−x3+2x4=10 Find all of them. Furthermore, find the number of basic solutions, which are feasible/non-feasible/non-degenerate.

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

Define Cauchy sequence and prove that every convergent sequence of real numbers is a Cauchy sequence. What is the importance of Cauchy condition?

Q2(a) · 15 marks

Topic: Real number system and sequences

See the step-by-step solution →

Show that 3 is an irreducible element in the integral domain ℤ[i].

Q2(b) · 15 marks

Topic: Integral domains and fields

See the step-by-step solution →

Use the method of contour integration to prove that ∫−∞∞x2−x+2x4+10x2+9dx=5π12.

Q2(c) · 20 marks

Topic: Residues and contour integration

See the step-by-step solution →

↑ Back to the question list

Question 3 · Section A

Evaluate the integral ∮Cezz2(z+1)3dz, C:|z|=2.

Q3(a) · 15 marks

Topic: Residues and contour integration

See the step-by-step solution →

Show that the volume of the greatest rectangular parallelopiped that can be inscribed in the ellipsoid x2a2+y2b2+z2c2=1 is 8abc33.

Q3(b) · 20 marks

Topic: Functions of several variables

See the step-by-step solution →

Apply the principle of duality to solve the following linear programming problem : Maximize Z=3x1+4x2 subject to the constraints x1−x2≤1x1+x2≥4x1−3x2≤3x1,x2≥0

Q3(c) · 15 marks

Topic: Duality in linear programming

See the step-by-step solution →

↑ Back to the question list

Question 4 · Section A

Examine whether the mapping ϕ:ℤ[x]→ℤ defined by ϕ(f(x))=f(0), for f(x)∈ℤ[x], is a homomorphism. Deduce that the ideal ⟨x⟩ is a prime ideal in ℤ[x], but not a maximal ideal in ℤ[x].

Q4(a) · 15 marks

Topic: Rings and ideals

See the step-by-step solution →

Prove that every continuous function is Riemann integrable.

Q4(b) · 15 marks

Topic: Riemann integral

See the step-by-step solution →

The following table shows all the necessary information on the available supply to each warehouse, the requirement of each market and the unit transportation cost from each warehouse to each market : Warehouse∖MarketIIIIIIIVSupplyA524322B481615C46758Requirement712179 The shipping clerk has worked out the following schedule from experience : 12 units from A to II, 1 unit from A to III, 9 units from A to IV, 15 units from B to III, 7 units from C to I and 1 unit from C to III. Find the optimal schedule and minimum total shipping cost.

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

Find the solution of the equation (D2+DD′−2D2)z=ysinx, where D≡∂∂x and D′≡∂∂y.

Q5(a) · 10 marks

Topic: Second order linear PDEs

See the step-by-step solution →

Solve the following system of linear equations by Gauss-Seidel method : 10x+2y+z=92x+20y−2z=−44−2x+3y+10z=22

Q5(b) · 10 marks

Topic: Solution of equations

See the step-by-step solution →

(i) Convert the number (3479)10 into binary system and the number (7AE.9F)16 into decimal system. (ii) Determine the truth table for the Boolean function F(x,y,z)=(x+y+z′)(x′+y′) Also derive the full disjunctive normal form of F(x,y,z) from the truth table.

Q5(c) · 10 marks

Topic: Number systems and representation

See the step-by-step solution →

A bead of mass m slides on a frictionless wire in the shape of a cycloid given by x=a(θ−sinθ), y=a(1+cosθ), (0≤θ≤2π). Find the Lagrangian function. Hence show that the equation of motion can be written as d2udt2+g4au=0 where u=cos(θ2).

Q5(d) · 10 marks

Topic: Lagrangian and Hamiltonian mechanics

See the step-by-step solution →

A source and a sink of equal strength are placed at points (±a2,0) within a fixed circular boundary x2+y2=a2. Show that the streamlines are given by (r2−a24)(r2−4a2)−4a2y2=ky(r2−a2) where k is a constant and r2=x2+y2.

Q5(e) · 10 marks

Topic: Two-dimensional and axisymmetric flow

See the step-by-step solution →

↑ Back to the question list

Question 6 · Section B

Solve ∂2u∂x2+∂2u∂y2=0 for a rectangular plate subject to the boundary conditions u(0,y)=0,u(a,y)=0u(x,0)=0,u(x,b)=f(x)

Q6(a) · 20 marks

Topic: Wave, heat and Laplace equations

See the step-by-step solution →

Simplify the Boolean function F(x,y,z)=xyz+x′yz+xy′z+xyz′ and draw the corresponding GATE network.

Q6(b) · 15 marks

Topic: Computer systems, logic gates and Boolean algebra

See the step-by-step solution →

Calculate the moment of inertia of a uniform solid cylinder of mass M, radius R and length L with respect to a set of axes passing through the centre of the cylinder, where z-axis is the axis of the cylinder and ρ is the constant density at any point of the cylinder. Also find LR for which the moment of inertia about x– or y-axis will be minimum for a given mass of the cylinder.

Q6(c) · 15 marks

Topic: Moment of inertia and rigid body motion

See the step-by-step solution →

↑ Back to the question list

Question 7 · Section B

Find the complete integral of z(p2−q2)=x−y; p≡∂z∂x, q≡∂z∂y.

Q7(a) · 15 marks

Topic: First order PDEs

See the step-by-step solution →

Find the unique polynomial of degree 2 or less which fits the following data : x013f(x)1355 Also obtain the bound on the truncation error.

Q7(b) · 15 marks

Topic: Interpolation

See the step-by-step solution →

Show that for an incompressible steady flow with constant viscosity, the velocity components u(y)=(Uh)y−hy2μdpdx(1−yh) v=0=w, with p=p(x), satisfy the equation of motion in the absence of body force. Given that U, h and dpdx are constants.

Q7(c) · 20 marks

Topic: Viscous flow: Navier–Stokes equation

See the step-by-step solution →

↑ Back to the question list

Question 8 · Section B

Find the characteristics of the partial differential equation p2+q2=2;p≡∂z∂x,q≡∂z∂y and determine the integral surface which passes through x=0, z=y.

Q8(a) · 15 marks

Topic: First order PDEs

See the step-by-step solution →

Find the constant p and error term for the quadrature formula ∫x0x1f(x)dx=h2(f0+f1)+ph2(f0′−f1′) where x0+h=x1, f0=f(x0), f1=f(x1) and prime (′) represents derivative with respect to x. Hence deduce the composite rule for integrating ∫abf(x)dx,a=x0<x1<⋯<xN=b

Q8(b) · 15 marks

Topic: Numerical integration

See the step-by-step solution →

A particle of mass m moves in a force field of potential V(r)=−kcosθr2,k is constant Find the Hamiltonian and the Hamilton’s equations in spherical polar coordinates (r,θ,ϕ).

Q8(c)(i) · 10 marks

Topic: Lagrangian and Hamiltonian mechanics

See the step-by-step solution →

Consider the Lagrangian L=mẋẏ−mω02xy where m and ω0 are constants. Find the Hamiltonian and Hamilton’s equations of motion. Identify the system.

Q8(c)(ii) · 10 marks

Topic: Lagrangian and Hamiltonian mechanics

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