3
$\begingroup$

I'm trying to evaluate the following definite integral but am unsure how to handle the absolute value efficiently over the given interval. Any hints on finding the points where the expression inside changes sign, or alternative methods like symmetry?

$$\int_{0}^{2\pi} \left| \sin x + \cos x - 1 \right| \, dx$$ I've tried splitting the interval at the roots of $\sin x + \cos x - 1 = 0$, but solving for those points analytically seems messy. Is there a trigonometric identity or substitution that simplifies this?

New contributor
seljuk is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.
$\endgroup$

1 Answer 1

4
$\begingroup$

Hint: to find the zeros use the fact that $$\sin x + \cos x = \sqrt 2 \cos (x-\pi/4)$$

$\endgroup$

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.