← 2015 Paper 2
UPSC 2015 Maths Optional Paper 2 Q2b — Step-by-Step Solution
15 marks · Section A
Riemann integral · Real Analysis · asked 10× in 13 yrs · Read the full method →
Question
Is the function
f(x)=⎩⎨⎧n1,0,n+11<x≤n1,n=1,2,3,…x=0
Riemann integrable? If yes, obtain the value of ∫01f(x)dx.
Technique
Lebesgue’s criterion (bounded + measure-zero discontinuities) for integrability; partial fractions and telescoping + Basel’s identity for evaluation.
Solution
Step 1 — Understand f
f is a step function on [0,1]:
- On (1/2,1], f=1.
- On (1/3,1/2], f=1/2.
- On (1/4,1/3], f=1/3.
- …
- On (1/(n+1),1/n], f=1/n.
- f(0)=0.
f is bounded (0≤f≤1) and has countably many discontinuities — one at each point 1/n for n≥2 (jump from 1/n to 1/(n−1)).
Step 2 — Riemann integrability
A bounded function on [a,b] is Riemann integrable iff the set of its discontinuities has Lebesgue measure zero (Lebesgue’s criterion).
Discontinuities of f: {1/n:n≥2}∪{0} — countable set, measure zero ✓.
So f is Riemann integrable on [0,1].
Step 3 — Compute the integral
Because f is constant 1/n on (1/(n+1),1/n], an interval of length 1/n−1/(n+1)=1/(n(n+1)):
∫01f(x)dx=n=1∑∞n1⋅(n1−n+11)=n=1∑∞n2(n+1)1.
Step 4 — Evaluate ∑n=1∞n2(n+1)1
Partial fractions:
n2(n+1)1=nA+n2B+n+1C.
1=An(n+1)+B(n+1)+Cn2.
- n=0: 1=B. So B=1.
- n=−1: 1=C. So C=1.
- Coefficient of n2: 0=A+C⇒A=−1.
Check n=1: −1⋅1⋅2+1⋅2+1⋅1=−2+2+1=1 ✓.
So n2(n+1)1=−n1+n21+n+11.
Sum:
n=1∑∞[−n1+n21+n+11]=n=1∑∞[n+11−n1]+n=1∑∞n21.
The first sum telescopes: ∑n=1∞[n+11−n1]=−1 (partial sum to N: N+11−1→−1).
The second is the Basel problem: ∑n=1∞1/n2=π2/6.
So
∫01f(x)dx=−1+6π2=6π2−1.
Answer
∫01f(x)dx=6π2−1≈0.6449.