← Back to Competition Math

Functional Equations

Competition Math · AIME & IMO PrepPreview

1. Introduction

A functional equation is an equation whose unknown is a function rather than a number. It asserts that some identity involving ff holds for all inputs in a given domain — for example, f(x+y)=f(x)+f(y)f(x + y) = f(x) + f(y) for all real x,yx, y — and the task is to find every function ff that satisfies it. This shifts the mindset from "solve for xx" to "characterize all ff", and it rewards systematic experimentation.

Functional equations are a flagship olympiad topic and a recurring AIME theme (often in the guise of a sequence or a recurrence). They reward a small set of reusable maneuvers: substituting clever values, comparing the equation to itself with variables swapped, deducing structural properties like injectivity or surjectivity, and proving that a guessed family of solutions is the only one. The discipline is twofold — you must find candidate solutions and prove there are no others.

This article presents the standard playbook: the substitution method, the theory of Cauchy's functional equation and its cousins (Jensen, multiplicative, exponential), techniques for establishing injectivity/surjectivity, fixed points, and the all-important final verification step. We work a series of increasingly difficult problems with complete solutions, emphasizing both the discovery process and the rigor needed to claim a complete answer.

AIME vs olympiad. AIME functional-equation problems usually ask for a specific value (f(5)f(5), f(10)f(10)) rather than the full solution set. You may find the answer by bootstrapping from P(1,1)P(1,1), P(2,1)P(2,1), etc., without a complete uniqueness proof — but verify your candidate satisfies the original equation. Olympiad problems require the full characterization with proof.

The P(x,y)P(x,y) discipline. Label every substitution. This prevents circular reasoning and makes it easy to spot which values of x,yx, y have not yet been tried. A systematic sweep of P(0,0)P(0,0), P(x,0)P(x,0), P(0,y)P(0,y), P(x,x)P(x,x), P(x,x)P(x,-x) resolves most contest equations.

2. Core Concepts

2.1 What Counts as a Solution

To "solve" a functional equation means to describe the entire solution set. A complete answer has two parts: (1) existence/verification — exhibit functions and check they satisfy the equation; and (2) uniqueness/completeness — prove no other function works. Skipping part (2) is the most common way to lose credit; finding f(x)=cxf(x) = cx works is not the same as proving nothing else does.

2.2 The Substitution Method

The primary tool is plugging in well-chosen values. Useful first moves:

  • x=y=0x = y = 0 to find f(0)f(0).
  • y=0y = 0 or x=0x = 0 to relate ff at a point to a constant.
  • y=xy = x to expose doubling or squaring structure.
  • Swapping xyx \leftrightarrow y and comparing, to exploit or break symmetry.
  • Substituting an expression (like yxy \to -x or y1xy \to \frac{1}{x}) to create cancellations.

Let P(x,y)P(x, y) denote the assertion of the equation for specific inputs; competition write-ups often abbreviate "substitute x=a,y=bx = a, y = b" as "P(a,b)P(a, b)".

2.3 Cauchy's Functional Equation

The additive Cauchy equation is f(x+y)=f(x)+f(y)for all x,y.f(x + y) = f(x) + f(y) \quad \text{for all } x, y. Over the rationals, the only solutions are f(x)=cxf(x) = cx where c=f(1)c = f(1): setting y=xy = x gives f(2x)=2f(x)f(2x) = 2f(x), induction gives f(nx)=nf(x)f(nx) = nf(x), and a short argument extends this to all rationals. Over the reals, f(x)=cxf(x) = cx are the only solutions provided a mild regularity condition holds — any one of: continuity at a point, monotonicity, boundedness on an interval, or measurability. Without such a condition, pathological (non-measurable) solutions exist via a Hamel basis, but these never arise in well-posed contest problems.

2.4 Related Standard Equations

  • Jensen: f ⁣(x+y2)=f(x)+f(y)2f\!\left(\frac{x+y}{2}\right) = \frac{f(x) + f(y)}{2} leads to affine solutions f(x)=cx+df(x) = cx + d (with regularity).
  • Multiplicative: f(xy)=f(x)f(y)f(xy) = f(x)f(y) typically gives power solutions f(x)=xcf(x) = x^c on R+\mathbb{R}^+ (with regularity), plus the trivial f0f \equiv 0.
  • Exponential (Cauchy's other equation): f(x+y)=f(x)f(y)f(x + y) = f(x)f(y) gives f(x)=axf(x) = a^x (or f0f \equiv 0).
  • Logarithmic: f(xy)=f(x)+f(y)f(xy) = f(x) + f(y) gives f(x)=clnxf(x) = c\ln x on R+\mathbb{R}^+. These are often reached by transforming a given equation into Cauchy form via a substitution like g=lnfg = \ln f or g(x)=f(ex)g(x) = f(e^x).

2.5 Injectivity, Surjectivity, and Fixed Points

Deducing structural properties from the equation is a powerful uniqueness tool:

  • Injectivity: if you can manipulate the equation into "f(a)=f(b)a=bf(a) = f(b) \Rightarrow a = b", you may cancel ff from both sides.
  • Surjectivity: if ff hits every value, you can substitute "let f(t)=cf(t) = c" for an arbitrary cc, unlocking new substitutions.
  • Fixed points: values with f(a)=af(a) = a often propagate (e.g. if a,ba, b are fixed points, so might be a+ba + b or abab), constraining ff.

2.6 The P(x,y)P(x,y) Notation and Systematic Casework

Write P(x,y)P(x, y) for the assertion of the equation. A disciplined solver records each substitution as P(a,b)P(a, b) and tracks what each yields. When f(0)f(0) branches into cases (00 vs 11 vs other), handle each branch completely before merging conclusions.

2.7 Extending from Q\mathbb{Q} to R\mathbb{R}

The standard extension argument: from f(x+y)=f(x)+f(y)f(x+y) = f(x)+f(y), prove f(nx)=nf(x)f(nx) = nf(x) for integers nn, then f(p/q)=(p/q)f(1)f(p/q) = (p/q)f(1) for rationals. Continuity (or monotonicity) then extends f(q)=cqf(q) = cq from dense Q\mathbb{Q} to all R\mathbb{R}. On the AIME, you often only need values at integers or rationals.

2.8 Involutions and Bijections

If f(f(x))=xf(f(x)) = x for all xx, then ff is a bijection and equals its own inverse. Combined with Cauchy-type structure, this often forces f(x)=xf(x) = x or f(x)=xf(x) = -x. The involution f(x)=1/xf(x) = 1/x on R+\mathbb{R}^+ is another standard example.

2.9 Polynomial and Quadratic Templates

The parallelogram law f(x+y)+f(xy)=2f(x)+2f(y)f(x+y) + f(x-y) = 2f(x) + 2f(y) (Jensen's quadratic equation) has even solutions f(x)=kx2f(x) = kx^2 (with continuity). The Cauchy–Euler template f(xy)=xf(y)+yf(x)f(xy) = xf(y) + yf(x) on R+\mathbb{R}^+ suggests f(x)=cxlnxf(x) = cx \ln x after differentiation or substitution g(x)=f(x)/xg(x) = f(x)/x.

2.10 Iteration and Orbit Analysis

For f(f(x))=g(x)f(f(x)) = g(x), iterating ff produces an orbit x,f(x),f(f(x)),x, f(x), f(f(x)), \ldots. If the orbit is finite or enters a cycle, strong constraints emerge. Fixed points of ff are seeds for orbit analysis.

2.11 Symmetry and Odd/Even Decomposition

Write f(x)=feven(x)+fodd(x)f(x) = f_{\text{even}}(x) + f_{\text{odd}}(x) where feven(x)=f(x)+f(x)2f_{\text{even}}(x) = \frac{f(x)+f(-x)}{2} and fodd(x)=f(x)f(x)2f_{\text{odd}}(x) = \frac{f(x)-f(-x)}{2}. If the equation is even in xx, the odd part may vanish, reducing the problem.

2.12 Substitution g(x)=f(x)xg(x) = f(x) - x or g(x)=f(x)cg(x) = f(x) - c

Shifting ff by a constant or by the identity often eliminates lower-order terms. If f(x+y)=f(x)+f(y)+xyf(x+y) = f(x) + f(y) + xy, set g(x)=f(x)x22g(x) = f(x) - \frac{x^2}{2} to reach Cauchy.

2.13 Recurrence from Special Values

Setting y=1y = 1 in f(xy)=f(x)f(y)f(xy) = f(x)f(y) gives f(x)=f(x)f(1)f(x) = f(x)f(1), so either f0f \equiv 0 or f(1)=1f(1) = 1. One special value often cascades into a full determination via induction.

2.14 Verification and Domain Restrictions

Every proposed solution must be checked in the original equation on the stated domain. A function that works on R+\mathbb{R}^+ may fail on R\mathbb{R} if f(0)f(0) is undefined or inconsistent. State regularity assumptions explicitly.

Continue reading with Premium

Upgrade to read the full article and unlock all Premium features.

Free

  • Unlimited practice — all difficulties
  • 3 hints / day
  • Community solutions
  • 2 timed mocks / month

Premium

  • Full article + all 57+ theory guides
  • Unlimited hints on practice problems
  • Unlimited timed mock exams & PDF worksheets
Log in