$f:[0,1] \to \mathbb{R}$ is continuous.
$\int_{0}^{x} f(t) dt = \int_{x}^{1} f(t) dt \implies f(x) = 0 \forall x \in [0,1]$
I don't understand why I can say $f(1)=f(0)=0$. My attempt is using FTC:
$\int_{0}^{x} f(t) dt = \int_{x}^{1} f(t) dt \implies \int_{0}^{x} f(t) dt= \int_{1}^{x} -f(t) dt \implies f(x) = -f(x) \forall x \in (0,1) \implies f(x) = 0 \forall x \in (0,1)$. However, the statement is about $[0,1]$. How can I conclude for $f(0)$ and $f(1)$?
Thanks