-
Select an arbitrary point ( x \in (-1, 1) ).
Since ( x \in (-1, 1) ), we have:
[
-1 < x < 1
]
-
Define ( \varepsilon ) in terms of ( x ):
Let:
[
\varepsilon = \min {1 - x, x + 1}
]
Since ( x < 1 ) and ( x > -1 ), both ( 1 - x ) and ( x + 1 ) are positive:
[
1 - x > 0 \quad \text{and} \quad x + 1 > 0
]
Therefore, ( \varepsilon > 0 ).
-
Show that the neighborhood around ( x ) is contained in ( S ):
Consider any point ( y ) such that:
[
y \in (x - \varepsilon, x + \varepsilon)
]
Then:
[
x - \varepsilon < y < x + \varepsilon
]
-
Prove that ( y \in (-1, 1) ):
- Upper bound:
Since ( \varepsilon \leq 1 - x ), we have:
[
x + \varepsilon \leq x + (1 - x) = 1
]
So:
[
y < x + \varepsilon \leq 1
]
- Lower bound:
Since ( \varepsilon \leq x + 1 ), we have:
[
x - \varepsilon \geq x - (x + 1) = -1
]
So:
[
y > x - \varepsilon \geq -1
]
Combining both, we get:
[
-1 < y < 1
]
Therefore, ( y \in (-1, 1) ).
-
Conclude that the neighborhood is within ( S ):
Since every point ( y ) in ( (x - \varepsilon, x + \varepsilon) ) satisfies ( y \in (-1, 1) ), it follows that:
[
(x - \varepsilon, x + \varepsilon) \subseteq (-1, 1)
]
-
Finalize the proof:
As ( x ) was an arbitrary point in ( S ), and we have found a positive ( \varepsilon ) for which the neighborhood ( (x - \varepsilon, x + \varepsilon) ) is contained in ( S ), it follows that ( S ) is open.