Maths WorkshopMaths problems with full solutions
Exercise 101Calculus › Single-variable calculus › Continuity › Functional equationsOlympiadAdded 4 Nov 2026

f(x² + f(y)) = y + f(x)²

#injectivity#surjectivity#oddness#Cauchy equation

Statement

Find all functions f:R→Rf:\mathbb{R}\to\mathbb{R} such that for all real x,yx,y,
f(x2+f(y))=y+f(x)2.f\left(x^2+f(y)\right)=y+f(x)^2.

Hint

Put x=0x=0 to get injectivity and surjectivity. Then use a tt with f(t)=0f(t)=0. Show ff is odd, f(0)=0f(0)=0, and that ff is additive and nonnegative on [0,∞)[0,\infty).

Show solutionHide solution

Solution

Let a=f(0)a=f(0).

Step 1. x=0x=0: f(f(y))=y+a2f(f(y))=y+a^2. Thus ff is injective and surjective (the right side takes every real value).

Step 2. By surjectivity pick tt with f(t)=0f(t)=0. Putting y=ty=t gives
f(x2)=t+f(x)2(∗)f(x^2)=t+f(x)^2\qquad(\ast)
for all xx.

Step 3: oddness. Replacing xx by −x-x in (∗)(\ast) gives f(x)2=f(−x)2f(x)^2=f(-x)^2, so f(−x)=±f(x)f(-x)=\pm f(x). If x≠0x\neq0, the case f(−x)=f(x)f(-x)=f(x) contradicts injectivity. Hence f(−x)=−f(x)f(-x)=-f(x) for all x≠0x\ne0. If t≠0t\ne0, then f(−t)=−f(t)=0=f(t)f(-t)=-f(t)=0=f(t), contradicting injectivity again. Therefore t=0t=0, i.e. f(0)=0f(0)=0 and ff is odd.

Step 4. Now a=0a=0, so f(f(y))=yf(f(y))=y and (∗)(\ast) becomes f(x2)=f(x)2≥0f(x^2)=f(x)^2\ge0: f≥0f\ge0 on [0,∞)[0,\infty). The original equation reads f(x2+f(y))=y+f(x2)f(x^2+f(y))=y+f(x^2). For every u≥0u\ge0 (taking x=ux=\sqrt u): f(u+f(y))=y+f(u)f(u+f(y))=y+f(u); replacing yy by f(y)f(y),
f(u+y)=f(u)+f(y)(u≥0, y∈R).f(u+y)=f(u)+f(y)\qquad(u\ge0,\ y\in\mathbb{R}).
For u<0u<0, use oddness: f(u+y)=−f((−u)+(−y))=−f(−u)−f(−y)=f(u)+f(y)f(u+y)=-f((-u)+(-y))=-f(-u)-f(-y)=f(u)+f(y). So ff is additive on R\mathbb{R}.

Step 5. An additive function that is ≥0\ge0 on [0,∞)[0,\infty) is non-decreasing, hence f(x)=cxf(x)=cx (Cauchy with monotonicity). From f(f(x))=xf(f(x))=x: c2=1c^2=1, and f(1)=c≥0f(1)=c\ge0 gives c=1c=1.

Answer. f(x)=xf(x)=x (check: f(x2+y)=x2+yf(x^2+y)=x^2+y ✓).

Lesson. A strong sequence of moves: injective →\to locate the zero →\to oddness →\to f(f(y))=yf(f(y))=y →\to additivity →\to monotonicity from nonnegativity of squares.