Hàm số nào sau đây có tập xác định là \(\mathbb{R}\)? A.\(y = \sin \sqrt x \) B.\(y = \dfrac{1}{{2 - \cos x}}\) C.\(y = {\tan ^2}x\) D.\(y = \dfrac{{1 - \sin x}}{{1 + \sin x}}\)
Đáp án đúng: B Phương pháp giải: Sử dụng tính chất: \( - 1 \le \cos x \le 1\) \(\forall x \in \mathbb{R}\).Giải chi tiết:Xét đáp án B: Vì \( - 1 \le \cos x \le 1\,\,\forall x \in \mathbb{R}\) \( \Leftrightarrow 1 \le 2 - \cos x \le 3\,\,\forall x \in \mathbb{R}\). Do đó \(2 - \cos x \ne 0\,\,\forall x \in \mathbb{R}\). Vậy hàm số \(y = \dfrac{1}{{2 - \cos x}}\) có TXĐ là \(\mathbb{R}\). Chọn B.