Step 4: Result
The integral is \(\sqrt{2}\sin^{-1}(\sin x-\cos x)+c\).
Final Answer:
The integral equals root 2 times the inverse sine of (sin x minus cos x) plus c.
\[ \boxed{\text{(A) }\sqrt{2}\sin^{-1}(\sin x-\cos x)+\mathrm{c}\text{, where c is a constant of integration.}} \]