Consider the following integral equation araising in a mathematical-physical problem: $$ \int_0^r f(t) \arcsin \left( \frac{t}{r} \right) \, \mathrm{d}t + \frac{\pi}{2} \int_r^R f(t) \, \mathrm{d} t = r \, \qquad (0<r<R) \, , $$ where $f(t)$ is the unknown function, and $R$ is a positive real number. By differentiating both sides of this equation with respect to the variable $r$, one obtains $$ -\frac{1}{r} \int_0^r \frac{f(t)t \, \mathrm{d}t}{\sqrt{r^2-t^2}} = 1 \, , $$ the solution of which can readily be obtained as $$ f(t) = -1 \, . $$
Nevertheless, upon substitution of the latter solution into the original integral equation given above, one rather gets an additional $-\pi R/2$ term on the left hand side.
i was wondering whether some math details or assumptions are overlooked here during this resolution. Any help would be highly appreciated.
An alternative resolution approach that leads to the desired solution is also most welcome.
Thank you