Skip to main content

ProofsPath · 12 min

The Cauchy Functional Equation

Important
For:GeneralResearch

The Cauchy Functional Equation

Why This Matters

The Cauchy functional equation is

f(x+y)=f(x)+f(y)x,yR.f(x + y) = f(x) + f(y) \qquad \forall x, y \in \mathbb{R}.

A function satisfying this is called additive. The equation is the entry point to the entire field of functional equations, the model problem every olympiad student should know cold, and the gateway to many subsequent functional-equation techniques (Jensen's, multiplicative, Pexider's).

The result that drives most olympiad applications:

Under any one of these conditions: continuity at a single point, monotonicity on any interval, boundedness on a set of positive Lebesgue measure, or Lebesgue measurability — every additive function f:RRf: \mathbb{R} \to \mathbb{R} is linear: f(x)=cxf(x) = cx for some constant cc.

Without any regularity, additive but non-linear (so-called pathological) solutions exist. Their construction (Hamel 1905) requires the axiom of choice; the graphs of these functions are dense in R2\mathbb{R}^2.

For olympiad and Putnam problems, the canonical move is:

  1. Derive Cauchy's equation (or a near-variant) from the problem's hypotheses.
  2. Plug in x=y=0x = y = 0, x=0x = 0, y=xy = -x, etc., to extract structure.
  3. Show f(rational multiple of x)=(rational)f(x)f(\text{rational multiple of } x) = (\text{rational}) \cdot f(x).
  4. Use a regularity condition (continuity, monotonicity, boundedness) given by the problem to extend from Q\mathbb{Q}-linearity to R\mathbb{R}-linearity.
  5. Conclude f(x)=cxf(x) = cx and verify by plugging back in.

This page treats the technique in the order an olympiad student would apply it.

Theorem: Solutions Over Q

Theorem

Q-Solutions Are Linear

Statement

For any additive f:RRf: \mathbb{R} \to \mathbb{R} and any rational rQr \in \mathbb{Q} and real xx:

f(rx)=rf(x).f(rx) = r f(x).

In particular, ff restricted to Q\mathbb{Q} is of the form f(q)=qf(1)f(q) = q f(1), i.e., Q\mathbb{Q}-linear.

Intuition

Additivity over R\mathbb{R} already forces ff to be a Q\mathbb{Q}-linear map. The proof is by induction on positive integers, then extension to negatives, then to rationals via f(p/q)=(1/q)f(p)=(p/q)f(1)f(p/q) = (1/q) f(p) = (p/q) f(1).

Proof Sketch

Step 1: f(0)=0f(0) = 0. Set x=y=0x = y = 0 in additivity: f(0)=f(0)+f(0)f(0) = f(0) + f(0), so f(0)=0f(0) = 0.

Step 2: f(x)=f(x)f(-x) = -f(x). Set y=xy = -x: f(0)=f(x)+f(x)f(0) = f(x) + f(-x), so f(x)=f(x)f(-x) = -f(x).

Step 3: f(nx)=nf(x)f(nx) = n f(x) for nNn \in \mathbb{N}. Induction: f((n+1)x)=f(nx+x)=f(nx)+f(x)=nf(x)+f(x)=(n+1)f(x)f((n+1)x) = f(nx + x) = f(nx) + f(x) = n f(x) + f(x) = (n+1) f(x).

Step 4: f(nx)=nf(x)f(nx) = n f(x) for nZn \in \mathbb{Z}. Combine steps 2 and 3.

Step 5: f(x/n)=f(x)/nf(x/n) = f(x)/n. From step 3, f(n(x/n))=nf(x/n)f(n \cdot (x/n)) = n f(x/n), so f(x)=nf(x/n)f(x) = n f(x/n), giving f(x/n)=f(x)/nf(x/n) = f(x)/n.

Step 6: f(p/qx)=(p/q)f(x)f(p/q \cdot x) = (p/q) f(x). Combine steps 4 and 5.

Why It Matters

Step 6 is the key intermediate result. Without any regularity, ff is already determined on the Q\mathbb{Q}-span of any single point. To extend to R\mathbb{R}-linearity, you only need to control ff between rationals: and any of the standard regularity conditions does that.

Failure Mode

This theorem only gives Q\mathbb{Q}-linearity, not R\mathbb{R}-linearity. The pathological non-linear solutions do satisfy step 6 (they are Q\mathbb{Q}-linear), but they fail to be R\mathbb{R}-linear because they don't extend "continuously" between rationals. See the Hamel-basis construction below.

Theorem: Regularity Forces Linearity

Theorem

Regularity Implies Linearity

Statement

If ff is additive and any one of the following holds:

  1. ff is continuous at some point x0Rx_0 \in \mathbb{R}.
  2. ff is monotonic on some interval (a,b)(a, b).
  3. ff is bounded above (or below) on some set of positive Lebesgue measure.
  4. ff is Lebesgue measurable.
  5. ff is bounded on some interval (hence on every interval by additivity).

Then f(x)=cxf(x) = cx for some constant c=f(1)c = f(1), i.e., ff is R\mathbb{R}-linear.

Intuition

Each regularity condition rules out the wild oscillations that pathological solutions exhibit. Continuity at one point is enough: additivity bootstraps it to continuity everywhere. Boundedness on a positive-measure set is the most striking: even very weak regularity is enough to collapse the solution space to the linear functions.

Proof Sketch

Continuity at one point implies continuity everywhere. Suppose ff is continuous at x0x_0. For any aa and any sequence xnax_n \to a, xna+x0x0x_n - a + x_0 \to x_0, so by continuity at x0x_0: f(xna+x0)f(x0)f(x_n - a + x_0) \to f(x_0). By additivity, f(xn)f(a)+f(x0)f(x0)f(x_n) - f(a) + f(x_0) \to f(x_0), so f(xn)f(a)f(x_n) \to f(a). So ff is continuous at aa.

Continuity + Q\mathbb{Q}-linearity = R\mathbb{R}-linearity. The rationals are dense in R\mathbb{R}, and on Q\mathbb{Q} we have f(q)=qf(1)f(q) = q f(1). Continuity extends this: f(x)=limqnx,qnQf(qn)=limqnf(1)=xf(1)f(x) = \lim_{q_n \to x, q_n \in \mathbb{Q}} f(q_n) = \lim q_n f(1) = x f(1).

Monotonicity on (a,b)(a, b). Sandwich any irrational xx between two rationals q1<x<q2q_1 < x < q_2 in (a,b)(a, b). Monotonicity gives q1f(1)f(x)q2f(1)q_1 f(1) \le f(x) \le q_2 f(1). Take q1,q2xq_1, q_2 \to x.

Boundedness on a positive-measure set, measurability. The Steinhaus theorem (1920) says any positive-measure set ARA \subseteq \mathbb{R} has AAA - A containing an open interval. Combine with additivity and the Q\mathbb{Q}-linearity result: if ff is bounded on AA, then ff is bounded on AA(δ,δ)A - A \supseteq (-\delta, \delta) for some δ>0\delta > 0, hence bounded on a neighborhood of zero, hence linear by the boundedness case. Measurability + the Frechet 1913 trick reduces to this.

Why It Matters

The strength of these implications is striking. Any of the five conditions: even very weak ones like Lebesgue measurability: suffices to collapse the entire space of additive functions to the one-parameter family of linear functions {xcx:cR}\{x \mapsto cx : c \in \mathbb{R}\}. The implication is robust to slight weakening: e.g., "bounded on a set of second category in the Baire sense" also works.

Failure Mode

Without any regularity, the conclusion fails badly. Pick a Hamel basis HH of R\mathbb{R} as a Q\mathbb{Q}-vector space (this requires the axiom of choice). Define ff on HH arbitrarily and extend Q\mathbb{Q}-linearly. Generically this ff is additive but not R\mathbb{R}-linear. Its graph is dense in R2\mathbb{R}^2 (Hamel 1905). It is not measurable, not bounded on any open set, and discontinuous everywhere.

The Standard Olympiad Move

For olympiad / Putnam problems featuring an unknown function ff, the workflow:

  1. Plug in special values. x=y=0x = y = 0 usually gives f(0)f(0). Symmetric or antisymmetric substitutions often collapse the equation.
  2. Derive Cauchy's equation (or a multiplicative variant g(xy)=g(x)g(y)g(xy) = g(x) g(y), or Jensen's f(x+y2)=f(x)+f(y)2f(\frac{x+y}{2}) = \frac{f(x) + f(y)}{2}).
  3. Use Q\mathbb{Q}-linearity to determine ff on rationals.
  4. Apply the problem's regularity (continuity, monotonicity, bound on an interval, etc.) to extend to R\mathbb{R}.
  5. Verify the candidate solution back in the original equation.

Step 5 is essential. Many problems have f0f \equiv 0 or f(x)=cxf(x) = c x plus extra solutions you'd miss without checking. A famous trap: f(x+y)=f(x)f(y)f(x+y) = f(x) f(y) (the multiplicative Cauchy) admits both f(x)=axf(x) = a^x and f0f \equiv 0.

Worked Example: Olympiad-Style

Example

A continuous additive function

Problem. Find all continuous f:RRf: \mathbb{R} \to \mathbb{R} with f(x+y)=f(x)+f(y)f(x + y) = f(x) + f(y) for all x,yx, y.

Solution. By the Q\mathbb{Q}-linearity theorem, f(q)=qf(1)f(q) = q f(1) for all qQq \in \mathbb{Q}. By continuity, for any xRx \in \mathbb{R}, choose rationals qnxq_n \to x: f(x)=limf(qn)=limqnf(1)=xf(1)f(x) = \lim f(q_n) = \lim q_n f(1) = x f(1). So f(x)=cxf(x) = c x where c=f(1)c = f(1).

Verification: f(x+y)=c(x+y)=cx+cy=f(x)+f(y)f(x + y) = c(x + y) = cx + cy = f(x) + f(y). Done.

Without continuity. Pathological solutions exist (Hamel 1905); the problem is no longer well-posed in the olympiad sense. Olympiad problems always include a regularity condition.

Worked Example: Multiplicative Variant

Example

The multiplicative Cauchy

Problem. Find all continuous g:R+R+g: \mathbb{R}^+ \to \mathbb{R}^+ with g(xy)=g(x)g(y)g(xy) = g(x) g(y).

Solution. Take logarithms: let f(t)=logg(et)f(t) = \log g(e^t). Then f(s+t)=logg(es+t)=logg(eset)=log(g(es)g(et))=f(s)+f(t)f(s + t) = \log g(e^{s+t}) = \log g(e^s e^t) = \log(g(e^s) g(e^t)) = f(s) + f(t). So ff is additive, and continuous (composition of continuous functions). By the linearity theorem, f(t)=ctf(t) = ct for some cc. Inverting: g(x)=eclogx=xcg(x) = e^{c \log x} = x^c.

So the continuous solutions are g(x)=xcg(x) = x^c for any real cc.

Note the trap. The trivial solution g1g \equiv 1 is the c=0c = 0 case (i.e., g(x)=x0=1g(x) = x^0 = 1). The trivial solution g0g \equiv 0 is not in our solution set because we restricted to g:R+R+g: \mathbb{R}^+ \to \mathbb{R}^+.

Variants and Related Equations

EquationStandard solution (with regularity)
f(x+y)=f(x)+f(y)f(x + y) = f(x) + f(y)f(x)=cxf(x) = cx
f(xy)=f(x)+f(y)f(xy) = f(x) + f(y)f(x)=clogxf(x) = c \log x (on R+\mathbb{R}^+)
f(x+y)=f(x)f(y)f(x + y) = f(x) f(y)f(x)=axf(x) = a^x
f(xy)=f(x)f(y)f(xy) = f(x) f(y)f(x)=xcf(x) = x^c
f(x+y2)=f(x)+f(y)2f(\frac{x+y}{2}) = \frac{f(x)+f(y)}{2} (Jensen)f(x)=ax+bf(x) = ax + b
f(x+y)+f(xy)=2f(x)+2f(y)f(x + y) + f(x - y) = 2f(x) + 2f(y) (parallelogram)f(x)=ax2+bxf(x) = ax^2 + bx
Pexider f(x+y)=g(x)+h(y)f(x + y) = g(x) + h(y)f(x)=ax+b+cf(x) = ax + b + c, g,hg, h similar

Each can be reduced to Cauchy's via a logarithmic / exponential substitution or by combining with auxiliary hypotheses.

Common Mistakes

Watch Out

Forgetting regularity is necessary

The pathological-solution warning matters. An olympiad problem that asks "find all ff with f(x+y)=f(x)+f(y)f(x + y) = f(x) + f(y)" without any regularity condition is under-specified: the solution set is uncountably infinite and includes wild non-linear functions. Always check what regularity the problem assumes.

Watch Out

Confusing Cauchy with Jensen

Cauchy: f(x+y)=f(x)+f(y)f(x + y) = f(x) + f(y). Jensen: f(x+y2)=f(x)+f(y)2f(\frac{x+y}{2}) = \frac{f(x) + f(y)}{2}.

Both have linear solutions under regularity, but Jensen's allows a constant: f(x)=ax+bf(x) = ax + b. The two equations are related but not equivalent.

Watch Out

Forgetting to verify the candidate solution

Even after deriving f(x)=cxf(x) = cx, you must plug it back in to the original problem to verify it works (and find the constraints on cc). Sometimes additional restrictions kick in: e.g., the original problem says ff is increasing, which forces c>0c > 0.

Watch Out

Asserting linearity from continuity at no specific point

"Continuity" must be at some specific point x0x_0: the proof bootstraps continuity at one point to continuity everywhere. Saying "f is continuous" without specifying where is fine in practice, but understanding the bootstrapping matters for non-standard variants.

Exercises

ExerciseCore

Problem

Find all continuous f:RRf: \mathbb{R} \to \mathbb{R} with f(x+y)=f(x)+f(y)+xyf(x + y) = f(x) + f(y) + xy for all x,yx, y.

ExerciseAdvanced

Problem

(IMO Shortlist 2002 A5) Find all functions f:RRf: \mathbb{R} \to \mathbb{R} satisfying f(f(x)+y)=f(x2y)+4f(x)yf(f(x) + y) = f(x^2 - y) + 4 f(x) y for all x,yx, y.

ML and Production Connections

  • Linear maps in deep learning. The Cauchy functional equation under continuity + boundedness gives f(x)=cxf(x) = cx, which is exactly the affine-without-bias case. Neural network "linear layers" implement (vector-valued) R\mathbb{R}-linear maps; the underlying claim is that any continuous additive function is necessarily linear.

  • Equivariance and homomorphisms. The condition f(gx)=gf(x)f(g \cdot x) = g \cdot f(x) is a group-equivariance condition (cf. equivariant-neural-networks-foundations); with abelian groups and continuity, the analog of Cauchy's theorem applies, and equivariant linear layers are forced by the group structure.

  • Information theory. Shannon's entropy axioms: additivity on independent sources, continuity, normalization: uniquely determine H(p)=pilogpiH(p) = -\sum p_i \log p_i via a functional-equation argument: the same Cauchy applied to the entropy function.

  • Random feature theory. The Bochner-theorem side of Rahimi-Recht 2007 random features uses functional-equation arguments to characterize positive-definite kernels via Fourier representations; the Cauchy structure is implicit in the multiplicative-functional setup.

Cross-Network Links

References

See structured references block. Primary entry points: Cauchy's Cours d'analyse (1821) for the original; Aczel (1966) for the standard functional-equations textbook; Engel "Problem-Solving Strategies" Ch 11 for the olympiad treatment; Hamel (1905) for the construction of pathological solutions.