I was trying to evaluate the integral
$$\ I = \int_0^{\frac{\pi}{4}} \cos(\ln(\tan(x)) dx$$
So I substitute $tanx = t$ and the integral becomes
$$\ I = \int_0^1 \cos(\ln(t))\cdot \frac{1}{1+t^2} dt$$
Then I let
$$\ J = \int_0^1 \sin(\ln(t))\cdot \frac{1}{1+t^2}dt$$
And it follows from this previous answer that:
$$\ I + iJ = \int_0^1 \frac{e^{i\operatorname{ln}t}}{1+t^2} dt = \int_0^1 \frac{t^{i}}{1+t^2} dt$$
$$ \ I + iJ = \frac{\pi}{2} \cdot \csc(\frac{\pi(i+1)}{2}) = \frac{\pi}{2}\cdot \sec(\frac{i\pi}{2}) = \frac{\pi}{2} \cdot \operatorname{sech}(\frac{\pi}{2}) $$
Does this imply
$$\int_0^1 \frac{\sin(\ln(t))}{1+t^2} = \int_0^{\frac{\pi}{4}} \sin(\ln(\tan(x))) dx = 0?$$
Because WolframAlpha is returning a different value
Can anyone help me verify whether the values for the integrals I have obtained are accurate or not?
Thank you for reading! Happy New Year $2024$ in advance!