If I want to calculate range of $$f(x)=\sin(x) - \cos(x) $$
Watching solution I got to know that we have to change this in a single trigonometric ratio (that is whole equation in form of sine or cosine) And then range will be $[-\sqrt2,\sqrt2]$
But my doubt is that why can't we use method like below
As we know $$ -1\le \sin(x) \le1$$ $$ -1\le \cos(x) \le1$$
Then $$ -2 \le \sin(x) - \cos(x) \le 2$$ But it is wrong
I want explaination that why using this method I am getting wrong