---
title: "Functional Equation Exponential Reduction and Extremum"
organization: "NityaDhi Digital Mathematics Lab (Asa Edtech Private Limited)"
url: "https://www.nityadhi.com/problems/hard-c12-w1-06-functional-equation-differentiability-max"
board: "JEE Foundation"
grade: "Class 12"
published_at: "2026-11-25T10:00:00+05:30"
---

# Functional Equation Exponential Reduction and Extremum

Let $f: \mathbb{R} \to \mathbb{R}$ be a differentiable function satisfying
$$f(x + y) = f(x)e^y + f(y)e^x \quad \forall\, x, y \in \mathbb{R},$$
with $f'(0) = 2$. Find the maximum value of $g(x) = f(x)e^{-2x}$ on $\mathbb{R}$.

## Textbook Solution

**Step 1: Find $f(0)$**  
Setting $x = y = 0$ in the functional equation:
$$f(0) = f(0)e^0 + f(0)e^0 = 2f(0) \implies f(0) = 0.$$

**Step 2: Derive $f'(x)$ from first principles**  
Using the definition of the derivative:
$$f'(x) = \lim_{h \to 0} \frac{f(x+h) - f(x)}{h} = \lim_{h \to 0} \frac{f(x)e^h + f(h)e^x - f(x)}{h}$$
$$= f(x)\lim_{h \to 0}\frac{e^h - 1}{h} + e^x \lim_{h \to 0}\frac{f(h) - f(0)}{h} = f(x) + f'(0)e^x = f(x) + 2e^x.$$

**Step 3: Solve the linear ODE**  
Multiply $f'(x) - f(x) = 2e^x$ by the integrating factor $e^{-x}$:
$$\frac{d}{dx}\left(f(x)e^{-x}\right) = 2 \implies f(x)e^{-x} = 2x + C.$$
Since $f(0) = 0$, we get $C = 0$, hence $f(x) = 2xe^x$.

**Step 4: Maximize $g(x)$**  
$$g(x) = f(x)e^{-2x} = 2xe^{-x}.$$
Differentiating: $g'(x) = 2(1 - x)e^{-x} = 0 \implies x = 1$.  
Since $g'(x) > 0$ for $x < 1$ and $g'(x) < 0$ for $x > 1$, $x = 1$ is the global maximum:
$$g_{\max} = g(1) = \frac{2}{e}.$$

**Final Answer:** $\frac{2}{e}$.

## Vedic Shortcut

**NityaDhi Symmetry Substitution:**  
Divide both sides of $f(x+y) = f(x)e^y + f(y)e^x$ by $e^{x+y}$:
$$\frac{f(x+y)}{e^{x+y}} = \frac{f(x)}{e^x} + \frac{f(y)}{e^y}.$$
Set $\phi(x) = f(x)e^{-x}$. Then $\phi(x+y) = \phi(x) + \phi(y)$ (Cauchy's additive equation!), so for differentiable $f$, $\phi(x) = kx$. Since $\phi'(0) = f'(0) - f(0) = 2$, we immediately get $f(x) = 2xe^x$.

## Common Mistakes

- Forgetting to set $x = y = 0$ first to prove $f(0) = 0$, or assuming $f(x) = ke^x$ without verifying the linear term $x e^x$.  
- Taking $g'(x) = 0$ without checking the sign change to confirm $x = 1$ is a maximum rather than a minimum.