ARITHMETIC WORKSHEETS

Checking the average rate for two equal-distance segments

When two equal distances are covered at different constant rates, the average rate is total distance divided by total time, which is the harmonic mean of the two rates. This guide works the case of 30 and 60 units per hour.

Why the simple average of two rates misleads

Suppose a machine moves a part 60 units at 30 units per hour and another 60 units at 60 units per hour. Most people want the average rate and reach for the midpoint, 45. That midpoint would be right only if the machine spent the same amount of time at each rate. Here the distances are equal, so the slower segment lasts longer, and the long, slow stretch pulls the true average below the midpoint. The question to settle first is what is being held equal: distance or time. Once that is clear, the correct average follows from a definition rather than from a formula you have to memorize.

Recovering the segment times

Rate is distance divided by time, so time is distance divided by rate. The first segment takes 60 divided by 30, which is 2 hours, and the second takes 60 divided by 60, which is 1 hour. The total distance is 60 plus 60, or 120 units, and the total time is 3 hours. The average rate over the whole trip is total distance over total time, 120 divided by 3, or 40 units per hour. The second case below runs that division on the basic calculator. Notice that the answer of 40 sits closer to the slower rate, because more of the elapsed time was spent at 30 than at 60.

The harmonic mean formula

The harmonic mean of a list of positive numbers is the count divided by the sum of their reciprocals, n over the sum of 1 over x. For 30 and 60 the reciprocals are 1/30 and 1/60, which add to 3/60, or 1/20. Two divided by 1/20 gives 40, matching the total-distance calculation. For exactly two rates, a shortcut is twice the product divided by the sum: 2 times 30 times 60 is 3600, divided by 90 gives 40. The harmonic mean calculator accepts the rates as a comma-separated list and returns 40 for the input 30,60. The formula is just the distance-over-time definition with the common distance cancelled.

Why the distance cancels

Let each segment have distance d and rates r1 and r2. Total distance is 2d, and total time is d over r1 plus d over r2, which is d times (1 over r1 plus 1 over r2). Dividing gives 2d over d(1/r1 plus 1/r2), and d cancels. That cancellation is why the answer depends only on the rates and not on how long the segments are, provided they are equal. If the distances differ, the cancellation fails and a weighted harmonic mean is needed, with the distances as weights. The equal-distance assumption in this worksheet is therefore a real condition, and it should be stated whenever the 40 is quoted.

When the arithmetic mean is the right answer

The midpoint of 45 is correct for a different setup, one hour at 30 followed by one hour at 60. Then the distances are 30 and 60, the total distance is 90 over 2 hours, and the average rate is 45. The average calculator confirms that the mean of 30 and 60 is 45, and the third case below records it as the control. The two answers, 40 and 45, answer two separate questions. Equal distance gives the harmonic mean, equal time gives the arithmetic mean. Reporting a single average rate without saying which of the two applies leaves the reader unable to reproduce the figure.

A second pair of rates

Take 100 units each at 40 and 60 units per hour. The times are 100 divided by 40, or 2.5 hours, and 100 divided by 60, or about 1.667 hours. The total time is about 4.167 hours for 200 units, and the average rate is 48. The harmonic mean of 40 and 60 is 2 times 40 times 60 divided by 100, which is also 48. The arithmetic mean is 50, so the gap of 2 units per hour is smaller than before, since 40 and 60 are closer together. The harmonic mean is always at most the arithmetic mean, and the two coincide only when the rates are equal.

Other settings where the harmonic mean appears

The same structure appears whenever a fixed amount of work is done at different rates. Two pumps filling the same tank volume at different flow rates, a printer processing equal page counts at two speeds, and fuel economy measured in distance per volume over equal distances all follow it. Fuel use is a good example: averaging miles per gallon over two equal-distance trips requires the harmonic mean, while averaging gallons per hundred miles over the same trips uses the plain mean. Switching to the reciprocal quantity turns a harmonic mean into an arithmetic mean. Recognizing the held-equal quantity decides which kind of average is honest.

Assumptions behind the 40

The calculation takes the rates as exact, positive and constant within each segment. It ignores acceleration, stops, loading time and any additional delay between segments. A zero rate would give an infinite time and make the harmonic mean undefined, so the method applies only to positive rates. Real travel and production rates vary within a segment, and a measured average over the whole run is more reliable than a model built from two assumed rates. The method also treats each segment as a single rate, so a segment where the rate changes halfway through would need to be split into two segments first, with the distance for each part known. This is a mathematical worksheet about averages, and it does not recommend any route, speed or driving behavior.

Checking your own two-rate problem

To test your own numbers, write the distance and both rates, compute each time, add the times and divide the total distance by the total time. Then compute the harmonic mean from the rates alone and compare. They must match whenever the distances are equal. If they do not, one of the steps has an arithmetic slip, or the distances were not equal after all. Use the basic calculator for each division and keep the intermediate times written down. Matching the two routes is the check this worksheet teaches, and it works for any two positive rates. A useful extra test is size: the harmonic mean must lie between the two rates and, for unequal rates, strictly below their midpoint. With 20 and 80 units per hour, the harmonic mean is 2 times 20 times 80 divided by 100, or 32, well under the midpoint of 50. A result outside the range of the two rates signals a mistake.

Reproduce the checks

Harmonic mean of the rates

Open the Harmonic Mean Calculator and enter:

Numbers
30,60

Expected output:

Harmonic mean

40

The equal-distance mean is forty units per hour.

Total-distance check

Open the Basic calculator and enter:

First number
120
Second number
3
Operation
divide

Expected output:

Result

40

The explicit distance and time totals give the same rate.

Equal-time arithmetic control

Open the Average calculator and enter:

Values
30,60

Expected output:

Arithmetic mean

45

This summary uses another weighting question.

References and implementation scope

The examples describe the behavior of the linked Computandum tools. A successful local check does not establish that another application accepts the same format or applies the same limits.

Sources

Related tasks