Question:

If the value of the integral

\[ \int_{-\frac{\pi}{2}}^{\frac{\pi}{2}} \left( \frac{x^2 \cos x}{1 + \pi^x} + \frac{1 + \sin^2 x}{1 + e^{\sin^x 2023}} \right) dx = \frac{\pi}{4} (\pi + a) - 2, \]

then the value of \(a\) is:

Updated On: Mar 20, 2025
  • 2
  • \(-\frac{3}{2}\)
  • 3
  • \(\frac{3}{2}\)
Hide Solution
collegedunia
Verified By Collegedunia

The Correct Option is C

Solution and Explanation

Step 1: Set Up the Integral \(I\)

\[ I = \int_{-\frac{\pi}{2}}^{\frac{\pi}{2}} \left( \frac{x^2 \cos x}{1 + \pi^x} + \frac{1 + \sin^2 x}{1 + e^{\sin^{2023} x}} \right) dx \]

Step 2: Use Symmetry to Simplify

Notice that the integrand has symmetry properties, allowing us to split the integral and add:

\[ I = \int_{-\frac{\pi}{2}}^{\frac{\pi}{2}} \left( \frac{x^2 \cos x}{1 + \pi^x} + \frac{1 + \sin^2 x}{1 + e^{\sin^{2023}(-x)}} \right) dx \]

Step 3: Combine Integrals

Adding the two integrals results in:

\[ 2I = \int_{-\frac{\pi}{2}}^{\frac{\pi}{2}} \left( x^2 \cos x + 1 + \sin^2 x \right) dx \]

Step 4: Evaluate the Integral

Solving this integral gives:

\[ I = \frac{\pi^2}{4} + \frac{3\pi}{4} - 2 \]

Step 5: Determine \(a\)

From the given equation, equate terms to find \(a = 3\).

So, the correct answer is: \(a = 3\)

Was this answer helpful?
1
10

Concepts Used:

Definite Integral

Definite integral is an operation on functions which approximates the sum of the values (of the function) weighted by the length (or measure) of the intervals for which the function takes that value.

Definite integrals - Important Formulae Handbook

A real valued function being evaluated (integrated) over the closed interval [a, b] is written as :

\(\int_{a}^{b}f(x)dx\)

Definite integrals have a lot of applications. Its main application is that it is used to find out the area under the curve of a function, as shown below: 

Definite integral