Integral Evaluation: Solve $\int_{-\pi}^{\pi}x^{2014}\sin x {\rm{d}}x$

  • Thread starter Thread starter nuuskur
  • Start date Start date
  • Tags Tags
    Integral
nuuskur
Science Advisor
Messages
926
Reaction score
1,221

Homework Statement


\int_{-\pi}^{\pi}x^{2014}\sin x {\rm{d}}x

Homework Equations

The Attempt at a Solution


For such problems there are probably some extremely clever solutions, but I can't see any easy way here.
If I were to find the antiderivative of this: I would eventually come up with a sum: -\frac{2014!}{0!}x^{0} \sin x + \frac{2014!}{1!}x\cos x + \frac{2014!}{2!}x^2 \sin x -\frac{2014!}{3!}x^3 \cos x + ... +\\ \frac{2014!}{2013!}x^{2013} \sin x -\frac{2014!}{2014!}x^{2014} \cos x
[is there a way to write this sum in sigma notation?]
Are there 2015 summands?
All summands with sine in them sum up to 0, because \sin\pm\pi = 0. and \cos\pm\pi = -1.
I have some series left from evaluating at pi and I have exactly the same series evaluated at -pi. Is the integral equal to 0? EDIT: NO, I forgot the x terms.

Is there any, more elegant solution to this problem, though?
 
Last edited:
Physics news on Phys.org
An integral of the form ##\int x^n sin(x) \space dx## would usually be handled with multiple applications of integration by parts, but when ##n## is large this is obviously out of the question without the aid of a computer.

There is actually a standard form for such an integral, which relies on the notion of summing up the ##sin(x)## and ##cos(x)## terms (you have already noticed this). The standard form in terms of the gamma function is:

$$\int x^n sin(x) \space dx = - \frac{i^n}{2} \left[ \Gamma(n+1, -ix) - (-1)^n \Gamma(n+1, -ix) \right]$$

Substituting your limits should help you confirm.

EDIT: Alternatively, express ##sin(x)## in terms of its power series, bring the ##x^{2014}## in and presto I believe.
 
Last edited:
nuuskur said:

Homework Statement


\int_{-\pi}^{\pi}x^{2014}\sin x {\rm{d}}x

Homework Equations

The Attempt at a Solution


For such problems there are probably some extremely clever solutions, but I can't see any easy way here.
If I were to find the antiderivative of this: I would eventually come up with a sum: -\frac{2014!}{0!}x^{0} \sin x + \frac{2014!}{1!}x\cos x + \frac{2014!}{2!}x^2 \sin x -\frac{2014!}{3!}x^3 \cos x + ... +\\ \frac{2014!}{2013!}x^{2013} \sin x -\frac{2014!}{2014!}x^{2014} \cos x
[is there a way to write this sum in sigma notation?]
Are there 2015 summands?
All summands with sine in them sum up to 0, because \sin\pm\pi = 0. and \cos\pm\pi = -1.
I have some series left from evaluating at pi and I have exactly the same series evaluated at -pi. Is the integral equal to 0? EDIT: NO, I forgot the x terms.

Is there any, more elegant solution to this problem, though?

x^2014 is an even function. sin(x) is an odd function. What kind of function is the product?
 
I'm not sure, going with my gut I would say it's an odd function, which means that F(-x) + F(x) = 0
The evaluation would then look like F(pi) - F(-pi) = 2F(pi)?
 
nuuskur said:
I'm not sure, going with my gut I would say it's an odd function, which means that F(-x) + F(x) = 0
The evaluation would then look like F(pi) - F(-pi) = 2F(pi)?

Yes, it's an odd function. The integral of any odd function on an interval like [-a,a] that's symmetric around the origin is zero. You haven't seen this before?
 
nuuskur said:
I'm not sure, going with my gut I would say it's an odd function, which means that F(-x) + F(x) = 0
The evaluation would then look like F(pi) - F(-pi) = 2F(pi)?

Not quite. If ##f(x)## is odd on ##[-L, L]## or ##(-L, L)##, then ##\int_{-L}^{L} f(x) \space dx = 0##.
 
Prove $$\int\limits_0^{\sqrt2/4}\frac{1}{\sqrt{x-x^2}}\arcsin\sqrt{\frac{(x-1)\left(x-1+x\sqrt{9-16x}\right)}{1-2x}} \, \mathrm dx = \frac{\pi^2}{8}.$$ Let $$I = \int\limits_0^{\sqrt 2 / 4}\frac{1}{\sqrt{x-x^2}}\arcsin\sqrt{\frac{(x-1)\left(x-1+x\sqrt{9-16x}\right)}{1-2x}} \, \mathrm dx. \tag{1}$$ The representation integral of ##\arcsin## is $$\arcsin u = \int\limits_{0}^{1} \frac{\mathrm dt}{\sqrt{1-t^2}}, \qquad 0 \leqslant u \leqslant 1.$$ Plugging identity above into ##(1)## with ##u...
Back
Top