← All 70 questions
Question 42·Emmanuel College·year not stated·Fast if the structure is seen in the first minute, a ten-minute arithmetic swamp if it is not — the question discriminates exactly there
Higher derivatives via the Leibniz rule, cross-checked by Maclaurin coefficient uniqueness
6–9 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 100th derivative of the function f(x)=x2e2x evaluated at x = 0.
Answer: f(100)(0)=(1002)⋅2⋅298=4950⋅299≈3.1374×1033

The whiteboard, beat by beat

1 · Orient · beat 1 of 9

Name the object, note where we evaluate, choose the weapon

f(x)=x2e2x,goal: evaluate f(100) at x=0.
Maclaurin disguise: f(k)(0)=k![xk]f(x)
What you say, out loud

Let me say what I am looking at before I touch it. One product, a polynomial times an exponential, to be differentiated a hundred times and then read off at a point. And notice which point: the origin. A derivative value at the origin is not really a differentiation problem at all, because f to the k at zero is k factorial times the coefficient of x to the k in the Maclaurin series. I write that identity on the board before I choose a method, because it is the reason a hundred differentiations collapse into one coefficient.

Second decision, before any computation: grinding the product rule a hundred times is the trap this question is built to spring. Two structural weapons kill it, the higher-order Leibniz rule, which is the binomial theorem for derivatives, and the Maclaurin series, where the whole problem shrinks to reading off one coefficient. I will do Leibniz first and then pay for the same number a second time with the series.

Why this beat exists: The question's own key-points page is listening for exactly this fork: blind mechanical differentiation versus the Leibniz formula or Maclaurin coefficient uniqueness. Naming both weapons in the first minute is the whole opening move.
2 · Set up · beat 2 of 9

The Leibniz formula, aimed deliberately

(uv)(n)=∑k=0n(nk)u(k)v(n−k)
Aim: u=x2 ends, v=e2x rescales.
What you say, out loud

Leibniz's formula: the n-th derivative of a product is a binomial-weighted sum, the k-th derivative of one factor paired with the n minus k-th of the other, with the binomial coefficient in front. It is exactly the shape of the binomial theorem, except the exponents have become derivatives.

The assignment of factors is a real decision, not a formality. I put u equal to x squared, because its derivative column terminates; v is e to the 2x, whose m-th derivative is just 2 to the m times itself. Aim the differentiating at the factor that is allowed to die.

Why this beat exists: State the theorem once, then justify the choice of u and v. The interviewer is checking that the assignment was a thought, not a coin toss.
3 · Draw · beat 3 of 9

The collapse: 101 terms down to three, then three down to one

u(k)={x2,k=0,2x,k=1,2,k=2,0,k≥3,
101-term sum → 3 terms by termination
x=0 kills x-factor terms
101 Leibniz termsk = 0, 1, ..., 10098 diek=0: u=x^2; term = x^2*2^100*e^(2x)killed later by the factor x^2 at x = 0k=1: u^(1)=2x; term = 100*2x*2^99*e^(2x)killed later by the factor x at x = 0k=2: u^(2)=2; term = 4950*2*2^98*e^(2x)the sole survivor — this term is the answerk >= 3: u^(k) = 0 — no term survivesstage 1, Leibniz termination: 101 -> 3 termsstage 2, substitute x = 0: 3 -> 1 term
The picture proves the termination, not merely the shrinkage: the u-column reaches the zero function at the third differentiation, so exactly three of the 101 Leibniz terms are non-zero — and two of those are still multiples of x, so evaluating at the origin leaves precisely one survivor.
What you say, out loud

Here is why the hundred-term mess is a three-term affair. Differentiate x squared once: two x. Twice: two. Three times: zero, and it stays zero forever. So the moment k reaches three, that Leibniz summand is identically dead; the sum terminates, it does not merely shrink.

I draw the collapse because it is the load-bearing step, and there is a second killer to notice: at x equals nought, any surviving term that still carries a factor of x also dies. Two independent reasons for terms to vanish, and only the k equals two term survives both.

Why this beat exists: Say what the drawing proves — termination of the sum — otherwise the figure is decoration.
4 · Compute · beat 4 of 9

Three terms, then the substitution does the rest

f(100)(x)=(1000)x22100e2x+(1001)2x⋅299e2x+(1002)⋅2⋅298e2x
At x=0: x-factors die; only k=2 survives
 f(100)(0)=(1002)⋅2⋅298=4950⋅299=9900⋅298 
What you say, out loud

Writing the three survivors out. k equals nought: one, times x squared, times 2 to the 100 e to the 2x. k equals one: one hundred, times two x, times 2 to the 99 e to the 2x. k equals two: one hundred choose two, that is one hundred times ninety-nine over two, four thousand nine hundred and fifty, times the second derivative of x squared, which is two, times 2 to the 98.

Set x equal to nought: the first term has x squared, the second has x, both go to zero. The whole answer is the survivor: 4950, times 2, times 2 to the 98; and 2 times 2 to the 98 is 2 to the 99. So my candidate is 4950 times 2 to the 99, equivalently 9900 times 2 to the 98.

One line of chain-of-thought arithmetic with a binomial coefficient in it. I do not trust it yet. Two checks, please.

Why this beat exists: Do the binomial coefficient out loud (100 times 99 over 2 is 4950); then refuse the answer. The refusal is the performance.
5 · Check numerically · beat 5 of 9

A hand-iterated recurrence and a digit-count sanity check

n2345678f(n)(0)2124816048013443584n(n−1)2n−22124816048013443584
Run to n=100: 4950⋅299 exactly
log10⁡: 3.6946+99×0.30103=33.4966
34 digits: ≈3.1374×1033
What you say, out loud

First check: an independent recurrence. If the n-th derivative is e to the 2x times a quadratic P, then the next quadratic is 2P plus P prime. Iterating that by hand gives two, twelve, forty-eight, one hundred sixty, four hundred eighty, thirteen forty-four, thirty-five eighty-four at n equals two through eight, and the closed form n times n minus one times 2 to the n minus 2 matches every entry. Running the same machine up to n equals one hundred reproduces 4950 times 2 to the 99 exactly.

Second check: magnitude. The log of 4950 is 3.6946 and ninety-nine logs of two are 29.802, so the answer must be a thirty-four-digit number around 3.1374 times 10 to the 33. A dropped factorial or a lost power of two would show up as a wrong number of digits, and this rules that whole class of error out.

Why this beat exists: Numbers on this board were computed, not remembered; the digit count is the cheap insurance that catches most slips.
6 · Justify · beat 6 of 9

The series route: one coefficient does the whole job

x2e2x=x2∑j=0∞(2x)jj!=∑j=0∞2jj!xj+2
Only j=98 lands on x100: [x100]f=29898!
Convergent series: coefficients unique
f(100)(0)=100!⋅29898!=100⋅99⋅298=9900⋅298— same as Leibniz ✓
e^(2x) = sum_j (2x)^j / j!12x(2x)^2/2!...(2x)^98/98!(2x)^99/99!x^2 e^(2x) = sum_j 2^j x^(j+2)/j! — slides 2 slotsx^22x^3...x^100 slotonly the amber box lands on x^100: coeff 2^98/98!so f^(100)(0) = 100!*2^98/98! = 9900*2^98a hundred differentiations reduced to reading one coefficient
The picture proves the bookkeeping: multiplying by x squared shifts the j-th monomial exactly two slots to the right, so one and only one coefficient of the exponential's series — the j = 98 term, 2^98/98! — controls f^(100)(0).
What you say, out loud

Second route, the series. The exponential has a Maclaurin series that exists independently of this question: e to the 2x is the sum over j of 2x to the j over j factorial. Multiply by x squared, and every monomial slides exactly two slots to the right.

So the coefficient of x to the 100 can come from one place only, j equals ninety-eight, and it is 2 to the 98 over 98 factorial. Now the theorem, not the definition: a convergent power series can be differentiated term by term, so the derivative at the origin is n factorial times its own coefficient. That gives one hundred times ninety-nine times 2 to the 98, which is 9900 times 2 to the 98.

Same number as Leibniz, arrived at by an entirely different mechanism. A hundred differentiations reduced to reading out one coefficient, and the coefficient is unique, so there is nothing to argue about.

Why this beat exists: If the interviewer presses 'isn't the series circular?', the answer is here: the series was built from the ratio test, and term-by-term differentiation is a theorem — say it before being asked.
7 · Cross-check · beat 7 of 9

A closed form for every order, and what its graph says

Pn+1=2Pn+Pn′ ⟹ f(n)(x)=e2x(2nx2+n2nx+n(n−1)2n−2)(induction)
For n=100: 2100e2x(x2+100x+2475)=2100e2x(x+45)(x+55), since 45+55=100 and 45⋅55=2475.
f(100)(0)=2100⋅2475=4950⋅299✓
g(x) = x^2 + 100x + 2475 = (x+45)(x+55)f^(100)(x) = 2^100 * e^(2x) * g(x)-55-45g(0) = 2475x = 0both zeros negative, so f^(100)(0) > 0
The graph proves the factorisation independently: the 100th derivative of f is 2^100 e^(2x) (x+45)(x+55), a curve with exactly two zeros, both negative, so near the origin the derivative never changes sign and its value at x = 0 is 2^100 * 2475 — the Leibniz answer.
What you say, out loud

A third route, and it prices the entire family at once. I claim the n-th derivative is e to the 2x times the quadratic two to the n x squared, plus n two to the n x, plus n n minus one 2 to the n minus 2. Differentiate once and the rule for the quadratic is P next equals 2P plus P prime; each coefficient moves to exactly where the claimed formula says it should. That is a proof by induction for every n simultaneously.

Now look at the graph of the answer for n equals one hundred. Strip off the positive factor 2 to the 100 e to the 2x and what remains is x squared plus one hundred x plus two thousand four hundred and seventy-five, which factors as x plus forty-five times x plus fifty-five. Two zeros, both negative, so near the origin the 100th derivative never changes sign, and at x equals nought it reads off the constant term: 2 to the 100 times 2475, which is 4950 times 2 to the 99 yet again.

Three mechanisms: Leibniz, series coefficients, induction plus factorisation, one number.

Why this beat exists: The factorisation is the payoff of the closed form; point at the two zeros on the graph when you say 'both negative'.
8 · Conclude and generalise · beat 8 of 9

Answer, general law, and where the trick stops working

 f(100)(0)=4950⋅299≈3.1374×1033 
general law:(xmeax)(n)|x=0=n!(n−m)!an−m(n≥m),=0(n<m)
Failure case: x2sin⁡x
2100−k becomes sin(100−k)⁡(0)∈{0,±1}: all vanish
f(100)(0)=0
What you say, out loud

So the answer is 4950 times 2 to the 99, and I hand that over in factored form.

The square and the hundred were never the point: for x to the m times e to the a x, the n-th derivative at the origin is n factorial over n minus m factorial, times a to the n minus m, as soon as n is at least m, and exactly zero below it, because then the polynomial column dies before it can reach x to the n.

And the boundary that keeps me honest: swap the exponential for sine. The Leibniz sum still collapses to three terms, because x squared still dies after three differentiations, but the numbers 2 to the 100 minus k get replaced by derivatives of sine at the origin, which cycle through nought, plus one, minus one on a period of four, and here every one of the three summands evaluates to zero. The 100th derivative of x squared sine x at the origin is nought. Same machinery, opposite outcome, the exponential's non-vanishing derivatives at zero were doing real work, and I would rather know that than be surprised by it.

Why this beat exists: Generalise, then locate the failure case; x^2 sin x collapsing to zero is the exact boundary of why this method wins here.
9 · Only if invited · beat 9 of 9

The decimal expansion, and a machine that scales

4950⋅299=3137435235564867768704340433305600(34 digits, verified)
f(1000)(0)=1000⋅999⋅2998
What you say, out loud

If you would like the integer itself: three-one-three-seven, and so on, thirty-four digits, 3137435235564867768704340433305600. I offer the decimal as trivia; the factored form is the mathematics, and no examiner should want to read that number off a whiteboard.

What the machine is really worth shows up when you scale it: the thousandth derivative at the origin would be one thousand times nine hundred and ninety-nine times 2 to the 998, by the identical three-term collapse, the only thing that grows is the size of the binomial coefficient and of the power of two.

Why this beat exists: Label the expansion as beyond the question; the scaling remark, not the digits, is the depth signal.

Where the interviewer pushes next

“Evaluate the same 100th derivative at x = 1 instead of 0.”
What you say, out loud

At nought two of the three terms died for free; at one they do not, and I need the whole three-term polynomial, which is exactly why the printed point being nought was the kind part of this question.

Sum the three pieces at x equals 1: 2 to the 100 plus one hundred times 2 to the 100 is 202 times 2 to the 99, and 202 plus 4950 is 5152. So the answer is 5152 times 2 to the 99 times e squared, roughly 2.413 times 10 to the 34; computed, not estimated.

f(100)(1)=e2(2100+100⋅2100+4950⋅299)=5152⋅299e2≈2.413×1034
“Isn't the Maclaurin route circular — aren't the coefficients defined by the very derivatives you are hunting?”
What you say, out loud

No, because the series enters here as an object built independently: the exponential series is defined by that formula and the ratio test shows it converges for every x, with no derivative of our f involved at all.

What links it to derivatives is a theorem, not a definition: a convergent power series can be differentiated term by term inside its disk of convergence, and its coefficients are then forced to be the derivatives over n factorial. Uniqueness of coefficients is what makes reading off the single x to the 100 slot a proof rather than a guess.

e2x=∑j(2x)jj! (ratio test: all x)
theorem: f(100)(0)=100![x100]f
“Same question with e^{x^2} in place of e^{2x}. Does Leibniz still finish the job?”
What you say, out loud

Leibniz still collapses to three terms, because it is x squared that dies, not the exponential, but now I need the 98th derivative of e to the x squared at the origin, whose pattern is far less friendly: it is zero on odd orders and the factorial of two k over k factorial on even ones.

The series route eats this for free: x squared times the series of e to the x squared has the x to the 100 slot fed only by x to the 98, which is the k equals 49 term, coefficient 1 over 49 factorial. So the answer is 100 factorial over 49 factorial, about 1.534 times 10 to the 95, a 96-digit integer. Same coefficient logic, even bigger dividend.

[x100]x2ex2=[x98]ex2=149!⟹f(100)(0)=100!49!≈1.534×1095
“What if neither factor ever dies — say e2xsin⁡x?”
What you say, out loud

Then Leibniz's sum keeps all one hundred and one terms and each contributes something of size one at the origin: a genuine computation, not a pleasant one. This is the case where the collapse trick has no purchase and you should say so.

The right weapon is complexification: sine x is the imaginary part of e to the ix, so e to the 2x sine x is the imaginary part of e to the 2 plus i times x, and a hundred differentiations just multiplies by 2 plus i to the 100. The answer is the imaginary part of 2 plus i to the 100, exactly 61132413077625071791758381011357784, a 35-digit integer, which is about 6.113 times 10 to the 34. The complex number 2 plus i to the 100 itself has size 5 to the 50 in modulus, roughly 8.88 times 10 to the 34.

(e2xsin⁡x)(100)|x=0=Im(2+i)100=61132413077625071791758381011357784

Traps on this question

  • Grinding the product rule ten times, spotting the pattern and extrapolating to 100 without a theorem. The Leibniz formula is that pattern with binomial coefficients and a proof — quote it instead of re-inventing it on the board.
  • Writing the Leibniz expansion as a bare sum of u^{(k)} v^{(n-k)} and dropping the binomial coefficients. The 4950 in the answer is exactly one hundred choose two; omit the coefficients and it is gone.
  • Off-by-one on the powers of 2: the surviving k = 2 term carries 2 times 2^{98} = 2^{99}, not 2^{100}; the m-th derivative of e^{2x} is 2^m e^{2x}, and the exponent must track the slot k = 0, 1, 2.
  • Confusing the Maclaurin coefficient with the derivative: 2^{98}/98! is f^{(100)}(0)/100!, not f^{(100)}(0). Forgetting to multiply back by 100! misses by that entire factorial.
  • Treating the hundred differentiations as an arithmetic chore: grinding the product rule until the board fills up, or stopping at the structural step and never producing the number. Credit that the point x = 0 is what kills two of the three Leibniz terms — at a general point all three survive, and the question would have been a different question.

What gets written on the assessor’s form

  • Declared a strategy (Leibniz formula versus blind iteration) before computing, and said out loud why evaluating at the origin turns a differentiation problem into a coefficient problem.
  • Assigned the differentiating role to x^2 deliberately, using the terminating derivative column to cut 101 terms to 3 before any arithmetic.
  • Evaluated at the origin with the two x-factors dying on the record, and did not accept the first answer: checked with a hand-iterated recurrence and a 34-digit magnitude count.
  • Reached the same constant by Maclaurin coefficient uniqueness and by an induction giving the closed form for every n — three independent routes agreeing exactly.
  • Generalised to x^m e^{ax} with the n >= m boundary, and identified x^2 sin x as the case where the same collapse yields 0 — knowing why the exponential mattered.