The integral is recognized as an even function due to symmetric limits and the even property of \( \cos(\alpha x) \). This allows simplification by doubling the integral from 0 to 1:
\[ \int_{-1}^1 \frac{\cos \alpha x}{1 + 3^x} \, dx = 2 \int_0^1 \frac{\cos \alpha x}{1 + 3^x} \, dx. \]
Given that this integral's value is \( \frac{2}{\pi} \), we test \( \alpha \) values to achieve this result.
Upon evaluation, \( \alpha = \frac{\pi}{2} \) is found to satisfy this condition, resulting in:
\[ \int_{-1}^1 \frac{\cos \left( \frac{\pi}{2} x \right)}{1 + 3^x} \, dx = \frac{\pi}{2}. \]
Consequently, the value of \( \alpha \) is \( \frac{\pi}{2} \).
If \( f(x) \) is defined as follows:
$$ f(x) = \begin{cases} 4, & \text{if } -\infty < x < -\sqrt{5}, \\ x^2 - 1, & \text{if } -\sqrt{5} \leq x \leq \sqrt{5}, \\ 4, & \text{if } \sqrt{5} \leq x < \infty. \end{cases} $$ If \( k \) is the number of points where \( f(x) \) is not differentiable, then \( k - 2 = \)