What is the elementary method used to prove the log(sin) integral?

  • MHB
  • Thread starter alyafey22
  • Start date
  • Tags
    Integral
Also, a small typo: in the line where you wrote:\frac{\pi}{2}\log(2)it should be a minus sign, not an equals sign.
  • #1
alyafey22
Gold Member
MHB
1,561
1
Prove the following

\(\displaystyle \int^1_0 \log(\sin(\pi x)) \, dx = - \log(2)\)

where \(\displaystyle \log\) represents the natural logarithm (Smoking)
 
Mathematics news on Phys.org
  • #2
Let $u=\pi x$. The integral turns into
\[\frac{1}{\pi}\int_0^{\pi}\log(\sin u)\,du.\]
Consider the function
\[f(z)=\log(1-e^{2iz})=\log(-2ie^{iz}\sin z)=\log(1-e^{-2y}(\cos(2x)+i\sin(2x))).\]
This function is real and negative if $y<0$ and $x=n\pi$. If we delete these half lines, we can assume that $\log$ is single-valued and analytic.
integral_contour-1.png
We now integrate over the rectangle with corners $z=0$, $z=\pi$, $z=\pi+iy$ and $z=iy$ (and then we let $y\to\infty$ as seen in figure). At the points $0$ and $\pi$, we create circular arcs of radius $\epsilon$ to avoid these points. By periodicity of the function, the integral along the vertical lines is zero. Also, note that if $L$ is the line connecting $iy$ with $\pi+iy$, then
\[\left|\int_L f(z)\,dz\right|\leq 2\pi|e^{iz}|=2\pi e^{-y}\rightarrow 0\]
as $y\rightarrow\infty$. Now, notice that the imaginary part of the logarithm is bounded. Thus, we only need to worry about the real part. Observe that
\[\left|\frac{1-e^{2iz}}{z}\right|\rightarrow 2\]
as $z\rightarrow 0$; thus the logarithm behaves like $\log\epsilon$. As $\epsilon\log\epsilon\rightarrow 0$,
\[\int_{C_{\epsilon}}f(z)\,dz\rightarrow 0\]

Therefore,
\[\frac{1}{\pi}\int_0^{\pi}\log(-2ie^{ix}\sin x)\,dx=0.\]
Now, consider the branch of the logarithm where $\log e^{ix} = ix$. Therefore, $\log(-i)=-\frac{\pi i}{2}$ and thus we see that
\[\frac{1}{\pi}\left[\pi\log 2-\frac{\pi^2 i}{2}+\int_0^{\pi}\log(\sin x)\,dx+\frac{\pi^2 i}{2}\right]=0\]
which implies that
\[\int_0^1\log(\sin\pi x)\,dx=\frac{1}{\pi}\int_0^{\pi}\log(\sin x)\,dx = -\log 2\]
and the proof is complete.

(I think this is good enough...let me know if there are any faulty assumptions on my part... XD)

EDIT #1: The diagram is incorrect (as I noticed when I pulled this from an old homework assignment in my complex analysis course; I'll update it in a few.)

EDIT #2: Updated the contour diagram.

EDIT #3: Fixed some typos.
 
  • #3
Thanks Chris for the approach I always like a complex analysis approach even though we are actually using complex analysis using contours on the real axis .

I got confused in what function you are integrating ? , is it

\(\displaystyle f(z)=\log(1-e^{2iz})\)
 
  • #4
Here is a method using real analysis \(\displaystyle \int^{\pi}_0 \log( \sin( x)) \, dx = 2\int^{\frac{\pi}{2}}_0 \log( \sin( x)) \, dx \)

Now consider the following integral \(\displaystyle

I(s)=2\int^{\frac{\pi}{2}}_0 (\sin( x))^s \, dx = \frac{\Gamma \left( \frac{s+1}{2}\right) \Gamma \left( \frac{1}{2}\right)}{\Gamma \left( \frac{s}{2}+1 \right)}

\)

\(\displaystyle

I'(s)= 2\int^{\frac{\pi}{2}}_0 (\sin( x))^s \log( \sin(x)) \, dx = \frac{\Gamma \left( \frac{1}{2}\right)}{2} \frac{\Gamma\left( \frac{s+1}{2}\right) \psi_0\left( \frac{s+1}{2}\right)-\Gamma\left( \frac{s+1}{2}\right) \psi_0 \left( \frac{s}{2}+1 \right)}{\Gamma \left( \frac{s}{2}+1 \right)}

\)

\(\displaystyle

I'(0)= 2\int^{\frac{\pi}{2}}_0 \log( \sin(x)) \, dx = \frac{\pi \left( \psi_0\left( \frac{1}{2}\right)- \psi_0 \left(1 \right) \right)}{2} =-\pi \log(2)

\)\(\displaystyle \int^1_0 \log (\sin(\pi x)) \, dx = \frac{2}{\pi } \int^{\frac{\pi}{2}}_0 \log( \sin(x)) \, dx = -\log(2)\)
 
  • #5
ZaidAlyafey said:
Thanks Chris for the approach I always like a complex analysis approach even though we are actually using complex analysis using contours on the real axis .

I got confused in what function you are integrating ? , is it

\(\displaystyle f(z)=\log(1-e^{2iz})\)

Oops, yea that's it. I fixed that in the original post.
 
  • #6
Here is an approach using elementary methods

\(\displaystyle
\begin{align*}
I=\int^{\pi}_0 \log( \sin( x)) \, dx &= 2\int^{\frac{\pi}{2}}_0 \log( \sin( x)) \, dx \\

&= \int^{\frac{\pi}{2}}_0 \log( \sin( x)) \, dx +\int^{\frac{\pi}{2}}_{0} \log( \sin( x)) \, dx \\

&= \int^{\frac{\pi}{2}}_0 \log( \sin( x)) \, dx +\int^{\frac{\pi}{2}}_{0} \log( \cos( x)) \, dx \\

&= \int^{\frac{\pi}{2}}_0 \log( \sin( x) \cos(x)) \, dx \\

&= \int^{\frac{\pi}{2}}_0 \log\left( \frac{\sin(2x)}{2} \right) \, dx \\

&= \int^{\frac{\pi}{2}}_0 \log( \sin(2x))\, dx -\frac{\pi}{2}\log(2) \\

&= \frac{I}{2} -\frac{\pi}{2}\log(2) \\

&=-\pi\log(2)

\end{align*}
\)

\(\displaystyle \int^1_0 \log(\sin(\pi x))\, dx=\frac{I}{\pi} = -\log(2)\)
 
  • #7
ZaidAlyafey said:
Here is an approach using elementary methods

\(\displaystyle
\begin{align*}
I=\int^{\pi}_0 \log( \sin( x)) \, dx &= 2\int^{\frac{\pi}{2}}_0 \log( \sin( x)) \, dx \\

&= \int^{\frac{\pi}{2}}_0 \log( \sin( x)) \, dx +\int^{\frac{\pi}{2}}_{0} \log( \sin( x)) \, dx \\

&= \int^{\frac{\pi}{2}}_0 \log( \sin( x)) \, dx +\int^{\frac{\pi}{2}}_{0} \log( \cos( x)) \, dx \\

&= \int^{\frac{\pi}{2}}_0 \log( \sin( x) \cos(x)) \, dx \\

&= \int^{\frac{\pi}{2}}_0 \log\left( \frac{\sin(2x)}{2} \right) \, dx \\

&= \int^{\frac{\pi}{2}}_0 \log( \sin(2x))\, dx -\frac{\pi}{2}\log(2) \\

&= \frac{I}{2} -\frac{\pi}{2}\log(2) \\

&=-\pi\log(2)

\end{align*}
\)

\(\displaystyle \int^1_0 \log(\sin(\pi x))\, dx=\frac{I}{\pi} = -\log(2)\)

(Yes) Nice use of the property:

\(\displaystyle \int_0^a f(x)\,dx=\int_0^a f(a-x)\,dx\)
 

FAQ: What is the elementary method used to prove the log(sin) integral?

What is a classic log(sin) integral?

A classic log(sin) integral is an integral that involves the natural logarithm of the sine function. It is typically written as ∫ ln(sin(x)) dx and can be solved using various techniques, such as integration by parts or trigonometric substitution.

What is the purpose of solving a classic log(sin) integral?

The purpose of solving a classic log(sin) integral is to find the area under the curve of the function ln(sin(x)). This can be useful in applications such as physics, engineering, and statistics.

How do you solve a classic log(sin) integral?

There are several methods for solving a classic log(sin) integral, but the most common ones include integration by parts and trigonometric substitution. It is important to follow the rules of integration and use basic trigonometric identities to simplify the integral before attempting to solve it.

Are there any special cases for a classic log(sin) integral?

Yes, there are a few special cases for a classic log(sin) integral. One of the most common ones is when the limits of integration are from 0 to π/2. In this case, the integral simplifies to -πln(2)/2. Another special case is when the limits of integration are from 0 to π. In this case, the integral becomes 0.

Can a classic log(sin) integral be solved using software or calculators?

Yes, many software programs and calculators have built-in functions that can solve classic log(sin) integrals. However, it is still important to understand the concept and methods of solving these integrals by hand in order to properly use these tools and verify the results.

Similar threads

Replies
1
Views
1K
Replies
2
Views
1K
Replies
4
Views
2K
Replies
2
Views
2K
Replies
15
Views
3K
Replies
1
Views
1K
Replies
5
Views
2K
Back
Top