All 17 questions UPSC has asked on analytic functions in the Mathematics Optional (Paper II, Complex Analysis) from 2010 to 2026, solved step by step – latest first.
Try them yourself first: the same questions, without solutions, are on our Complex 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):
2026 · 1d 2024 · 1b 2024 · 1d 2023 · 1d 2023 · 3b 2022 · 1b 2020 · 4a 2019 · 1d 2018 · 1c 2017 · 3b 2016 · 1d 2015 · 1d 2014 · 1c 2012 · 1c 2011 · 1c 2010 · 1e 2010 · 4a
Show that the function is not analytic at the origin, although Cauchy-Riemann equations are satisfied at that point.
Solution
Here and .
C–R equations hold at the origin. and , so and . Thus and at .
is not differentiable at the origin. Consider
- Along the real axis () this is .
- Along the line with it is .
The limit as depends on the direction, so does not exist. A function is analytic at a point only if it is differentiable in a neighbourhood of it, so is not analytic at the origin, even though the C–R equations are satisfied there.
(The C–R equations are necessary, but on their own not sufficient: here the partial derivatives are not continuous at 0.)
✓ Proof checked step by step Proof checked step by step.
If is an analytic function of , then show that .
Solution
We assume in the region (otherwise is not defined).
Method: . With , , we have .
Write Since is analytic, is a function of only, so . Likewise depends on only, so . Hence
(Equivalently: is the real part of the analytic function , and the real part of an analytic function is harmonic.)
✓ Proof checked step by step Proof checked step by step.
If and are functions of and satisfying Laplace equation, then show that , is an analytic function, where and .
Solution
Assume have continuous second partial derivatives, with and . Then have continuous first partials, and it suffices to check the Cauchy–Riemann equations , .
- First equation. Since and ( harmonic), .
- Second equation. ( harmonic), so .
The C–R equations hold and the partial derivatives are continuous, so is analytic.
(Another view: and are analytic because are harmonic, and .)
✓ Proof checked step by step Proof checked step by step.
State the sufficient conditions for a function to be analytic in its domain. Hence, show that is analytic in its domain and find .
Solution
Sufficient conditions. is analytic in a domain if, at every point of ,
- exist and are continuous, and
- they satisfy the Cauchy–Riemann equations , .
(In polar form the C–R equations are , .)
. Take the principal branch on the domain : with , , , Then The C–R equations hold and all the partials are continuous in , so is analytic in .
Derivative. In polar form , so (In Cartesian form: , , , and .)
✓ Proof checked step by step Proof checked step by step.
Prove that is harmonic. Find its conjugate harmonic function and express the corresponding analytic function in terms of .
Solution
Harmonic. Adding, . So is harmonic.
Analytic function (Milne-Thomson). . Put , : Integrating, .
Conjugate. , so
✓ Checked by computer We checked by computer: , and has real part and imaginary part .
If is an analytic function of , and , then find subject to the condition .
Solution
Trick. Let . is analytic with real part , which is given. Note , so
Milne-Thomson. . Differentiating and putting (where the denominator is ): So
Back to . . The condition gives , so :
✓ Checked by computer We checked by computer: gives exactly the stated , and .
If , , then find an analytic function
Solution
Use the polar C–R equations , , with :
- , so .
- . From the first line, , so and .
Hence and
✓ Checked by computer We checked by computer: .
Suppose is analytic function on a domain in and satisfies the equation , . Show that is constant in .
Solution
Let with in . The C–R equations give Substitute the second into the first: Since , . Then .
So throughout , and , . Hence in . A function with zero derivative on a domain (a connected open set) is constant. Therefore is constant in .
✓ Proof checked step by step Proof checked step by step.
Prove that the function : is harmonic and find its harmonic conjugate and the corresponding analytic function in terms of .
Solution
Harmonic. . So is harmonic.
Analytic function (Milne-Thomson). , so
Harmonic conjugate. With , The real part is , as it should be. So
✓ Checked by computer We checked by computer: and has real part .
Let be an analytic function on the unit disc . Show that at all points of .
Solution
and have continuous second partial derivatives. An analytic function is infinitely differentiable (by Cauchy’s integral formula, is again analytic). Since and exist and are continuous, all second partials of and exist and are continuous in ; in particular the mixed partials are equal: , .
Use the C–R equations , .
- Differentiate the first with respect to and the second with respect to :
- Differentiate the first with respect to and the second with respect to :
Hence at every point of .
✓ Proof checked step by step Proof checked step by step.
Is a harmonic function ? Prove your claim. If yes, find its conjugate harmonic function and hence obtain the analytic function whose real and imaginary parts are and respectively.
Solution
Harmonic – yes. , , so .
Conjugate (from the C–R equations). So
Analytic function. Since , (Check: and .)
✓ Checked by computer We checked by computer: , and has imaginary part and real part .
Show that the function is harmonic. Find its conjugate harmonic function . Also, find the corresponding analytic function in terms of .
Solution
Harmonic (for ). With : So .
Conjugate . By C–R, and . Integrating the first in , Then , so and . Since (for ), where . ( is single-valued only on a cut plane, e.g. with the negative real axis removed.)
Analytic function. Using :
✓ Checked by computer We checked by computer: for .
Prove that the function , where satisfies Cauchy-Riemann equations at the origin, but the derivative of at does not exist.
Solution
Here, for ,
C–R at the origin. So and : the C–R equations are satisfied at .
does not exist. Look at :
- along : ;
- along : and , so the quotient is .
The limits differ, so the derivative of at does not exist.
✓ Proof checked step by step Proof checked step by step.
Show that the function defined by is not analytic at the origin though it satisfies Cauchy-Riemann equations at the origin.
Solution
C–R at the origin. On the axes vanishes: and . Hence and the C–R equations , hold at the origin.
Not differentiable at the origin.
- Along (or any straight line , where the expression is ), the quotient tends to .
- Along the curve , i.e. , it equals .
So the limit does not exist and does not exist. Hence is not analytic at the origin, although it satisfies the C–R equations there.
(This example shows that checking straight lines only is not enough.)
✓ Proof checked step by step Proof checked step by step.
If is an analytic function of and , find subject to the condition, .
Solution
Trick. is analytic with real part
Milne-Thomson. . At the denominator is , and differentiating gives So using .
Back to . . The condition gives , i.e. :
✓ Checked by computer We checked by computer: gives exactly the stated , and .
Show that is a harmonic function. Find a harmonic conjugate of . Hence find the analytic function for which is the real part.
Solution
Harmonic. .
Analytic function (Milne-Thomson). , so
Harmonic conjugate. , so The real part is , and a harmonic conjugate is
✓ Checked by computer We checked by computer: and has real part .
(i) Evaluate the line integral where , is the boundary of the triangle with vertices , , in that order. (ii) Find the image of the finite vertical strip to , of -plane under exponential function.
Solution
(i) is entire and has the antiderivative , so its integral round any closed path is 0 (Cauchy’s theorem). Side by side:
- : , : .
- : from to : .
- : from to : .
(Here .) Total: . So .
(ii) Let . Then For , runs from to ; for , runs once around the circle. Each vertical segment maps onto the full circle , and the edges both map onto the segment of the negative real axis. So the image is the closed annulus
✓ Checked by computer We checked by computer: the three side integrals add up to 0.
More on Complex Analysis
- Complex 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–2026. Solutions: Optional Province. Found an error? Tell us.

