$$ \min_{|f(x)|^2} \int_{a-b}^{a+b} x^2 |f(x)|^2 dx$$ such that
$$\int_{a-b}^{a+b}|f(x)|^2 = 1$$ $$\text{$|f(x)|$ is symmetric about $a$}$$
$$ \min_{|f(x)|^2} \int_{a-b}^{a+b} x^2 |f(x)|^2 dx$$ such that
$$\int_{a-b}^{a+b}|f(x)|^2 = 1$$ $$\text{$|f(x)|$ is symmetric about $a$}$$
My idea is the following. $$\int_{a-b}^{a+b}(x-a)^{2}|f(x)|^{2}dx = \int_{a-b}^{a+b}x^{2}|f(x)|^{2}dx -2a\int_{a-b}^{a+b}x|f(x)|^{2}dx+a^{2}\int_{a-b}^{a+b}|f(x)|^{2}dx = \int_{a-b}^{a+b}x^{2}|f(x)|^{2}dx - 2a\int_{a-b}^{a+b}(x-a)|f(x)|^{2}dx- 2a^{2}\int_{a-b}^{a+b}|f(x)|^{2}dx+a^{2}\int_{a-b}^{a+b}|f(x)|^{2}dx = \int_{a-b}^{a+b}x^{2}|f(x)|^{2}dx-a^{2}$$
The last is because $\int_{a-b}^{a+b} (x-a)|f(x)|^{2}dx = 0$ (as it is odd function), and because of the condition.
So you can say that minimizing $\int_{a-b}^{a+b}(x-a)^{2}|f(x)|^{2}dx$ is the same as minimizing $\int_{a-b}^{a+b}x^{2}|f(x)|^{2}dx$.
And $\int_{a-b}^{a+b}(x-a)^{2}|f(x)|^{2}dx = 2\int_{0}^{a+b}(x-a)|f(x)|^{2}dx$.
The of course you can seek the solution for odd $f(x-a)$, or for even $f(x-a)$.
However without having differentiability, I don't know how to solve it.
I know it is at maximum hint (maybe even nonsense), but I didn't manage to fit it in comments, sorry.