Question: This time, we’ll be looking at a model for a cyclist’s speed $v$ as a function of their pedaling power $P$, their mass $m$, and the ground’s angle of inclination $\theta$:

\[v=\frac{P}{m\sin{\theta}+10}\]

In cycling, roads are marked with a gradient $g$, which is a hill’s slope, typically expressed as a percentage. Thus, an incredibly steep 45-degree incline has a gradient of 1, or “100 percent.”

Consider the following two riders:

  • A “climber,” who has a power of 300 and a mass of 60
  • A “sprinter,” who has a power of 325 and a mass of 80

At what gradient will the climber and sprinter cycle at the same speed? (You can give your answer as a value between 0 and 1 or as a percentage.)

Extra credit: The climber and the sprinter are racing up a perfectly sinusoidal hill. They go from the base, where the gradient is 0 percent, to the peak, where the gradient is again 0 percent. For them to reach the top at the same time, what should the maximum gradient of the hill be? (You can give your answer as a value between 0 and 1 or as a percentage.)

Importantly, note that the formula for $v$ given above is for a rider’s speed along the ground. Thus, when the ground is inclined, the same speed will cover less horizontal distance per unit time.

(Fiddler on the Proof)

Solution

Due to the relationship between the angle $\theta$ of the hill, the mass $m$, and power $P$ of the rider, small angles favor the sprinter while larger angles favor the climber. We’d expect the sprinter to win a very shallow rise while the climber should win a steep rise.

The hill is a sinusoid that starts out flat at the origin and goes up to the flat peak. We are able to control the maximum gradient of the hill, which means we can stretch it horizontally. Putting these factors together, the hill has an equation proportional to

\[y(x) = 1 - \cos(G x).\]

You can experiment with the effect of $G$ on the gradient of the hill.

1/4 1

At some intermediate value of $G$, we expect the two riders to end up in a tie.

The amount of time it takes a rider to make it up the hill is the integral of $dt$ along the hill

\[T = \int_\text{hill} \text{d}t.\]

The small increment $\text{d}t$ is the time it takes to traverse the small increment of distance $\text{d}s,$ i.e.

\[\text{d}t = \frac{\text{d}s}{v}.\]

Furthermore, the increment $\text{d}s^2 = \text{d}x^2 + \text{d}y^2$ or

\[\begin{align} \text{d}s &= \sqrt{1 + \left(\text{d}y/\text{d}x\right)^2} \text{d}x \\ &= \sqrt{1+G^2\sin^2 Gx}\text{d}x. \end{align}\]

We are given $v$ as a function of $\theta$ but we need it in terms of $x.$ Happily, at any point along the hill, the local gradient $\text{d}y/\text{d}x$ is equal to $\tan\theta$ and, so

\[\begin{align} G \sin Gx &= \tan\theta \\ &= \frac{\sin\theta}{\sqrt{1-\sin^2\theta}} \end{align}\]

Solving for $\sin\theta$, we get

\[\sin\theta = \frac{G\sin Gx}{\sqrt{1 + G^2\sin^2 Gx}}.\]

Putting these pieces together gives us

\[\begin{align} T &= \int_0^{\pi/G}\text{d}x\, \frac{\sqrt{1 + G^2\sin^2 Gx}}{v(\theta(x))} \\ &= \int_0^{\pi/G}\text{d}x\, \frac{m\sin\theta + 10}{P} \sqrt{1 + G^2\sin^2 Gx} \\ &= \frac1P \int_0^{\pi/G} \text{d}x\, \left(mG\sin Gx + 10\sqrt{1+G^2\sin^2 Gx}\right) \end{align}\]

We can either integrate this numerically, or we can approximate the square root. Because $G$ has to be on the order of $5\%,$ $G^2$ will be a small quantity. So, the integral becomes

\[\begin{align} T &= \frac1P \int_0^{\pi/G} \text{d}x\, \left(mG\sin Gx + 10\left[1+\frac12 G^2\sin^2 Gx\right]\right) \\ &= \frac{1}{P} \left( 2m + \frac{10\pi}{G} + \frac{5\pi G}{2} \right) \end{align}\]

The sprinter and the climber reach the top of the hill at the same time when these expressions, evaluated for each rider’s mass and power, are equal. Plugging in the values and solving for $G$, we get

\[\begin{align} G &= \frac{2(36 - \sqrt{1296 - \pi^2})}{\pi} \\ &= 0.087479\ldots \end{align}\]

Because the maximum value of $\sin$ is $1,$ the maximum gradient is $G$ itself.

If we perform the exact integral instead of approximating, we end up with $\int_0^\pi\text{d}x\sqrt{1 + G^2\sin^2 x} = 36 G $ which yields the exact answer $0.0874330020767798\ldots$ which is less than $0.1\%$ off the approximation.


The Tie (G ≈ 0.0874)