MHB Can You Evaluate This Definite Integral with Trig Functions?

Click For Summary
SUMMARY

The discussion centers on evaluating the definite integral $\displaystyle \int_{-\pi}^{\pi} \dfrac{\sin nx}{(1+2^x)\sin x}\,dx$, where $n$ is a natural number. Participants express confusion regarding the origin of the factor $\displaystyle 2^x$ in the integrand and the transformation of this factor into $\displaystyle \frac{1}{2}$. Clarifications regarding the bounds of integration are also sought. The conversation indicates that further proof and explanation will be provided in subsequent posts.

PREREQUISITES
  • Understanding of definite integrals and their properties
  • Familiarity with trigonometric functions, specifically sine functions
  • Knowledge of exponential functions, particularly $2^x$
  • Basic skills in mathematical proof techniques
NEXT STEPS
  • Study the properties of definite integrals involving trigonometric functions
  • Learn about the manipulation of integrands in calculus, focusing on factors like $2^x$
  • Explore techniques for changing bounds in definite integrals
  • Review mathematical proof strategies to understand integral evaluations
USEFUL FOR

Mathematics students, calculus learners, and anyone interested in advanced integral evaluation techniques.

anemone
Gold Member
MHB
POTW Director
Messages
3,851
Reaction score
115
Evaluate the definite integral $\displaystyle \int_{-\pi}^{\pi} \dfrac{\sin nx}{(1+2^x)\sin x}\,dx$, where $n$ is a natural number.
 
Physics news on Phys.org
$$I=\displaystyle \int_{-\pi}^{\pi} \dfrac{\sin nx}{(1+2^x)\sin x}\,dx $$

Use the substitution $t = -x$

$$I = \displaystyle \int_{-\pi}^{\pi} \dfrac{2^t\sin nt}{(1+2^t)\sin t}\,dt = \int_{-\pi}^{\pi} \dfrac{2^x\sin nx}{(1+2^x)\sin x}\,dx $$

Since $t$ is just a dummy variable and by summing the two formulas

$$2I =\int_{-\pi}^{\pi} \dfrac{\sin nx}{\sin x}\,dx = \int_{0}^{2\pi} \dfrac{\sin nx}{\sin x}\,dx $$

Let us consider two different cases when $n$ is even

$$I_k = \int^{2\pi}_0\frac{\sin(2kx)}{\sin(x)}\,dx$$

$$I_k-I_{k-1} = \int^{2\pi}_0\frac{\sin(2kx)-\sin(2kx-2x)}{\sin(x)}\,dx$$

$$I_k-I_{k-1} =2 \int^{2\pi}_0\frac{\sin(x)\cos(2kx-x)}{\sin(x)}\,dx = \int^{2\pi}_0\cos(2kx-x)\,dx = 0$$

Hence

$$I_k=I_{k-1} = I_1 = 2\int^{2\pi}_0 \cos(x) \,dx= 0 $$

If $n$ is odd , let

$$I_j = \int^{2\pi}_0\frac{\sin((2j+1)x)}{\sin(x)}\,dx$$

$$I_j-I_{j-1} = \int^{2\pi}_0\frac{\sin((2j+1)x)-\sin((2j-1)x)}{\sin(x)}\,dx$$

$$I_j-I_{j-1} = \int^{2\pi}_0\frac{\sin(x)\cos(2jx)}{\sin(x)}\,dx = 0$$

Similarily

$$I_j = I_{j-1} = I_0 = \int^{2\pi}_0 \frac{\sin(x)}{\sin(x)} \,dx= 2\pi$$

Finally we get that

$$I= \int_{-\pi}^{\pi} \dfrac{\sin nx}{(1+2^x)\sin x}\,dx= \begin{cases}
0 & \text{n is even} \\
\pi & \text{n is odd}
\end{cases}$$
 
Last edited:
ZaidAlyafey said:
$$I=\displaystyle \int_{-\pi}^{\pi} \dfrac{\sin nx}{(1+2^x)\sin x}\,dx =\displaystyle \int_{-\pi}^{\pi} \dfrac{2^x\sin nx}{(1+2^x)\sin x}\,dx $$

$$I =\frac{1}{2}\int_{-\pi}^{\pi} \dfrac{\sin nx}{\sin x}\,dx = \frac{1}{2}\int_{0}^{2\pi} \dfrac{\sin nx}{\sin x}\,dx $$

The integral is $0$ if $n$ is even and $2\pi$ if it is odd. I will prove it later.

I'm having trouble seeing how any of these integrals are equal?

Where did the extra factor of $\displaystyle \begin{align*} 2^x \end{align*}$ in the integrand come from? How did that all become a factor of $\displaystyle \begin{align*} \frac{1}{2} \end{align*}$? Also how did you change the bounds?
 
ZaidAlyafey said:
$$I=\displaystyle \int_{-\pi}^{\pi} \dfrac{\sin nx}{(1+2^x)\sin x}\,dx =\displaystyle \int_{-\pi}^{\pi} \dfrac{2^x\sin nx}{(1+2^x)\sin x}\,dx $$

$$I =\frac{1}{2}\int_{-\pi}^{\pi} \dfrac{\sin nx}{\sin x}\,dx = \frac{1}{2}\int_{0}^{2\pi} \dfrac{\sin nx}{\sin x}\,dx $$

The integral is $0$ if $n$ is even and $2\pi$ if it is odd. I will prove it later.

Prove It said:
I'm having trouble seeing how any of these integrals are equal?

Where did the extra factor of $\displaystyle \begin{align*} 2^x \end{align*}$ in the integrand come from? How did that all become a factor of $\displaystyle \begin{align*} \frac{1}{2} \end{align*}$? Also how did you change the bounds?

Hi Prove It,

I think given Zaid has mentioned that he would prove how such and such are true, we will wait for his second post for more clarification...(Smile)
 
I just edited my post. I added more clarifications and the proof of the last integral.
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
988
Replies
2
Views
1K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K