Illustration of the freshman’s sum
Illustration of the freshman’s sum · Source

In mathematics, the mediant of two fractions a/b and c/d is a new fraction whose numerator is the sum of the original numerators and whose denominator is the sum of the original denominators:

a/b ⊕ c/d = (a + c) / (b + d)

Of course, ordinary arithmetic does not add fractions this way. That is why this operation is sometimes jokingly called the “freshman’s sum”; let us denote it by ⊕. Curiously, this apparent mistake is far from meaningless. In a number of problems it is a natural and useful computational technique.

The word “mediant” comes from French médiante and literally means something in the middle or intermediate.

A. Ya. Khinchin introduced the concept of the mediant of two fractions in the theory of continued fractions. It helped clarify the relative positions of fractions and the algorithm for constructing intermediate fractions alongside convergents.

Aleksandr Yakovlevich Khinchin (1894–1959), founder of the Soviet school of probability theory
Aleksandr Yakovlevich Khinchin (1894–1959), founder of the Soviet school of probability theory · Source

Aleksandr Yakovlevich Khinchin (1894–1959) was an outstanding Soviet mathematician and one of the founders of the Soviet school of probability theory. His name is associated with more than probability: he also made substantial contributions to number theory and continued fractions.

The mediant has a remarkable property. If two fractions have positive denominators and one is less than the other, their mediant lies strictly between them.

If a/b < c/d, then a/b < (a + c) / (b + d) < c/d.

This simple but beautiful property is easy to prove algebraically. It already explains why the mediant plays such an important role in constructing intermediate fractions.

Interestingly, the American mathematician and historian of mathematics Morris Kline approached the mediant from another direction. In Mathematics: The Loss of Certainty, he effectively draws fresh attention to this operation, presenting a distinctive “new arithmetic” of fractions through practical examples.

Morris Kline (1908–1992)
Morris Kline (1908–1992) · Source

Morris Kline (1908–1992) was an American mathematician known for his work on the history and philosophy of mathematics, mathematics education and popular-science writing. He was a professor at New York University for many years.

In his book Kline writes:

“It is not only the properties of whole numbers that fail to describe many physical situations; in practice, a quite different arithmetic of fractional numbers is often needed.”

Suppose a striker shoots at goal three times in one match and four times in another. How many shots were there altogether? Seven. Suppose the striker scores twice in the first match and three times in the second. Over both matches, 2+3=5 goals were scored. What interests both the fans and the player, however, is the average scoring rate, the ratio of goals to shots. It was \frac23 in the first match and \frac34 in the second. To calculate the rate over both matches, some people think they should simply add these ratios by the usual rule for fractions: \frac23+\frac34=\frac{17}{12}.

This result clearly makes no sense in this context: no striker can score seventeen goals from twelve shots! Ordinary fraction addition cannot calculate the combined scoring rate. The rate over both matches does not equal the sum of the two separately calculated rates.

How, then, can we calculate the correct rate over both matches? We need a new rule. The rate over both matches is \frac57, while the individual rates are \frac23 and \frac34. Adding the numerators and denominators separately gives the correct answer: \frac23\oplus\frac34=\frac57. The circled plus sign indicates that the numerators and denominators are summed separately.

M. Kline, Mathematics: The Loss of Certainty, p. 111, “Football”

One of the clearest examples comes from football. If a player takes three shots at goal in one match and scores twice, their scoring rate is 2/3. If they score 3 goals from 4 shots in the second match, it is 3/4.

The average scoring rate over the two matches is calculated by dividing the total number of goals by the total number of shots, rather than adding the fractions by the school rule. It is the mediant of the fractions:

2/3 ⊕ 3/4 = (2 + 3) / (3 + 4) = 5/7

This is entirely natural and logical: what is added is not the fractions themselves but the real quantities behind them, goals and shots. The result 5/7 therefore makes sense in this context, whereas 17/12, obtained by ordinary addition of 2/3 and 3/4, has no connection with the average scoring rate.

Another application of this new rule for fractions occurs even more often. Suppose a car covers 50 km in 2 hours and 100 km in 3 hours. What is its average speed over both sections? We could reason that the car travels 150 km in 5 hours, giving 30 km/h. Often, however, it is more convenient to calculate the average speed for the whole journey from the speeds on the individual sections. The first is (50/2) km/h and the second (100/3) km/h. Adding the numerators and denominators separately gives the correct average speed for the whole journey.

M. Kline, Mathematics: The Loss of Certainty, p. 111, “Speed”

A similar situation arises when calculating average speed over two sections of a journey. If a car covers distances S₁ and S₂ in times t₁ and t₂, its average speed for the whole journey is

V = S_{1}/t_{1} ⊕ S_{2}/t_{2} = (S_{1} + S_{2}) / (t_{1} + t_{2})

and is again determined by the mediant rule for the corresponding fractions S₁/t₁ and S₂/t₂.

Our proposed rule for “adding” fractions is useful in other situations too. A seller recording sales effectiveness might notice that three out of five visitors make purchases on the first day and four out of seven on the second. To calculate effectiveness over both days, the ratio of purchases to the total number of visitors, the seller must combine \frac35 and \frac47 by the same rule that the striker used to calculate the scoring rate over two matches. Over the two days, seven of the twelve visitors bought something, and \frac7{12}=\frac35\oplus\frac47, where the circled plus means adding the numerators and denominators separately.

M. Kline, Mathematics: The Loss of Certainty, p. 111, “Trade”

The same reasoning applies in trade. If 3 out of 5 visitors make purchases on the first day, and 4 out of 7 on the second, the overall effectiveness for the two days is not the arithmetic sum of 3/5 and 4/7, but the ratio of the total number of purchases to the total number of visitors:

(3 + 4) / (5 + 7) = 7/12

Here too the mediant is at work.

Solutions offer an even clearer example. Mixing two salt solutions, one at a concentration of 10% and the other at 20%, cannot produce a concentration of 30%. The final concentration must lie between the initial values.

If k₁ = x₁/m₁ and k₂ = x₂/m₂ are the concentrations of two solutions, where x₁ and x₂ are the masses of salt and m₁ and m₂ the masses of the solutions, then the mixture’s concentration is

k = (x_{1} + x_{2}) / (m_{1} + m_{2})

This is again a mediant. The masses of dissolved salt and the masses of the solutions are literally added. That is why the result is intermediate.

This viewpoint is useful in teaching. It shows that an “incorrect operation” can become “correct” when the problem itself changes. The mediant illustrates how mathematics teaches us to understand the meaning of a calculation, beyond mechanically applying formulas.

The mediant is also connected with the Farey sequence, discussed in an earlier blog article. Starting with two fractions and repeatedly inserting mediants between neighbouring fractions produces a beautiful family of rational numbers connected with approximation, the ordering of fractions and number theory.

Finally, the word “mediant” exists outside fraction arithmetic. In music it names one of the tonal functions in the major–minor system. In French culinary tradition, médiants are small chocolate discs with nuts and dried fruit: literally one-bite sweets.

Such is the story of an operation that seems strange at first. In a school exercise book it may look like a mistake, yet in a broader mathematical and practical context it becomes a meaningful tool. As often happens, a small formula unexpectedly reveals a whole network of connections: continued fractions, applied calculations, Farey sequences and even musical terminology.

📚 Mathematics with Mansur-abyy