Help in solving a simple functional equation: $3f(2x+1)=f(x) + 5x$ I need to find all continuous functions satisfying:
$$3f(2x+1)=f(x) + 5x$$
The functional equation looks simple but I am unable to solve it. I tried to convert it into a Cauchy type equation but I wasn't able to do so.
 A: This is a linear difference equation that can be easily solved as
$$
f(x) = f_h(x)+f_p(x)
$$
the homogeneous solution gives
$$
f_h(x) = C_0 3^{1-\log_2(x+1)}
$$
The complete solution is
$$
f(x) = \frac{1}{2} \left(\left(2 C_0+1\right) 3^{1-\log_2 (x+1)}+2 x-3\right)
$$
A: Let $g(x) = f(x-1)$. Then we have
$$
3g(2x+2) = g(x+1) + 5x,
$$ or equivalently
$$
g(x)-\frac{1}{3}g(\frac{x}{2}) = \frac{5x-10}{6}=: \phi(x).$$
Note that $g(0) = -2.5$. Hence we have
$$\begin{eqnarray}
g(x) = g(x) -\lim_{j\to\infty}3^{-j}g(2^{-j}x) &=& \sum_{j=0}^\infty \left(3^{-j} g(2^{-j}x) -3^{-j-1}g(2^{-j-1}x)\right)\\ &=& \sum_{j=0}^\infty 3^{-j}\phi(2^{-j}x)\\
&=&\frac{1}{6}\sum_{j=0}^\infty 3^{-j}(5\cdot2^{-j}x-10)\\
&=&\frac{6x-15}{6} = x -\frac{5}{2}.
\end{eqnarray}$$ This establishes $f(x) = x -\frac{3}{2}$.
$\textbf{EDIT:}$ I implicitly assumed that the domain of definition of $g$ is $\mathbb{R}$. If the domain of $g$ contains $0$, then the unique continuous solution is given by $g(x) = x-\frac{5}{2} $ as we can see from the above argument. Otherwise, the argument collapses, and one can see that $$g(x) = ( x-\frac{5}{2}) + h(x)$$ is a solution of $g(x)-\frac{1}{3}g(\frac{x}{2}) = \phi(x)$ whenever it holds that $$
h(x) = \frac{1}{3}h(\frac{x}{2})\quad\cdots(*).
$$ Note that any continuous function $k : [1,2]\to\mathbb{R}$ with $k(2) = \frac{1}{3}k(1)$ can be extended uniquely to continuous $\overline{k} :(0,\infty)\to\mathbb{R}$ satisfying $(*)$. This shows that there are as many solutions $$g:x\in(0,\infty)\mapsto ( x-\frac{5}{2}) + \overline{k}(x)$$ as there are $k:[1,2] \to\mathbb{R}$ with $k(2) = \frac{1}{3}k(1)$. And the same is also true for $g(x)$ on $(-\infty,0)$.
A: $3f(2x+1)=f(x)+5x$
$3f(2(2^x-1)+1)=f(2^x-1)+5(2^x-1)$
$3f(2^{x+1}-1)=f(2^x-1)+5(2^x-1)$
$f(2^{x+1}-1)-\dfrac{f(2^x-1)}{3}=\dfrac{5(2^x-1)}{3}$
$f(2^x-1)=3^{-x}\Theta(x)+2^x+\dfrac{10x-5}{6}$ , where $\Theta(x)$ is an arbitrary periodic function with unit period (according to http://eqworld.ipmnet.ru/en/solutions/fe/fe1102.pdf)
$f(x)=3^{-\log_2(x+1)}\Theta(\log_2(x+1))+x+\dfrac{10\log_2(x+1)+1}{6}$ , where $\Theta(x)$ is an arbitrary periodic function with unit period
