How do you solve the integral of (sin(x)/x)^2?

  • Thread starter Susanne217
  • Start date
  • Tags
    Dx
In summary, The formula for solving int (sin(x)/x)^2 dx is (1/2)(x - sin(x)cos(x) + C), where C is a constant of integration. The technique used to solve this integral is integration by parts. This integral is difficult to solve because the integrand contains a trigonometric function, which can be challenging to integrate using traditional methods. Additionally, the presence of the x^2 term in the denominator makes it difficult to use substitution. Some common mistakes when solving this integral include forgetting to apply the integration by parts formula, making a mistake in the integration by parts process, and forgetting to include the constant of integration. Some tips for successfully solving this integral include recognizing the need for integration by
  • #1
Susanne217
317
0

Homework Statement



Hi I am working on a solution for the integral the integral

[tex]\int_{-\infty}^{\infty} (\frac{sin(x)}{x})^2 dx[/tex]



Homework Equations





The Attempt at a Solution



I know from theory that

[tex]\int_{-\infty}^{\infty} f(x) dx = \int_{-\infty}^{a} f(x) dx + \int_{-\infty}^{a} f(x) dx[/tex]

So that [tex]\int_{-\infty}^{1} (\frac{sin(x)}{x})^2 dx + \int_{1}^{\infty} (\frac{sin(x)}{x})^2 dx [/tex]

since [tex](\frac{sin(x)}{x})^2 = \frac{sin^{2} x}{x^2}[/tex]

and by trig identity

[tex]\frac{sin^{2} x}{x^2} = \frac{1-cos(2x)}{2} \cdot x^{-2} [/tex]

for clarity that gives me an integral that I need to solve where

[tex]\int_{-t}^{t} \frac{1-cos(2x)}{2x^2} dx = \int^{1}_{-t}\frac{1-cos(2x)}{2x^2} dx + \int^{t}_{1}\frac{1-cos(2x)}{2x^2} dx[/tex]

What I am simply am burning to know is that the correct approach?

I have read in another thread in this forum that the purpose of the task is to first find a corresponding taylor series expansion

so anyway since [tex]\frac{sin^2 x}{x^2} = \frac{1-cos(2x)}{2x^2} = \frac{-(cos(2))-1}{2}\cdot (x-1) - \frac{cos(2) - 4 \cdot sin(2) + 3}{2} \cdot (x-1)^2 + 2 \cdot (7 sin(2) -6) \cdot (x-1)^3 + \cdot + ?[/tex]

I used [tex]x_0 = 1[/tex] since there is hole x = 0
 
Last edited:
Physics news on Phys.org
  • #2
I think you have some good ideas, and some that might not work. For instance, I don't know which thread you're referring to about the taylor series expansion, but it sounds like a messy approach.

Now if you already know the value for [itex]\int_{0}^{\infty}\frac{\sin x}{x}\,dx,[/itex] then this is even easier to evaluate. But that approach is probably not what you want, but we can do something else.

First of all, the integrand is even, so by parity symmetry,

[tex]\int_{-\infty}^{\infty}\frac{\sin ^2 x}{x^2}\,dx = 2\int_{0}^{\infty}\frac{\sin ^2 x}{x^2}\,dx.[/tex]

Convergence is not really an issue, since we have the x^2 in the denominator. By the trig identity you wrote down, the integral becomes

[tex]\int_{0}^{\infty}\frac{1-cos(2x)}{x^2} \,dx.[/tex]

Now there is a standard trick for writing the term 1/x^2 as the integral of an exponential as follows:

[tex]\frac{1}{x^{2}}=\int_{0}^{\infty}te^{-tx}\,dt.[/tex]

This is easy to verify by basic calculus. We can then work with a double integral by writing

[tex]\int_{0}^{\infty}\frac{1-cos(2x)}{x^2} \,dx = \int_{0}^{\infty}\int_{0}^{\infty}te^{-tx}(1-\cos 2x)\,dt\,dx .[/tex]

What we want is to switch the order of integration (i.e. switching the places of dt and dx and integrate with respect to x). This is justified by Fubini's theorem and Tonelli's theorem. The rest is more antiderivative computation from basic calculus.

Note that the same approach can be used to determine the value of [itex]\int_{-\infty}^{\infty}\frac{\sin x}{x}\,dx,[/itex] but showing convergence is trickier. There is probably a way to evaluate your integral via Fourier transforms and working with distributions, but the approach I outlined is completely elementary.
 
  • Like
Likes Joker93
  • #3
Hi snipez and thank you for your answer,

So the trick is to work out that integral?

But if I try to work out the that integral I get undefined on my calculator. So what do I need to do here?

I can see that I can return it to the original integral. Is that what I need to do ?

Sincerely

Susanne

P.s. I know that according to parsevals identity that original integral [tex]\int_{0}^{\infty}\frac{sin^2 x}{x^2} = \frac{\pi}{2}[/tex] then our integral must be [tex]\frac{\pi}[/tex]?
 
Last edited:
  • #4
Don't use a calculator for actual math problems.

After switching the order of integration, we have to evaluate

[tex]
\int_{0}^{\infty}\frac{1-cos(2x)}{x^2} \,dx = \int_{0}^{\infty}\int_{0}^{\infty}te^{-tx} (1-\cos 2x)\,dx\,dt.[/tex]

In other words, we treat t as a constant and integrate with respect to x (inner integral first of course). If you're having trouble with integrating

[tex]te^{-tx} (1-\cos 2x)[/tex]

with respect to x (t constant), you could always ask for help or use wolfram's integrator as a last resort.
 
  • #5
snipez90 said:
Don't use a calculator for actual math problems.

After switching the order of integration, we have to evaluate

[tex]
\int_{0}^{\infty}\frac{1-cos(2x)}{x^2} \,dx = \int_{0}^{\infty}\int_{0}^{\infty}te^{-tx} (1-\cos 2x)\,dx\,dt.[/tex]

In other words, we treat t as a constant and integrate with respect to x (inner integral first of course). If you're having trouble with integrating

[tex]te^{-tx} (1-\cos 2x)[/tex]

with respect to x (t constant), you could always ask for help or use wolfram's integrator as a last resort.

sorry

then I get [tex] \lim_{t \to \infty } \int_{0}^{t} \frac{e^{-xt}((cos(2x)\cdot t^2 -t^2 - sin(2x)t-4)}{t^2+4} dt = \pi[/tex] how is that?
 
Last edited:
  • #6
No, sorry it was a latex error, the (1-cos(2x)) is not part of the exponential. Incidentally, the value of the integral you posed is [itex]\pi,[/itex] which is also what you get for [itex]\int_{-\infty}^{\infty}\frac{\sin x}{x}\,dx.[/itex] However, you do have to demonstrate the relationship between the two, which can be done via differentiation under the integral sign or I think even a simple integration by parts.
 
  • #7
snipez90 said:
No, sorry it was a latex error, the (1-cos(2x)) is not part of the exponential. Incidentally, the value of the integral you posed is [itex]\pi,[/itex] which is also what you get for [itex]\int_{-\infty}^{\infty}\frac{\sin x}{x}\,dx.[/itex] However, you do have to demonstrate the relationship between the two, which can be done via differentiation under the integral sign or I think even a simple integration by parts.

I have done it hopefully correctly in my previous post. Hopefully it was what you were thinking of :)
 
  • #8
Um, it looks like you got the inner integral for the most part, except you are missing a factor of 2 on the sin(2x)t term. Then you should have

[tex]\int_{0}^{\infty}\int_{0}^{\infty}te^{-tx} (1-\cos 2x)\,dx\,dt = \int_{0}^{\infty}\left[ \frac{e^{-xt}((cos(2x)\cdot t^2 -t^2 - 2sin(2x)t-4)}{t^2+4} \,dt \right]_{x = 0}^{x = \infty}\,dt.[/tex]

As x goes off to infinity, that big expression vanishes. Evaluate the big expression at x = 0 (don't forget the negative sign), then manipulate the result to make use of [itex]\int \frac{1}{1+t^2}\,dt = \arctan t + C[/itex] and you should be done.
 
Last edited:

What is the formula for solving int (sin(x)/x)^2 dx?

The formula for solving int (sin(x)/x)^2 dx is (1/2)(x - sin(x)cos(x) + C, where C is a constant of integration.

What is the technique used to solve this integral?

The technique used to solve this integral is integration by parts.

Why is this integral difficult to solve?

This integral is difficult to solve because the integrand contains a trigonometric function, which can be challenging to integrate using traditional methods. Additionally, the presence of the x^2 term in the denominator makes it difficult to use substitution.

What are some common mistakes made when solving this integral?

Some common mistakes when solving this integral include forgetting to apply the integration by parts formula, making a mistake in the integration by parts process, and forgetting to include the constant of integration.

What are some tips for successfully solving this integral?

Some tips for successfully solving this integral include recognizing the need for integration by parts, carefully following the integration by parts formula, and being mindful of the constant of integration. It can also be helpful to simplify the integrand before beginning the integration process.

Similar threads

  • Calculus and Beyond Homework Help
Replies
15
Views
744
  • Calculus and Beyond Homework Help
Replies
23
Views
861
  • Calculus and Beyond Homework Help
Replies
2
Views
479
  • Calculus and Beyond Homework Help
Replies
3
Views
269
  • Calculus and Beyond Homework Help
Replies
8
Views
588
  • Calculus and Beyond Homework Help
Replies
13
Views
399
  • Calculus and Beyond Homework Help
Replies
6
Views
793
  • Calculus and Beyond Homework Help
Replies
19
Views
759
  • Calculus and Beyond Homework Help
Replies
5
Views
1K
  • Calculus and Beyond Homework Help
Replies
3
Views
488
Back
Top