Can You Help Me Solve These Trigonometric Integrals?

  • Context: Undergrad 
  • Thread starter Thread starter noboost4you
  • Start date Start date
  • Tags Tags
    Integrals Trigonometric
Click For Summary

Discussion Overview

The discussion revolves around solving two specific trigonometric integrals: \(\int x\cos^{2}x \, dx\) and \(\int_{-\pi}^{\pi} \sin^{137}x \, dx\). Participants explore various integration techniques, including integration by parts and the use of half-angle formulas, while attempting to identify patterns in integrals of sine functions raised to different powers.

Discussion Character

  • Exploratory
  • Technical explanation
  • Mathematical reasoning
  • Homework-related

Main Points Raised

  • One participant expresses difficulty in solving the integrals and mentions using half-angle formulas.
  • Another participant suggests recognizing patterns by trying smaller powers of sine for the second integral.
  • Integration by parts is proposed as a method for the first integral, with a participant attempting to apply it.
  • Clarifications are made regarding the integration of \(\cos^{2}x\) and the correct form of \(dv\) in integration by parts.
  • Participants discuss the behavior of odd powers of sine functions over symmetric intervals, leading to the conclusion that these integrals evaluate to zero.
  • There is a suggestion to explore the integrals of sine functions with odd and even powers to identify a pattern.
  • One participant attempts to derive the integral of \(x\cos^{2}x\) using integration by parts but receives feedback on a potential error in their approach.

Areas of Agreement / Disagreement

Participants generally agree on the use of integration techniques and the behavior of odd powers of sine functions, particularly that odd powers integrate to zero over symmetric intervals. However, the discussion remains unresolved regarding the specific steps and methods for solving the integrals presented.

Contextual Notes

Some participants express uncertainty about their memory of integration techniques, and there are mentions of potential typos and misunderstandings in the application of integration by parts. The discussion also highlights the need for careful attention to the definitions and properties of the functions involved.

Who May Find This Useful

Students and individuals interested in trigonometric integrals, integration techniques, and mathematical reasoning may find this discussion beneficial.

noboost4you
Messages
61
Reaction score
0
I've been able to do all of them up until these two:

1) [tex]\int x\cos^{2}x dx[/tex]

and

2) [tex]\int[/tex] from [tex]-\pi[/tex] to [tex]\pi[/tex] of [tex]\sin^{137}x dx[/tex]

I've been using half angle formulas where (cos x)^2 = (1/2)(1 + cos 2x) and (sin x)^2 = (1/2)(1 - cos 2x)

I just can't figure those two out. Any help would be highly appreciated
 
Physics news on Phys.org
Here's some hints:

1) Do you know how to integrate [itex]\int x e^x \, dx[/itex]?

2) A large number (like 137) is often a hint that there's something more interesting at stake. Try some smaller powers and see if you can recognize a pattern, and then prove it.


P.S. if you were wondering how to make the integral, it's this:

[tex] \int_{-\pi}^{\pi} \sin^{137} x \, dx[/tex]
 
Originally posted by Hurkyl
Here's some hints:

1) Do you know how to integrate [itex]\int x e^x \, dx[/itex]?


If this was last semester, yes, but now I can't remember. I know [tex]\int e^x \, dx[/tex] equals [tex]e^x + c[/tex]. Substitution plays a role, but I just can't see how.

2) A large number (like 137) is often a hint that there's something more interesting at stake. Try some smaller powers and see if you can recognize a pattern, and then prove it.

I got nothing. Not even a hunch.
 
1) Do you remember integration by parts?


2) So what smaller powers have you tried and what were the values of the integrals?
 
Originally posted by Hurkyl
1) Do you remember integration by parts?

Yes, let me try to solve your equation now.

[itex]\int x e^x \, dx[/itex]

u = [tex]x[/tex] du = [tex]dx[/tex]
dv = [tex]e^x[/tex] v = [tex]e^x[/tex]

Therefore [itex]\int x e^x \, dx[/itex] = [tex]x e^x - \int e^x dx[/tex] which in turn equals [tex]x e^x - 2x e^x + 2x + c[/tex]

Correct?

2) So what smaller powers have you tried and what were the values of the integrals?

[tex]\int_{-\pi}^{\pi} \sin^{137} x \, dx[/tex] = [tex]\int_{-\pi}^{\pi} \sin^{135} x \sin^{2} x \, dx[/tex] and [tex]\sin^{2} x = 1/2(1 - \cos 2x)[/tex]

I'm slowly getting it. Thanks for the help as far.
 
Back to #1 [tex]\int x\cos^{2}x dx[/tex]

u = [tex]x[/tex] du = [tex]dx[/tex]
dv = [tex]\cos^{2} x[/tex] v = [tex]\sin^{2} x[/tex]

= [tex]x \sin^{2} x - \int \sin^{2} x dx[/tex]
= [tex]x \sin^{2} x - (1/2)\int (1 - \cos 2x) dx[/tex]
= [tex]x \sin^{2} x - (x/2) - ( \sin 2x / 4) + c[/tex]

how's that look?
 
Well, [itex]x e^x - \int e^x \, dx = x e^x - e^x + C[/itex], but I think you knew that and just made a typo. And you should really always include the [itex]dx[/itex] part, so you say that [itex]dv = e^x \, dx[/itex].


Now, when you attacked your actual problem, you have [itex]dv = \cos^2 x \, dx[/itex]. You got [itex]v = sin^2 x[/itex], but that doesn't work because [itex]dv = 2 \sin x \cos x \, dx[/itex]! Remember this says that the derivative of [itex]v[/itex] has to be [itex]\cos^2 x[/itex], so we need to integrate to find [itex]v[/itex]! In other words:

[tex]v = \int \cos^2 x \, dx[/tex]



For problem 2:

There is a really "obvious" method for this problem that takes advantage of the shape of your integrand and the domain of integration... one you'll recognize with a little practice. I'm trying not to spoil the exercise by just giving you the answer, which is why I'm suggesting to try some small cases; I want you to find:

[tex]\int_{-\pi}^{\pi} \sin^1 x \, dx[/tex]
[tex]\int_{-\pi}^{\pi} \sin^2 x \, dx[/tex]
[tex]\int_{-\pi}^{\pi} \sin^3 x \, dx[/tex]
[tex]\int_{-\pi}^{\pi} \sin^4 x \, dx[/tex]
[tex]\int_{-\pi}^{\pi} \sin^5 x \, dx[/tex]

That should probably be enough to see the relevant pattern.


(Just to check, you have learned how to integrate odd powers of the sine function right?)
 
Originally posted by Hurkyl
Well, [itex]x e^x - \int e^x \, dx = x e^x - e^x + C[/itex], but I think you knew that and just made a typo. And you should really always include the [itex]dx[/itex] part, so you say that [itex]dv = e^x \, dx[/itex].


Now, when you attacked your actual problem, you have [itex]dv = \cos^2 x \, dx[/itex]. You got [itex]v = sin^2 x[/itex], but that doesn't work because [itex]dv = 2 \sin x \cos x \, dx[/itex]! Remember this says that the derivative of [itex]v[/itex] has to be [itex]\cos^2 x[/itex], so we need to integrate to find [itex]v[/itex]! In other words:

[tex]v = \int \cos^2 x \, dx[/tex]


[tex]v = \int \cos^2 x \, dx[/tex] = [tex]x/2 + \sin 2x/4[/tex] ??

For problem 2:

There is a really "obvious" method for this problem that takes advantage of the shape of your integrand and the domain of integration... one you'll recognize with a little practice. I'm trying not to spoil the exercise by just giving you the answer, which is why I'm suggesting to try some small cases; I want you to find:

[tex]\int_{-\pi}^{\pi} \sin^1 x \, dx[/tex]
[tex]\int_{-\pi}^{\pi} \sin^2 x \, dx[/tex]
[tex]\int_{-\pi}^{\pi} \sin^3 x \, dx[/tex]
[tex]\int_{-\pi}^{\pi} \sin^4 x \, dx[/tex]
[tex]\int_{-\pi}^{\pi} \sin^5 x \, dx[/tex]

That should probably be enough to see the relevant pattern.


(Just to check, you have learned how to integrate odd powers of the sine function right?)

Basically what you're saying is that no matter the number sine is raised to, the integrand between [tex]-\pi[/tex] and [tex]\pi[/tex] will always be the same?? Therefore I should just use [tex]\int_{-\pi}^{\pi} \sin^2 x \, dx[/tex] and solve that? Yes? Maybe? Not even close? Slowly, but surely
 
Originally posted by Hurkyl


For problem 2:

There is a really "obvious" method for this problem that takes advantage of the shape of your integrand and the domain of integration... one you'll recognize with a little practice. I'm trying not to spoil the exercise by just giving you the answer, which is why I'm suggesting to try some small cases; I want you to find:

[tex]\int_{-\pi}^{\pi} \sin^1 x \, dx[/tex]
[tex]\int_{-\pi}^{\pi} \sin^2 x \, dx[/tex]
[tex]\int_{-\pi}^{\pi} \sin^3 x \, dx[/tex]
[tex]\int_{-\pi}^{\pi} \sin^4 x \, dx[/tex]
[tex]\int_{-\pi}^{\pi} \sin^5 x \, dx[/tex]

That should probably be enough to see the relevant pattern.

They all equal zero
 
  • #10
∫xcos^2x dx = x[0.5(x + sin2x/2)] - ∫[0.5(x + sin2x/2)]dx

= ... - (x^2/4 - cos[2x]/8)
 
  • #11
Yyou got v right.


Actually, only the odd powers of sin turn out to integrate to zero (and 137 is an odd power); can you figure out why?
 
  • #12
Simply it is an odd function and they are symmetrical w.r.t Origin or in (I &III) coordinate hence one portion will be above x-axis and other below x-axis with equal magnitude hence the result would be zero
 

Similar threads

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