Menu Close

Sequences and series of functions: UPSC Maths Optional PYQ Solutions (2009–2024)

All 12 questions UPSC has asked on sequences and series of functions in the Mathematics Optional (Paper II, Real Analysis) from 2009 to 2024, 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):

2024 · 3b 2021 · 1b 2019 · 3a 2015 · 3b 2013 · 2c 2012 · 1b 2011 · 2b 2011 · 3b 2011 · 4b 2010 · 2d 2010 · 3c 2009 · 3c

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

Consider the series ∑n=1∞Un(x), 0≤x≤1, the sum of whose first n terms is given by Sn(x)=12n2log(1+n4x2), x∈[0,1]. Show that the given series can be differentiated term-by-term, though ∑n=1∞Un′(x), does not converge uniformly on [0,1].

2024 · Paper II · Q3b · 20 marks

Solution

Sum of the series. For x=0x=0, Sn(0)=0S_n(0)=0. For 0<x≤10<x\le1, log(1+n4x2)≤log(2n4)=log2+4logn\log(1+n^4x^2)\le\log(2n^4)=\log2+4\log n, so 0≤Sn(x)≤log2+4logn2n2→0.0\le S_n(x)\le\frac{\log2+4\log n}{2n^2}\to0 . Hence S(x)=limSn(x)=0S(x)=\lim S_n(x)=0 on [0,1][0,1], and S′(x)=0S'(x)=0 for all xx.

Series of derivatives. The nn-th partial sum of ∑Un′(x)\sum U_n'(x) is Sn′(x)S_n'(x): Sn′(x)=12n2⋅2n4x1+n4x2=n2x1+n4x2.S_n'(x)=\frac{1}{2n^2}\cdot\frac{2n^4x}{1+n^4x^2}=\frac{n^2x}{1+n^4x^2}. For x=0x=0 this is 00; for x>0x>0, Sn′(x)≤n2xn4x2=1n2x→0S_n'(x)\le\dfrac{n^2x}{n^4x^2}=\dfrac{1}{n^2x}\to0. So ∑n=1∞Un′(x)=limSn′(x)=0=S′(x)for every x∈[0,1].\sum_{n=1}^\infty U_n'(x)=\lim S_n'(x)=0=S'(x)\quad\text{for every } x\in[0,1]. The series can be differentiated term by term.

But not uniformly. At xn=1n2∈[0,1]x_n=\dfrac1{n^2}\in[0,1], Sn′(xn)=n2⋅n−21+n4⋅n−4=12.S_n'(x_n)=\frac{n^2\cdot n^{-2}}{1+n^4\cdot n^{-4}}=\frac12 . So sup[0,1]|Sn′(x)−0|≥12\sup_{[0,1]}|S_n'(x)-0|\ge\frac12 for every nn, and ∑Un′(x)\sum U_n'(x) does not converge uniformly on [0,1][0,1].

This shows that uniform convergence of the derived series is a sufficient condition for term-by-term differentiation, not a necessary one. ◼\blacksquare

✓ Checked by computer We checked by computer: Sn′(x)=n2x1+n4x2S_n'(x)=\frac{n^2x}{1+n^4x^2} and Sn′(1/n2)=12S_n'(1/n^2)=\frac12 for every nn.

↑ Back to the question list

Test the uniform convergence of the series x4+x41+x4+x4(1+x4)2+x4(1+x4)3+⋯ on [0,1].

2021 · Paper II · Q1b · 10 marks

Solution

Sum function. At x=0x=0 every term is 0, so the sum is S(0)=0S(0)=0. For 0<x≤10<x\le1 the series is geometric with first term x4x^4 and ratio r=11+x4<1r=\dfrac{1}{1+x^4}<1: S(x)=x41−11+x4=x4(1+x4)x4=1+x4.S(x)=\frac{x^4}{1-\frac{1}{1+x^4}}=\frac{x^4(1+x^4)}{x^4}=1+x^4 . So S(x)={1+x4,0<x≤10,x=0.S(x)=\begin{cases}1+x^4,&0<x\le1\\0,&x=0.\end{cases}

Not uniform. Each term x4(1+x4)k\dfrac{x^4}{(1+x^4)^k} is continuous on [0,1][0,1]. If the series converged uniformly, its sum would be continuous. But limx→0+S(x)=1≠0=S(0)\lim_{x\to0^+}S(x)=1\ne0=S(0). Hence the series is not uniformly convergent on [0,1][0,1].

✓ Checked by computer We checked by computer: for x≠0x\ne0 the sum is 1+x41+x^4, while at x=0x=0 it is 0.

↑ Back to the question list

Discuss the uniform convergence of fn(x)=nx1+n2x2,∀x∈ℝ(−∞,∞) n=1,2,3,…

2019 · Paper II · Q3a · 15 marks

Solution

Pointwise limit. fn(0)=0f_n(0)=0; for x≠0x\ne0, |fn(x)|≤n|x|n2x2=1n|x|→0|f_n(x)|\le\dfrac{n|x|}{n^2x^2}=\dfrac{1}{n|x|}\to0. So fn→f≡0f_n\to f\equiv0 on ℝ\mathbb R.

Supremum. By AM–GM, 1+n2x2≥2n|x|1+n^2x^2\ge2n|x|, so |fn(x)|≤12|f_n(x)|\le\frac12, with equality at x=1nx=\frac1n: fn(1n)=11+1=12.f_n\!\left(\frac1n\right)=\frac{1}{1+1}=\frac12 . So Mn=supℝ|fn(x)−f(x)|=12↛0M_n=\sup_{\mathbb R}|f_n(x)-f(x)|=\frac12\not\to0. Hence the convergence is not uniform on ℝ\mathbb R (nor on any interval containing 0).

On |x|≥a>0|x|\ge a>0 it is uniform: there |fn(x)|≤1na→0|f_n(x)|\le\dfrac{1}{na}\to0, independently of xx.

✓ Checked by computer We checked by computer: the maximum of fnf_n is 12\frac12, at x=1nx=\frac1n.

↑ Back to the question list

Test the series of functions ∑n=1∞nx(1+n2x2) for uniform convergence.

2015 · Paper II · Q3b · 15 marks

Solution

Let un(x)=nx1+n2x2u_n(x)=\dfrac{nx}{1+n^2x^2}.

  • At x=0x=0: every term is 0, so the series converges (to 0).
  • At x≠0x\ne0: compare with ∑1n\sum\frac1n: un(x)1/n=n2x1+n2x2→1x≠0.\frac{u_n(x)}{1/n}=\frac{n^2x}{1+n^2x^2}\ \longrightarrow\ \frac1x\ne0 . By the limit comparison test (applied to ∑|un|\sum|u_n|, whose terms all have the sign of xx), ∑un(x)\sum u_n(x) diverges for every x≠0x\ne0.

So the series converges only at the single point x=0x=0. It does not converge on any interval, so it is not uniformly convergent on any interval.

(If the question was meant for the sequence fn(x)=nx1+n2x2f_n(x)=\frac{nx}{1+n^2x^2}, see the previous question: it converges to 0 everywhere, uniformly on |x|≥a>0|x|\ge a>0 but not on any interval containing 0.)

✓ Proof checked step by step Proof checked step by step. We flag this one: as printed, the series converges only at x=0x=0.

↑ Back to the question list

Show that the series ∑1∞(−1)n−1n+x2, is uniformly convergent but not absolutely for all real values of x.

2013 · Paper II · Q2c · 13 marks

Solution

Let un(x)=1n+x2u_n(x)=\dfrac{1}{n+x^2}, so the series is ∑(−1)n−1un(x)\sum(-1)^{n-1}u_n(x).

Convergence for each xx. For fixed xx, un(x)>0u_n(x)>0 decreases in nn and tends to 0, so the series converges by the Leibniz test.

Uniform. For an alternating series of this type, the remainder after nn terms is at most the first omitted term: |Rn(x)|=|∑k=n+1∞(−1)k−1k+x2|≤1n+1+x2≤1n+1.|R_n(x)|=\left|\sum_{k=n+1}^\infty\frac{(-1)^{k-1}}{k+x^2}\right|\le\frac{1}{n+1+x^2}\le\frac{1}{n+1}. The bound 1n+1→0\frac1{n+1}\to0 does not depend on xx, so supx∈ℝ|Rn(x)|→0\sup_{x\in\mathbb R}|R_n(x)|\to0: the series is uniformly convergent on ℝ\mathbb R.

Not absolutely. ∑1n+x2\sum\dfrac{1}{n+x^2}: for fixed xx, 1/(n+x2)1/n=nn+x2→1\dfrac{1/(n+x^2)}{1/n}=\dfrac{n}{n+x^2}\to1, so it behaves like the harmonic series and diverges for every real xx.

Hence the series converges uniformly, but not absolutely, for all real xx. ◼\blacksquare

✓ Proof checked step by step Proof checked step by step.

↑ Back to the question list

Let fn(x)={0,if x<1n+1,sinπx,if 1n+1≤x≤1n,0,if x>1n. Show that fn(x) converges to a continuous function but not uniformly.

2012 · Paper II · Q1b · 12 marks

Solution

Pointwise limit is 00.

  • If x≤0x\le0 or x>1x>1: x<1n+1x<\frac{1}{n+1} or x>1nx>\frac1n for every nn, so fn(x)=0f_n(x)=0 for all nn.
  • If 0<x≤10<x\le1: for all n>1xn>\frac1x we have 1n<x\frac1n<x, so fn(x)=0f_n(x)=0.

So fn(x)→f(x)=0f_n(x)\to f(x)=0 for every xx, and f≡0f\equiv0 is continuous.

Not uniform. Take xn=1n+12x_n=\dfrac{1}{n+\frac12}, which lies in [1n+1,1n]\left[\frac1{n+1},\frac1n\right]. Then fn(xn)=sin(π(n+12))=±1.f_n(x_n)=\sin\left(\pi\left(n+\tfrac12\right)\right)=\pm1 . So supx|fn(x)−0|=1\sup_x|f_n(x)-0|=1 for every nn, which does not tend to 0. The convergence is not uniform. ◼\blacksquare

(Each fnf_n is a single “bump” of height 1 that moves towards 0 as nn grows: it leaves every fixed point, but never shrinks.)

✓ Proof checked step by step Proof checked step by step.

↑ 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

Let fn(x)=nx(1−x)n, x∈[0,1] Examine the uniform convergence of {fn(x)} on [0,1].

2011 · Paper II · Q2b · 15 marks

Solution

Pointwise limit. fn(0)=fn(1)=0f_n(0)=f_n(1)=0. For 0<x<10<x<1, put r=1−x∈(0,1)r=1-x\in(0,1): nrn→0nr^n\to0, so fn(x)→0f_n(x)\to0. Hence fn→f≡0f_n\to f\equiv0 on [0,1][0,1].

Maximum of fnf_n. fn′(x)=n(1−x)n−1[(1−x)−nx]=0⇔x=1n+1.f_n'(x)=n(1-x)^{n-1}\big[(1-x)-nx\big]=0\iff x=\frac{1}{n+1}. fn≥0f_n\ge0, it vanishes at both ends, so this is the maximum: Mn=fn(1n+1)=nn+1(nn+1)n=(1−1n+1)n+1→1e.M_n=f_n\!\left(\frac{1}{n+1}\right)=\frac{n}{n+1}\left(\frac{n}{n+1}\right)^n=\left(1-\frac{1}{n+1}\right)^{n+1}\ \longrightarrow\ \frac1e .

So sup[0,1]|fn−f|=Mn→1e≠0\sup_{[0,1]}|f_n-f|=M_n\to\frac1e\ne0. The convergence is not uniform on [0,1][0,1]. (It is uniform on [a,1][a,1] for any 0<a<10<a<1, where fn≤n(1−a)n→0f_n\le n(1-a)^n\to0.)

✓ Checked by computer We checked by computer: the maximum of fnf_n is at x=1n+1x=\frac{1}{n+1} and tends to 1/e1/e.

↑ Back to the question list

Show that the series for which the sum of first n terms fn(x)=nx1+n2x2,0≤x≤1 cannot be differentiated term-by-term at x=0. What happens at x≠0 ?

2011 · Paper II · Q3b · 15 marks

Solution

The sum of the series is f(x)=limfn(x)f(x)=\lim f_n(x). As in the previous questions, fn(0)=0f_n(0)=0 and fn(x)≤1nx→0f_n(x)\le\frac1{nx}\to0 for x>0x>0, so f≡0f\equiv0 and f′(x)=0f'(x)=0 on [0,1][0,1].

Differentiating term by term means taking the limit of the derivatives of the partial sums: fn′(x)=n(1+n2x2)−nx⋅2n2x(1+n2x2)2=n(1−n2x2)(1+n2x2)2.f_n'(x)=\frac{n(1+n^2x^2)-nx\cdot2n^2x}{(1+n^2x^2)^2}=\frac{n(1-n^2x^2)}{(1+n^2x^2)^2}.

At x=0x=0: fn′(0)=n→∞f_n'(0)=n\to\infty. So the term-by-term derived series diverges at 0, while f′(0)=0f'(0)=0. The series cannot be differentiated term by term at x=0x=0.

At x≠0x\ne0: fn′(x)=n(1−n2x2)(1+n2x2)2≈−n3x2n4x4=−1nx2→0=f′(x).f_n'(x)=\frac{n(1-n^2x^2)}{(1+n^2x^2)^2}\approx\frac{-n^3x^2}{n^4x^4}=-\frac{1}{nx^2}\to0=f'(x). So term-by-term differentiation gives the right answer at every x≠0x\ne0. On any [a,1][a,1] with a>0a>0, |fn′(x)|≤n(1+n2x2)(1+n2x2)2=n1+n2x2≤1na2|f_n'(x)|\le\dfrac{n(1+n^2x^2)}{(1+n^2x^2)^2}=\dfrac{n}{1+n^2x^2}\le\dfrac{1}{na^2}, so the derived series even converges uniformly there – which is why it works away from 0.

✓ Checked by computer We checked by computer: fn′(0)=nf_n'(0)=n, while fn′(x)→0f_n'(x)\to0 for x≠0x\ne0.

↑ Back to the question list

Show that if S(x)=∑n=1∞1n3+n4x2, then its derivative S′(x)=−2x∑n=1∞1n2(1+nx2)2, for all x.

2011 · Paper II · Q4b · 20 marks

Solution

Let un(x)=1n3+n4x2=1n3(1+nx2)u_n(x)=\dfrac{1}{n^3+n^4x^2}=\dfrac{1}{n^3(1+nx^2)}. Then un′(x)=−1n3⋅2nx(1+nx2)2=−2xn2(1+nx2)2.u_n'(x)=-\frac{1}{n^3}\cdot\frac{2nx}{(1+nx^2)^2}=-\frac{2x}{n^2(1+nx^2)^2}.

Theorem (term-by-term differentiation). If each unu_n is differentiable, ∑un(x0)\sum u_n(x_0) converges at some point, and ∑un′\sum u_n' converges uniformly on an interval, then ∑un\sum u_n converges uniformly there and (∑un)′=∑un′\left(\sum u_n\right)'=\sum u_n'.

Check the hypotheses on ℝ\mathbb R.

  • ∑un(x)\sum u_n(x) converges for every xx: 0<un(x)≤1n30<u_n(x)\le\dfrac1{n^3}.
  • ∑un′\sum u_n' converges uniformly on ℝ\mathbb R. Put t=n|x|t=\sqrt n\,|x|: |un′(x)|=2n5/2⋅t(1+t2)2≤2n5/2⋅3316,|u_n'(x)|=\frac{2}{n^{5/2}}\cdot\frac{t}{(1+t^2)^2}\le\frac{2}{n^{5/2}}\cdot\frac{3\sqrt3}{16}, since t(1+t2)2\dfrac{t}{(1+t^2)^2} has maximum 3316\dfrac{3\sqrt3}{16} (at t=13t=\frac1{\sqrt3}). As ∑n−5/2\sum n^{-5/2} converges, the Weierstrass M-test gives uniform convergence of ∑un′\sum u_n' on ℝ\mathbb R.

Hence, for all xx, S′(x)=∑n=1∞un′(x)=−2x∑n=1∞1n2(1+nx2)2.◼S'(x)=\sum_{n=1}^\infty u_n'(x)=-2x\sum_{n=1}^\infty\frac{1}{n^2(1+nx^2)^2}. \qquad\blacksquare

✓ Proof checked step by step Proof checked step by step; we also checked the derivative of each term and the bound maxt(1+t2)2=3316\max\frac{t}{(1+t^2)^2}=\frac{3\sqrt3}{16} by computer.

↑ Back to the question list

Consider the series ∑n=0∞x2(1+x2)n. Find the values of x for which it is convergent and also the sum function. Is the convergence uniform ? Justify your answer.

2010 · Paper II · Q2d · 15 marks

Solution

Convergence and sum. At x=0x=0 every term is 0: sum 0. For x≠0x\ne0 it is a geometric series with ratio r=11+x2∈(0,1)r=\dfrac{1}{1+x^2}\in(0,1): ∑n=0∞x2(1+x2)n=x21−11+x2=1+x2.\sum_{n=0}^\infty\frac{x^2}{(1+x^2)^n}=\frac{x^2}{1-\frac{1}{1+x^2}}=1+x^2 . So the series converges for every real xx, with sum function S(x)={1+x2,x≠00,x=0.S(x)=\begin{cases}1+x^2,&x\ne0\\0,&x=0.\end{cases}

Not uniform (on any interval containing 0). Each term is continuous, but SS is discontinuous at x=0x=0 (S(x)→1≠0S(x)\to1\ne0). A uniformly convergent series of continuous functions has a continuous sum, so the convergence cannot be uniform near 0. Directly: the remainder after the terms n=0,…,Nn=0,\ldots,N is RN(x)=∑n=N+1∞x2(1+x2)n=1(1+x2)N(x≠0),R_N(x)=\sum_{n=N+1}^\infty\frac{x^2}{(1+x^2)^n}=\frac{1}{(1+x^2)^N}\quad(x\ne0), which tends to 1 as x→0x\to0, so sup|RN|=1\sup|R_N|=1 for every NN.

On |x|≥a>0|x|\ge a>0 the convergence is uniform, since there |RN(x)|≤(1+a2)−N→0|R_N(x)|\le(1+a^2)^{-N}\to0.

✓ Checked by computer We checked by computer: for x≠0x\ne0 the sum is 1+x21+x^2; the tail after NN terms is (1+x2)−N(1+x^2)^{-N}.

↑ Back to the question list

Let fn(x)=xn on −1<x≤1 for n=1,2,…. Find the limit function. Is the convergence uniform ? Justify your answer.

2010 · Paper II · Q3c · 15 marks

Solution

Limit function. For −1<x<1-1<x<1, xn→0x^n\to0; at x=1x=1, xn=1x^n=1. So f(x)=limn→∞xn={0,−1<x<11,x=1.f(x)=\lim_{n\to\infty}x^n=\begin{cases}0,&-1<x<1\\1,&x=1.\end{cases}

Not uniform.

  • Each xnx^n is continuous, but ff is discontinuous at x=1x=1. A uniform limit of continuous functions is continuous, so the convergence is not uniform.
  • Directly: sup−1<x<1|xn−0|=1\sup_{-1<x<1}|x^n-0|=1 for every nn (take xx close to 11, or close to −1-1), which does not tend to 0.

The convergence is uniform on [−a,a][-a,a] for 0<a<10<a<1, since there |xn|≤an→0|x^n|\le a^n\to0.

✓ Checked by computer We checked by computer: sup(−1,1)|xn|=1\sup_{(-1,1)}|x^n|=1 for every nn.

↑ Back to the question list

Show that : limx→1∑n=1∞n2x2n4+x4=∑n=1∞n2n4+1. Justify all steps of your answer by quoting the theorems you are using.

2009 · Paper II · Q3c · 15 marks

Solution

Let un(x)=n2x2n4+x4u_n(x)=\dfrac{n^2x^2}{n^4+x^4}.

Step 1 – uniform convergence near x=1x=1 (Weierstrass M-test). On [−2,2][-2,2], 0≤un(x)≤n2⋅4n4=4n2,0\le u_n(x)\le\frac{n^2\cdot4}{n^4}=\frac{4}{n^2}, and ∑4n2\sum\frac4{n^2} converges. By the Weierstrass M-test, ∑un(x)\sum u_n(x) converges uniformly on [−2,2][-2,2].

Step 2 – the sum is continuous. Each unu_n is continuous (a rational function whose denominator n4+x4n^4+x^4 never vanishes). Theorem: the sum of a uniformly convergent series of continuous functions is continuous. So S(x)=∑un(x)S(x)=\sum u_n(x) is continuous on [−2,2][-2,2], in particular at x=1x=1.

Step 3 – take the limit. Continuity at 1 means limx→1S(x)=S(1)\lim_{x\to1}S(x)=S(1), i.e. limx→1∑n=1∞n2x2n4+x4=∑n=1∞n2n4+1.◼\lim_{x\to1}\sum_{n=1}^\infty\frac{n^2x^2}{n^4+x^4}=\sum_{n=1}^\infty\frac{n^2}{n^4+1}. \qquad\blacksquare (So the limit may be taken term by term, because the convergence is uniform.)

✓ Proof checked step by step Proof checked step by step.

↑ Back to the question list

More on Real Analysis

Questions: UPSC Civil Services (Main) Examination, Mathematics Paper II, 2009–2024. 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