I have been trying to evaluate this integral:
$$\int_0^\frac{\pi}{4} \frac{\tan^2(x)}{x^2+1} \,dx$$
According to the answer key that I have, the answer is supposed to be simply $1/3$. But, inputting it into Wolfram Alpha yields the decimal approximation of $\approx 0.156503$. I am trying to find an exact answer and all my attempts have failed.
I cannot see that any basic integration technique would work (i.e. u-substitution, integration by parts, etc), and I have tried to use symmetry to evaluate this (i.e. substitute $x=\frac{\pi}{4}-u$) but to no avail.
Thank you!