The integral $\displaystyle\int_{\frac{\pi}{4}}^{\frac{3\pi}{4}} \frac{dx}{1 + \cos x}$ is equal to\\ (1) $-2$\\ (2) $2$\\ (3) $4$\\ (4) $-1$