Choose the correct answer in Exercises 20 and 21.
The value of \(\int_{0}^{\frac{\pi}{2}} \log \left( \frac{4 + 3 \sin x}{4 + 3 \cos x} \right) dx\) isShow answerHide answer
Show solutionHide solution
Let \[ I=\int_{0}^{\frac{\pi}{2}} \log\left(\frac{4+3\sin x}{4+3\cos x}\right)dx. \] Use the substitution \(x=\frac{\pi}{2}-t\). Then \(dx=-dt\), and as \(x:0\to\frac{\pi}{2}\), we have \(t:\frac{\pi}{2}\to0\). Also \(\sin\left(\frac{\pi}{2}-t\right)=\cos t\) and \(\cos\left(\frac{\pi}{2}-t\right)=\sin t\). Hence \[ I=\int_{\frac{\pi}{2}}^{0}\log\left(\frac{4+3\cos t}{4+3\sin t}\right)(-dt) =\int_{0}^{\frac{\pi}{2}}\log\left(\frac{4+3\cos t}{4+3\sin t}\right)dt. \] The resulting integrand is the negative of the original integrand, so \[ I=-I. \] Therefore \(2I=0\), giving \(I=0\). Thus the correct choice is option 3, namely \(0\).