---
title: "Functional Equation f(x f(y)) f(y) = f(x+y) Over Positive Reals"
organization: "NityaDhi Digital Mathematics Lab (Asa Edtech Private Limited)"
url: "https://www.nityadhi.com/problems/hard-olympiad-geo-w1-23"
board: "Olympiad"
grade: "Olympiad"
published_at: "2026-12-02T10:45:00+05:30"
---

# Functional Equation f(x f(y)) f(y) = f(x+y) Over Positive Reals

Find all functions $f : (0, \infty) \to (0, \infty)$ such that for all positive real numbers $x$ and $y$,
$$f\big(x f(y)\big) f(y) = f(x + y).$$

## Textbook Solution

1. **Prove $f(y) \le 1$ for all $y > 0$:**
   Suppose for contradiction that $f(y_0) > 1$ for some $y_0 > 0$. Set $x = \frac{y_0}{f(y_0) - 1} > 0$. Then $x f(y_0) = x + y_0$, so the functional equation yields:
   $$f(x + y_0) f(y_0) = f(x + y_0) \implies f(y_0) = 1$$
   (since $f(x + y_0) > 0$), a contradiction. Thus $f(y) \le 1$ for all $y > 0$.

2. **Show $f$ is non-increasing and handle $f(y_0) = 1$:**
   Since $f(x f(y)) \le 1$, we have $f(x + y) = f(x f(y)) f(y) \le f(y)$ for all $x, y > 0$. Hence $f$ is **non-increasing** on $(0, \infty)$.
   If $f(y_0) = 1$ for some $y_0 > 0$, then for every $x > 0$, $f(x) \cdot 1 = f(x + y_0)$, so $f$ is periodic with period $y_0$. Being both non-increasing and periodic on $(0, \infty)$, $f$ must be constant; thus $f(x) \equiv 1$ (which satisfies the equation).

3. **Prove $f$ is strictly decreasing (hence injective) when $f(y) < 1$ everywhere:**
   Assume $f(y) < 1$ for all $y > 0$. Suppose $f(a) = f(b)$ for some $0 < a < b$. Then for all $x > 0$:
   $$f(x + a) = f\big(x f(a)\big) f(a) = f\big(x f(b)\big) f(b) = f(x + b).$$
   Thus $f$ is periodic on $(a, \infty)$ with period $b - a > 0$. Since $f$ is non-increasing, $f$ must be constant on $(a, \infty)$, say $f(t) = c$ for all $t > a$. Picking $x, y > a$ gives $c^2 = c \implies c = 1$ (since $c > 0$), contradicting $f < 1$. Therefore, $f$ is strictly decreasing and **injective**.

4. **Solve via symmetry and injectivity:**
   For any $y, z > 0$, choose $x = \frac{z}{f(y)} > 0$. Substituting into the functional equation gives:
   $$f(z) f(y) = f\left(\frac{z}{f(y)} + y\right).$$
   Since the left-hand side $f(z) f(y)$ is symmetric in $y$ and $z$, we obtain:
   $$f\left(\frac{z}{f(y)} + y\right) = f\left(\frac{y}{f(z)} + z\right).$$
   By injectivity of $f$:
   $$\frac{z}{f(y)} + y = \frac{y}{f(z)} + z \implies z\left(\frac{1}{f(y)} - 1\right) = y\left(\frac{1}{f(z)} - 1\right).$$
   Dividing by $yz$ shows that $\frac{\frac{1}{f(y)} - 1}{y}$ is a constant $a > 0$ (setting $z = 1$ gives $a = \frac{1}{f(1)} - 1 > 0$). Solving for $f(y)$ yields:
   $$f(y) = \frac{1}{ay + 1}.$$
   Checking $f(x) = \frac{1}{ax+1}$ for any $a \ge 0$ (where $a=0$ recovers $f \equiv 1$):
   $$f\big(x f(y)\big) f(y) = \frac{1}{a \cdot \frac{x}{ay+1} + 1} \cdot \frac{1}{ay + 1} = \frac{1}{ax + ay + 1} = f(x + y).$$

**Final Answer:** $f(x) = \frac{1}{ax + 1}$ for any constant $a \ge 0$.

## Vedic Shortcut

**NityaDhi Fixed-Point & Symmetry-Flip Shortcut:**
Two classic Olympiad moves crack this completely without assuming continuity:
1. **Self-matching argument ($x f(y) = x + y$):** Setting $x = \frac{y}{f(y)-1}$ immediately forces $f \le 1$, which in turn forces $f$ to be non-increasing!
2. **Isolate a symmetric product ($f(z)f(y)$):** Putting $x = \frac{z}{f(y)}$ turns $f(x f(y))f(y)$ into $f(z)f(y)$. Because multiplication is commutative, injectivity of $f$ equates the two arguments and reveals linearity of $\frac{1}{f(y)} - 1$ in one line!

## Common Mistakes

1. **Forgetting to prove $f$ is injective before equating arguments:** You cannot deduce $\frac{z}{f(y)}+y = \frac{y}{f(z)}+z$ without first rigorously proving $f(a)=f(b)$ leads to a contradiction when $f < 1$.
2. **Missing the constant solution $f(x) \equiv 1$ (the $a=0$ case):** Ensure your final answer explicitly includes $a = 0$ ($f(x) = 1$) alongside $a > 0$.