If $\int_0^{\frac{\pi}{4}} \frac{\sin^2 x}{1 + \sin x \cos x}\,dx = \frac{1}{a}\log_e\left(\frac{a}{3}\right) + \frac{\pi}{\mathrm{b}\sqrt{3}}$, where a, b $\in \mathbf{N}$, then a + b is equal to ______
Numerical-value question: the answer is a number.
Show answer
The answer is 8.
Key from source paper