Let $f \in L^1(0,1)$ be non-negative a.e. and such that $$ \int_0^1 f(x) dx = 1. $$ Assume that $$ f(x) = \frac 1x \int_0^x f(t), \quad x \in (0,1) $$ a.e.
Is $f \equiv 1$ a unique (up to an equivalence class) function satisfying above assumptions? Or there are some other ones?
Since $f \in L^1(0, 1)$ and \begin{align} F(x) = \int^x_0 f(t)\ dt \end{align} then $F$ is absolutely continuous and $F$ is differentiable a.e. where $F'=f$. Next, observe \begin{align} f'(x) = \frac{f(x)x- \int^x_0 f(t)\ dt}{x^2} = \frac{f(x)x-xf(x)}{x^2}=0 \ \ \text{ a.e.} \end{align} Combining everything, we have that $f\equiv$ const since $f$is continuous. Lastly $f(1) = \int^1_0 f(t)\ dt =1$.
Edit: It should be noted that $f$ is locally absolutely continuous on $(0, 1)$ since $F$ is absolutely continuous and $\frac{1}{x}$ is also absolutely continuous. Moreover, since we know $f'\equiv 0$ a.e. then by the Fundamental theorem of calculus, we have that \begin{align} f(1)-f(x) = \int^1_x f'(t)\ dt =0. \end{align}