-1

I just noticed that $\int_{0}^{\pi/2} \ln|\sin x| \, dx = -\pi \ln(2)/2$ and my question is why is the area in this case a negative number?

J. Doe
  • 772

2 Answers2

1

The definite integral $\int_a^{b}f(x)dx$ represents the area under the graph of $f$ is $f$ is a positive function. Here the integrand is negative and the integral is the negative of the area between the graph and the $x-$ axis.

0

If $f:[a,b] \to \mathbb R$ is Riemann-integrable and if $f \le 0$ on $[a,b]$, then the area between the curve and the x - axis is given by

$$\left|\int_a^b f(x) \mathrm{d}x\right|.$$

Peter Foreman
  • 19,947
Fred
  • 77,394