We start with the inequality \( x^2 - x - 2 > 0 \). To solve this, we first factor the polynomial. The factorization yields:
\[
x^2 - x - 2 = (x - 2)(x + 1)
\]
Step 2: Identify Critical Points
Next, we identify the critical points where the expression changes sign. Setting each factor to zero gives us the critical points:
\[
x - 2 = 0 \quad \Rightarrow \quad x = 2
\]
\[
x + 1 = 0 \quad \Rightarrow \quad x = -1
\]
Thus, the critical points are \( x = -1 \) and \( x = 2 \).
Step 3: Test Intervals
We will test the sign of the product \( (x - 2)(x + 1) \) in the intervals defined by the critical points: \( (-\infty, -1) \), \( (-1, 2) \), and \( (2, \infty) \).
The inequality \( (x - 2)(x + 1) > 0 \) holds in the intervals \( (-\infty, -1) \) and \( (2, \infty) \). Thus, the solution to the inequality \( x^2 - x - 2 > 0 \) is:
\[
x \in (-\infty, -1) \cup (2, \infty)
\]