Dựa vào đồ thị, ta thấy hàm số đồng biến trên miền [tex]x\geq 0[/tex]
[tex]\Rightarrow[/tex] với [tex]a;b\geq 0[/tex] thì [tex]f(a)=f(b)\Leftrightarrow a=b[/tex]
[tex]\Rightarrow \left | \frac{3sinx-cosx-1}{2cosx-sinx+4} \right |=(m+2)^2[/tex]
Đặt [tex]A=\frac{3sinx-cosx-1}{2cosx-sinx+4}\Leftrightarrow (A+3)sinx-(2A+1)cosx=4A+1[/tex]
Theo điều kiện có nghiệm của pt lượng giác bậc nhất:
[tex](A+3)^2+(2A+1)^2\geq (4A+1)^2[/tex] [tex]\Leftrightarrow[/tex] [tex]11A^2-2A-9\leq 0\Leftrightarrow \frac{-9}{11}\leq A\leq 1\Leftrightarrow 0\leq \left | A \right |\leq 1[/tex]
[tex]\Leftrightarrow (m+2)^2\leq 1\Leftrightarrow -1\leq m+2\leq 1\Leftrightarrow -3\leq m\leq -1[/tex]
[tex]\Rightarrow[/tex] Có 3 giá trị nguyên của m để pt có nghiệm