1
$\begingroup$

Find the value of the following integral $$ I = \int_{-\pi}^\pi\frac{e^{\sin x}}{e^{\sin x}+e^{-\sin x}}\,dx$$

My attempt: I tried to evaluate this by the property of even/odd functions for definite integrals, but found that the function is neither even nor odd. Further, I found that the function is symmetric with respect to $ x = {\pi}/2 $. But I am not getting an away to proceed to the next step.

Any suggestion will be very helpful.

$\endgroup$

closed as off-topic by Jack D'Aurizio, Namaste, Glorfindel, user91500, kingW3 Jul 14 '17 at 14:56

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This question is missing context or other details: Please improve the question by providing additional context, which ideally includes your thoughts on the problem and any attempts you have made to solve it. This information helps others identify where you have difficulties and helps them write answers appropriate to your experience level." – Jack D'Aurizio, Namaste, Glorfindel, user91500, kingW3
If this question can be reworded to fit the rules in the help center, please edit the question.

  • 5
    $\begingroup$ Make the substitution $u = -x$ and look at it for a while. $\endgroup$ – Daniel Fischer Jul 14 '17 at 14:19
  • 1
    $\begingroup$ Try substituting $-x$ for $x$. $\endgroup$ – Lord Shark the Unknown Jul 14 '17 at 14:20
  • $\begingroup$ Thanks to @LordSharktheUnknown & DanielFischer. I got the clue. $\endgroup$ – MathsLearner Jul 14 '17 at 14:32
4
$\begingroup$

$$ I = \int_{-\pi}^\pi\frac{e^{\sin x}}{e^{\sin x}+e^{-\sin x}}\,dx......(1)$$ Substituting $ u = -x $, we get $$ I = \int_{\pi}^{-\pi}\frac{-e^{-\sin u}}{e^{-\sin u}+e^{\sin u}}\,du$$ $$or, I = \int_{-\pi}^{\pi}\frac{e^{-\sin u}}{e^{\sin u}+e^{-\sin u}}\,du$$ $$or, I = \int_{-\pi}^{\pi}\frac{e^{-\sin x}}{e^{\sin x}+e^{-\sin x}}\,du.....(2)$$

Adding (1) & (2) we get,

$$2I = \int_{-\pi}^{\pi}\frac{e^{\sin u}+e^{-\sin u}}{e^{\sin u}+e^{-\sin u}}\,du= 2{\pi}$$ $$or, I = \pi$$

$\endgroup$
2
$\begingroup$

Formally: $$I=\int_{-\pi}^\pi\frac{e^{\sin x}}{e^{\sin x}+e^{-\sin x}}\,dx$$ Flipping the domain of integration takes $x$ to $-x$ and preserves the value, while swapping $\sin x$ and $-\sin x$: $$I=\int_{-\pi}^\pi\frac{e^{-\sin x}}{e^{\sin x}+e^{-\sin x}}\,dx$$ Add together: $$2I=\int_{-\pi}^\pi\frac{e^{\sin x}+e^{-\sin x}}{e^{\sin x}+e^{-\sin x}}\,dx=\int_{-\pi}^\pi1\,dx=2\pi$$ and thus $I=\frac{2\pi}2=\pi$.

$\endgroup$

Not the answer you're looking for? Browse other questions tagged or ask your own question.