The value of which of the following integrals is zero?
(A) \(\int_{0}^{1}\displaystyle x\, dx\)
(B) \(\int_{-1}^{1}\displaystyle x\, dx\)
(C) \(\int_{-1}^{1}\displaystyle x^2\, dx\)
(D) \(\int_{0}^{1}\displaystyle \log\left(\frac{x}{1-x}\right) dx\)
Choose the correct answer from the options given below:
Answer & explanation
Correct answer: option 1
The correct answer is Option (1) → (B) and (D) only
(A) \(\int_{0}^{1} x\, dx\) — Incorrect. Its value is \(\frac{1}{2}\):
\( \displaystyle \int_{0}^{1} x\,dx = \left[\frac{x^2}{2}\right]_{0}^{1} = \frac{1}{2} \)
(B) \(\int_{-1}^{1} x\, dx\) — Correct. x is an odd function, and \(\int_{-a}^{a} f(x)\,dx = 0\) for odd f.
(C) \(\int_{-1}^{1} x^2\, dx\) — Incorrect. Its value is \(\frac{2}{3}\):
\( \displaystyle \int_{-1}^{1} x^2\,dx = \left[\frac{x^3}{3}\right]_{-1}^{1} = \frac{2}{3} \)
(D) \(\int_{0}^{1} \log\left(\frac{x}{1-x}\right) dx\) — Correct. Let I be the integral. By the property \(\int_{0}^{a} f(x)\,dx = \int_{0}^{a} f(a - x)\,dx\), replace x by 1 − x:
\( \displaystyle I = \int_{0}^{1} \log\left(\frac{1-x}{x}\right) dx = -\int_{0}^{1} \log\left(\frac{x}{1-x}\right) dx = -I \)
\( \displaystyle 2I = 0 \)
\( \displaystyle I = 0 \)