Question Number 95227 by bobhans last updated on 24/May/20
$$\underset{−\pi} {\overset{\pi} {\int}}\:\mid\mathrm{sin}\:\mathrm{x}\:+\:\mathrm{cos}\:\mathrm{x}\:\mid\:\mathrm{dx}\:=?\: \\ $$
Answered by john santu last updated on 24/May/20
Commented by john santu last updated on 24/May/20
$$\underset{−\pi} {\overset{−\frac{\pi}{\mathrm{4}}} {\int}}\left(\mathrm{sin}\:\mathrm{x}+\mathrm{cos}\:\mathrm{x}\right)\:\mathrm{dx}\:+\:\underset{−\frac{\pi}{\mathrm{4}}} {\overset{\frac{\mathrm{3}\pi}{\mathrm{4}}} {\int}}\left(\mathrm{sin}\:\mathrm{x}+\mathrm{cos}\:\mathrm{x}\right)\:\mathrm{dx}+\underset{\frac{\mathrm{3}\pi}{\mathrm{4}}} {\overset{\pi} {\int}}\left(\mathrm{sin}\:\mathrm{x}+\mathrm{cos}\:\mathrm{x}\right)\:\mathrm{dx}\:= \\ $$$$\mathrm{2}\underset{−\frac{\pi}{\mathrm{4}}} {\overset{\frac{\mathrm{3}\pi}{\mathrm{4}}} {\int}}\left(\mathrm{sin}\:\mathrm{x}+\mathrm{cos}\:\mathrm{x}\right)\:\mathrm{dx}\:= \\ $$$$\mathrm{2}\:\left[\:−\mathrm{cos}\:\mathrm{x}+\mathrm{sin}\:\mathrm{x}\:\right]_{−\frac{\pi}{\mathrm{4}}} ^{\frac{\mathrm{3}\pi}{\mathrm{4}}} = \\ $$$$\mathrm{2}\left\{\sqrt{\mathrm{2}}−\left(−\sqrt{\mathrm{2}}\right)\right\}\:=\:\mathrm{4}\sqrt{\mathrm{2}}\: \\ $$