Maths WorkshopMaths problems with full solutions
Exercise 639Calculus › Single-variable calculus › Continuity › Functional equationsM1Added 5 Nov 2026

Cauchy's equation on the rationals

#Cauchy equation#additive function#rationals

Statement

Let f:Q→Rf:\mathbb{Q}\to\mathbb{R} satisfy f(x+y)=f(x)+f(y)f(x+y)=f(x)+f(y) for all rationals x,yx,y. Prove that f(x)=cxf(x)=cx for all x∈Qx\in\mathbb{Q}, where c=f(1)c=f(1).

Hint

Show first f(0)=0f(0)=0 and f(−x)=−f(x)f(-x)=-f(x), then f(n)=nf(1)f(n)=nf(1) for integers, then treat mn\frac mn.

Show solutionHide solution

Solution

Step 1. x=y=0x=y=0 gives f(0)=2f(0)f(0)=2f(0), so f(0)=0f(0)=0. Then 0=f(x+(−x))=f(x)+f(−x)0=f(x+(-x))=f(x)+f(-x), so ff is odd.

Step 2: integers. By induction f(n)=nf(1)f(n)=nf(1) for n≥0n\ge0: f(n+1)=f(n)+f(1)f(n+1)=f(n)+f(1). For negative integers use oddness.

Step 3: rationals. Let x=mnx=\frac mn with n≥1n\ge1. Then
n f ⁣(mn)=f ⁣(mn+⋯+mn⏟n)=f(m)=mf(1),n\,f\!\left(\frac mn\right)=f\!\left(\underbrace{\frac mn+\dots+\frac mn}_{n}\right)=f(m)=mf(1),
hence f ⁣(mn)=mnf(1)f\!\left(\frac mn\right)=\frac mnf(1).

Conclusion. f(x)=cxf(x)=cx with c=f(1)c=f(1), and conversely every such function satisfies the equation.

Remark. On R\mathbb{R} the same argument only gives f(x)=cxf(x)=cx for rational xx: there exist additive functions R→R\mathbb{R}\to\mathbb{R} that are not linear (they are wild and nowhere continuous). One needs an extra assumption (monotone, bounded on an interval, continuous at a point) to conclude.

Lesson. Start every additive equation with f(0)=0f(0)=0, oddness, and the integer case; the rationals follow by "multiply by the denominator".