Let a function $ f $ be continuous and differentiable for all $ x $, such that it satisfies $$ f ( x + y ) f( x - y ) = f ^ 2 ( x ) \text . $$ Given that $ f ( 0 ) $ is nonzero and $ f ( 1 ) $ is $ 1 $, find $ f $.
I tried replacing $ x $ by $ y $ and then by $ - x $, but was not able to proceed further.
Hints: the answer is $f(x)=e^{a(x-1)}$ for some conatant $a$. First prove that $f(t)=0$ for some $t$ leads to $f \equiv 0$, a contradiction. Then prove that $f(x) >0$ for all $x$. Let $g(x)=\ln\, f(x)$ and show that $g(\frac {a+b} 2)= \frac {g(a)+g(b)} 2$. From this we get $g(at+(1-a)s)=ag(t)+(1-a)g(s)$ for dyadic rational $a$, hence for all $a$ (by continuity). Conclude that $g(x)$ has the form $ax+b$