$f(x)$ $=$ {$\frac{1}{x}$}, $0<x\leq1$ where {$x$} denotes the fractional part of $x$.
$g(x) =$ {$x$}, $x\geq 1$
I want an expression for $f(x)$ in terms of x and $g(x)$.
My try-
If $x\in \mathbb{Z} , x\geq 1$ , g(x)={x}=0
f(x)={$\frac{1}{x}$}=$\frac{1}{x}$ $$f(x)=\frac{1}{x}+g(x)$$ What happens when x is a fraction? Jacobi theta function $\theta(x)= \sum_{n=-\infty}^\infty e^{-n^2\pi x}$ This function satisfies the functional equation $\theta(\frac{1}{x})=\sqrt{x}\theta(x)$. I want a similar functional equation of f(x) in terms of g(x)
There is no expression for $f$ solely in terms of $g(x)$.
Proof:
Take $x_1 = 2, x_2=3$. Then, $g(x_1)=g(x_2)$, but $f(x_1)\neq f(x_2)$.
Intuitive explanation: an expression "in terms of $g(x)$" is an expression that only depends on the value of $g(x)$ and does not directly depend on the value of $x$. Therefore, the expression, whatever it is, will have the same value for $x_1$ and $x_2$. But since $f(x_1)\neq f(x_2)$, the expression cannot possibly capture both values, $f(x_1)$ and $f(x_2)$.
Rigorous explanaiton: An expression of $f$ in terms of $g(x)$ is, mathematically speaking, a function $h$ such that $f(x)=h(g(x))$.
Assuming that such a function $h$ exists, however, brings us to a contradiction, since any such function means that
$$f(x_1)=h(g(x_1))=h(g(x_2))=f(x_2)$$ which is a contradiction, because we know that $f(x_1)\neq f(x_2)$.
An expression "in terms of $g(x)$ and $x$", on the other hand, trivally always exists, since $f(x)$ itself is already an expression in terms of $x$.