← All 70 questions
Question 59·St Catharine's College·2025·Standard first-round question — reachable by every candidate, discriminating in how far you take it
Riemann sums: recognising a discrete limit as a definite integral
8–12 minutes at interview pace
Live video, shared whiteboard. Everything under BOARD is written with the pen; everything under SAY is spoken over it, at the same time. Never write a line in silence, and never say a line you have not put on the board.
Find the limit as n tends to infinity of the sum 1n∑r=1nrn .
Answer: 23

The whiteboard, beat by beat

1 · Orient · beat 1 of 9

Name the object before you touch it

Sn=1n∑r=1nrn(n terms, one factor 1n outside)
pattern to hunt for:∑r=1nf(rn)⋅1n
What you say, out loud

Let me start by describing the object rather than computing with it. It is a sum of n terms, there is a single factor of one over n outside, and inside the sum everything depends on r only through the ratio r over n.

That combination - a one over n out front, and a function of r over n inside - is the fingerprint of a Riemann sum. So my working hypothesis is that this limit is an area, and my job is not to evaluate a sum at all: it is to find which function, on which interval.

Why this beat exists: The interviewer is listening for 'recognise before compute'. One sentence that names the shape of the problem is worth more here than any algebra.
2 · Set up · beat 2 of 9

Force the sum into the standard form

Δx=1n,xr=rn  (r=0,1,…,n),x0=0,xn=1,xr−xr−1=Δx
rn=f(xr)withf(x)=x  on [0,1]
Sn=∑r=1nf(xr)Δx(Riemann sum)
What you say, out loud

So let me make that explicit rather than hand-wavy. Put delta x equal to one over n, and x sub r equal to r over n. Then the sample points start at nought, finish at one, and are equally spaced by delta x.

With those definitions the r-th term of my sum is exactly f of x sub r times delta x, where f is the square-root function. So S sub n is the right-endpoint Riemann sum for root x on the unit interval - the interval is nought to one, not nought to n, because it is the ratio r over n that appears.

Why this beat exists: Write Δx, x_r and f as one tidy block, then state the claim underneath. Define, then claim — that is the rhythm the interviewer reads.
3 · Draw · beat 3 of 9

The picture produces an inequality, not just a mood

f increasing on [0,1] ⟹ on strip r: f(x)≤f(xr)
for x∈[xr−1,xr]
Sn≥∫01xdxexcess→0
y = √xstrips poke above the curve01/21width of each strip = 1/6, height read at the right edge
n = 6, right endpoints. Because √x increases, the right edge of each strip is its highest point — so the drawn area is an overestimate.
What you say, out loud

I'll draw it, partly to check I haven't fooled myself. Six strips, each of width one sixth, and I read the height off the curve at the right-hand edge of each strip.

Because root x is increasing, the right edge is the highest point of the strip, so every strip pokes above the curve. The picture therefore tells me the sum is bigger than the area it is approximating - and the gap is those little caps along the top, which should shrink away as I cut finer.

That is not decoration: it is an inequality I can use later, namely S sub n is at least the integral for every n.

Why this beat exists: Drawing is a thinking step in this interview. State out loud what the drawing proves.
4 · Compute · beat 4 of 9

Get the candidate answer, then refuse to trust it yet

∫01x1/2dx=[23x3/2]01=23
f continuous on [0,1] ⇒ Riemann-integrable ⇒ Sn→∫01f=23.
But: f′(x)=12x→∞ as x→0+ — check this independently.
What you say, out loud

So the candidate answer is two thirds. Root x is continuous on the closed interval from nought to one, hence Riemann integrable, and Riemann sums converge to the integral - strictly speaking that finishes the question.

But there is one thing I don't like, which is that the derivative of root x blows up at the origin. The theorem I just quoted only needs continuity, not differentiability, so I believe it is safe - but I would rather see the number twice than once. Two checks, please.

Why this beat exists: Volunteering the weak point, and then saying why it is nevertheless harmless, is what separates a pass from a strong pass.
5 · Check numerically · beat 5 of 9

Compute a few sums, and read the rate off them

 n6101001000Sn0.7370120.7105090.6714630.667160Sn−230.07030.04380.00480.00049
From above ✓, error ∼C/n
What you say, out loud

A quick numerical check. At n equals six the sum is 0.737, which is above two thirds - exactly as the picture predicted.

Now step n up by a factor of ten at a time - ten, a hundred, a thousand - and watch the error: 0.044, then 0.0048, then 0.0005. Each extra digit in n costs roughly one digit of error, so the convergence is from above and it is of order one over n.

That is consistent with two thirds, and it also tells me the error has a genuine leading term - I could pin that down if I wanted.

Why this beat exists: Say the arithmetic out loud one value at a time. The interviewer is checking whether you trust your own numbers.
6 · Justify · beat 6 of 9

A real bound on the error, with no theorem quoted

On strip r, for x∈[xr−1,xr]: 0≤f(xr)−f(x)≤f(xr)−f(xr−1), so
0≤Sn−∫01f ≤ Δx∑r=1n(f(xr)−f(xr−1))=Δx(f(1)−f(0))=1n⟶0.
Telescoping — every interior term cancels.
What you say, out loud

Here is a proof of the rate that doesn't lean on any named theorem. On the r-th strip the curve sits between its values at the two ends, so the excess of my rectangle over the true area is at most the width of the strip times the rise of f across that strip.

Summing those rises telescopes: every interior height appears once with a plus and once with a minus, and everything cancels except f of one minus f of nought, which is just one. So the error is bounded by one over n, which goes to zero.

That squeezes the sum onto the integral and it works for any increasing continuous function - the square root is not doing anything special here.

And it is checkable against my table: at n equals six the bound says the error is at most one sixth, 0.167, and the true error was 0.070.

Why this beat exists: Telescoping is the move. Producing an explicit constant and testing it against your own data is the extra credit.
7 · Cross-check · beat 7 of 9

Second, independent route to the same constant

y=x, y=x2 inverse ⟹ mirror in y=x
above x, inside unit square = below x2:
∫01xdx+∫01x2dx=1⟹∫01xdx=1−13=23.
2/31/3y = √xy = x²y = xgreen = 2/3
The white crescent above y = √x is the mirror image of the region under y = x², so it has area 1/3 — hence the green area is 1 − 1/3 = 2/3.
What you say, out loud

Let me get the same number a second way, because agreement between two independent routes is cheap insurance.

Root x and x squared are inverse functions, so their graphs are reflections of each other in the diagonal of the unit square. Look at the region above the root x curve inside the square: reflecting it in the diagonal turns it into the region under x squared. So the two regions tile the square, and their areas add up to one.

The area under x squared is a third - that one I can do without thinking. So the area I actually want is one minus a third, which is two thirds. Same answer, and this time I never touched a fractional power rule.

Why this beat exists: Two independent routes to the same constant is the strongest signal you can send on a whiteboard.
8 · Conclude and generalise · beat 8 of 9

Answer, widen it, and find where it breaks

 limn→∞⁡1n∑r=1nrn=23 
1n∑r=1n(rn)p⟶∫01xpdx=1p+1(p>−1)
p=−1: 1n∑r=1nnr=∑r=1n1r∼log⁡n — diverges. The boundary is exactly p=−1.
What you say, out loud

So the limit is two thirds.

And the square root was never really the point: the same argument works for any power p greater than minus one, and gives one over p plus one.

The interesting part is where it stops. At p equals minus one the sum becomes one over n times the sum of n over r, which is just the harmonic sum, and that grows like log n - so this one does not settle on a finite number at all. Minus one is precisely the boundary, and that is the line I would want to remember about this family.

Why this beat exists: Generalising, then locating the failure case, is the classic closing move. It usually answers the interviewer's next question before they ask it.
9 · Only if invited · beat 9 of 9

The exact shape of the error

Sn=23+12n+ζ(−1/2)n3/2+⋯,ζ(−1/2)≈−0.2079
n=100:  23+0.005−0.000208=0.671459  against the true 0.671463 — error 4×10−6.
What you say, out loud

If you want the shape of the error rather than just its order: the leading correction should be one half over n, not one over n, because on each strip I only overcharge by roughly a triangle - half the rise, not the whole rise. My telescoping bound was deliberately crude, and the factor of two is what it threw away.

Beyond that, because root x has a cusp at the origin, the next term is not another whole power of one over n but one over n to the three halves, with a zeta-function constant in front. Numerically the three-term formula reproduces the n equals one hundred sum to within four millionths.

I'd offer this as a bonus rather than as the answer - the question only asked for the limit.

Why this beat exists: Going here unprompted reads as showing off; going here when invited, and labelling it as beyond the question, reads as depth with judgement.

Where the interviewer pushes next

“Does anything change if the sum starts at r = 0?”
What you say, out loud

No - the r equals nought term is root nought, which is zero, so the sum is literally the same number.

More generally, left-endpoint and right-endpoint sums differ by delta x times f of one minus f of nought, which here is one over n and vanishes. So the answer does not depend on where inside each strip I sample the height - which is reassuring, since the choice of sample point was mine.

Snleft=Snright−Δx(f(1)−f(0))=Sn−1n
“What if the summand were √(n/r) instead of √(r/n)?”
What you say, out loud

Let me not guess - let me rewrite it. One over n times root n over r is one over n times the quantity r over n, raised to the minus one half, since r over n to the minus a half is just root n over r. So it is still a Riemann sum, now with g of x equal to x to the minus a half.

The integral of that from nought to one is two root x evaluated at one, which is two. The wrinkle is that g is unbounded at the origin, so this is now an improper integral - the sums still converge to two, but I would have to check that rather than assume it.

Numerically: 1.859 at n equals one hundred, 1.954 at one thousand, 1.995 at one hundred thousand - converging to two, slowly, exactly as the cusp predicts.

1nnr=1n(rn)−1/2 ⟶ ∫01x−1/2dx=2
“Can you prove the limit exists without using the words 'Riemann integral'?”
What you say, out loud

Yes. Write the sum as n to the minus three halves times the sum of root k. Now apply the mean value theorem to t to the three halves on the interval from k minus one to k: the difference k to the three halves minus (k minus one) to the three halves equals three halves times root xi for some xi in between, so it is trapped between three halves times the root of the quantity k minus one, and three halves times the root of k.

Sum those inequalities from one to n. The middle telescopes to n to the three halves, and the outer sums are essentially the sum I care about, shifted by one term. Rearranging gives nought at most my sum minus two thirds at most one over root n.

That is a complete proof of the limit with no integral and no quoted theorem. The rate is worse than my one over n estimate - which is exactly what you'd expect from the crude direction of the inequality.

32k−1≤k3/2−(k−1)3/2≤32k ⟹ 23≤1n3/2∑k=1nk≤23+1n
“Why is the true error about 1/(2n) when your bound only gave 1/n?”
What you say, out loud

Because my bound charged each strip its full rise, but the excess is a thin sliver between the curve and the top of the rectangle - approximately a triangle, so about half the rise.

Halving the bound predicts one over two n, and that is what the table showed: at n equals one hundred the error is 0.0048 against one over two n of 0.005. When a crude bound is off by exactly the geometric factor you can see in the picture, you have probably found the right constant.

strip excess≈12Δx(f(xr)−f(xr−1)) ⟹ total≈12n

Traps on this question

  • Distributing the 1/n inside as though it were 1/n². There are n terms of size about one, so 1/n times the sum is order one — the limit is a number, not zero.
  • Reading the summand as √r / √n and hunting for a closed form of Σ√r. There is no useful one; the ratio r/n is the whole point of the expression.
  • Writing the answer as ∫₀¹ √(x/n) dx. The n is already inside the function — do not reintroduce it.
  • Saying 'it's a Riemann sum' and stopping. The interviewer wants the function, the interval, the mesh, and a reason why the sums converge to the integral.
  • Treating the infinite slope at 0 as a problem. Continuity is all that is needed; but say that, don't skip it.

What gets written on the assessor’s form

  • Recognised the (1/n)·f(r/n) pattern unprompted and named the interval correctly.
  • Used the diagram to produce an inequality, not as decoration.
  • Did not accept their own first answer; checked numerically, then proved the rate by telescoping.
  • Found a second independent route to the constant and made the two agree.
  • Generalised to x^p and identified p = −1 as the exact boundary.