---
title: "Bijective Functional Equation f(x f(y) + x) = x y + f(x) Over Real Numbers"
organization: "NityaDhi Digital Mathematics Lab (Asa Edtech Private Limited)"
url: "https://www.nityadhi.com/problems/hard-olympiad-geo-w1-05"
board: "Olympiad"
grade: "Olympiad"
published_at: "2026-11-24T16:45:00+05:30"
---

# Bijective Functional Equation f(x f(y) + x) = x y + f(x) Over Real Numbers

Find all functions $f : \mathbb{R} \to \mathbb{R}$ such that for all real numbers $x$ and $y$,
$$f\big(x f(y) + x\big) = xy + f(x).$$

## Textbook Solution

Let $P(x, y)$ denote the assertion $f(x f(y) + x) = xy + f(x)$.

1. **Prove $f$ is surjective and injective:**
   Consider $P(1, y)$:
   $$f\big(f(y) + 1\big) = y + f(1).$$
   As $y$ ranges over all of $\mathbb{R}$, the right-hand side $y + f(1)$ takes every real value, so $f$ is **surjective**.
   Furthermore, if $f(a) = f(b)$, then comparing $P(1, a)$ and $P(1, b)$ yields:
   $$a + f(1) = f\big(f(a) + 1\big) = f\big(f(b) + 1\big) = b + f(1) \implies a = b.$$
   Hence $f$ is **injective** (and therefore bijective).

2. **Find $f(0)$:**
   Consider $P(x, 0)$:
   $$f\big(x f(0) + x\big) = f(x).$$
   By injectivity of $f$, this implies $x f(0) + x = x$ for all $x \in \mathbb{R}$. Setting $x = 1$ gives $f(0) + 1 = 1$, so $f(0) = 0$.

3. **Collapse the equation using the preimage of $-1$:**
   Since $f$ is surjective, there exists a real number $c$ such that $f(c) = -1$. Consider $P(x, c)$:
   $$f\big(x(-1) + x\big) = xc + f(x) \implies f(0) = xc + f(x).$$
   Since $f(0) = 0$, we obtain $f(x) = -cx$ for all $x \in \mathbb{R}$.

4. **Determine the constant $k = -c$:**
   Substitute $f(x) = kx$ back into the original equation:
   $$f\big(x(ky) + x\big) = xy + kx \implies k(kxy + x) = xy + kx \implies k^2 xy + kx = xy + kx.$$
   Comparing coefficients (e.g., setting $x = y = 1$) gives $k^2 = 1$, so $k = 1$ or $k = -1$.

5. **Verification:**
   - If $f(x) = x$, LHS $= x y + x =$ RHS.
   - If $f(x) = -x$, LHS $= -(-x y + x) = xy - x =$ RHS.

**Final Answer:** $f(x) = x$ for all $x \in \mathbb{R}$, or $f(x) = -x$ for all $x \in \mathbb{R}$.

## Vedic Shortcut

**NityaDhi Functional Equation Elimination Strategy:**
Look at the asymmetric linear term $xy$ on the RHS and the nested term $x(f(y)+1)$ on the LHS:
1. Isolated $y$ on the RHS (set $x=1$) **immediately** gives both surjectivity and injectivity in one stroke!
2. Whenever an expression like $f(y) + 1$ sits inside $f(\cdot)$ and $f$ is surjective, **kill the inner argument** by choosing $c$ with $f(c) = -1$! That forces $f(x)$ to be linear ($-cx$) in a single substitution, skipping Cauchy additivity entirely.

## Common Mistakes

1. **Missing the negative solution $f(x) = -x$:** Students often verify $f(x) = x$ and stop, forgetting that $k^2 = 1$ yields both $k = 1$ and $k = -1$.
2. **Trying to prove additivity prematurely:** Attempting to derive $f(a+b) = f(a)+f(b)$ wastes time when surjectivity to $-1$ gives linearity directly.