Santul completes two 20 mile training runs with different pace profiles:
1) A constant 9 minute mile pace (which is impressive both physically and for its consistency); and
2) His pace starts at 10 minutes per mile and then linearly decreases to 8 minutes per mile over the course of the race. So for instance, when Santul is halfway done with the race (in time, not distance), his pace is 9 minutes per mile.
The question is: which run did he complete faster and what were the two times?
Santul's 9 minute mile run will complete in 9min/mile⋅20miles=180minutes.
Let's now look at the second run. Let p(t)=a+bt be the linear function of Santul's pace at time t. From the initial data we know that p(0)=a=10 and that if T is that time that Santul finishes his second run, then p(T)=10+bT=8. So a=10 and b=−2T.
We can convert Santul's pace into distance by integrating as follows d(s)=∫t0dsp(s), so given the 20 mile course was finished in T, we have 20=∫T0ds10−2tT=−T2ln(810). Solving for T we get T=40ln1.25=179.256804709... which is just a shade under the constant pace time.