Module 1.6 · Algebra
Functional equations
A functional equation describes a function by a property it satisfies, like , instead of giving a formula. AIME functional equations are designed to be cracked by a handful of moves: plug in clever values, substitute to create a system, and look for structure like symmetry or cycles.
Move 1: plug in special values
Try , , , , , or . Each substitution gives a new equation, often pinning down or first. Once you know one value, substitute it back to learn more.
For example, suppose for all reals . With : , so or . With : . If this says for every , which is false. So and then , giving . Always check the answer in the original equation: , as required.
Move 2: substitute to build a system
If the equation mixes with of a transformed input, like or , replace by that transformed input. When the transformation undoes itself (, ), you get a second equation in the same two unknowns and can solve for like an ordinary linear system.
Cycles of substitutions
If is a map with , then an equation involving and becomes a linear system after replacing by .
If instead (a 3-cycle, such as ), apply the equation at , and to get a system in , , .
You can check that cycles: and .
Move 3: recursion on the integers
If the equation holds for integers, set . Then is expressed through , and you can sum up to get a formula. For example, on the integers gives , so .
Move 4: use symmetry to pair terms
If is constant, a sum of over inputs symmetric about can be paired up. This turns a sum of hundreds of terms into a count.
Common mistake
Plugging in values only gives necessary conditions. The function you find might fail the original equation for other inputs, or there might be several possible functions. Always verify your candidate in the original equation, and if the problem hints at more than one solution (for example, "the sum of all possible values"), look for every case.
Worked examples
Worked example: Building a system
A function satisfies for all . Find .
Replace by : . Multiply this by and subtract the original equation:
Check: , as required.
Worked example: A recursion on the integers
A function on the integers satisfies and . Find .
With : . So for positive , and .
Worked example: Pairing
Let . Find .
Let . Then , so
The ten terms form five pairs , so the sum is .
Worked example: Composition on the positive integers
A strictly increasing function from the positive integers to the positive integers satisfies . Find .
If , then . So , and . Since is increasing and , , so . Then , and . Now leaves only and .
Tip
If a functional equation involves a polynomial , compare degrees first. For example, if is linear, then , so itself is linear.
Practice
A function on the positive integers satisfies for all positive integers . If and , find .
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
A function on the integers satisfies for all integers , and . Find .
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
A function satisfies for all real . Find .
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Let . Find
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
A function on the integers satisfies for all integers , and . Find .
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
A function from the reals to the reals satisfies for all real . Find .
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
A polynomial with positive leading coefficient satisfies for all real . Find .
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
A function is defined for all real and satisfies
Then , where and are relatively prime positive integers. Find .
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Real contest practice
- 1984 AIME, Problem 7: a recursively defined , solved by computing values and spotting a pattern.
- 1988 AIME, Problem 8: a two-variable function pinned down by three properties, which behave like the Euclidean algorithm.