Let $$f\left(\frac{x+y}{2}\right)=\frac{f(x)+f(y)}{2}$$ for all real $x$ and $y$. Also, $f'(0) = -1$ and $f(0)=1$. What is then the value of $f(2)$?
I got it as $-1$ by using some algebraic manipulations (of course used derivatives). But I want more of a geometrical approach to the problem. I feel that the given equations are related to the bisection formula of a line. Is it possible to approach the problem geometrically?
by using partial differentiation with respect to $x$ we can say that $$ f '\left(\frac{x+y}{2}\right).\frac{1}{2}=\frac{f '(x) + 0}{2} $$
now put $x=0$ and $ f'(0)=-1$ $$f '\left(\frac{y}{2}\right)\frac{1}{2}=\frac{-1}{2} $$ $$\Rightarrow f '\left(\frac{y}{2}\right)={-1}$$ this implies $f(x)$ is a linear function with slope "$-1$" for all real value of $x$ $\Rightarrow f(x)=-x+c $ further $f(0)=1 \Rightarrow c=1$ now $f(2)=-2+1=-1$