I have edited the question to include what I think is an interesting property of this integral. I have noticed experimentally that:
$$\int_{0}^{1} \frac{1-x^2}{x^4+2x^3+2x^2-2x+1} dx=\frac{\pi}{4},\tag{1}$$
$$\int_{0}^{1} \frac{x}{x^4+2x^3+2x^2-2x+1} dx=\frac{\pi}{8},\tag{2}$$
$$\int_{0}^{1} \frac{1+x-x^2}{x^4+2x^3+2x^2-2x+1} dx=\frac{3\pi}{8}.\tag{3}$$
So a little variation in the numerator seems to produce always something like $n\pi$. Here is my new question: what is exactly the relation between $n$ and the numerator of the integrand?
The closest thing to my formula is formula $(34)$ in this list of formulas, but it is not exactly the same as mine.
The reference-request tag is for references in books, articles, notes, etc. Not for speculation... I am still waiting for the references.
– Emmanuel José García Jul 16 '23 at 17:16