← All 70 questions
Question 52·St Catharine's College·2025·Core first-year territory made to look frightening — the discrimination is in whether you get trapped by the unintegrable integrand or by the missing 2x
Fundamental theorem of calculus with the chain rule: differentiating an integral whose integrand has no elementary antiderivative
5–8 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.
Differentiate f(x)=∫0x2sin⁡(t2) with respect to x.
Answer: f′(x)=2xsin⁡(x4)

The whiteboard, beat by beat

1 · Orient · beat 1 of 9

Name the trap before touching the algebra

f(x)=∫0x2sin⁡(t2)dtfind f′(x)
FTC + chain rule: never evaluate
What you say, out loud

Before I touch anything, let me say what this question is. We have f of x as the integral from zero to x squared of sine of t squared, and we are asked to differentiate it. And I want to flag the trap built into it straight away: the function sine of t squared has no elementary antiderivative - there is no combination of polynomials, exponentials, logarithms or trig functions you can differentiate to get it. A candidate who starts by trying to do the integral will stall, and I don't think that stall is accidental.

So my strategy is to never evaluate the integral at all. This is a function defined by an integral, composed with x squared, and the fundamental theorem of calculus plus the chain rule differentiates it directly. I expect a perfectly ordinary closed answer at the end - two x sine of x to the fourth - and I'll write that target down now so you can hold me to it.

Why this beat exists: This question's own key-points note says the examiners watch for panic over an integrand that cannot be integrated. Naming the trap as the strategy in beat one is the move being tested.
2 · Set up · beat 2 of 9

Split the composite: an accumulator and a squaring map

F(u)=∫0usin⁡(t2)dt,u=x2,f(x)=F(x2)=F(u(x))
continuous ⟹ F differentiable, F′(u)=sin⁡(u2)
What you say, out loud

Let me split the object into two named pieces. Define F of u to be the integral from zero to u of sine of t squared, and set u equal to x squared. Then f is simply F composed with the squaring map - a composition of two functions I can each name.

The inner function is a polynomial, so it is differentiable with derivative two x. For the outer one, the integrand sine of t squared is continuous everywhere - in fact smooth - so the first part of the fundamental theorem applies wholesale: F is differentiable at every u, and F prime of u is just the integrand read at the upper limit, which is sine of u squared. Notice what I have and have not done: I never found a primitive of sine of t squared, and I am not going to need one.

Why this beat exists: Define, then claim — the same rhythm as the template. The continuity justification is one board line, not an essay, but it must be there.
3 · Draw · beat 3 of 9

The chain is two boxes; differentiation multiplies the slopes

f=F∘g,g(x)=x2
chain: multiply local slopes F′(u), g′(x)=2x
xsquareu = x²inputF(u) =∫ sin(t²) dtfrom 0 to uf(x)local slope 2xlocal slope sin(u²)×f′(x) = sin(u²) · 2x
The composite structure the integral sign hides: f is F applied to x², so its derivative is the outer local slope sin(u²), evaluated at u = x², multiplied by the inner local slope 2x. The integration lives entirely inside the second box — the chain rule never opens it.
What you say, out loud

I'll draw the structure before the algebra, because the algebra is exactly this picture. X enters the first box, which squares it; the output u enters the second box, the accumulator F; the composition is f.

Differentiating a chain like this multiplies the local slopes: the slope of F at the input u equals x squared, times the slope of the squaring map, which is two x. Nothing in that multiplication ever asks for a formula for F - the integral sign lives entirely inside the second box, and the chain rule never opens it.

Why this beat exists: Naming both boxes and both local slopes out loud is the difference between 'chain rule' as a slogan and as a mechanism.
4 · Compute · beat 4 of 9

One line — and mind the double square

f′(x)=F′(x2)⋅(x2)′=sin⁡((x2)2)⋅2x=sin⁡(x4)⋅2x
f′(x)=2xsin⁡(x4)
What you say, out loud

Now the computation is one line. The outer derivative is the integrand evaluated at the upper limit - and here is the place to be careful: the integrand squares its input, and the input is x squared, so I get sine of x to the fourth, not sine of x squared. The inner derivative is two x. Multiply: f prime of x equals two x sine of x to the fourth.

That is the answer, and notice it is a genuine elementary function - the derivative is simpler than anything an antiderivative hunt could produce, because there was never an antiderivative to find.

Why this beat exists: Say the substitution sin((x²)²) = sin(x⁴) slowly; most lost marks in this question are the wrong inner composition, not the missing 2x.
5 · Draw · beat 5 of 9

The function you cannot integrate still has a graph

F(π)=0.894831…,F(2π)=0.430408…,F(u)→π/8=0.626657…
F(10)=0.583671: 0.0430 below limit
F(20)=0.639816: 0.0132 above
tangent at u0=x2=1.44: slope F′(u0)=sin⁡(u02)=0.87623…
limit √(π/8) = 0.626657u₀ = x² = 1.44 (x = 1.2)slope sin(u²) = 0.8762overshoot 0.8948 at u = 1.7701234uF
F exists as a perfectly ordinary function even though no formula for it does: computed by quadrature it overshoots to 0.894831 at u = √π ≈ 1.77, dips to 0.430408 at u = √(2π) ≈ 2.51, and converges to √(π/8) = 0.626657. The question only ever asks for the slope of this curve at u = x² — the amber tangent at u = 1.44 has slope 0.8762 — never for a closed form of the curve.
What you say, out loud

Since we refuse to integrate, let me at least draw the thing we refused to integrate, to prove it is not a monster. I computed F by numerical quadrature and plotted it. It climbs like u cubed over three near the origin, overshoots to a maximum of about nought point eight nine four eight at u equal root pi - that is exactly where sine of u squared drops back through zero - dips to about nought point four three zero at u equal root two pi, and settles onto the Fresnel limit root pi over eight, about nought point six two seven. The settling is slow and wobbly: at ten it is still 0.043 below the limit, at twenty 0.013 above.

The marked point is u equals one point four four - that is x equal one point two squared - and the tangent drawn there has slope sine of u squared at that point, 0.8762. The whole question is nothing but the slope of this curve at the moving point u equals x squared, times the speed two x.

Why this beat exists: This figure answers the panic directly: non-elementary does not mean non-existent. The graph, the values and the slope all exist; only the formula is missing, and only formulas get integrated.
6 · Check numerically · beat 6 of 9

Brute-force the derivative without using the theorem

 x0.511.522xsin⁡(x4)0.062459321.68294197−2.81800392−1.15161327central diff0.062459331.68294196−2.81800298−1.15161181|gap|8.3×10−98.9×10−99.3×10−71.5×10−6
same row with h=10−6: gaps 8.3×10−13, 8.9×10−13, 9.3×10−11, 1.5×10−10
What you say, out loud

Numbers next, and I want them to come from below, not from the theorem I just used. I evaluate f by quadrature at x plus h and x minus h, take the central difference with step one ten-thousandth, and compare against two x sine of x to the fourth. At one half the formula line prints nought point nought six two four five nine three two and the difference line prints nought point nought six two four five nine three three, so they agree to eight decimal places but not to the last unit; likewise at one, where the difference comes out below. At one point five the gap is 9.3 ten millionths, at two 1.5 millionths - the h squared truncation error of the central difference, growing with the third derivative of f, which is fine.

Shrinking h to a millionth shrinks every gap by about four orders of magnitude - down to around 10 to the minus twelve at x equals one half. So it is the finite-difference step, not my formula, that sets the discrepancy, and the fundamental theorem and raw quadrature agree to the six-to-eight decimals I measured.

Why this beat exists: The check is genuinely independent: the analytic side used no quadrature, the numerical side used no FTC. Say which error you are looking at when you quote six decimal places.
7 · Cross-check · beat 7 of 9

Structural audit: parity, the origin, the zeros

f even (x2 is even) ⟹ f′ odd: f(±1.5)=0.5707433, f′(±1.5)=∓2.8180039 ✓
f′(0)=0, and flat: f(x)=x6/3−x14/42+⋯, f′(x)=2x5−x13/3+x21/60−⋯
zeros of f′ where x4=kπ: x=1.3313,1.5832,1.7521; envelope |f′|≤2|x|
f′(x) = 2x sin(x⁴)4-4-2-1012xzeros: x⁴ = kπ → 1.331, 1.583, 1.752dashed: ±2x
A structural audit in one glance: f'(x) = 2x sin(x⁴) is odd — forced, because f is even — its zeros sit exactly at 0 and (kπ)^(1/4) = 1.331, 1.583, 1.752, and its amplitude is squeezed by the linear envelope ±2x. At x = ±2 it is ∓1.151613, well inside the envelope; none of these were assumed, all follow from the answer.
What you say, out loud

Second confidence, structural rather than decimal. Because the upper limit is x squared, f is even - I measured zero point five seven zero seven four three three at plus one point five, and the same value at minus one point five to machine precision - so its derivative must be odd. And two x sine of x to the fourth is odd: minus two point eight one eight at plus one point five, plus it at minus one point five.

At the origin the formula gives zero, but that is not just arithmetic luck: the integrand behaves like t squared near zero, so f is about x to the six over three, and f prime is flat to fifth order - the difference ratio f of h over h at h equal one ten-thousandth came out three point three three times ten to the minus twenty-one, which is exactly h to the fifth over three.

The graph fixes the shape: zeros where x to the fourth hits a multiple of pi - one point three three one, one point five eight three, one point seven five two - oscillations crowding outward because the phase x to the fourth accelerates, and the amplitude locked inside the envelope plus or minus two x. Series and theorem also shake hands: at x equal nought point eight the three-term series gives 0.6371885 against the analytic 0.6371879, and the six ten-millionths between them is exactly the first term we dropped, x to the twenty-nine over two thousand five hundred and twenty.

Why this beat exists: Parity, flatness at zero and the zero set are free theorems. Running them aloud turns a symbolic answer into a felt one — and a wrong candidate answer fails at least one of them.
8 · Conclude and generalise · beat 8 of 9

The answer, the Leibniz form, and what the zero lower limit costs

f′(x)=2xsin⁡(x4)— found without ever integrating
ddx∫a(x)b(x)h(t)dt=h(b(x))b′(x)−h(a(x))a′(x)
ddx∫1x2sin⁡(t2)dt = same answer
What you say, out loud

So the answer is two x sine of x to the fourth - and the whole point in one sentence: the derivative of an integral sign is evaluation, not antidifferentiation.

Let me widen the hinge. The general Leibniz form with both limits variable evaluates the integrand at each limit and multiplies by that limit's speed, subtracting lower from upper. Here the lower limit is the constant zero, so its term simply is not there, and the computation reduces to evaluate-and-multiply. It also shows the zero was cosmetic: start the integral at one, or at minus seven, and the derivative is unchanged - constants die under differentiation.

One caveat I'll volunteer before anyone asks: this clean rule needs the integrand to depend only on t. If x also sits inside the integrand, a second term appears, an integral of a partial derivative - and I'll happily show that if it is useful.

Why this beat exists: Closing move: answer, general form, and the boundary of applicability. The caveat is the hook for the interviewer's next question.
9 · Only if invited · beat 9 of 9

Fresnel, conditional convergence, and why no formula exists

∫0∞sin⁡(t2)dt=π/8=0.626657…(conditional convergence)
∫0T|sin⁡(t2)|dt=2πT+O(1): at T=106 it is 6.366×105
Liouville: F(u)=π/2S(u2/π)
What you say, out loud

Only if invited. Two things show range without changing the answer. First, the total area does exist even though the primitive does not: F settles to the Fresnel value root pi over eight, nought point six two six six five seven - I got it by rescaling the standard Fresnel sine integral. The convergence is conditional, not absolute: take the absolute value and the integral grows linearly, because the average of the absolute value of sine is two over pi, so by the time t reaches a million the absolute area has swept six hundred and thirty-six thousand six hundred - the humps keep their size and only narrow.

Second, the panic version of this question is unfounded at a deeper level: Liouville's theorem in differential algebra says sine of t squared has no elementary antiderivative, so the integral sign is genuinely the cheapest correct notation for F.

At interview, the sentence that closes this is: Fresnel-type, non-elementary - and the fundamental theorem does not care.

Why this beat exists: Do not go here unprompted; when invited, label it as beyond the question. The measured F(10), F(20) values from beat five are the evidence for 'slow and conditional'.

Where the interviewer pushes next

“What if the upper limit were cos x instead of x²?”
What you say, out loud

Same machine, one sign change. The derivative is the integrand read at the upper limit, sine of cosine squared x, times the speed of the upper limit, which is minus sine of x. At x equal one that predicts minus zero point two four two one seven four.

I checked it: central-differencing the quadrature at x equals one gives minus zero point two four two one seven four to eight decimals as well. And note the meaning of the sign - where the upper limit turns around, as cos x does at zero, the derivative just changes sign with its speed.

f(x)=∫0cos⁡xsin⁡(t2)dt ⟹ f′(x)=−sin⁡xsin⁡(cos2⁡x),f′(1)=−0.242174
“What if x also appears inside the integrand, say sin(t² + x)?”
What you say, out loud

Then the clean evaluate-and-multiply rule dies and the full Leibniz integral rule is required: besides the boundary term - the integrand at the upper limit, two x sine of the whole of x to the fourth plus x - you must add the integral of the partial derivative of the integrand with respect to x, from zero to x squared. Here that partial derivative is cosine of t squared plus x.

So the answer is two x sine of the whole of x to the fourth plus x, plus the integral of cosine of the whole of t squared plus x over the moving range. I verified at x equals one: the formula gives two point zero four six two two nine six, and central-differencing the quadrature gives the same eight figures apart from the last digit. Also worth saying: that leftover integral is another non-elementary integral - the rule keeps working even then.

ddx∫0x2sin⁡(t2+x)dt=2xsin⁡(x4+x)+∫0x2cos⁡(t2+x)dt=2.046230 at x=1
“So can the integral be written down at all? What is F, really?”
What you say, out loud

Yes, once you leave the elementary world. Rescaling the argument turns F into the square root of pi over two times the standard Fresnel sine integral evaluated at u times the square root of two over pi - that is the closed form, and it is exactly what symbolic engines print. I used that identity as a cross-check against raw quadrature: at u equals two and a half both routes give zero point four three zero five one seven seven.

Everything else follows from the same function: the improper integral to infinity is the Fresnel value root pi over eight. But none of this was needed to differentiate - the whole design of the question is that the name exists before the formula does.

F(u)=π2S(u2π),S(z)=∫0zsin⁡(πw22)dw,F(∞)=π8
“Use the definition of the derivative: is f′(0) really 0?”
What you say, out loud

The formula gives two times zero times sine of zero, but the honest check is the limit definition, because that is where the flatness lives. Near zero the integrand is about t squared, so f of h is about h to the six over three - at h equal one, the two-term series gives 0.3095 against the true 0.3103 - and f of h minus f of zero over h is about h to the fifth over three.

That tends to zero, of course it does; numerically at h equal a ten-thousandth the difference ratio is three point three three times ten to the minus twenty-one, exactly h to the fifth over three. So the origin is a genuinely flat stationary point, and the same expansion shows the first non-zero term of f prime is two x to the fifth.

f′(0)=limh→0⁡f(h)−f(0)h=limh→0⁡h6/3+O(h14)h=limh→0⁡h53=0

Traps on this question

  • The panic trap: concluding the problem is unsolvable because sin(t²) has no elementary antiderivative. The FTC differentiates the integral as it stands; no primitive is ever needed.
  • The fake-primitive trap: pretending the integral is −cos(t²)/(2t). That expression really does differentiate to sin(t²) + cos(t²)/(2t²), not sin(t²), and it blows up to −∞ as t → 0⁺, so even the endpoint evaluation is meaningless.
  • Dropping the inner derivative: answering sin(x⁴). At x = 2 that is −0.287903 against the true −1.151613 — wrong by exactly the factor 2x = 4.
  • Substituting the composition wrongly: 2x·sin(x²) instead of 2x·sin(x⁴). At x = 1 the wrong answer equals 1.682942 = the true one, so a single test point cannot catch this; at x = 2 it gives −3.027210 vs −1.151613. Always check at two points.
  • Worrying about the lower limit or about x = 0: the constant 0 contributes nothing (any fixed lower limit gives the same f′), and the FTC applies at 0 with no special case — f′(0) = 2·0·sin(0) = 0 is correct, not a division-by-zero scare.

What gets written on the assessor’s form

  • The candidate named the non-elementary integrand as the crux of the question unprompted, and stated the differentiate-don't-evaluate strategy before any algebra.
  • The candidate set up the composite cleanly as F and u = x², and justified the FTC step by continuity of the integrand rather than invoking the theorem by name alone.
  • The candidate checked the answer independently both numerically — central differences from quadrature agreeing to six-to-eight decimals at four points, with the h-dependence diagnosed — and structurally via parity, f′(0), and the small-x series.
  • The candidate explained why a wrong 2x·sin(x²) survives the x = 1 test and only fails at x = 2 — evidence the composition is understood rather than pattern-matched.
  • The candidate generalised to the variable-limit Leibniz rule, volunteered the integrand-depends-on-x caveat, and quoted the Fresnel limit with convergence behaviour when asked.