Integral of sin^2l(x): Ideas Needed

  • Context: Undergrad 
  • Thread starter Thread starter cragar
  • Start date Start date
  • Tags Tags
    Integral
Click For Summary

Discussion Overview

The discussion centers around the integral of sin(x) raised to the power of 2l, where l is a positive integer. Participants explore various methods for solving this integral, including the use of Euler's formula, reduction formulas, and Taylor series expansions. The conversation includes both theoretical and practical aspects of the integral, with participants sharing different approaches and insights.

Discussion Character

  • Exploratory
  • Technical explanation
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • One participant suggests using Euler's formula to rewrite sin(x) in terms of exponentials, but expresses uncertainty about the effectiveness of this approach.
  • Another participant notes that the integral cannot be expressed in terms of elementary functions and mentions the hypergeometric function as a possible solution.
  • A different approach involves using reduction formulas to express the integral of sin(x) raised to the power of N in terms of integrals of sin(x) raised to lower powers.
  • One participant provides a detailed derivation using exponential forms and summation, but later questions the utility of the resulting formula due to its complexity.
  • Another participant proposes using Taylor series to expand the sine function, although they acknowledge that this may complicate the integration process.
  • There is a discussion about the validity of interchanging summation and integration, with some participants providing reasoning for when this is permissible.

Areas of Agreement / Disagreement

Participants do not reach a consensus on a single method for solving the integral. Multiple competing approaches are presented, and there is ongoing debate about the effectiveness and complexity of each method.

Contextual Notes

Some participants mention that the integral's solution may not be expressible in elementary terms, and the discussion includes various assumptions about the applicability of different mathematical techniques. The complexity of the resulting expressions is also noted, which may limit their usefulness.

cragar
Messages
2,546
Reaction score
3
[tex] \int(sin(x))^{2l}dx[/tex]
I tried using Eulers formula to rewrite sin(x) in terms of exponentials and thought about using trig manipulations but does any have any ideas.
where L is a positive unknown constant integer.
sinx is raised to the 2l power , not sure if my latex is working
 
Last edited by a moderator:
Physics news on Phys.org
Is this for school? If so, what class?

The solution cannot be expressed in terms of elementary functions as far as I know. One of the solutions can be found by using part of the hypergeometric function.

Also, the solution is kind of messy!

Good luck.
 
Well... if you want the final result be written in terms of sines and/or cosines, you could try the so-called reduction formulae, but i don't know how much useful they could be, as they usually write integrals of
[tex]sin(x)^{N}[/tex]
as functions of some integral of
[tex]sin(x)^{N-2}[/tex].

If the final result doesn't need to be written in terms of sines and/or cosines, I think writing sin(x) as a function of exponentials is an way to solve it. The final result looks a bit ugly, and maybe it doesn't look very useful, but its a answer anyway.

First, write:
[tex]sin(x)=\frac{e^{ix}-e^{-ix}}{2i}[/tex]

Then expand it using:

[tex](a+b)^n=\sum^{n}_{k=0} C^{n}_{k} a^{k} b^{n-k}[/tex]

As the summation and the integral are interchangeable, the integral becomes:

[tex]\int (sin(x))^{2L} = \frac{1}{(2i)^{2L}} \sum^{2L}_{k=0} C^{2L}_{k} (-1)^{2L-k} \int e^{2i(k-L)x} dx[/tex]

Be careful when k=L, because in this case the integrand is 1.
Anyway, the final answer is:

[tex]\int (sin(x))^{2L} = \frac{1}{(2i)^{2L}} \left[ (-1)^L C^{2L}_{L} x + \sum^{2L}_{k=0, k\neq L} C^{2L}_{k} (-1)^{2L-k} \frac{e^{(2ik-2iL)x}}{2i(k-L)} \right][/tex]

I hope it be useful.
 
wow thanks for your answer
 
Youre welcome :smile:

Anyway... i think this formula, even looking impressive, is pretty much useless, with so many complex exponentials and such. So i worked more on it, expanded the exponentials and re-grouped them in sines, which gives this:

[tex]\int (sin(x))^{2L} dx = \frac{1}{(-4)^{L}} \left[ (-1)^{L} C^{2L}_{L} x + \sum^{L-1}_{k=0} (-1)^{k} C^{2L}_k \frac{sin[2(L-k) x]}{L-k} \right][/tex]

I hope this one be more useful than the previous.
 
you are like a hardcore mathematician. A couple steps above, why is it ok to intechange the summation and the integral sign. Is that because L is an integer. I was thinking it had to be a Riemann sum.
 
cragar said:
you are like a hardcore mathematician.

It could be taken as flattery, or as a subtle way of saying "your formulas are way too complicated"... I will choose the first one :biggrin: just kiddin!

cragar said:
A couple steps above, why is it ok to intechange the summation and the integral sign. Is that because L is an integer. I was thinking it had to be a Riemann sum.

It isn't because L is an integer, its simpler than this.

Remember that:

[tex]\int f_1 + f_2 + f_3 + f_4 + ... dx = \int f_1 dx + \int f_2 dx+ \int f_3 dx+ \int f_4 dx + ...[/tex]

Writing this as a summation:

[tex]\sum_k f_k = f_1 + f_2 + f_3 + f_4 + ...[/tex]

We get:

[tex]\int \sum_k f_k dx = \int f_1 + f_2 + f_3 + f_4 +... dx = \int f_1 dx + \int f_2 dx+ \int f_3 dx+ \int f_4 dx + ... = \sum_k \int f_k dx[/tex]

Or:

[tex]\int \sum_k f_k dx = \sum_k \int f_k dx[/tex]

Thats why we can interchange the summation and the integral.
 
Last edited:
oh ok i see, thanks for explaining . How far along are you in your math career?
 
change the sin function into taylor polynomial, then you are able to integrate it.
 
  • #10
coelho said:
Remember that:

[tex]\int f_1 + f_2 + f_3 + f_4 + ... dx = \int f_1 dx + \int f_2 dx+ \int f_3 dx+ \int f_4 dx + ...[/tex]

Writing this as a summation:

[tex]\sum_k f_k = f_1 + f_2 + f_3 + f_4 + ...[/tex]

We get:

[tex]\int \sum_k f_k dx = \int f_1 + f_2 + f_3 + f_4 +... dx = \int f_1 dx + \int f_2 dx+ \int f_3 dx+ \int f_4 dx + ... = \sum_k \int f_k dx[/tex]

Or:

[tex]\int \sum_k f_k dx = \sum_k \int f_k dx[/tex]

Thats why we can interchange the summation and the integral.

To clarify: this result is not always valid. It is always valid for sums with a finite number of terms, as in the calculation in this thread. However, if the sum has an infinite number of terms, then there are cases in which exchanging the order of integration and summation is invalid.

loosely said:
change the sin function into taylor polynomial, then you are able to integrate it.

No, that will not help very much:

[tex]\int dx~(\sin(x))^{2L} = \int dx~\left(\sum_{k=0}^\infty \frac{(-1)^k}{(2k+1)!}\x^{2k+1}\right)^{2L} = \int dx~\sum_{k_1=0}^\infty\sum_{k_2=0}^\infty \dots \sum_{k_{2L}=0}^\infty \frac{(-1)^{k_1+k_2+\dots k_{2L}}}{(2k_1+1)!(2k_2+1)!\dots(2k_{2L}+1)!} x^{2k_1+1}x^{2k_2+1}\dots x^{2k_{2L}+1}[/tex]

which is less easy than what coelho suggested above! (2L infinite sums versus one finite sum!)
 
Last edited:
  • #11
cragar said:
[tex] \int(sin(x))^{2l}dx[/tex]
I tried using Eulers formula to rewrite sin(x) in terms of exponentials and thought about using trig manipulations but does any have any ideas.
where L is a positive unknown constant integer.
sinx is raised to the 2l power , not sure if my latex is working

Hi cragar,

As far as I know there's not a closed formula for this integral. However, you can make use of the appropriate power reduction formula as many times as you need and take the integral after you only have powers of 1. For example:

[tex]\sin^4 x = (\sin^2 x)^2 = (\frac{1-\cos 2x}{2})^2 = \frac{3 - 4\cos 2x + \cos 4x}{8}[/tex]

Edit: I didn't see coelho's formula. If you want to be general, then you can take his formula and integrate it.
 
Last edited:

Similar threads

  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 8 ·
Replies
8
Views
4K
Replies
5
Views
4K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 6 ·
Replies
6
Views
3K