Question:

\(\int _{0}^{\pi }\frac{e^{\cos x}}{(e^{\cos x}+e^{-\cos x)}}dx=\)

Show Hint

Use the property that the integral of f(x) equals the integral of f(a - x), and add the two forms.
Updated On: Nov 19, 2026
  • \(\frac{-\pi }{2}\)
  • \(-\pi\)
  • \(\pi\)
  • \(\frac{\pi }{2}\)
Show Solution
collegedunia
Verified By Collegedunia

The Correct Option is D

Solution and Explanation

Step 1: Understanding the Concept
\(I=\int_0^\pi\dfrac{e^{\cos x}}{e^{\cos x}+e^{-\cos x}}dx\). Replace \(x\) by \(\pi-x\), so \(\cos x\) becomes \(-\cos x\).

Step 2: Calculation
\(I=\int_0^\pi\dfrac{e^{-\cos x}}{e^{-\cos x}+e^{\cos x}}dx\)\nAdd: \(2I=\int_0^\pi1\,dx=\pi\)

Step 3: Compare the options
\(I=\dfrac\pi2\), option (D).

Final Answer:
The value of the integral is pi over 2. \[ \boxed{\text{(D) }\dfrac{\pi }{2}} \]
Was this answer helpful?
0
0