Tổng quát:
[TEX]|f(x)|=g(x) \Leftrightarrow \left{\begin{g(x) \geq 0(1)}\\{f^2(x)=g^2(x)(2)}[/TEX]
[TEX](2) \Leftrightarrow [f(x)-g(x)].[f(x)+g(x)]=0 \Leftrightarrow \left{\begin{f(x)=g(x)}\\{f(x)=-g(x)}[/TEX]
Giải ra nghiệm rồi kết hợp với điều kiện (1)