Skip to content
Vamshi Jandhyala

Books · The Fiddler: Solutions

Chapter 1

How Far Can You Roll?

↓ Download PDF handout

Frederica Fiddleria attaches a light to a point on the circumference of a circular wheel with a radius of one metre. She rolls the wheel for one revolution along the ground, and the light traces a path.

What is the length of that path?

The Fiddler, Zach Wissner-Gross, August 21, 2026(original post)

The official solution appears in the post of August 28, 2026, which had not been published when this chapter was written. The answers here are my own.

Solution

A rolling wheel does not slip, and that one fact fixes the speed of every point on it.

The point in contact with the ground is momentarily stationary. Nothing else in the picture is, so at each instant the whole wheel is turning about that contact point, exactly as if it were hinged there. Every point of the wheel is therefore moving in a circle about the contact point, and its speed is the angular rate times its distance from that point.

Measure time by the angle tt that the wheel has turned through, so the angular rate is 11 and one revolution is tt from 00 to 2π2\pi. Then

the speed of any point of the wheel is its distance from the point of contact,

and the length of the path it traces is L  =  02π(distance to the contact point)  dt.L \;=\; \int_0^{2\pi} (\text{distance to the contact point}) \; \mathrm{d}t . This is worth stating on its own because it does the extra credit as well. A question about motion has become a question about a distance inside a circle.

Now put the light on the rim. The contact point is on the rim too, and the angle between them measured at the centre is exactly tt, the angle turned through. Two points on a unit circle separated by a central angle tt are one chord apart, and that chord is 2sin(t/2)2\sin(t/2). So the light’s speed is 2sin(t/2)2\sin(t/2): zero at the start, when the light is on the ground, and 22 at the top, twice the speed of the centre. Hence L  =  02π2sint2dt  =  [4cost2]02π  =  4+4,L \;=\; \int_0^{2\pi} 2\sin\tfrac{t}{2} \, \mathrm{d}t \;=\; \Bigl[-4\cos\tfrac{t}{2}\Bigr]_0^{2\pi} \;=\; 4 + 4 ,  L  =  8 metres. \boxed{\ L \;=\; 8 \text{ metres}. \ }

The curve is a cycloid and the result is the classical one, that an arch of a cycloid is eight times the radius, which was known before calculus was. Two things are worth a moment. The answer is a whole number, and π\pi has disappeared from a question about a circle. And the wheel advances 2π2\pi along the ground while the light travels 88, so a light on the rim covers about 2727 per cent further than the wheel it is fixed to.

One revolution, and the path traced by a point at distance dd from the centre. The rim point traces a cycloid with a cusp at the ground, where it is momentarily at rest. Points inside the wheel trace curtate cycloids, which never stop and never touch the ground. The dashed line is the distance from the point to the contact point, which is its speed.

The computation

The check should roll the wheel rather than evaluate the integral. Trace the point through one revolution and measure the resulting polyline.

import numpy as np
from math import pi

t = np.linspace(0.0, 2*pi, 4_000_001)
x = t - np.sin(t)                      # rim point, wheel of radius 1
y = 1.0 - np.cos(t)
print(f"{np.hypot(np.diff(x), np.diff(y)).sum():.8f}")
# 8.00000000

Four million segments give 8.000000008.00000000, in error by 2×10132 \times 10^{-13}.

Extra Credit

Instead of placing the light on the circumference, Frederica picks a random point inside the circle, with any two regions of the same area equally likely to contain it. On average, what can she expect the length of the path to be?

One path at a time

Take a point at distance dd from the centre, with 0d10 \le d \le 1. When the wheel has turned through tt, the angle at the centre between our point and the contact point is tt, and the two lie at distances dd and 11 from the centre. The law of cosines gives the distance between them, which by the observation above is the speed: speed  =  1+d22dcost.\text{speed} \;=\; \sqrt{1 + d^2 - 2d\cos t} . At d=1d = 1 this is 22cost=2sin(t/2)\sqrt{2 - 2\cos t} = 2\sin(t/2), which is the rim case again. So the path length for a point at radius dd is L(d)  =  02π1+d22dcost  dt,L(d) \;=\; \int_0^{2\pi} \sqrt{1 + d^2 - 2d\cos t}\; \mathrm{d}t , and this has no elementary form. Substituting cost=12sin2(t/2)\cos t = 1 - 2\sin^2(t/2) turns it into a complete elliptic integral of the second kind, L(d)  =  4(1+d)E(k),k  =  2d1+d,L(d) \;=\; 4\,(1+d)\, E(k), \qquad k \;=\; \frac{2\sqrt{d}}{1+d} , which behaves correctly at both ends: L(1)=8E(1)=8L(1) = 8E(1) = 8, and L(0)=4E(0)=2πL(0) = 4E(0) = 2\pi, the centre running in a straight line one circumference long. Individually, then, these path lengths are not nice numbers, and there is no reason yet to expect their average to be one.

All the paths at once

The move is to stop averaging elliptic integrals and average distances instead.

A uniform point in the disc has radius density 2d2d on [0,1][0,1], so writing r(d,t)r(d,t) for the distance from the point at polar coordinates (d,t)(d,t) to the contact point, E[L]  =  012dL(d)dd  =  01 ⁣ ⁣02π2dr(d,t)dtdd.\mathbb{E}[L] \;=\; \int_0^1 2d \, L(d) \, \mathrm{d}d \;=\; \int_0^1 \!\! \int_0^{2\pi} 2d \, r(d,t) \, \mathrm{d}t \, \mathrm{d}d . In polar coordinates the element of area is dA=ddtdd\mathrm{d}A = d \, \mathrm{d}t \, \mathrm{d}d, so the right-hand side is an area integral over the disc: E[L]  =  2discrdA.\mathbb{E}[L] \;=\; 2 \iint_{\text{disc}} r \, \mathrm{d}A . That step is the whole extra credit. The angle tt that describes the rolling is the same angle that sweeps out the disc, so an average over points of an integral over time collapses into one integral over the disc. What is left is the integral of distance from a fixed point of the circumference, since that is where the contact point sits.

In the right coordinates it is elementary. Put the origin at the rim point. The unit disc is then r2cosφr \le 2\cos\varphi for π/2φπ/2-\pi/2 \le \varphi \le \pi/2, because the chord from a point of a unit circle at angle φ\varphi to the diameter has that length. So discrdA=π/2π/2 ⁣ ⁣02cosφr2drdφ=π/2π/28cos3φ3dφ=8343=329,\begin{align*} \iint_{\text{disc}} r \, \mathrm{d}A &= \int_{-\pi/2}^{\pi/2} \!\! \int_0^{2\cos\varphi} r^2 \, \mathrm{d}r \, \mathrm{d}\varphi = \int_{-\pi/2}^{\pi/2} \frac{8\cos^3\varphi}{3} \, \mathrm{d}\varphi \\ &= \frac{8}{3}\cdot\frac{4}{3} = \frac{32}{9}, \end{align*} using π/2π/2cos3φdφ=4/3\int_{-\pi/2}^{\pi/2}\cos^3\varphi \, \mathrm{d}\varphi = 4/3. Therefore  E[L]  =  649  =  7.1111 metres. \boxed{\ \mathbb{E}[L] \;=\; \frac{64}{9} \;=\; 7.1111\ldots \text{ metres}. \ }

Every one of these path lengths is an elliptic integral, and none is rational except at the two ends, yet the average is a fraction with a 99 in it. The π\pi in the area element cancels against the π\pi hiding in the mean distance from a rim point, which is 32/(9π)32/(9\pi).

The value sits where it should, between 2π=6.2832\pi = 6.283 for the centre and 88 for the rim, and nearer the top of that range because weighting by area favours points far from the centre.

The computation

Again, roll the wheel. Draw a uniform point in the disc, trace it through one revolution, and measure the polyline, with no formula from above reused.

import numpy as np
from math import pi

rng = np.random.default_rng(7)
M, NT = 400_000, 3000
t = np.linspace(0.0, 2*pi, NT + 1)
d = np.sqrt(rng.random(M))              # uniform in the disc: radius density 2d

lens = np.empty(M)
i = 0
for chunk in np.array_split(d, 80):
    x = t[None, :] - chunk[:, None]*np.sin(t)[None, :]      # roll it
    y = 1.0 - chunk[:, None]*np.cos(t)[None, :]
    lens[i:i+len(chunk)] = np.hypot(np.diff(x, axis=1),
                                    np.diff(y, axis=1)).sum(axis=1)
    i += len(chunk)

print(f"{lens.mean():.6f} +- {lens.std()/np.sqrt(M):.6f}")
# 7.111089 +- 0.000779        64/9 = 7.111111

Four hundred thousand traced paths give 7.111089±0.0007797.111089 \pm 0.000779, three hundredths of a standard error from 64/964/9.

Two further checks, each independent of the derivation. Gauss-Legendre quadrature of L(d)L(d) agrees with the elliptic form 4(1+d)E(k)4(1+d)E(k) to 1.3×10131.3 \times 10^{-13} for dd across the whole range. And by the geometric route rather than the kinematic one, sampling points of the disc directly gives a mean distance to a rim point of 1.13211.1321 against 32/(9π)=1.1317732/(9\pi) = 1.13177, which multiplied by 2π2\pi returns 64/964/9 once more.