Solving a definite integral without integrating

Click For Summary
SUMMARY

The forum discussion centers around solving the integral \(\pi \int_{-\pi}^{\pi} \sin^4(x)dx\) without direct integration, concluding that the value is \(\frac{3\pi}{4}\). Participants emphasize the importance of recognizing the integral as an inner product in an orthonormal basis, specifically \(\left(\frac{1}{\sqrt{2}}, \cos(2x)\right)\). Key steps involve rewriting \(\sin^4(x)\) using the identity \(\sin^4(x) = \left(\frac{1 - \cos(2x)}{2}\right)^2\) and expanding it to facilitate the evaluation of the integral through inner products. The discussion highlights common mistakes, such as misidentifying the relationships between terms and failing to apply the orthonormal properties correctly.

PREREQUISITES
  • Understanding of orthonormal bases in inner product spaces
  • Familiarity with trigonometric identities, particularly \(\sin^4(x)\) and \(\cos^2(x)\)
  • Knowledge of integral calculus, specifically evaluating definite integrals
  • Experience with inner products defined as \(\langle f, g \rangle = \int_{-\pi}^{\pi} fg~dx\)
NEXT STEPS
  • Study the properties of orthonormal bases in functional spaces
  • Learn how to express trigonometric functions in terms of orthonormal bases
  • Explore the application of inner products in evaluating integrals
  • Practice rewriting complex trigonometric integrals using identities
USEFUL FOR

Mathematicians, physics students, and anyone involved in advanced calculus or functional analysis who seeks to deepen their understanding of integrals and orthonormal bases.

  • #31
gabbagabbahey said:
You've already correctly said that \sin^4(x)=\frac{1}{4}-\frac{\cos(2x)}{2}+\frac{\cos^2(2x)}{4}, so now you have

\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}

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

How is the first integral \frac{1}{2}?
 
Physics news on Phys.org
  • #32
Dustinsfl said:
How is the first integral \frac{1}{2}?

It isn't.

\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

It's 1/2 times the inner product of 1/\sqrt{2} with itself.
 
  • #33
\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}

I have no idea why the Latex display is all messed up but it is typed in correct.
 
  • #34
You are missing the "dx"s in your integrals, and your integration limits, but other than that it looks fine.
 
  • #35
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) \neq (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.
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 105 ·
4
Replies
105
Views
7K
  • · Replies 15 ·
Replies
15
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 9 ·
Replies
9
Views
1K
  • · Replies 19 ·
Replies
19
Views
2K
Replies
3
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 9 ·
Replies
9
Views
1K