\(\text { Giải phương trình } y^{\prime}=0 \text { với } y=\tan x+\cot x \text { . }\)
Hãy suy nghĩ và trả lời câu hỏi trước khi xem đáp án
Lời giải:
Báo sai\(\begin{aligned} &\text { Ta có } y^{\prime}=(\tan x+\cot x)^{\prime}=-\frac{\cos 2 x}{\cos ^{2} x \cdot \sin ^{2} x} \text { . Suy ra } \\ &y^{\prime}=0 \Leftrightarrow-\frac{\cos 2 x}{\cos ^{2} x \cdot \sin ^{2} x}=0 \Leftrightarrow \frac{\cos 2 x}{\sin ^{2} 2 x}=0(*) \end{aligned}\)
\(\begin{aligned} &\text { Điều kiện } \sin ^{2} 2 x \neq 0 \Leftrightarrow \sin 2 x \neq 0 \Leftrightarrow x \neq \frac{k \pi}{2} \text { . }\\ &\text { Khi đó }(*) \Leftrightarrow \cos 2 x=0 \Leftrightarrow x=\frac{\pi}{4}+\frac{k \pi}{2} \text { (thỏa mãn điều kiện). } \end{aligned}\)
\(\text { Vậy phương trình } y^{\prime}=0 \text { có các nghiệm là } x=\frac{\pi}{4}+\frac{k \pi}{2},(k \in \mathbb{Z}) \text { . }\)