Solving a definite integral without integrating

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
34 replies · 5K views
gabbagabbahey said:
You've already correctly said that [itex]\sin^4(x)=\frac{1}{4}-\frac{\cos(2x)}{2}+\frac{\cos^2(2x)}{4}[/itex], so now you have

[tex]\begin{aligned}\int_{-\pi}^{\pi}\sin^4(x)dx &=\int_{-\pi}^{\pi}\left(\frac{1}{4}-\frac{\cos(2x)}{2}+\frac{\cos^2(2x)}{4}\right)dx \\ &= \int_{-\pi}^{\pi}\frac{1}{4}dx-\int_{-\pi}^{\pi}\frac{\cos(2x)}{2}dx+\int_{-\pi}^{\pi}\frac{\cos^2(2x)}{4}dx\end{aligned}[/tex]

Now, compare these integrals to the inner products that you know. For example, the first one is [itex]1/2[/itex] times the inner product of [itex]\frac{1}{\sqrt{2}}[/itex] with itself; which gives you [itex]\frac{\pi}{2}[/itex]...how about the second one?...And the third?

How is the first integral [tex]\frac{1}{2}[/tex]?
 
Physics news on Phys.org
Dustinsfl said:
How is the first integral [tex]\frac{1}{2}[/tex]?

It isn't.

[tex]\int_{-\pi}^{\pi}\frac{1}{4}dx=\frac{1}{2}\int_{-\pi}^{\pi}\left(\frac{1}{\sqrt{2}}\right)\left(\frac{1}{\sqrt{2}}\right)dx[/tex]

It's 1/2 times the inner product of [itex]1/\sqrt{2}[/itex] with itself.
 
[tex]\frac{1}{2}\int\frac{1}{\sqrt{2}}\frac{1}{\sqrt{2}}-\frac{1}{\sqrt{2}}\int\frac{1}{\sqrt{2}}cos(2x)+\frac{1}{4}\int cos(2x)*cos(2x)=\pi*\big[\frac{1}{2}+0+\frac{1}{4}\big]=\frac{3\pi}{4}[/tex]

I have no idea why the Latex display is all messed up but it is typed in correct.
 
Dustin, I hope you will take what gabbagabbahey and I have been saying to heart.

gabbagabbahey said:
I understand what you are doing here, but the way you've written it is nonsensical. You've got a grand total of two equal signs in your entire workings; you've got a table without any headings, that looks like a matrix; you've got expressions that are adding integration results to integrands and so on.
I commented on the lack of equal signs much earlier in this thread, and several other points that you didn't acknowledge.

mark44 said:
For starters, sin2(x) [itex]\neq[/itex] (1/2)(1 + cos(2x)) [Note: you did fix this one.]

Second, is there any connection between any of the lines above and the one below it? Is there any connection between what you have here and the problem you're trying to solve?

Third, are you trying to convince us that cos(2x) = 1? (see third line) That's not true.

Fourth, is there any connection between the work above and the integral in your first post?

Fifth, is there any connection between your orthogonal basis and what you have here?

What we're trying to get you to do is to write statements (e.g., equations) that flow logically from what you're given to what you want to show. It took a long while to get you to realize the connection between your basis and the integral - i.e., that you were working with something akin to the dot product. Just as the dot product of orthogonal vectors is zero, the inner product of orthogonal functions is also zero.

If it were just me making comments about things, you might put it down to me picking on you, but gabbagabbahey made similar comments about your work. It's in your best interest to keep these comments in mind.