Course Theory

Book 3. Functional Equations

Book 3. Functional Equations

  • 1. What Is a Functional Equation?
  • 2. First Substitutions
  • 3. Linear Functional Equations
  • 4. Injectivity and Surjectivity
  • 5. Cauchy-Type Equations
  • 6. Functional Equations on Integers
  • 7. Polynomial Functional Equations
  • 8. Iteration
  • 9. Inequality Conditions in Functional Equations
  • 10. Advanced Functional Equations
  • 11. Mixed Functional Equations

Chapter

What Is a Functional Equation?

An introductory but olympiad-level module: domains, verification, shifts to additivity, first iterations, and the difference between \(\mathbb Q\) and \(\mathbb R\).

Key idea

A functional equation gives a condition on an entire function, not on one number. A solution has three parts: obtain candidates, prove that no others exist, and verify that the found functions work on the whole domain.

Basic facts

Always begin with the domain and codomain: \(\mathbb Z\), \(\mathbb Q\), \(\mathbb R\), and \(\mathbb N\) can give different answers. On \(\mathbb Q\), additivity with known \(f(1)\) usually gives \(f(q)=qf(1)\). On \(\mathbb R\), without regularity, an additive function need not be linear.

When to use this method

Substitute \(0\), \(1\), \(x=0\), \(y=0\), \(x=y\), \(x=-y\), if these values belong to the domain. If \(x+y\) appears, look for an additive part. If \(xy\) or \(xy(x+y)\) appears, try subtracting a known polynomial so that additivity remains.

How to recognise the method

An equation \(f(x+y)=f(x)+f(y)+C\) asks for shifting the function. A term \(2xy\) or \(4xy\) asks for subtracting a square. A condition involving \(f(f(x))\) often relates to injectivity or iteration. Conditions on \(\mathbb N\) are often solved by monotonicity and surjectivity.

Typical mistakes

Do not write “let \(f(x)=ax+b\)” without proving that the function must be linear. Do not substitute \(0\) if the domain \(\mathbb N\) starts at \(1\). Do not forget verification: the formula must satisfy the original equation for all allowed variables.

Mini-checklist

1. What is the domain? 2. Can \(0\) or \(1\) be substituted? 3. Is there a shift that turns the equation into additivity? 4. Must \(\mathbb Q\), \(\mathbb Z\), or \(\mathbb N\) be handled separately? 5. Did we find all functions, not just a pretty one? 6. Was the answer checked in the original equation?

Example 1. Start with \(x=0\)

Problem. Find all \(f:\mathbb R\to\mathbb R\) such that \(f(x+y)=f(x)+y\).

Solution.

Putting \(x=0\), we get \(f(y)=f(0)+y\). Hence \(f(x)=x+c\). Direct verification shows that all such functions work.

Example 2. Shift to additivity

Problem. Let \(f:\mathbb Q\to\mathbb Q\), \(f(x+y)=f(x)+f(y)-2\). Find the general form of \(f\).

Solution.

Put \(g(x)=f(x)-2\). Then \(g(x+y)=g(x)+g(y)\), so on \(\mathbb Q\), \(g(q)=cq\). Thus \(f(q)=cq+2\).

Example 3. Quadratic extra term

Problem. Let \(f:\mathbb Q\to\mathbb Q\), \(f(x+y)=f(x)+f(y)+4xy\), \(f(1)=2\). Find \(f\).

Solution.

Put \(g(x)=f(x)-2x^2\). Then \(g(x+y)=g(x)+g(y)\), and \(g(1)=0\). Hence \(g(q)=0\), so \(f(q)=2q^2\).

Example 4. The answer need not be one numeric formula

Problem. Find all \(f:\mathbb R\to\mathbb R\) such that \(f(x+y)=f(x)+f(y)+1\).

Solution.

Put \(A(x)=f(x)+1\). Then \(A\) is additive. Therefore \(f(x)=A(x)-1\), where \(A:\mathbb R\to\mathbb R\) is any additive function.

Example 5. Iteration

Problem. If \(f:\mathbb R\to\mathbb R\) and \(f(x+f(y))=x+y\), find \(f\).

Solution.

If \(f(u)=f(v)\), then \(u=v\), because \(f(x+f(u))=x+u\). Thus \(f\) is injective. With \(x=0\), \(f(f(y))=y\). Substituting \(y=f(t)\), we get \(f(x+t)=x+f(t)\), so \(f(s)=s+c\). From \(f(f(y))=y\), \(c=0\), hence \(f(x)=x\).

Example 6. Surjectivity on \(\mathbb N\)

Problem. Let \(f:\mathbb N\to\mathbb N\) be surjective and \(f(n+1)\ge f(n)+1\). Find \(f\).

Solution.

The function is strictly increasing, so \(f(n)\ge f(1)+n-1\ge n\). If \(f(k)>k\) for some \(k\), then the value \(k\) could not appear in the image. Therefore \(f(n)=n\).

Example 7. Domain check

Problem. Why can we not automatically substitute \(0\) in an equation over \(\mathbb N\)?

Solution.

Because in this course \(\mathbb N\) means the positive integers. A substitution is allowed only when the value belongs to the domain.

Example 8. Verification

Problem. Check \(f(q)=2q^2\) in \(f(x+y)=f(x)+f(y)+4xy\).

Solution.

The left side is \(2(x+y)^2=2x^2+4xy+2y^2\). The right side is \(2x^2+2y^2+4xy\). They are equal.

Chapter

First Substitutions

A module on first substitutions in functional equations: \(x=0\), \(y=0\), \(x=y\), \(x=-y\), variable changes, and source-inspired regional/final-level problems.

Key idea

The first substitution in a functional equation should reduce the number of variables or turn the expression into a familiar form. Usually one tries \(x=0\), \(y=0\), \(x=y\), \(x=-y\), but in stronger problems the right substitution may be hidden by replacing \(y\) with \(-y\), evaluating at roots of a polynomial, or comparing two values of the same function.

Basic facts

If the equation contains \(x+y\), an additive part often appears. If it contains \(x+y\) and an extra term \(2xy\), subtracting \(x^2\) is useful. If \(x-y\) appears, try \(x=y\) and \(x=0\). If the expression is symmetric in \(y\) and \(-y\), compare the two versions of the same equality.

When to use this method

First substitutions are used at the beginning of almost every functional-equation problem. They are especially effective for finding \(f(0)\), proving evenness, obtaining injectivity, reducing the equation to additivity, or showing that an expression has equal values at two points.

How to recognise the method

If \(0\) belongs to the domain, test \(x=0\) and \(y=0\). If means \(\frac{x+y}{2}\), \(\frac{x-y}{2}\) appear, try replacing \(y\) by \(-y\). If roots are mentioned, substitute the roots. If an iteration \(f(f(x))\) appears, look for injectivity or invertibility.

Typical mistakes

Do not substitute a value outside the domain. Do not guess a linear function and stop. Do not forget that on \(\mathbb R\), without regularity, an additive function need not be \(cx\). In source-inspired problems, do not copy the form; preserve the method but create a new training problem.

Mini-checklist

1. Are \(0\), \(1\), \(-x\) allowed? 2. What does \(x=0\) give? 3. What does \(y=0\) give? 4. Is it useful to compare the equation for \(y\) and \(-y\)? 5. Can a known polynomial be subtracted? 6. Was the found function checked in the original equation?

Example 1. Substitution \(x=0\)

Problem. Find all \(f:\mathbb R\to\mathbb R\) such that \(f(x+y)=f(x)+2y\).

Solution.

With \(x=0\), \(f(y)=f(0)+2y\). Hence \(f(x)=2x+c\). Verification is direct.

Example 2. Substitution \(y=0\)

Problem. Can \(f:\mathbb R\to\mathbb R\) satisfy \(f(x+y)=f(x)+f(y)+x\)?

Solution.

With \(y=0\), \(f(x)=f(x)+f(0)+x\), impossible for all \(x\). There are no solutions.

Example 3. Shift to additivity

Problem. Let \(f:\mathbb Q\to\mathbb Q\), \(f(x+y)=f(x)+f(y)-4\), \(f(1)=7\). Find \(f\).

Solution.

Let \(g(x)=f(x)-4\). Then \(g\) is additive and \(g(1)=3\). Hence \(g(q)=3q\), so \(f(q)=3q+4\).

Example 4. Subtracting a square

Problem. Let \(f:\mathbb Q\to\mathbb Q\), \(f(x+y)=f(x)+f(y)+2xy\), \(f(1)=1\). Find \(f\).

Solution.

Put \(g(x)=f(x)-x^2\). Then \(g\) is additive and \(g(1)=0\), hence \(g\equiv0\). Answer: \(f(q)=q^2\).

Example 5. Comparing \(y\) and \(-y\)

Problem. If \(F(x)+F(y)=F(x)+F(-y)\) for all \(x,y\), prove that \(F\) is even.

Solution.

Subtract the common term \(F(x)\) to get \(F(y)=F(-y)\) for all \(y\).

Example 6. Iteration

Problem. Find all \(f:\mathbb Q\to\mathbb Q\) such that \(f(f(x)+y)=f(y)+x\).

Solution.

With \(y=0\), \(f(f(x))=f(0)+x\). With \(x=0\), \(f(f(0)+y)=f(y)\), so \(f(0)=0\). Hence \(f(f(x))=x\). Substituting \(x=f(t)\), we get \(f(t+y)=t+f(y)\), so \(f\) is additive and \(f(t)=t\) or \(f(t)=-t\). Both work.

Example 7. Substituting roots

Problem. If a quadratic function has equal values at two distinct points, what can be said about these points?

Solution.

They are symmetric about the axis of the parabola. This is often used after substituting roots into another quadratic function.

Example 8. Verification

Problem. Check \(f(q)=q^3\) in \(f(x+y)=f(x)+f(y)+3xy(x+y)\).

Solution.

Use \((x+y)^3=x^3+y^3+3xy(x+y)\). Thus the formula works.

Chapter

Linear Functional Equations

A module on proving linear and affine forms: additivity on rationals, regularity on reals, shifts, constant functions, and compositions.

Key idea

A linear answer in a functional equation must not merely be guessed. One has to prove that the equation reduces to additivity, then determine whether additivity really gives \(f(x)=cx\). On \(\mathbb Q\) it does automatically; on \(\mathbb R\) extra conditions are needed, such as monotonicity, boundedness, nonnegativity on a ray, or compatibility with multiplication.

Basic facts

If \(f(x+y)=f(x)+f(y)\) on \(\mathbb Q\), then \(f(q)=qf(1)\). If \(f(x+y)=f(x)+f(y)+C\), the shift \(g(x)=f(x)+C\) is useful. If \(f(x+y)=f(x)+f(y)-f(0)\), then \(g(x)=f(x)-f(0)\) is additive. An additive function on \(\mathbb R\) that is bounded on an interval or monotone is linear.

When to use this method

Look for the linear method when the equation contains \(x+y\), repeated coefficients such as \(2x+3y\), shifts \(x+1\), or when one must prove an affine form \(ax+b\). If \(f(f(x))\) appears, first find affine candidates and then prove that no others exist.

How to recognise the method

A constant extra term is usually removed by shifting the function. A rational domain often lets one pass directly from \(f(1)\) to \(f(q)\). A real domain without regularity requires caution: the answer may contain an arbitrary additive function.

Typical mistakes

The main mistake is writing \(f(x)=ax+b\) without proof. Another is forgetting pathological additive functions on \(\mathbb R\). A third is failing to verify the affine answer in the original equation, especially when a shift or iteration is present.

Mini-checklist

1. Can \(f(0)\) be isolated? 2. Which shift makes the function additive? 3. Is the domain \(\mathbb Q\) or \(\mathbb R\)? 4. Is there regularity: monotonicity, boundedness, sign? 5. Must constantness be proved first? 6. Has the full family of functions been checked?

Example 1. Additivity on rationals

Problem. Let \(f:\mathbb Q\to\mathbb Q\), \(f(x+y)=f(x)+f(y)\), \(f(1)=6\). Find \(f\).

Solution.

For integers \(n\), \(f(n)=6n\). If \(q=m/n\), then \(n f(q)=f(m)=6m\), so \(f(q)=6q\).

Example 2. Affine shift

Problem. \(f(x+y)=f(x)+f(y)-3\), \(f(1)=5\) on \(\mathbb Q\).

Solution.

Let \(g=f-3\). Then \(g\) is additive and \(g(1)=2\), so \(f(q)=2q+3\).

Example 3. Coefficients in the argument

Problem. \(f(2x+3y)=2f(x)+3f(y)\), \(f(1)=4\) on \(\mathbb Q\).

Solution.

First \(f(0)=0\). For any \(u,v\), take \(x=u/2\), \(y=v/3\), obtaining \(f(u+v)=f(u)+f(v)\). Hence \(f(q)=4q\).

Example 4. Constant function

Problem. \(f(x+y)=f(x)\) for all \(x,y\). Find \(f\).

Solution.

Take \(x=0\): \(f(y)=f(0)\). Hence the function is constant.

Example 5. Monotone additive function

Problem. An additive \(f:\mathbb R\to\mathbb R\) is nondecreasing. Prove \(f(x)=cx\).

Solution.

On rationals, \(f(q)=qf(1)\). Monotonicity gives continuity, and rational approximation gives the formula for all \(x\).

Example 6. Boundedness

Problem. An additive function is bounded on \([0,1]\). Prove linearity.

Solution.

Boundedness gives continuity at zero: multiply small \(h\) by large \(n\) so that \(nh\in[0,1]\). A continuous additive function is linear.

Example 7. Iterating an affine function

Problem. Find affine \(f(x)=ax+b\) such that \(f(f(x))=4x+3\).

Solution.

\(a^2=4\), \(b(a+1)=3\). Thus \(a=2,b=1\) or \(a=-2,b=-3\).

Example 8. Checking a family

Problem. Check \(f(x)=A(x)+2\), where \(A\) is additive, in \(f(x+y)=f(x)+f(y)-2\).

Solution.

The left side is \(A(x+y)+2=A(x)+A(y)+2\), and the right side is \(A(x)+2+A(y)+2-2\). They are equal.

Chapter

Injectivity and Surjectivity

A module on proving injectivity, using surjectivity, cancelling an outside function, and working with preimages in functional equations.

Key Idea

Injectivity and surjectivity in functional equations are often not just assumptions but tools. Injectivity lets us cancel an outside function: from \(f(A)=f(B)\) we get \(A=B\). Surjectivity lets us replace a value \(f(y)\) by an arbitrary variable: if the function is onto, then every \(t\) can be written as \(t=f(y)\).

Basic Facts

To prove injectivity, assume \(f(a)=f(b)\) and insert this equality into the original equation. To prove surjectivity, try to obtain a formula \(f(\text{something})=T\), where \(T\) is arbitrary. If the function is bijective, one may use the unique preimage. On \(\mathbb Q\), additivity immediately gives \(f(x)=cx\); on \(\mathbb R\), this conclusion usually needs continuity, monotonicity, or boundedness.

When to Use This Method

The method is especially useful when the equation contains expressions such as \(f(x+f(y))\), \(f(f(x)+y)\), \(f(f(x))\), or when both sides have the same outside form \(f(\ldots)=f(\ldots)\). If surjectivity is stated, almost always try to replace \(f(y)\) by a new variable.

How to Recognise the Method

Typical signs are: an outside \(f\) has to be removed; two arguments should become equal; a value \(f(y)\) should become an arbitrary \(t\); an inverse function or preimage appears; after substitutions one gets a relation like \(f(x+t)=f(x)+g(t)\).

Typical Mistakes

Do not cancel \(f(A)=f(B)\) before injectivity is proved or given. Do not treat \(f(y)\) as arbitrary before surjectivity is known. Another common mistake is to find a candidate \(f(x)=ax+b\) but not check it in the original equation, where the constant term may create a contradiction.

Mini-checklist

1. Can injectivity be proved from \(f(a)=f(b)\)? 2. Can surjectivity be proved through \(f(\text{expression})=T\)? 3. Is there a place to replace \(f(y)\) by arbitrary \(t\)? 4. What do \(x=0\) and \(y=0\) give? 5. After cancellation, do we get additivity or affinity? 6. Have all found functions been checked?

Example 1. Cancelling an Injective Function

This example shows that an outside function may be removed only after injectivity is available.

Problem. Let \(f:\mathbb R\to\mathbb R\) be injective and let \(f(f(x)+y)=f(f(y)+x)\) for all \(x,y\). Prove that \(f(x)-x\) is constant.

Solution.

Since \(f\) is injective, from \(f(f(x)+y)=f(f(y)+x)\) we get \(f(x)+y=f(y)+x\). Rearranging gives \(f(x)-x=f(y)-y\) for all \(x,y\). Hence \(f(x)-x\) does not depend on \(x\).

Comment. The key point is not to expand the function, but to remove the outside \(f\).

Example 2. Surjectivity Turns \(f(y)\) into an Arbitrary Number

The whole solution begins by writing \(t=f(y)\).

Problem. Find all surjective \(f:\mathbb R\to\mathbb R\) such that \(f(x+f(y))=f(x)+f(y)\).

Solution.

Since \(f\) is surjective, the number \(t=f(y)\) is arbitrary. Thus \(f(x+t)=f(x)+t\) for all \(x,t\). Taking \(x=0\), we get \(f(t)=f(0)+t\). Hence \(f(x)=x+c\), where \(c=f(0)\). Checking gives \(f(x+f(y))=x+f(y)+c=f(x)+f(y)\). All such functions work.

Comment. Surjectivity replaces a special value of the function by a free variable.

Example 3. Injectivity from the Equation Itself

Sometimes injectivity is not assumed, but follows from an iteration.

Problem. Let \(f:\mathbb Q\to\mathbb Q\) and \(f(f(x))=x+1\). Prove that \(f\) is bijective.

Solution.

If \(f(a)=f(b)\), then \(f(f(a))=f(f(b))\), hence \(a+1=b+1\), so \(a=b\). Thus \(f\) is injective. Now take any \(T\in\mathbb Q\). We have \(f(f(T-1))=T\), so \(T\) is a value of \(f\). Therefore \(f\) is surjective and hence bijective.

Comment. An iteration \(f(f(x))\) often gives both injectivity and surjectivity.

Example 4. An Equation with Two Answers

This example shows the standard chain: injectivity, then \(f(0)=0\), then additivity.

Problem. Find all \(f:\mathbb Q\to\mathbb Q\) satisfying \(f(x+f(y))=f(x)+y\).

Solution.

Putting \(x=0\), we get \(f(f(y))=f(0)+y\). If \(f(a)=f(b)\), then \(f(f(a))=f(f(b))\), hence \(a=b\); so \(f\) is injective. With \(y=0\), \(f(x+f(0))=f(x)\), and injectivity gives \(f(0)=0\). Therefore \(f(f(y))=y\). Put \(y=f(t)\): then \(f(x+t)=f(x)+f(t)\). On \(\mathbb Q\), this gives \(f(x)=cx\). From \(f(f(y))=y\), we get \(c^2=1\). The answers are \(f(x)=x\) and \(f(x)=-x\), and both work.

Comment. On \(\mathbb Q\), additivity immediately becomes linearity.

Example 5. Surjectivity and a Contradiction

Sometimes replacing \(f(y)\) by \(t\) quickly reveals impossibility.

Problem. Prove that there is no surjective \(f:\mathbb R\to\mathbb R\) such that \(f(x+f(y))=f(x)+f(y)+1\).

Solution.

By surjectivity, \(t=f(y)\) is arbitrary. Hence \(f(x+t)=f(x)+t+1\) for all \(x,t\). At \(x=0\), this gives \(f(t)=f(0)+t+1\). Substituting back, the left-hand side is \(f(0)+x+t+1\), while the right-hand side is \(f(0)+x+1+t+1\). This gives \(0=1\), a contradiction.

Comment. An extra constant often appears only during the final check.

Example 6. Monotonicity Removes Pathological Solutions

First we obtain additivity; then monotonicity turns it into an ordinary linear function.

Problem. Find all increasing \(f:\mathbb R\to\mathbb R\) such that \(f(x+f(y))=f(x)+2y\).

Solution.

If \(f(a)=f(b)\), comparing the equations with \(y=a\) and \(y=b\) gives \(a=b\), so \(f\) is injective. With \(y=0\): \(f(x+f(0))=f(x)\), hence \(f(0)=0\). With \(x=0\): \(f(f(y))=2y\), so \(f\) is surjective. Let \(t=f(y)\). Then \(f(t)=2y\), and the original equation becomes \(f(x+t)=f(x)+f(t)\). Thus \(f\) is additive. An increasing additive function is linear: \(f(x)=cx\). From \(f(f(y))=2y\), we obtain \(c^2=2\), and increasing gives \(c>0\). Therefore \(f(x)=\sqrt{2}x\).

Comment. Without regularity on \(\mathbb R\), the additive part could be more complicated.

Example 7. An Inverse Hidden in the Equation

This example teaches how to use preimages once the function is bijective.

Problem. Find all continuous \(f:\mathbb R\to\mathbb R\) such that \(f(f(x)+y)=x+f(y)\).

Solution.

With \(y=0\), we get \(f(f(x))=x+f(0)\), which implies injectivity. The same formula also implies surjectivity. With \(x=0\): \(f(f(0)+y)=f(y)\), so \(f(0)=0\). Hence \(f(f(x))=x\). Put \(y=f(t)\): then \(f(f(x)+f(t))=x+t=f(f(x+t))\). By injectivity, \(f(x)+f(t)=f(x+t)\). A continuous additive function has the form \(f(x)=cx\), and \(f(f(x))=x\) gives \(c^2=1\). Therefore \(f(x)=x\) or \(f(x)=-x\).

Comment. Continuity is used only at the end to exclude nonlinear additive functions.

Example 8. Surjectivity in Jensen's Equation

This is olympiad preparation: an image condition turns a partial equality into an equality for every increment.

Problem. Let \(f:\mathbb R\to\mathbb R\) be continuous and surjective, and suppose \(f(x+f(y))+f(x-f(y))=2f(x)\). Find all such functions.

Solution.

Since \(f\) is surjective, the value \(t=f(y)\) is arbitrary. Therefore \(f(x+t)+f(x-t)=2f(x)\) for all \(x,t\). This means that the value at the midpoint equals the arithmetic mean of the values at the endpoints: \(f\left(\frac{u+v}{2}\right)=\frac{f(u)+f(v)}{2}\). A continuous function with this property is affine: \(f(x)=ax+b\). Surjectivity requires \(a\ne0\). Checking shows that all \(f(x)=ax+b\), \(a\ne0\), work.

Comment. Surjectivity turns \(f(y)\) into any distance from the midpoint.

Chapter

Cauchy-Type Equations

A module on classical Cauchy-type functional equations: additivity, multiplicativity, midpoint equations, the quadratic version, and the differences between the domains \(\mathbb N\), \(\mathbb Z\), \(\mathbb Q\), and \(\mathbb R\).

Key Idea

Cauchy-type equations are recognised by the way a value at a combined argument is related to values at its parts: \(x+y\), \(xy\), or the pair \(x+y\), \(x-y\). The main question is always the same: what is the domain, and which extra condition allows us to turn a formal property into an explicit function?

Basic Facts

On \(\mathbb N\) and \(\mathbb Z\), additivity is usually handled by induction. On \(\mathbb Q\), from \(f(x+y)=f(x)+f(y)\) we get \(f(q)=qf(1)\). On \(\mathbb R\), additivity alone is insufficient: one needs continuity, monotonicity, boundedness on an interval, or another regularity condition. The equation \(f(x+y)+f(x-y)=2f(x)\) leads to affine functions under regularity, while \(f(x+y)+f(x-y)=2f(x)+2f(y)\) leads to quadratic functions.

When to Use This Method

Use this method when expressions such as \(x+y\), \(x-y\), \(xy\) repeat, or when a shift \(g(x)=f(x)-c\) may turn the equation into an additive one. For problems over \(\mathbb Q\), usually start with \(f(0)\) and \(f(1)\). For problems over \(\mathbb R\), look for the condition that rules out pathological additive functions.

How to Recognise the Method

Typical signs are: one can substitute \(0\), \(1\), or \(-x\); a function of a sum splits into a sum of functions; the symmetric pair \(x+y\), \(x-y\) appears; an extra constant disappears after a shift; a polynomial correction disappears after subtracting \(x^2\) or \(x^3\).

Typical Mistakes

On \(\mathbb R\), do not automatically write \(f(x)=cx\) from additivity alone. In multiplicative problems, do not forget the zero function. Do not transfer conclusions from \(\mathbb Q\) to \(\mathbb R\) without regularity. Also check that the shift \(g=f-c\) has the correct sign.

Mini-checklist

1. What is the domain: \(\mathbb N\), \(\mathbb Z\), \(\mathbb Q\), or \(\mathbb R\)? 2. What do \(0\), \(1\), and \(-x\) give? 3. Is a shift needed? 4. Is there regularity on \(\mathbb R\)? 5. Is there a quadratic or cubic correction? 6. Have special solutions been checked: zero, constant, identity?

Example 1. Additivity on \(\mathbb Q\)

Basic technique: rational arguments are reduced to \(f(1)\).

Problem. Let \(f:\mathbb Q\to\mathbb Q\) and \(f(x+y)=f(x)+f(y)\). Prove that \(f(q)=qf(1)\) for all \(q\in\mathbb Q\).

Solution.

From \(f(0)=f(0)+f(0)\), we get \(f(0)=0\). For natural \(n\), \(f(n)=nf(1)\) by induction. Also \(0=f(n+(-n))=f(n)+f(-n)\), hence \(f(-n)=-nf(1)\). If \(q=\frac{m}{n}\), then \(n f(q)=f(nq)=f(m)=mf(1)\), so \(f(q)=qf(1)\).

Comment. This is the main fact that cannot be transferred to \(\mathbb R\) without regularity.

Example 2. Shifting to Additivity

An extra constant is often removed by the right shift.

Problem. Find all \(f:\mathbb Q\to\mathbb Q\) such that \(f(x+y)=f(x)+f(y)-4\).

Solution.

Let \(g(x)=f(x)-4\). Then \(g(x+y)=f(x+y)-4=f(x)+f(y)-8=g(x)+g(y)\). Thus \(g(x)=ax\) on \(\mathbb Q\). Hence \(f(x)=ax+4\), where \(a\in\mathbb Q\). Direct checking works.

Comment. First choose the shift, then solve the ordinary Cauchy equation.

Example 3. Multiplicativity Together with Additivity

Two properties strongly restrict the function.

Problem. Find all \(f:\mathbb Q\to\mathbb Q\) such that \(f(x+y)=f(x)+f(y)\) and \(f(xy)=f(x)f(y)\).

Solution.

By additivity, \(f(x)=cx\). Multiplicativity gives \(cxy=c^2xy\) for all \(x,y\). Hence \(c=0\) or \(c=1\). The answers are \(f(x)=0\) and \(f(x)=x\). Both work.

Comment. In multiplicative problems, the zero function must be checked separately.

Example 4. Continuous Additivity on \(\mathbb R\)

Regularity turns additivity into linearity.

Problem. Let \(f:\mathbb R\to\mathbb R\) be additive and continuous. Find \(f\) if \(f(\sqrt{2})=5\).

Solution.

A continuous additive function has the form \(f(x)=cx\). Therefore \(c\sqrt{2}=5\), so \(c=\frac{5}{\sqrt{2}}\). The answer is \(f(x)=\frac{5}{\sqrt{2}}x\).

Comment. An olympiad solution should explicitly state where continuity is used.

Example 5. The Midpoint Equation

The symmetric pair \(x+y\), \(x-y\) leads to a Jensen-type argument.

Problem. Find all continuous \(f:\mathbb R\to\mathbb R\) such that \(f(x+y)+f(x-y)=2f(x)\).

Solution.

Put \(u=x+y\), \(v=x-y\). Then \(x=\frac{u+v}{2}\), and the condition becomes \(f\left(\frac{u+v}{2}\right)=\frac{f(u)+f(v)}{2}\). A continuous function preserving midpoints is affine: \(f(x)=ax+b\). Checking shows that all such functions work.

Comment. This is not the quadratic equation: the right-hand side does not contain \(2f(y)\).

Example 6. The Quadratic Cauchy Equation

Adding \(2f(y)\) changes the type of answer.

Problem. Find all continuous \(f:\mathbb R\to\mathbb R\) such that \(f(x+y)+f(x-y)=2f(x)+2f(y)\) and \(f(1)=3\).

Solution.

With \(y=0\), we get \(2f(x)=2f(x)+2f(0)\), so \(f(0)=0\). Continuous solutions of the quadratic Cauchy equation have the form \(f(x)=cx^2\). From \(f(1)=3\), we get \(c=3\). The answer is \(f(x)=3x^2\). Checking: \(3(x+y)^2+3(x-y)^2=6x^2+6y^2\).

Comment. It is important to distinguish the affine and quadratic cases.

Example 7. A Polynomial Correction

Sometimes one subtracts a known nonlinear part to reveal additivity.

Problem. Find all \(f:\mathbb Q\to\mathbb Q\) such that \(f(x+y)=f(x)+f(y)+xy(x+y)\).

Solution.

Notice that \((x+y)^3-x^3-y^3=3xy(x+y)\). Let \(g(x)=f(x)-\frac{x^3}{3}\). Then \(g(x+y)=g(x)+g(y)\). On \(\mathbb Q\), \(g(x)=ax\). Hence \(f(x)=\frac{x^3}{3}+ax\), where \(a\in\mathbb Q\). The check follows from the same cubic identity.

Comment. This is an olympiad version of Cauchy's method: remove the correction first.

Example 8. A Mixed Condition

One condition makes the function linear, and the second determines the coefficient.

Problem. Find all continuous \(f:\mathbb R\to\mathbb R\) such that \(f(x+y)=f(x)+f(y)\) and \(f(x)f(y)=f(xy)+xy\).

Solution.

Continuous additivity gives \(f(x)=cx\). Substituting into the second condition gives \(c^2xy=cxy+xy\) for all \(x,y\). Hence \(c^2=c+1\). Therefore \(c=\frac{1+\sqrt{5}}{2}\) or \(c=\frac{1-\sqrt{5}}{2}\). Both answers work.

Comment. The second condition does not replace the first; it fixes the coefficient.

Chapter

Functional Equations on Integers

A module on discrete functional equations: induction, parity, divisibility, recurrences, residue classes, and finite domains.

Key Idea

On the integers, a functional equation often becomes a recurrence. Instead of continuity, we use induction, parity, divisibility, residue classes, and finiteness of the domain. It is important not to transfer real-domain methods automatically: on \(\mathbb Z\), one can move by one step or by separate residue classes.

Basic Facts

If \(f(m+n)=f(m)+f(n)\) on \(\mathbb Z\), then \(f(n)=cn\), where \(c=f(1)\). A first-order recurrence determines all values from one initial value. A recurrence with step \(d\) usually determines the function separately on each residue class modulo \(d\). On a finite set, injectivity and surjectivity are equivalent.

When to Use This Method

Use the discrete method when arguments differ by \(1\), \(2\), or \(3\), when \(m+n\) and \(m-n\) appear, when the function is defined on residues modulo a number, or when the statement includes integrality, divisibility, or parity. It is often useful to find \(f(0)\), \(f(1)\), and then a formula for \(f(n+1)-f(n)\).

How to Recognise the Method

Signs of the method: the equation can be read as a recurrence; substitutions \(m=0\), \(n=0\), \(m=n\) give initial values; the expression changes only within the same parity class; in a finite field every element is a multiple of \(1\).

Typical Mistakes

Do not assume that a step-two recurrence connects even and odd values. Do not forget negative integers. In modular problems, all equalities must be interpreted modulo the modulus, not as ordinary integer equalities. On a finite domain, use the fact that injectivity already means bijectivity.

Mini-checklist

1. Is there an initial value? 2. What is the recurrence step: \(1\), \(2\), or \(3\)? 3. Should even and odd values be separated? 4. What happens for negative \(n\)? 5. Can a known correction be subtracted: \(n^2\), \(\binom{n}{2}\)? 6. If the domain is finite, can injectivity be upgraded to bijectivity?

Example 1. A First-Order Recurrence

The simplest discrete case: each next value is determined by the previous one.

Problem. Let \(f:\mathbb Z\to\mathbb Z\), \(f(0)=2\), and \(f(n+1)=f(n)+5\). Find \(f(n)\).

Solution.

For \(n>0\), induction gives \(f(n)=2+5n\). For negative integers, move backwards: \(f(n)=f(n+1)-5\), so the same formula remains true. The answer is \(f(n)=5n+2\).

Comment. On \(\mathbb Z\), always check the backward direction.

Example 2. Step Two and Parity

A step-two recurrence splits the problem into two classes.

Problem. Let \(f(n+2)=f(n)+4\), \(f(0)=1\), and \(f(1)=3\). Find \(f(n)\).

Solution.

On even numbers, \(f(2k)=1+4k=2(2k)+1\). On odd numbers, \(f(2k+1)=3+4k=2(2k+1)+1\). Hence \(f(n)=2n+1\) for all integers \(n\).

Comment. If the initial values were not compatible, the formula could differ on even and odd numbers.

Example 3. The \(mn\) Correction

Here a sum becomes a square after subtracting a known correction.

Problem. Find all \(f:\mathbb Z\to\mathbb Z\) such that \(f(m+n)=f(m)+f(n)+2mn\).

Solution.

Let \(g(n)=f(n)-n^2\). Then \(g(m+n)=g(m)+g(n)\). On \(\mathbb Z\), \(g(n)=cn\), where \(c\in\mathbb Z\). The answer is \(f(n)=n^2+cn\). Direct checking works.

Comment. Polynomial corrections are often recognised through square identities.

Example 4. The \(\binom{n}{2}\) Correction

With the added term \(mn\), the binomial correction is more convenient than \(n^2\).

Problem. Find all \(f:\mathbb Z\to\mathbb Z\) such that \(f(m+n)=f(m)+f(n)+mn\).

Solution.

Use \(\binom{m+n}{2}=\binom{m}{2}+\binom{n}{2}+mn\). Let \(g(n)=f(n)-\binom{n}{2}\). Then \(g(m+n)=g(m)+g(n)\), so \(g(n)=cn\). The answer is \(f(n)=\binom{n}{2}+cn\).

Comment. This correction remains integral for all integers \(n\).

Example 5. A Finite Domain

On a finite set, injectivity immediately gives surjectivity.

Problem. Let \(p\) be prime and \(f:\mathbb Z/p\mathbb Z\to\mathbb Z/p\mathbb Z\), \(f(x+y)=f(x)+f(y)\). Prove that \(f(x)=xf(1)\).

Solution.

Every element is \(x\cdot1\) in the additive sense modulo \(p\). Therefore \(f(x)=f(1+\cdots+1)=xf(1)\). All equalities are modulo \(p\).

Comment. This is the finite version of additivity on \(\mathbb Q\), but the proof is shorter.

Example 6. Parity as an Obstruction

Sometimes it is enough to look at the parity of neighbouring values.

Problem. Prove that there is no \(f:\mathbb Z\to\mathbb Z\) such that \(f(n+1)-f(n)=2n+1\) and all values \(f(n)\) have the same parity.

Solution.

The difference \(f(n+1)-f(n)=2n+1\) is always odd. Hence neighbouring values have opposite parity. Therefore all values cannot have the same parity.

Comment. This is short, but it is an important olympiad check.

Example 7. A Functional Equation on \(\mathbb Z\)

An integer version of the familiar injectivity method.

Problem. Find all \(f:\mathbb Z\to\mathbb Z\) such that \(f(n+f(m))=f(n)+m\).

Solution.

With \(n=0\), \(f(f(m))=f(0)+m\). This implies injectivity. With \(m=0\), \(f(n+f(0))=f(n)\), so \(f(0)=0\). Thus \(f(f(m))=m\). Put \(m=f(t)\): \(f(n+t)=f(n)+f(t)\). Therefore \(f(n)=cn\) on \(\mathbb Z\). From \(f(f(n))=n\), we get \(c^2=1\). The answer is \(f(n)=n\) and \(f(n)=-n\).

Comment. The method resembles the real-domain one, but linearity on \(\mathbb Z\) is simpler.

Example 8. Residues Modulo a Prime

The finite version can give the same answer as the rational one.

Problem. Let \(p\) be an odd prime, \(f:\mathbb Z/p\mathbb Z\to\mathbb Z/p\mathbb Z\), and \(f(x+f(y))=f(x)+y\). Find \(f\).

Solution.

With \(x=0\), \(f(f(y))=f(0)+y\), so \(f\) is injective, and on a finite set it is bijective. With \(y=0\), \(f(x+f(0))=f(x)\), hence \(f(0)=0\). Thus \(f(f(y))=y\). Substituting \(y=f(t)\), we get \(f(x+t)=f(x)+f(t)\), so \(f(x)=ax\). From \(f(f(y))=y\), \(a^2=1\), hence \(a=1\) or \(a=-1\). The answer is \(f(x)=x\) and \(f(x)=-x\).

Comment. Finiteness replaces the proof of surjectivity.

Chapter

Polynomial Functional Equations

A module on functional equations where the unknown function is a polynomial: degree comparison, leading coefficients, finite differences, and root arguments.

Key Idea

When the unknown function is a polynomial, we gain a powerful tool: comparing degrees and leading coefficients. Polynomial equalities are identities, not just pointwise coincidences. Therefore we can compare degree in \(x\), degree in \(y\), number of roots, and behaviour for large values.

Basic Facts

If two polynomials agree at infinitely many points, they are identical. If \(P\) has degree \(d\), then \(P(P(x))\) usually has degree \(d^2\), while \(P(x)^k\) has degree \(kd\). The difference \(P(x+1)-P(x)\) has degree one less than \(P\) when \(P\) is nonconstant. A nonconstant polynomial cannot be periodic.

When to Use This Method

The method is especially useful when the condition contains \(P(x+y)\), \(P(xy)\), \(P(P(x))\), \(P(x+1)-P(x)\), or when the same formula holds for all real, rational, or integer \(x\). First determine the possible degree, then the leading coefficient, and only then the lower coefficients.

How to Recognise the Method

Signs include: a polynomial composed with itself; a product \(P(x)P(y)\); an equality with \(P(x^2)\) or \(P(x^3)\); a finite difference; or a statement about infinitely many roots. If a nonzero root \(r\) forces \(P(ry)=0\) for all \(y\), then the polynomial must be zero.

Typical Mistakes

Do not divide by \(P(x)\) before analysing its roots. Do not forget constant solutions. Do not compare only the leading degree and stop: after the degree, check the leading coefficient and lower coefficients. In problems with integer \(n\), remember that a polynomial equality true for all integers is an identity.

Mini-checklist

1. Are there constant solutions? 2. What are the degrees of both sides? 3. What does the leading coefficient give? 4. What do \(x=0\), \(x=1\), \(y=0\) give? 5. Is there a root argument? 6. Does a finite difference determine the polynomial?

Example 1. An Additive Polynomial

The polynomial version of Cauchy's equation needs no regularity assumption.

Problem. Find all polynomials \(P\in\mathbb R[x]\) such that \(P(x+y)=P(x)+P(y)\).

Solution.

With \(y=0\), \(P(0)=0\). Let \(\deg P=d\). If \(d\ge2\), then \(P(x+y)\) contains a mixed term of highest degree, while \(P(x)+P(y)\) contains no mixed terms. Hence \(d\le1\). Thus \(P(x)=ax+b\), and \(P(0)=0\) gives \(b=0\). The answer is \(P(x)=ax\).

Comment. One may also use additivity on \(\mathbb Q\), but degree comparison is faster.

Example 2. A Finite Difference

The difference \(P(x+1)-P(x)\) lowers degree by one.

Problem. Find all \(P\in\mathbb R[x]\) such that \(P(x+1)-P(x)=2x+1\).

Solution.

Notice that \((x+1)^2-x^2=2x+1\). Thus \(P(x)-x^2\) has zero finite difference: \(Q(x+1)=Q(x)\). A nonconstant polynomial cannot be periodic, so \(Q\) is constant. The answer is \(P(x)=x^2+c\).

Comment. The difference formula is often guessed from the expected degree.

Example 3. Composition and Degree

Composition quickly rules out many equations.

Problem. Prove that there is no polynomial \(P\in\mathbb R[x]\) such that \(P(P(x))=x^2+1\).

Solution.

If \(P\) is constant, the left-hand side is constant, impossible. If \(\deg P=d\ge1\), then \(\deg P(P(x))=d^2\). The right-hand side has degree \(2\). We would need \(d^2=2\), but no integer degree \(d\) has this property. Contradiction.

Comment. Always check the constant case first.

Example 4. A Multiplicative Polynomial

Here we need both degree and a root argument.

Problem. Find all \(P\in\mathbb R[x]\) such that \(P(xy)=P(x)P(y)\).

Solution.

The constant solutions are \(P=0\) and \(P=1\). Let \(P\) be nonconstant. Then \(P(1)=1\). If \(P\) has a nonzero root \(r\), then \(P(ry)=P(r)P(y)=0\) for all \(y\), so \(P\equiv0\), a contradiction. Therefore the only possible root is \(0\), and \(P(x)=ax^n\). Substitution gives \(a=a^2\), hence \(a=1\). The answer is \(0\), \(1\), and \(x^n\) for \(n\ge1\).

Comment. Roots cannot be ignored: they often give the whole structure.

Example 5. The Equation \(P(x)^2=P(x^2)\)

A similar equation is solved by the same root method.

Problem. Find all \(P\in\mathbb R[x]\) such that \(P(x)^2=P(x^2)\).

Solution.

The constant solutions are \(0\) and \(1\). If \(P\) is nonconstant and \(r\ne0\) is a root, then \(P(r)^2=P(r^2)=0\), then \(P(r^{2^k})=0\) for infinitely many values, impossible for a nonzero polynomial. Hence the only root is \(0\), so \(P(x)=ax^n\). Comparing leading coefficients gives \(a^2=a\), so \(a=1\). The answer is \(0\), \(1\), and \(x^n\).

Comment. Here an infinite chain of roots replaces division.

Example 6. An Inner \(P(y)\)

Comparing degree in \(y\) often forces the polynomial to be linear.

Problem. Find all \(P\in\mathbb R[x]\) such that \(P(x+P(y))=P(x)+y\).

Solution.

Let \(\deg P=d\). If \(d\ge2\), the degree of the left-hand side in \(y\) is \(d^2\), while the degree of the right-hand side is \(1\), impossible. Hence \(P(x)=ax+b\). Substitution gives \(a(x+ay+b)+b=ax+b+y\). Therefore \(a^2=1\) and \(ab=0\). Since \(a\ne0\), \(b=0\). The answer is \(P(x)=x\) and \(P(x)=-x\).

Comment. First degree, then coefficients.

Example 7. Equality on Integers

If a polynomial equality is true for all integers, it is an identity.

Problem. Find all \(P\in\mathbb R[x]\) if \(P(n+1)-P(n)=n^2\) for all integers \(n\).

Solution.

The polynomial \(P(x+1)-P(x)-x^2\) has infinitely many roots, so it is identically zero. Since \(\frac{x(x-1)(2x-1)}{6}\) has finite difference \(x^2\), all solutions are \(P(x)=\frac{x(x-1)(2x-1)}{6}+c\).

Comment. Integer points give an identity when there are infinitely many of them.

Example 8. A Condition on Triples with Zero Sum

The final example uses the leading homogeneous part.

Problem. Let \(P\in\mathbb R[x]\) and \(P(x)+P(y)+P(-x-y)=0\) for all \(x,y\). Find \(P\).

Solution.

Let the degree of \(P\) be \(d\), with leading coefficient \(a\). The leading homogeneous part gives \(a(x^d+y^d+(-x-y)^d)=0\). Put \(y=x\): \(a(2+(-2)^d)x^d=0\). For \(d\ge2\), this is not identically zero; for even \(d\) the coefficient is positive, and for odd \(d\ge3\) it is \(2-2^d\ne0\). Hence \(d\le1\). Substituting \(P(x)=ax+b\) gives \(3b=0\). The answer is \(P(x)=ax\).

Comment. There is no need to expand the entire polynomial.

Chapter

Iteration

A module on repeated application of a function: \(f(f(x))\), fixed points, cycles, involutions, idempotents, and iteration chains.

Key Idea

Iteration means repeated application of a function: \(f^2(x)=f(f(x))\), \(f^3(x)=f(f(f(x)))\). In such problems we track not only \(f(x)\), but the whole chain \(x, f(x), f^2(x), \ldots\). Solutions often use fixed points, cycles, and comparison between cycle length and the size of a finite set.

Basic Facts

If \(f^2(x)=x\), then \(f\) is an involution. If \(f^k(x)=x\), then in a finite permutation the orbit of a point is a cycle whose length divides \(k\). If \(f\) is strictly increasing and \(f^k(x)=x\) for all \(x\), then \(f(x)=x\). For additive functions on \(\mathbb Q\), iteration becomes a power of the coefficient.

When to Use This Method

Use the iteration method when the condition contains \(f(f(x))\), \(f^3(x)\), a fixed point \(f(a)=a\), a cycle, or a statement about returning after repeated application. If the function has the form \(ax+b\), compute \(f^2\), \(f^3\) explicitly. If the set is finite, think in terms of cycle decomposition.

How to Recognise the Method

Signs include: expressions \(f(f(x))\), \(f^k(x)\); a condition \(f(f(x))=x+c\); a request to prove existence of a fixed point; a finite set and an iteration power; an additive function with \(f^2(x)=cx\).

Typical Mistakes

Do not confuse \(f^2(x)\) with \((f(x))^2\). Do not assume that every involution is the identity: for example, \(f(x)=-x\) is also an involution. In finite problems, do not forget cycles of smaller length. In monotonicity problems, compare the whole chain, not just one pair of values.

Mini-checklist

1. What does \(f^k\) mean in this problem? 2. Are there fixed points? 3. Which cycle lengths are possible? 4. Can \(f\) be written as \(ax+b\) or \(cx\)? 5. What happens after applying the condition again? 6. Have all found cycles and special cases been checked?

Example 1. A Fixed Point Is Forbidden

Sometimes iteration immediately excludes fixed points.

Problem. Let \(f(f(x))=x+1\). Prove that \(f\) has no fixed points.

Solution.

If \(f(a)=a\), then \(f(f(a))=f(a)=a\). But the condition gives \(f(f(a))=a+1\). Thus \(a=a+1\), a contradiction.

Comment. Always check what the condition gives at a fixed point.

Example 2. An Increasing Involution

Monotonicity can remove all nontrivial cycles.

Problem. Let \(f:\mathbb R\to\mathbb R\) be strictly increasing and suppose \(f(f(x))=x\). Prove that \(f(x)=x\).

Solution.

Suppose \(f(a)>a\). Then by increasingness, \(f(f(a))>f(a)\), so \(a>f(a)\), a contradiction. Similarly, if \(f(a)

Comment. The whole chain \(a, f(a), f^2(a)\) is compared.

Example 3. Affine Iteration

For \(ax+b\), compute iterates explicitly.

Problem. Find all \(f(x)=ax+b\) such that \(f(f(x))=x+6\).

Solution.

We have \(f(f(x))=a(ax+b)+b=a^2x+b(a+1)\). Thus \(a^2=1\). If \(a=1\), then \(2b=6\), so \(b=3\). If \(a=-1\), then \(b(a+1)=0\), but we need \(6\), impossible. The answer is \(f(x)=x+3\).

Comment. Affine tasks often reduce to a system for \(a,b\).

Example 4. Additive Iteration

On \(\mathbb Q\), additivity turns iteration into a power of a number.

Problem. Find all additive \(f:\mathbb Q\to\mathbb Q\) such that \(f(f(x))=9x\).

Solution.

Additivity on \(\mathbb Q\) gives \(f(x)=cx\), \(c\in\mathbb Q\). Then \(f(f(x))=c^2x\). Hence \(c^2=9\), so \(c=3\) or \(c=-3\). The answer is \(f(x)=3x\), \(f(x)=-3x\).

Comment. This is the iterative version of the linear Cauchy fact.

Example 5. Finite Cycles

On a finite domain, iteration is described by cycles.

Problem. A permutation \(f\) is given on a set of \(10\) elements, and \(f^3(x)=x\) for all \(x\). Prove that it cannot have no fixed points.

Solution.

The cycles of the permutation have lengths dividing \(3\), so they have length \(1\) or \(3\). If there are no fixed points, all cycles have length \(3\). Then the number of elements must be divisible by \(3\), but \(10\) is not divisible by \(3\). Contradiction.

Comment. This reasoning appears often in olympiad combinatorics and algebra.

Example 6. Polynomial Iteration

A polynomial composed with itself is strongly restricted by degree.

Problem. Find all \(P\in\mathbb R[x]\) such that \(P(P(x))=x\).

Solution.

If \(P\) is constant, impossible. Let \(\deg P=d\). Then \(d^2=1\), hence \(d=1\). Let \(P(x)=ax+b\). We get \(P(P(x))=a^2x+b(a+1)=x\). Thus \(a^2=1\), \(b(a+1)=0\). The answer is \(P(x)=x\) or \(P(x)=-x+b\).

Comment. This is a polynomial involution.

Example 7. Idempotence

The condition \(f(f(x))=f(x)\) is about the image, not necessarily all points.

Problem. Let \(f(f(x))=f(x)\) for all \(x\). Prove that every point in the image of \(f\) is fixed.

Solution.

If \(y\) lies in the image, then \(y=f(x)\) for some \(x\). Hence \(f(y)=f(f(x))=f(x)=y\). Therefore every image point is a fixed point.

Comment. This is useful when the function cannot be fully determined.

Example 8. Strictly Increasing Finite Iteration

One idea works for cycles of any length.

Problem. Let \(f:\mathbb R\to\mathbb R\) be strictly increasing and \(f^k(x)=x\) for all \(x\), where \(k\ge2\). Prove that \(f(x)=x\).

Solution.

If \(f(a)>a\), then increasingness gives \(f^2(a)>f(a)>a\), then \(f^3(a)>f^2(a)\), and so on. Thus \(f^k(a)>a\), contradicting \(f^k(a)=a\). The case \(f(a)

Comment. This is the final template for ordered cycles.

Chapter

Inequality Conditions in Functional Equations

A module on how monotonicity, boundedness, positivity, and order preservation force functional equations to have ordinary linear solutions.

Key Idea

In functional equations over \(\mathbb R\), an inequality often serves as a regularity condition. An additive function can be very wild, but monotonicity, boundedness on an interval, positivity on a ray, or order preservation immediately forces it to become linear. Therefore the inequality is not decoration; it is often the key step.

Basic Facts

An additive function bounded above or below on an interval is linear. A monotone additive function is linear. If an additive function is nonnegative for \(x>0\), then it is monotone. If an additive function is bounded above or below on the whole real line, it is zero. A Jensen-type equation plus boundedness or monotonicity usually gives affinity.

When to Use This Method

Use the method when a functional equation includes words such as increasing, bounded, positive, order-preserving, or an estimate like \(|f(x)|\le C\), \(f(x)\le x^2\), \(0\le f(x)\le x\). Look for a way to scale the argument: replace \(x\) by \(qx\), \(nx\), or \(x/n\).

How to Recognise the Method

Signs include: a Cauchy-like equation over \(\mathbb R\); an inequality only on a small interval; positivity on the positive half-line; the need to exclude nonlinear additive functions; an estimate that becomes stronger after dividing by \(n\) or replacing \(x\) by \(qx\).

Typical Mistakes

Do not write \(f(x)=cx\) from additivity over \(\mathbb R\) alone. Boundedness at one point is not sufficient; one needs a set with length. In inequality problems, check both signs of the argument. Also remember: if an inequality holds for all \(q>0\), one may send \(q\) to \(0\) or to infinity.

Mini-checklist

1. Is there a Cauchy/Jensen part? 2. Which regularity is given: monotonicity, boundedness, sign? 3. Can continuity at zero be proved? 4. What does scaling \(qx\) give? 5. Should \(x>0\) and \(x<0\) be considered separately? 6. Have edge cases been checked: zero function, negative coefficient?

Example 1. Monotone Additivity

Monotonicity closes Cauchy's equation on \(\mathbb R\).

Problem. Let \(f\) be additive, increasing, and \(f(1)=3\). Find \(f\).

Solution.

An increasing additive function is linear: \(f(x)=cx\). From \(f(1)=3\), we get \(c=3\). The answer is \(f(x)=3x\).

Comment. The solution must state exactly what monotonicity gives.

Example 2. Boundedness on an Interval

Even local boundedness removes pathological solutions.

Problem. Let \(f\) be additive, \(|f(x)|\le10\) for \(0\le x\le1\), and \(f(1)=2\). Find \(f\).

Solution.

An additive function bounded on an interval is continuous. Hence \(f(x)=cx\). From \(f(1)=2\), we get \(f(x)=2x\).

Comment. Values outside the interval are not needed.

Example 3. Positivity on a Ray

Sign on the positive half-line gives monotonicity.

Problem. Let \(f\) be additive and \(f(x)\ge0\) for all \(x>0\). Prove that \(f(x)=cx\), \(c\ge0\).

Solution.

If \(x0\), so \(f(y)-f(x)=f(y-x)\ge0\). Thus \(f\) is nondecreasing. A monotone additive function is linear: \(f(x)=cx\). The condition for \(x>0\) gives \(c\ge0\).

Comment. Positivity becomes order.

Example 4. A Global Lower Bound

An additive function bounded below on the whole line must be zero.

Problem. Let \(f\) be additive and \(f(x)>-1\) for all \(x\). Prove that \(f\equiv0\).

Solution.

If \(f(a)>0\), then for large negative \(n\), \(f(na)=nf(a)<-1\), contradiction. If \(f(a)<0\), then for large positive \(n\), again \(f(na)<-1\). Hence \(f(a)=0\) for every \(a\).

Comment. A global estimate is stronger than a local one.

Example 5. Scaling an Estimate

A quadratic upper bound may force an additive function to vanish.

Problem. Let \(f\) be additive and \(f(x)\le x^2\) for all \(x\). Prove that \(f\equiv0\).

Solution.

For every \(q>0\), \(f(qx)=qf(x)\le q^2x^2\). Divide by \(q\): \(f(x)\le qx^2\). Letting \(q\to0+\), we get \(f(x)\le0\). Applying this to \(-x\), we get \(-f(x)\le0\), so \(f(x)\ge0\). Therefore \(f(x)=0\).

Comment. This is one of the most useful tricks in the module.

Example 6. Jensen Plus Boundedness

A Jensen-type equality with regularity gives affinity.

Problem. Let \(f\) satisfy \(f\left(\frac{x+y}{2}\right)=\frac{f(x)+f(y)}{2}\) and be bounded above on some interval. Prove that \(f\) is affine.

Solution.

Let \(g(x)=f(x)-f(0)\). Then \(g\) satisfies Jensen's equation and is bounded on an interval. Standard result: such a function is continuous and Jensen-linear, so \(g(x)=cx\). Hence \(f(x)=cx+b\).

Comment. For this course, it can be used as a theoretical fact.

Example 7. Additivity and Multiplicativity with Order

Monotonicity first gives linearity, then the second condition fixes the coefficient.

Problem. Let \(f\) be nondecreasing, additive, and satisfy \(f(xy)=f(x)f(y)\). Find \(f\).

Solution.

A nondecreasing additive function is linear: \(f(x)=cx\), where \(c\ge0\). Then \(cxy=c^2xy\) for all \(x,y\). Hence \(c=0\) or \(c=1\). The answers are \(f\equiv0\) and \(f(x)=x\).

Comment. The zero function remains valid because it is nondecreasing.

Example 8. An Inequality with a Product

Final example: the two signs of a product give opposite bounds.

Problem. Let \(f\) be additive and \(f(x)f(y)\le xy\) for all \(x,y\). Find \(f\).

Solution.

Taking \(y=x\), we get \(f(x)^2\le x^2\), so \(f\) is bounded on \([-1,1]\). Hence \(f(x)=cx\). The condition becomes \(c^2xy\le xy\) for all \(x,y\). If \(xy>0\), then \(c^2\le1\); if \(xy<0\), then \(c^2\ge1\). Therefore \(c^2=1\). The answer is \(f(x)=x\), \(f(x)=-x\).

Comment. It is essential to consider both signs of \(xy\).

Chapter

Advanced Functional Equations

A module on mixed and parametric functional equations: additivity plus products, systems of functions, rational and real domains, compositions, and parameters.

Key Idea

In advanced functional equations, the method is rarely visible immediately. Often two layers must be combined: first reduce the equation to a Cauchy/Jensen type, then use a second condition, a parameter, a composition, or a domain restriction. The important habit is not to chase the answer immediately, but to expose the structure.

Basic Facts

Additivity on \(\mathbb Q\) gives \(f(x)=cx\). Continuous or monotone additivity on \(\mathbb R\) also gives linearity. The equation \(f(x+y)=f(x)+f(y)+a xy\) is handled by the substitution \(g(x)=f(x)-\frac{a}{2}x^2\). In systems, one equation often determines the form of the function, while the second fixes the coefficient.

When to Use This Method

Use the mixed method when a problem contains both sum and product, composition and additivity, a parameter, several functions, or conditions over \(\mathbb Q\) and \(\mathbb R\) with different consequences. If \(xy\) appears next to \(x+y\), look for a quadratic correction.

How to Recognise the Method

Signs include: two functional equations in one problem; a parameter \(a\); expressions \(x+f(y)\); a condition \(f(f(x))\); a mixture of \(f(xy)\) and \(f(x)+f(y)\); a request to find all parameters for which a solution exists.

Typical Mistakes

Do not solve the second condition before the first has given the form of the function. Do not forget the zero solution in multiplicative systems. Do not transfer a conclusion from \(\mathbb Q\) to \(\mathbb R\) without regularity. In parameter problems, check both the function and the parameter value.

Mini-checklist

1. Which condition gives the form of the function? 2. Which condition fixes the coefficients? 3. Is a shift or quadratic correction needed? 4. Is the domain \(\mathbb Q\) or \(\mathbb R\)? 5. Is there regularity? 6. Have all parameters and special solutions been checked?

Example 1. Parametric Quadratic Correction

The term \(a xy\) is removed by subtracting \(\frac a2 x^2\).

Problem. Find all continuous \(f:\mathbb R\to\mathbb R\) such that \(f(x+y)=f(x)+f(y)+a xy\).

Solution.

Let \(g(x)=f(x)-\frac a2 x^2\). Then \(g(x+y)=g(x)+g(y)\). By continuity, \(g(x)=cx\). Hence \(f(x)=\frac a2 x^2+cx\). Direct checking works.

Comment. The parameter remains free, and so does \(c\).

Example 2. The Second Condition Fixes the Coefficient

First find the form, then use the extra condition.

Problem. Let \(f(x+y)=f(x)+f(y)+2xy\), let \(f\) be continuous, and suppose \(f(1)=0\). Find \(f\).

Solution.

From the previous example, \(f(x)=x^2+cx\). The condition \(f(1)=0\) gives \(1+c=0\), so \(c=-1\). The answer is \(f(x)=x^2-x\).

Comment. Do not start with \(f(1)=0\); first get the structure.

Example 3. Additivity Plus a Square

On \(\mathbb Q\), the second condition becomes an equation for the coefficient.

Problem. Find all additive \(f:\mathbb Q\to\mathbb Q\) such that \(f(x^2)=f(x)^2\).

Solution.

Additivity gives \(f(x)=cx\). Then \(cx^2=c^2x^2\) for all \(x\). Hence \(c=0\) or \(c=1\). The answers are \(f=0\) and \(f(x)=x\).

Comment. Do not forget the zero answer.

Example 4. A Derivation-Type Condition

A mixed condition can force the coefficient to vanish.

Problem. Let \(f:\mathbb Q\to\mathbb Q\) be additive and satisfy \(f(xy)=xf(y)+yf(x)\). Find \(f\).

Solution.

By additivity, \(f(x)=cx\). Then \(cxy=2cxy\) for all \(x,y\), so \(c=0\). The answer is \(f\equiv0\).

Comment. This is a rational-domain version of a derivation-type condition.

Example 5. The Golden Coefficient

Additivity gives linearity, and the product condition gives a quadratic equation.

Problem. Find all continuous additive \(f:\mathbb R\to\mathbb R\) such that \(f(x)f(y)=f(xy)+xy\).

Solution.

Continuous additivity gives \(f(x)=cx\). Then \(c^2xy=cxy+xy\), hence \(c^2=c+1\). The answer is \(f(x)=\frac{1+\sqrt{5}}{2}x\) or \(f(x)=\frac{1-\sqrt{5}}{2}x\).

Comment. The coefficient may be irrational because the domain is \(\mathbb R\).

Example 6. Rational Impossibility

The same architecture over \(\mathbb Q\) may have no solution.

Problem. Prove that there is no additive \(f:\mathbb Q\to\mathbb Q\) such that \(f(f(x))=2x\).

Solution.

Let \(f(x)=cx\), \(c\in\mathbb Q\). Then \(f(f(x))=c^2x\), so \(c^2=2\). No rational \(c\) has this property. Contradiction.

Comment. The domain changes existence.

Example 7. An Equation with \(x+f(y)\)

Sometimes the first equation itself proves injectivity and additivity.

Problem. Find all increasing \(f:\mathbb R\to\mathbb R\) such that \(f(x+f(y))=f(x)+2y\).

Solution.

As in earlier modules, comparing values of \(y\) gives injectivity, then \(f(0)=0\), \(f(f(y))=2y\), and \(f(x+t)=f(x)+f(t)\). An increasing additive function is linear: \(f(x)=cx\). Then \(c^2=2\), and increasing gives \(c>0\). The answer is \(f(x)=\sqrt{2}x\).

Comment. This combines injectivity, surjectivity, and order.

Example 8. Parameter Plus Composition

Composition can force the parameter to disappear.

Problem. Find all pairs \((a,f)\), where \(f\) is continuous, \(f(x+y)=f(x)+f(y)+a xy\), and \(f(f(x))=x\).

Solution.

From the first condition, \(f(x)=\frac a2x^2+cx\). If \(a e0\), then \(f(f(x))\) has degree \(4\), impossible since it equals \(x\). Hence \(a=0\). Then \(f(x)=cx\), and \(c^2=1\). The answer is \(a=0\), \(f(x)=x\) or \(f(x)=-x\).

Comment. This is a typical advanced problem: the parameter is checked by degree.

Chapter

Mixed Functional Equations

A mixed module without a predetermined method: Cauchy, Jensen, iterations, finite sets, polynomials, inequalities, and parameters.

Key Idea

In mixed problems, the method is not written in the title. First identify the obstacle: unknown injectivity, missing regularity, a parameter, finite cycles, a polynomial condition, or an inequality. Once recognised, the problem usually reduces to one of the templates already studied.

Basic Facts

If \(x+f(y)\) appears, check injectivity and surjectivity. If \(x+y\) appears, look for Cauchy/Jensen. If \(xy\) appears, check multiplicativity or a quadratic correction. If monotonicity or boundedness is given, use it for linearity. If the function is a polynomial, compare degrees. If the set is finite, think in cycles.

When to Use This Method

This module prepares students for olympiad sets: the problem does not announce which tool to use. Start with a short diagnosis: domain, regularity, special values, degree, possible cycles, and parameters.

How to Recognise the Method

Words like increasing, bounded, positive point to regularity. A composition \(f(f(x))\) points to iteration or injectivity. A polynomial points to degree. A finite set points to cycles. A term \(xy\) points to a quadratic correction.

Typical Mistakes

The most common mistake is starting long computations before choosing a method. The second is forgetting special solutions: zero function, constant polynomials, negative coefficient. The third is not checking the domain: over \(\mathbb Q\) and \(\mathbb R\), the same formula can have different answers.

Mini-checklist

1. What is the domain? 2. Is there regularity? 3. Is there composition? 4. Is there a parameter or \(xy\)? 5. Can injectivity be proved? 6. If it is a polynomial, what is the degree? 7. Have the found functions been checked?

Example 1. The Term \(xy\)

The problem looks like Cauchy, but the key is a quadratic correction.

Problem. Let \(f\) be continuous, \(f(x+y)=f(x)+f(y)+4xy\), and \(f(1)=3\). Find \(f\).

Solution.

Let \(g(x)=f(x)-2x^2\). Then \(g(x+y)=g(x)+g(y)\), so \(g(x)=cx\). From \(f(1)=3\), \(2+c=3\), hence \(c=1\). The answer is \(f(x)=2x^2+x\).

Comment. The method is recognised by \(xy\).

Example 2. Rational Iteration

On \(\mathbb Q\), iteration of an additive function is a power of the coefficient.

Problem. Find additive \(f:\mathbb Q\to\mathbb Q\) if \(f(f(x))=9x\).

Solution.

Let \(f(x)=cx\). Then \(c^2=9\). The answers are \(f(x)=3x\) and \(f(x)=-3x\).

Comment. The domain immediately gives linearity.

Example 3. Polynomial Difference

If an equality is true for all integers, it becomes an identity.

Problem. Find \(P\in\mathbb R[x]\) if \(P(n+1)-P(n)=3n^2+3n+1\) for all integers \(n\).

Solution.

The right-hand side is \((n+1)^3-n^3\). Thus \(P(x)-x^3\) has zero difference at all integers, so that difference is identically zero. Hence \(P(x)=x^3+c\).

Comment. Infinitely many integer points are enough for an identity.

Example 4. A Finite Cycle

On finite sets, iteration means cycle decomposition.

Problem. A permutation of \(14\) elements satisfies \(f^3(x)=x\). Prove that it has a fixed point.

Solution.

Cycles have length \(1\) or \(3\). If there were no fixed points, all cycles would have length \(3\), so the number of elements would be divisible by \(3\). But \(14\) is not divisible by \(3\). Therefore a fixed point exists.

Comment. The method is combinatorial, not analytic.

Example 5. An Inequality Kills the Function

An estimate may be stronger than it appears.

Problem. Let \(f\) be additive and \(f(x)\le x^2\) for all \(x\). Prove that \(f\equiv0\).

Solution.

For \(q>0\), \(qf(x)=f(qx)\le q^2x^2\). Divide by \(q\) and let \(q o0+\), obtaining \(f(x)\le0\). Applying this to \(-x\), we get \(f(x)\ge0\). Hence \(f=0\).

Comment. Scaling is the main move.

Example 6. Polynomial Idempotent

A polynomial composition is sometimes solved through the infinite image.

Problem. Find \(P\in\mathbb R[x]\) if \(P(P(x))=P(x)\).

Solution.

All constant polynomials work. If \(P\) is nonconstant, its image is infinite. For every \(t=P(x)\), we have \(P(t)=t\), so \(P(T)-T\) has infinitely many roots. Therefore \(P(x)=x\).

Comment. The image, not degree comparison, is the key.

Example 7. Injectivity from \(x+f(y)\)

First one must earn the right to replace and cancel.

Problem. Find increasing \(f:\mathbb R\to\mathbb R\) if \(f(x+f(y))=f(x)+3y\).

Solution.

Comparing values with equal \(f(y)\) gives injectivity. Then \(f(0)=0\), \(f(f(y))=3y\), and with \(t=f(y)\) we get \(f(x+t)=f(x)+f(t)\). An increasing additive function is linear: \(f(x)=cx\). Then \(c^2=3\), \(c>0\). The answer is \(f(x)=\sqrt{3}x\).

Comment. Three techniques are mixed here.

Example 8. Parameter and Composition

Final example: first the general form, then degree of composition.

Problem. Let \(f\) be continuous, \(f(x+y)=f(x)+f(y)+a xy\), and \(f(f(x))=x+a\). Find \((a,f)\).

Solution.

The general form is \(f(x)=\frac a2x^2+cx\). If \(a e0\), the composition has degree \(4\), impossible. Hence \(a=0\), \(f(x)=cx\), and \(c^2=1\). The answer is \(a=0\), \(f(x)=x\) or \(f(x)=-x\).

Comment. The parameter is also part of the answer.