All 17 questions UPSC has asked on functions of several variables in the Mathematics Optional (Paper II, Real Analysis) from 2010 to 2025, solved step by step – latest first.
Try them yourself first: the same questions, without solutions, are on our Real Analysis topic-wise PYQs page.
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, and says how:
- ✓ Checked by computer the answer was worked out again independently with computer algebra (SymPy).
- ✓ Proof checked step by step for “prove that” questions, every step was checked against the definitions.
Spotted a mistake or a neater method? Tell us in the comments below or through Report an error.
Jump to a question (year · question number):
2025 · 3b 2023 · 2b 2022 · 3b 2021 · 3b 2020 · 3c 2019 · 1b 2019 · 2c 2019 · 4a 2016 · 3b 2015 · 4b 2014 · 3b 2014 · 4b 2013 · 3c 2012 · 2b 2012 · 2d 2011 · 2d 2010 · 3d
Show that the volume of the greatest rectangular parallelopiped that can be inscribed in the ellipsoid is .
Solution
By symmetry the largest box has its faces parallel to the coordinate planes and its centre at the origin, with vertices , , on the ellipsoid. Its volume is .
Lagrange’s method. Maximise subject to : Multiply these by respectively: . So i.e. , , .
It is a maximum: is continuous on the closed bounded part of the ellipsoid with , it is 0 on the boundary (, or ), and this is the only interior stationary point. (AM–GM confirms it: .)
✓ Checked by computer We checked by computer: the maximum is at , giving .
Using the method of Lagrange’s multipliers, find the minimum and maximum distances of the point from the sphere .
Solution
Find the extreme values of (the square of the distance) on .
So with . Put into the sphere: , so , .
- : the point . Distance .
- : the point . Distance .
(Here , and distances along the line are .)
Minimum distance , maximum distance . These are the nearest and farthest points of the sphere on the line through the centre and .
✓ Checked by computer We checked by computer: , so the distances are and .
Find the maximum and minimum values of , when and . Interpret the result geometrically.
Solution
Let . Use two multipliers:
Find . Multiply by and add; using the two constraints, , so .
Find . Then , so
Use the plane : Clearing denominators this is a quadratic in : and its two roots are the maximum and minimum values of .
Geometric meaning. The tangent plane to the ellipsoid at is , so the perpendicular from the centre to it satisfies The points run over the ellipse in which the central plane cuts the ellipsoid. So the roots give the extreme values of : the least and greatest perpendiculars from the centre to the tangent planes of the ellipsoid along this central section.
✓ Checked by computer We checked by computer: for sample values (; ) numerical optimisation gives the same max and min as the roots of the equation below.
Find the stationary values of subject to the conditions and . Interpret the result geometrically.
Solution
Let and
Find . Multiply by and add; by the two conditions, , so .
Find . , so
Use the plane : This is a quadratic in , whose two roots are the stationary values of .
Geometric meaning. is a central conicoid and is a plane through its centre, so they meet in a conic with centre . The quantity is the square of the distance from the centre to a point of this conic; its stationary values occur at the ends of the axes. So the roots are the squares of the semi-axes of the central section of the conicoid by the plane .
✓ Checked by computer We checked by computer: for sample values numerical optimisation gives the same stationary values as the roots of the equation below.
If , then show that
Solution
Let . This is homogeneous of degree 2 in .
Euler’s theorem for : . Since etc., Call this .
Second order. Differentiate with respect to and to : Multiply the first by , the second by , and add: so
Finally . Hence
✓ Checked by computer We checked by computer: both sides agree numerically at , and .
Show that the function is continuous and differentiable at .
Solution
For , . The point is not on the line (its distance from that line is ), so on the disc of radius 1 about we have and At the point itself, , which also equals . So
Continuous at : .
Differentiable at : with small, This is exactly with , and the error term is . So is differentiable at , with .
✓ Proof checked step by step Proof checked step by step.
Using differentials, find an approximate value of where .
Solution
Take the base point , with , .
At : , .
(In fact , so the approximation happens to be exact.)
✓ Checked by computer We checked by computer: the exact value is , so the approximation is exact here.
Find the maximum value of subject to the subsidiary condition , .
Solution
Maximise with .
(dividing by , , , which are non-zero). Hence , so , and the constraint gives .
It is the maximum: by AM–GM, , with equality only when .
✓ Checked by computer We checked by computer: the maximum is at .
Find the relative maximum and minimum values of the function
Solution
Stationary points. Adding: , so . Then , so . The points are
Second derivatives: , , .
- : , , , : relative minimum, with value
- : , , : the test fails. Look directly: along , ; along , for small . So takes both signs near the origin, where : neither a maximum nor a minimum (a saddle point).
Answer: relative minimum at and ; there is no relative maximum.
✓ Checked by computer We checked by computer: stationary points , , , and at the last two.
Find the absolute maximum and minimum values of the function over the region .
Solution
Inside (): , give , which is inside, with
On the boundary : with , so at : . At the ends: , .
Compare all candidates: .
- Absolute maximum: , at .
- Absolute minimum: , at .
✓ Checked by computer We checked by computer: on the boundary ranges over , and inside the only stationary value is .
Obtain and for the function Also, discuss the continuity of and at .
Solution
First partials on the axes.
Mixed partials at the origin. So
Continuity at . Away from the origin is smooth, so the two mixed partials are equal there: Along this equals , which depends on (it is on the -axis and tends to near the -axis). So the limit at does not exist, and neither mixed partial is continuous at . This is consistent with Schwarz’s theorem: if one of them were continuous there, they would be equal.
✓ Checked by computer We checked by computer: , , and the mixed partial along depends on .
Find the minimum value of subject to the condition by the method of Lagrange multipliers.
Solution
Multiply by respectively: . Hence So the stationary value is It is the minimum: by AM–GM, . (There is no maximum: the surface is unbounded.)
✓ Checked by computer We checked by computer: the minimum is at .
Let . At what points will have a maximum or minimum ?
Solution
Stationary points. Then , i.e. , so or . Points: and .
Second derivatives: , , .
- : , : a saddle point – no extremum.
- : , and : a minimum, with value
Answer: has a minimum () at and no maximum.
✓ Checked by computer We checked by computer: stationary points and , and at the second.
Let Show that and exist at though is not continuous at .
Solution
Partial derivatives at exist. On the -axis, for , and . So Similarly , so . Both partial derivatives exist.
is not continuous at . Along the line , : which depends on : it is for , for and for . So does not exist, and is not continuous at the origin.
(Partial derivatives only look along the two axes, where is constant; continuity needs every direction.)
✓ Proof checked step by step Proof checked step by step.
Find the minimum distance of the line given by the planes and from the origin, by the method of Lagrange’s multipliers.
Solution
Minimise subject to and : So , , . Substitute into the constraints:
- : .
- : .
Adding: , so and . Hence (Check: and .)
✓ Checked by computer We checked by computer: the nearest point is and the distance is .
Find the shortest distance from the origin to the hyperbola
Solution
Minimise subject to : Multiply by and and add: , so .
For a non-zero solution of , : Since , , so Then , i.e. , and , so : the points .
Shortest distance . (In principal axes the curve is , a hyperbola with semi-transverse axis 5.)
✓ Checked by computer We checked by computer: the nearest points are , at distance 5.
Find the maxima, minima and saddle points of the surface .
Solution
Stationary points. needs or ; needs or . The possible combinations:
- : ;
- : ;
- : ;
- and at once: impossible.
Classify (with , , ):
| Point | Nature | |||
|---|---|---|---|---|
| saddle point | ||||
| maximum | ||||
| minimum |
Answer: maxima at ; minima at ; a saddle point at the origin (near it ).
✓ Checked by computer We checked by computer: the five stationary points and the Hessian values in the table.
More on Real Analysis
- Real Analysis topic-wise PYQs (questions only, for practice)
- Mathematics PYQ analysis: which units carry the marks year by year
- Year-wise question papers
- Mathematics booklist
Questions: UPSC Civil Services (Main) Examination, Mathematics Paper II, 2010–2025. Solutions: Optional Province. Found an error? Tell us.

