f(x + y) + f(x − y) = 2f(x)f(y)
Statement
Let be twice differentiable, not identically zero, with
Find .
Hint
Show and that is even. Differentiate twice with respect to and set : you get a differential equation .
Show solutionHide solution
Solution
. For , we have , so . If , then gives for all , excluded. So .
Evenness. : , i.e. and is even. Observe also that
f'(0) = \lim_{y \rightarrow 0} \frac{f(y) - f(-y)}{2y} =0$.
**Differential equation.** Fix $x$ and differentiate twice with respect to $y$:f''(x+y)+f''(x-y)=2f(x)f''(y).Put $y=0$: $2f''(x)=2f(x)f''(0)$, i.e.f''(x)=kf(x),\qquad k=f''(0),$$
with , . By uniqueness of solutions of linear ODEs:
- : ;
- : ;
- : .
Verification. and ; constant gives ✓.
Remark. This is d'Alembert's equation; the name "cosine functional equation" comes from the trigonometric identity. Continuity alone (without differentiability) is already enough, but needs a more delicate argument (integrate against a bump function to get smoothness).
Lesson. When a functional equation has a smoothness hypothesis, differentiating in one variable and plugging a special value often produces an ODE.