# Math Help - Riemann integral

1. ## Riemann integral

Compute the Riemann integral of the absolute value of sinx from 0 to 2(pi)

2. Originally Posted by TexasGirl
Compute the Riemann integral of the absolute value of sinx from 0 to 2(pi)
We note that,
$f=|\sin x|$ is countinous thus it exists.
If $0\leq x\leq \pi$
Then, $f=\sin x$ by the definition of absolute value.
If $\pi \leq x\leq 2\pi$
Then, $f=-\sin x$ by the definition of absolute value.
Thus, by the subdivision rule,
$\int_0^{2\pi}|\sin x|dx=\int_0^{\pi}\sin xdx+\int_{\pi}^{2\pi} -\sin xdx$
I assume you can solve it from heir.

3. yep...thanks