All solutions of $f(x)f(-x)=1$

Presumably, you want $f:\mathbb{R}\to\mathbb{R}$. If you want to use a different domain or codomain, the answer is probably not going to change much.

You can simply pick any $h:\mathbb{R}_{>0}\to\mathbb{R}_{\neq 0}$ and $\epsilon\in\{-1,+1\}$. Then, define the function $f:\mathbb{R}\to\mathbb{R}$ by $$f(x):=\left\{\begin{array}{ll} h(x)&\text{if }x>0\,,\\ \epsilon&\text{if }x=0\,,\\ \dfrac{1}{h(-x)}&\text{if }x<0\,. \end{array}\right.$$ Then, $f$ satisfies the required functional equation. Note that any such function $f$ takes the form above.

If you demand that $f$ is continuous, then $h$ has to be continuous and $\lim\limits_{t\to 0^+}\,h(t)=\epsilon$. This is all you need. It is a much more interesting problem to characterize all smooth or analytic functions $f$ that satisfy your functional equation. It turns out that the solutions are $f(x)=\epsilon\,\exp\big(g(x)\big)$, where $\epsilon\in\{-1,+1\}$ and $g:\mathbb{R}\to\mathbb{R}$ is a smooth or analytic, odd function. If you want $f$ to be just $k$-time differentiable, then $g$ is $k$-time differentiable.


Here is the most general solution: Let $g: [0,\infty) \to \mathbb R\setminus \{0\}$ be any function such that $g(0)=\pm 1$ and define $f(x)=g(x)$ if $x \geq 0$ and $f(x) =\frac 1 {g(-x)}$ if $x \leq 0$.


Take any function that is odd, that means $g(-x)=-g(x)$. For example $\sin x, x^3+2x$ and so on. Then $\exp(g(x))$ works.