Suppose I have the functions $f(x-a)$ and $f(x-b)$ such that these have global maxima at $a$ and $b$ respectively. It seems plausible that $f(x-a)+f(x-b)$ will have a global maximum at $\frac{a+b}{2}$. Why is this?
2026-05-04 21:44:02.1777931042
The vertex of the sum of the functions $f(x-a)$ and $f(x-b)$ with vertices $a$ and $b$ is $\frac{a+b}{2}$
31 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
2
Here's a counter-example.
Let $f(x)=(1-3x)(x+1)^3$
It can be shown that $f(x)$ has a global maximum at $x=0$
Then $f(x-1)$ has a global maximum at $x=1$ and $f(x-2)$ has a global maximum at $x=2$ because they are just translations of $f(x)$.
$f(x-1)=\left (1-3(x-1)\right)\left ((x-1)+1\right)^3=\left (4-3x\right)\left (x\right)^3=4x^3-3x^4$
$f(x-2)=\left (1-3(x-2)\right)\left ((x-2)+1\right)^3=\left (7-3x\right)\left (x-1\right)^3=\left (7-3x\right)\left (x^3-3x^2+3x-1\right)$
$f(x-2)=-3x^4+16x^3-30x^2+24x-7$
Adding gives $f(x-1)+f(x-2)=-6x^4+13x^3-30x^2+24x-7$
This has a global maximum at $x=1$: not at $\frac {1+2}2$