← All 70 questions
Question 31·Fitzwilliam College·year not stated·Standard first-round warm-up — the mechanics are easy, the discrimination is whether you keep the two limits near zero apart
Product rule with an indeterminate limit
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.
Sketch the graph of for y=xln⁡x x>0. Find the exact coordinates of its stationary point. What is the value of the gradient of the curve as x approaches 0 from the positive side?
Answer: Stationary point (a minimum) at (1e,−1e); the gradient ln⁡x+1 tends to −∞ as x→0+, even though the value xln⁡x itself tends to 0.

The whiteboard, beat by beat

1 · Orient · beat 1 of 9

Read off the three jobs and name the object

Tasks: sketch y=xln⁡x, stationary point, x→0+ gradient
y=xln⁡x=u⏟→0⋅v⏟→−∞as x→0+
What you say, out loud

Before I touch the pen, let me say what is on the screen. There are really three separate tasks: a sketch, an exact stationary point, and a gradient limit at the left end of the domain.

The object itself is a product: x multiplied by log x. The domain is strictly positive, because log x is not defined at or below nought.

The telling feature is the left end. As x tends to nought from above, the factor x goes to nought but the factor log x goes to minus infinity. So near the origin this is a product rule question wearing a limit question's clothes, and I have to be careful what I actually claim about that end.

Why this beat exists: Naming the three deliverables and the competing factors up front is what the interviewer is listening for; it frames the whole sketch.
2 · Set up · beat 2 of 9

Differentiate by the product rule and record the second derivative

y′=u′v+uv′=(1)⋅ln⁡x+x⋅1x=ln⁡x+1
y′′=1x>0 (x>0)⟹strictly convex
What you say, out loud

The derivative is a one-term product rule. Differentiate the front, which is one, times log x, plus the front x times the derivative of log x, which is one over x. The x and the one over x cancel, so the gradient is just log x plus one.

I would resist the temptation to write the derivative as log x on its own. That x times one over x term is the plus one, and it is exactly the term that decides where the stationary point sits.

One more thing I want on the board now: the second derivative is one over x, which is positive for every positive x. So the curve is strictly convex everywhere; it bends upward the whole way, which means it can have at most one stationary point, and if it has one it is a minimum.

Why this beat exists: State the convexity consequence immediately: it is the reason the single stationary point is the global minimum, not a coin flip.
3 · Draw · beat 3 of 9

Sketch from the features, not from a calculator

x>0, so xln⁡x=0⟺ln⁡x=0⟺x=1 — the only axis crossing.
Convex + one stationary point
⟹ dives, bottoms once, rises
limx→0+⁡y=0,origin: hole (x>0)
y = x ln xmin (1/e, -1/e)(1, 0)01open circle: value tends to 0 (proved in beats 6-7)dashed = vertical tangent, gradient tends to minus infinity
Convexity (y'' = 1/x > 0) plus a single root at x = 1 forces one well. The curve leaves the limiting point at the origin almost vertically, bottoms out, and rises through (1,0); the origin is a hole because x > 0.
What you say, out loud

I will draw from the features rather than plot dots. Where does it cross the x-axis? The domain is positive so x is never nought, and the product is nought only when log x is nought, that is at x equals one. That is the single crossing.

Convex, crosses once, and for x between nought and one the log is negative so the curve sits below the axis. So it must come down from somewhere, dip, and climb back through one and keep going.

The only slightly delicate end is the left one, as x tends to nought. For the sketch I will mark the origin with a small open circle: the curve approaches the point nought comma nought, but nought is not in the domain so it is a hole, not a plotted point. I owe you a proof that this limit is actually nought rather than minus infinity, and I will give it in a moment.

Why this beat exists: The open circle at the origin is a claim, not a decoration; flag it as something you still have to justify so the interviewer knows you are not hand-waving.
4 · Compute · beat 4 of 9

Solve the stationary point exactly, then classify it

y′=0⟺ln⁡x+1=0⟺ln⁡x=−1⟺x=e−1=1e≈0.367879
y(1e)=1eln⁡(1e)=1e⋅(−1)=−1e≈−0.367879
y′′(1e)=e>0⟹a (global) minimum at (1e,−1e)
What you say, out loud

Now the exact stationary point. Set the gradient to zero: log x plus one is zero, so log x is minus one, which exponentiates to x equals one over e. That is about 0.368.

The y-coordinate: I substitute back into the original curve, not into the derivative. One over e times log of one over e is one over e times minus one, which is minus one over e, about minus 0.368.

And I classify it, because the question said stationary point and the interviewer wants to know which kind. The second derivative there is e, positive, so it is a minimum, and since the curve is convex everywhere this is the only one, hence the global minimum. So the exact coordinates are one over e comma minus one over e.

Why this beat exists: Note the coincidence: the minimum value equals minus the minimum x-coordinate, both of size one over e. That self-reciprocity is worth pointing out and checking numerically next.
5 · Check numerically · beat 5 of 9

Two tables: confirm the minimum, and keep the two limits apart

x0.300.350.3678790.400.45xln⁡x−0.361192−0.367438−0.367879−0.366516−0.359328
x0.10.010.0010.000001xln⁡x−0.230259−0.046052−0.006908−0.000014ln⁡x+1−1.3026−3.6052−5.9078−12.8155
Table 1: x=1/e most negative ⇒ min ✓
Second: xln⁡x→0 while ln⁡x+1→−∞ — two limits
What you say, out loud

I do not want to trust the algebra yet, so let me look at the numbers. Around one over e the curve reads minus 0.3612 at 0.30, minus 0.3674 at 0.35, minus 0.3679 at 0.368, then back up to minus 0.3665 and minus 0.3593. The middle is the most negative, so yes, it is a minimum, not a maximum.

Now the delicate part, the left end. I have two quantities to keep straight: the height of the curve, x log x, and the gradient, log x plus one. Look at how each behaves as x shrinks from 0.1 down to a millionth.

The height row goes minus 0.23, then minus 0.046, then minus 0.007, then minus about 0.000014; it is marching to nought. The gradient row goes minus 1.3, minus 3.6, minus 5.9, minus 12.8; it is marching to minus infinity. So the picture and the sketch agree: the curve lands at nought but does so with a slope that runs away. I will prove both cleanly next.

Why this beat exists: Reading the value limit and the gradient limit off the same shrinking list of x is the crux of the whole question; do not let them blur.
6 · Justify · beat 6 of 9

Kill the 0 times minus-infinity form, and answer the gradient part

0⋅(−∞): indeterminate, use L'Hopital:
limx→0+⁡xln⁡x=limx→0+⁡ln⁡x1/x (−∞+∞)=LHlimx→0+⁡1/x−1/x2=limx→0+⁡(−x)=0.
gradient: limx→0+⁡(ln⁡x+1)=−∞
⟹vertical tangent at the hole
What you say, out loud

The value limit at the origin is genuinely indeterminate: nought times minus infinity has no answer until I force it into a form I can read. So I write x log x as log x divided by one over x, which is the ratio of minus infinity over plus infinity, and now L'Hopital applies.

Differentiate top and bottom: the top gives one over x, the bottom gives minus one over x squared. Their ratio is one over x times minus x squared, which is just minus x, and that tends to nought. So the height really does tend to nought, which is exactly the open circle on my sketch.

The gradient is easier and must not be confused with that. The gradient is log x plus one, and there is no product there: log x goes straight to minus infinity, so the gradient goes to minus infinity. That is the answer to the third part of the question, and it means the curve reaches the limiting origin with a vertical tangent, plunging down rather than arriving flat.

Why this beat exists: Answer part three explicitly and in words: the gradient is minus infinity, and interpret it as a vertical tangent. This is where most candidates stop too early.
7 · Cross-check · beat 7 of 9

A second, independent route to the value limit — no L'Hopital

For 0<x<1 use x|ln⁡x|≤1, so −x≤xln⁡x≤0:
limx→0+⁡(−x)=0=limx→0+⁡0⟹limx→0+⁡xln⁡x=0  (squeeze).
Sanity on the bound: at x=0.01, x|ln⁡x|=0.1⋅4.605=0.4605≤1. ✓
Two routes agree: value limit =0
y = 0y = -sqrt xy = x ln xboth bounds go to 0 as x goes to 0, forcing x ln x to 0
On 0 < x < 1 the curve is trapped: 0 is above it and minus root x is below it (since root x times the size of log x stays at most 1). Both bounds run to 0 at the origin, so the squeeze gives lim x ln x = 0 with no L'Hopital — an independent confirmation of the same number.
What you say, out loud

Let me get that value limit a second way, because I never like resting one important number on one theorem. And this also re-checks L'Hopital, whose hypotheses I should confirm I actually earned.

For x between nought and one the log is negative, so x log x is at most nought, that is the flat upper bound. For the lower bound I claim it is at least minus root x. That inequality rearranges to root x times the size of log x being at most one, which is just the statement that a logarithm grows slower than a reciprocal power; numerically at x equals one hundredth it is 0.1 times 4.605, about 0.46, comfortably under one.

So x log x is squeezed between minus root x and nought, and both of those tend to nought as x tends to nought. The squeeze gives the limit nought with no differentiation at all. It matches the L'Hopital answer and the numerical row from beat five, so I am now confident the open circle is exactly on nought.

Why this beat exists: The whole point of a cross-check is a second, structurally different argument landing on the same constant. Name that it agrees with the earlier two.
8 · Conclude and generalise · beat 8 of 9

State all three answers, then widen and find the boundary

 min⁡ at (1e,−1e)≈(0.3679,−0.3679),limx→0+⁡gradient=limx→0+⁡(ln⁡x+1)=−∞ 
fp(x)=xpln⁡x (p>0):x→0+⇒fp→0,min⁡ at x=e−1/p, value=−1pe1/p
p=1 returns (e−1,−e−1)
=(1e,−1e) ✓
Boundary p=0: plain ln⁡x→−∞
What you say, out loud

Putting the three answers together: the sketch is a convex curve leaving the origin vertically, the exact stationary point is a minimum at one over e comma minus one over e, roughly 0.368 comma minus 0.368, and the gradient as x comes in to nought from the positive side is minus infinity.

The log was not special. Replace x log x by x to the p times log x for any positive p: the same squeeze idea sends it to nought at the origin, and differentiating gives the minimum at x equals e to the minus one over p, with value minus one over p e to the one over p.

Set p equals one and I recover e to the minus one and minus e to the minus one, my answer, which is a nice consistency check on the generalisation. And the boundary is p equals nought: there the factor x to the p is just one, so I am left with log x going to minus infinity. So the limit is nought exactly for positive p, and p equals nought is where that stops being true.

Why this beat exists: Generalise, then locate the failure case; here p = 0 is the threshold, and recovering the original answer at p = 1 double-checks both.
9 · Only if invited · beat 9 of 9

Beyond the question: the signed area and the entropy kernel

∫01xln⁡xdx=[x22ln⁡x]01−∫01x2dx=0−14=−14=−0.25
ymin⁡=−xmin⁡: on y=−x, as ln⁡xmin⁡=−1
xln⁡x: Gibbs/entropy kernel ∑pln⁡p; block of ∑pln⁡(p/q)
What you say, out loud

If you want me to push further: the definite integral from nought to one of x log x is worth knowing. Integration by parts gives x squared over two times log x, whose boundary part vanishes at both ends: at one the log is nought, and at nought the x squared log x again goes to nought by the very limit I just proved, and the remaining integral is minus x squared over four, so the whole thing is minus a quarter, which numerically is minus 0.25.

Two smaller observations. The minimum value is minus one over e and the minimum is at x equals one over e, so the bottom point lies exactly on the line y equals minus x; that is a shadow of log x being minus one at the minimum. And x log x, with a minus sign, is the entropy kernel from information theory, which is why it keeps turning up.

I would offer these as bonuses, not as the answer: the question only asked for the sketch, the stationary point, and the gradient limit, and those three I have settled.

Why this beat exists: Going beyond the question is fine when labelled as beyond it; volunteering it unprompted and unlabeled reads as showing off.

Where the interviewer pushes next

“You marked a hole at the origin — is the origin actually on the curve, and is there a vertical tangent there?”
What you say, out loud

No, the origin is not on the curve: the domain is x strictly greater than nought, so x equals nought is excluded and the point is a hole, which is why I drew an open circle.

But it is a limit point: as x tends to nought the curve tends to the point nought comma nought, and the gradient log x plus one tends to minus infinity. A curve heading to a limiting endpoint with an unbounded slope has a vertical tangent in the limiting sense. If I extended the function by setting f of nought equal to nought, that extension would be continuous but would have no finite derivative at nought.

limx→0+⁡(x,y)=(0,0),limx→0+⁡y′=−∞⇒vertical tangent at the hole
“How do you know that stationary point is the global minimum and not just a local one?”
What you say, out loud

Two facts lock it. First the second derivative is one over x, positive at every positive x, so the curve is strictly convex everywhere; a strictly convex function has at most one stationary point, and any stationary point is a global minimum.

Second, the gradient log x plus one is strictly increasing in x and changes sign exactly once, from negative when x is below one over e to positive above it, so the curve descends then ascends through that one bottom. Numerically the table from beat five backs this up: minus 0.367879 is the smallest value in the neighbourhood.

y′′=1x>0 ∀x>0,y′=ln⁡x+1 increasing
“What is the range of the function, and does it cross the x-axis anywhere else?”
What you say, out loud

The x-axis crossing is only at one. The product x log x is nought when x is nought, which is excluded, or when log x is nought, which is x equals one. On zero to one the log is negative, above one it is positive, so one is the unique root.

For the range: the minimum value is minus one over e and the curve is continuous and rises without bound as x goes to infinity, and it also heads back up toward nought as x goes to nought from above. So the range is minus one over e to infinity, closed at the bottom because the minimum is attained.

range=[−1e,∞),root x=1
y<0 (0<x<1),y>0 (x>1)
“Could you have read the gradient limit as nought, since the curve flattens near the origin on my sketch?”
What you say, out loud

That is precisely the trap on this question, and no, the two limits are different objects. The curve flattening toward a height of nought is the value limit, x log x going to nought; that required L'Hopital or the squeeze because it was the indeterminate nought times minus infinity.

The gradient is a separate function, log x plus one, and it has no product to resolve: it runs straight to minus infinity. So near the origin the height shrinks to nought while the slope blows up: the curve comes into the hole almost vertically, it does not approach it flat. Getting those two confused is how you lose the third part of the question.

xln⁡x→0 (value), ln⁡x+1→−∞ (gradient)

Traps on this question

  • Differentiating x ln x as though it were ln x alone. Forgetting the x · (1/x) term drops the plus one, which moves the stationary point from x = 1/e to x = 1.
  • Reporting the root x = 1 (where y = 0) as the stationary point. A stationary point is where the gradient y' = ln x + 1 vanishes, namely x = 1/e; the root and the minimum are different x-values.
  • Giving the answer as a single number. The question asks for exact coordinates of the stationary point, so it is the ordered pair (1/e, -1/e), and you must also state it is a minimum.
  • Confusing the two limits near 0: the value x ln x tends to 0, but the gradient ln x + 1 tends to -infinity. Saying either 'both go to 0' or 'the function goes to -infinity' loses marks.
  • Declaring lim(x to 0+) x ln x = -infinity because ln x does. The product is the indeterminate 0 · (-infinity) form: it must be resolved with L'Hopital or a squeeze, never guessed, and it resolves to 0.

What gets written on the assessor’s form

  • Applied the product rule correctly, keeping the x · (1/x) term, so y' = ln x + 1.
  • Gave the exact stationary point as the ordered pair (1/e, -1/e) and classified it as a minimum via y'' = 1/x > 0.
  • Resolved the 0 · (-infinity) form explicitly (L'Hopital or squeeze) and stated the value limit is 0, justifying the open circle in the sketch.
  • Kept the value limit (0) and the gradient limit (-infinity) distinct and read the vertical tangent off the sketch.
  • Checked the minimum and both limits numerically before concluding, and generalised to x^p ln x with p = 0 as the boundary.