All 28 questions of the UPSC Civil Services (Main) 2018 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 2018 Paper 2 PDF. The other paper of this year: 2018 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 an integral domain with unit element. Show that any unit in is a unit in .
Topic: Integral domains and fields
Prove that the function : is harmonic and find its harmonic conjugate and the corresponding analytic function in terms of .
Topic: Analytic functions
Find the range of for which the series : is (i) absolutely convergent and (ii) conditionally convergent.
Topic: Series
An agricultural firm has 180 tons of nitrogen fertilizer, 250 tons of phosphate and 220 tons of potash. It will be able to sell a mixture of these substances in their respective ratio at a profit of Rs. 1500 per ton and a mixture in the ratio at a profit of Rs. 1200 per ton. Pose a linear programming problem to show how many tons of these two mixtures should be prepared to obtain the maximum profit.
Question 2 · Section A
Show that the quotient group of modulo is isomorphic to the multiplicative group of complex numbers on the unit circle in the complex plane. Here is the set of real numbers and is the set of integers.
Solve the following linear programming problem by Big M-method and show that the problem has finite optimal solutions. Also find the value of the objective function : Minimize subject to
Show that if a function defined on an open interval of is convex, then is continuous. Show, by example, if the condition of open interval is dropped, then the convex function need not be continuous.
Question 3 · Section A
Find all the proper subgroups of the multiplicative group of the field , where and represent addition modulo 13 and multiplication modulo 13 respectively.
Topic: Groups and subgroups
Show by applying the residue theorem that , .
How many basic solutions are there in the following linearly independent set of equations ? Find all of them.
Question 4 · Section A
Suppose be the set of all real numbers and is a function such that the following equations hold for all : (i) (ii) Show that either , or, .
Topic: Rings and ideals
Find the Laurent’s series which represent the function when (i) (ii) (iii)
In a factory there are five operators and five machines . The operating costs are given when the operator operates the machine . But there is a restriction that cannot be allowed to operate the third machine and cannot be allowed to operate the fifth machine . The cost matrix is given above. Find the optimal assignment and the optimal assignment cost also.
Question 5 · Section B
Find the partial differential equation of the family of all tangent planes to the ellipsoid : , which are not perpendicular to the plane.
Topic: Formulation of PDEs
Using Newton’s forward difference formula find the lowest degree polynomial when it is given that , , , and .
Topic: Interpolation
For an incompressible fluid flow, two components of velocity are given by , . Determine the third component so that they satisfy the equation of continuity. Also, find the -component of acceleration.
Starting from rest in the beginning, the speed (in Km/h) of a train at different times (in minutes) is given by the above table : Using Simpson’s rd rule, find the approximate distance travelled (in Km) in 20 minutes from the beginning.
Topic: Numerical integration
Write down the basic algorithm for solving the equation : by bisection method, correct to 4 decimal places.
Topic: Solution of equations
Question 6 · Section B
Find the general solution of the partial differential equation : , where , , and find its integral surface that passes through the curve : , , .
Topic: First order PDEs
Find the equivalent of numbers given in a specified number system to the system mentioned against them. (i) to decimal system (ii) to hexadecimal system (iii) to decimal system (iv) to binary system.
Suppose the Lagrangian of a mechanical system is given by where , , , , are constants and . Write down the Lagrangian equations of motion and identify the system.
Question 7 · Section B
Solve the partial differential equation : where , .
Topic: Second order linear PDEs
Find the values of the constants , , such that the quadrature formula is exact for polynomials of as high degree as possible, and hence find the order of the truncation error.
Topic: Numerical integration
The Hamiltonian of a mechanical system is given by, , where , are the constants. Solve the Hamiltonian equations and show that constant.
Question 8 · Section B
Simplify the boolean expression : by using the laws of boolean algebra. From its truth table write it in minterm normal form.
For a two-dimensional potential flow, the velocity potential is given by . Determine the velocity components along the directions and . Also, determine the stream function and check whether represents a possible case of flow or not.
A thin annulus occupies the region , . The faces are insulated. Along the inner edge the temperature is maintained at , while along the outer edge the temperature is held at , where is a constant. Determine the temperature distribution in the annulus.
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 2018, Mathematics Paper 2. Solutions: Optional Province. Found an error? Tell us.

