Let $$f(x):\mathbb{R}\to \mathbb{R} $$$$$$and$$f(x+h)=f(x)f(h)$$
If $f(x)$ is a continuous function then we can prove all solutions for ($f(x)$ not equal to zero at any point) are of the form $a^x$ .(Where $a^x$ is defined using sequences ) by simply using properties of $f(x)$ and continuity
But is the result still true if we also consider $f$ not continuous and ($f(x)$ not equal to zero at any point) or is there a counter-example?
This function can be constant and the constant must be $1$ but that is the only constant value the function can achieve and since the constant function on $\mathbb{R}\to \mathbb{R}$is continuous the previous result will work .
If we can prove that such a function must be either monotonically increasing everywhere or monotonically decreasing everywhere if it is not $1$
Then we can use the theorem that a function from $\mathbb{R}\to \mathbb{R}$that is monotonically increasing must be continuous somewhere which for this function due to the functional equation would imply the function is continuous everywhere and we would have proved the question using the previous result .
Q: Can the existence of nosuch function be somehow proven by using monotonicity (or some other way )or is there a counter-example?
Clearly, $f(x)$ for some $x$ implies $f(x)=0$ for all $x$. Excluding this case the question can be translated to Cauchy's equation : $g(x+y)=g(x)+g(y)$ by taking logarithm. Here are some facts about $g$: If $g$ is Borel measurable (in particular if it is monotone) then $g(x)=cx$ for some constant $c$. But there exist non-measurable solution so of this equation. [Proof of the existence of such functions requires Axiom of Choice].
Hence $f(x)=a^{x}$ need not be true in general (take $f(x)=e^{g(x)})$.