\(A=sin\left(\dfrac{\pi}{4}\right)cosx+cos\left(\dfrac{\pi}{4}\right)sinx-cos\left(\dfrac{\pi}{4}\right)cosx-sin\left(\dfrac{\pi}{4}\right)sinx\)
\(=\dfrac{\sqrt{2}}{2}cosx+\dfrac{\sqrt{2}}{2}sinx-\dfrac{\sqrt{2}}{2}cosx-\dfrac{\sqrt{2}}{2}sinx\)
\(=0\) (đpcm)