MHT CET · Maths · Definite Integration
The value of the integral \(\int_{\frac{-\pi}{2}}^{\frac{\pi}{2}}\left(x^2+\log \frac{\pi-x}{\pi+x}\right) \cos x d x\) is equal to
- A 0
- B \(\frac{\pi^2}{2}-4\)
- C \(\frac{\pi^2}{2}\)
- D \(\frac{\pi^2}{2}+4\)
Answer & Solution
Correct Answer
(B) \(\frac{\pi^2}{2}-4\)
Step-by-step Solution
Detailed explanation
Let \(\mathrm{I}=\int_{-\frac{\pi}{2}}^{\frac{\pi}{2}}\left[x^2+\log \left(\frac{\pi-x}{\pi+x}\right)\right] \cos x \mathrm{~d} x\)
\(\mathrm{I}=\int_{\frac{-\pi}{2}}^{\frac{\pi}{2}} x^2 \cos x \mathrm{~d} x+\int_{\frac{-\pi}{2}}^{\frac{\pi}{2}} \log \left(\frac{\pi-x}{\pi+x}\right) \cos x \mathrm{~d} x\)
Let \(\mathrm{I}=\mathrm{I}_1+\mathrm{I}_2\)
Where \(\mathrm{I}_1=\int_{\frac{-\pi}{2}}^{\frac{\pi}{2}} x^2 \cos x \mathrm{~d} x\) and
\(\mathrm{I}_2=\int_{\frac{-\pi}{2}}^{\frac{\pi}{2}} \log \left(\frac{\pi-x}{\pi+x}\right) \cos x \mathrm{~d} x\)
Consider
\(\begin{aligned}
& I_1=\int_{\frac{-\pi}{2}}^{\frac{\pi}{2}} x^2 \cos x \cdot d x \\
& =2 \int_0^{\frac{\pi}{2}} x^2 \cos x d x
\end{aligned}\)
\(\ldots\left[x^2 \cos x\right.\) is an even function \(]\)
\(=2\left[x^2 \cdot \int \cos x \mathrm{~d} x-\int \frac{\mathrm{d}}{\mathrm{d} x}\left(x^2\right)\left(\int \cos x \mathrm{~d} x\right) \mathrm{d} x\right]_0^{\frac{\pi}{2}}\)
\(\begin{aligned} & =2\left[x^2 \cdot \sin x-\int 2 x \cdot \sin x d x\right]_0^{\frac{\pi}{2}} \\ & =2\left[x^2 \sin x-2 \int x \cdot \sin x d x\right]_0^{\frac{\pi}{2}}\end{aligned}\)
\(=2\left[x^2 \sin x-2\left(x(-\cos x)-\int(-\cos x) \mathrm{d} x\right)\right]_0^{\frac{\pi}{2}}\)
\(\begin{aligned} & =2\left[x^2 \sin x+2 x \cos x-2 \sin x\right]_0^{\frac{\pi}{2}} \\ & =2\left[\frac{\pi^2}{4} \sin \frac{\pi}{2}+2 \times \frac{\pi}{2} \cos \frac{\pi}{2}-2 \sin \frac{\pi}{2}\right.\end{aligned}\)
\(\left.-0^2 \sin 0-2 \times 0 \times \cos 0+2 \sin 0\right]\)
\(\begin{aligned}
& =2\left[\frac{\pi^2}{4}-2-0-0-0\right] \\
& =2\left[\frac{\pi^2}{4}-2\right]=\frac{\pi^2}{2}-4
\end{aligned}\)
Consider
\(\begin{aligned}
& \mathrm{I}_2=\int_{\frac{-\pi}{2}}^{\frac{\pi}{2}} \log \left(\frac{\pi-x}{\pi+x}\right) \cos x \mathrm{~d} x \\
& \therefore \mathrm{I}_2=0 \ldots\left[\log \left(\frac{\pi-x}{\pi+x}\right) \cos x \text { is an odd function }\right] \\
& \therefore \mathrm{I}=\mathrm{I}_1+\mathrm{I}_2 \\
& \Rightarrow I=\frac{\pi^2}{2}-4
\end{aligned}\)
\(\mathrm{I}=\int_{\frac{-\pi}{2}}^{\frac{\pi}{2}} x^2 \cos x \mathrm{~d} x+\int_{\frac{-\pi}{2}}^{\frac{\pi}{2}} \log \left(\frac{\pi-x}{\pi+x}\right) \cos x \mathrm{~d} x\)
Let \(\mathrm{I}=\mathrm{I}_1+\mathrm{I}_2\)
Where \(\mathrm{I}_1=\int_{\frac{-\pi}{2}}^{\frac{\pi}{2}} x^2 \cos x \mathrm{~d} x\) and
\(\mathrm{I}_2=\int_{\frac{-\pi}{2}}^{\frac{\pi}{2}} \log \left(\frac{\pi-x}{\pi+x}\right) \cos x \mathrm{~d} x\)
Consider
\(\begin{aligned}
& I_1=\int_{\frac{-\pi}{2}}^{\frac{\pi}{2}} x^2 \cos x \cdot d x \\
& =2 \int_0^{\frac{\pi}{2}} x^2 \cos x d x
\end{aligned}\)
\(\ldots\left[x^2 \cos x\right.\) is an even function \(]\)
\(=2\left[x^2 \cdot \int \cos x \mathrm{~d} x-\int \frac{\mathrm{d}}{\mathrm{d} x}\left(x^2\right)\left(\int \cos x \mathrm{~d} x\right) \mathrm{d} x\right]_0^{\frac{\pi}{2}}\)
\(\begin{aligned} & =2\left[x^2 \cdot \sin x-\int 2 x \cdot \sin x d x\right]_0^{\frac{\pi}{2}} \\ & =2\left[x^2 \sin x-2 \int x \cdot \sin x d x\right]_0^{\frac{\pi}{2}}\end{aligned}\)
\(=2\left[x^2 \sin x-2\left(x(-\cos x)-\int(-\cos x) \mathrm{d} x\right)\right]_0^{\frac{\pi}{2}}\)
\(\begin{aligned} & =2\left[x^2 \sin x+2 x \cos x-2 \sin x\right]_0^{\frac{\pi}{2}} \\ & =2\left[\frac{\pi^2}{4} \sin \frac{\pi}{2}+2 \times \frac{\pi}{2} \cos \frac{\pi}{2}-2 \sin \frac{\pi}{2}\right.\end{aligned}\)
\(\left.-0^2 \sin 0-2 \times 0 \times \cos 0+2 \sin 0\right]\)
\(\begin{aligned}
& =2\left[\frac{\pi^2}{4}-2-0-0-0\right] \\
& =2\left[\frac{\pi^2}{4}-2\right]=\frac{\pi^2}{2}-4
\end{aligned}\)
Consider
\(\begin{aligned}
& \mathrm{I}_2=\int_{\frac{-\pi}{2}}^{\frac{\pi}{2}} \log \left(\frac{\pi-x}{\pi+x}\right) \cos x \mathrm{~d} x \\
& \therefore \mathrm{I}_2=0 \ldots\left[\log \left(\frac{\pi-x}{\pi+x}\right) \cos x \text { is an odd function }\right] \\
& \therefore \mathrm{I}=\mathrm{I}_1+\mathrm{I}_2 \\
& \Rightarrow I=\frac{\pi^2}{2}-4
\end{aligned}\)
See the Complete Solution
Get step-by-step explanations for this and 2.5 Lakh+ more JEE, NEET & CET questions.
- Unlock all solutions
- Practice the full chapter
- Track accuracy across PYQs
4.8 rated on Google Play · 14,000+ reviews
More questions from Maths
- A random variable \(X\) has the following probability distribution

For the event \(E=\{X\) is a prime number \(\}\), \(F=\{X \lt 4\}\), then \(P(E \cup F)\) isMHT CET 2024 Medium - \(\int_{-1}^1 \log \left(\frac{2-x}{2+x}\right) d x=\)MHT CET 2022 Medium
- The value of \(\frac{\tan ^{-1}(\sqrt{3})-\sec ^{-1}(-2)}{\operatorname{cosec}^{-1}(-\sqrt{2})+\cos ^{-1}\left(\frac{-1}{2}\right)}\) isMHT CET 2024 Medium
- The area of the square increases at the rate of \(0.5 \mathrm{~cm}^{2} / \mathrm{sec}\). The rate at which its
perimeter is increasing when the side of the square is \(10 \mathrm{~cm}\) long, isMHT CET 2020 Easy - The angle between lines and is ________MHT CET 2019 Easy
- Area bounded by the lines \(y=x, x=-1, x=2\) and the \(X\)-axis isMHT CET 2021 Medium
More PYQs from MHT CET
- The rotational kinetic energy and translational kinetic energy of a rolling body are same, the body isMHT CET 2023 Easy
- The area (in sq. units) of the smaller part of the circle \(x^2+y^2=\mathrm{a}^2\) cut off by the line \(x=\frac{\mathrm{a}}{\sqrt{2}}\) isMHT CET 2023 Medium
- A pipe closed at one end has lengh \(0 \cdot 8 \mathrm{~cm}\). At its open end a \(0.5 \mathrm{~m}\) long uniform string is vibrating in its second harmonic and it resonates with the fundamental frequency of the pipe. If the tension in the wire is \(50 \mathrm{~N}\) and the speed of sound is \(320 \mathrm{~m} / \mathrm{s}\), the mass of the string isMHT CET 2020 Hard
- The yellow colour of normal urine is due toMHT CET 2017 Hard
- What is the oxidation state of S in \(\mathrm{SO}_4^{2-}\) ?MHT CET 2024 Easy
- Which of the following is more polar?MHT CET 2025 Medium