I know that $ 0 \leq \lvert \cos(x) - \sin(x) \lvert $ but I am not sure how to proceed. Thanks for the help in advance!!
2026-04-13 10:43:04.1776076984
What is the range of $f(x)= \lvert \cos(x) - \sin(x) \lvert$
70 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
4
HINT
Original problem - Range of $f(x)=|\cos x - \sin x|$
Recall that $$f(x)=\cos x - \sin x=\sqrt 2 \sin\left( \frac{\pi}4 -x \right)=\sqrt2\cos\left(\dfrac\pi4+x\right)$$
or as an alternative by
$$f'(x)=-\sin x -\cos x = -\cos x\left(\tan x+1\right)=0 \implies x=\frac{\pi}4+k\pi$$
New problem
Let consider $f(x,y)=\sin x - \cos y$
then critical points are
$x=\frac{\pi}2+k\pi$
$y=k\pi$
then determine max and min.