(4) (10%) Prove that the inequalities

$$1 - \frac{1}{x} < \log_e x < x - 1$$

are valid for $x > 0, x \neq 1$.