Integral Inequality: Solving with Cauchy-Schwarz

mohbb
Messages
1
Reaction score
0

Homework Statement



Hi,

I must show that (\int cos(x)f(x)dx)^2 <= 2 \int cos(x)f(x)^2dx
(the integrals are from -pi/2 to pi/2)

The Attempt at a Solution



I know that I should use cauchey-schwarz inequality to solve this where <f,g> = \int f(x)g(x)dx In this case i just set g(x) = cos x
Therefore i get
(\int cos(x)f(x)dx)^2 <= \int f(x)^2dx \int cos^2(x)dx I calculated then integral of cos^2(x) which is 1/2(x + sin(2x)/2) since cos^2(x) = (1 + cos(2x))/2

However this leaves me with pi/2 to get:
(\int cos(x)f(x)dx)^2 <= pi/2 \int f(x)^2dx

Howcome I am not getting the same answer as the one I should be proving, why does the question have a cos in the integral?

Thank you
 
Physics news on Phys.org
Use a different inner product. Define <f,g> to be the integral of f(x)*g(x)*cos(x)*dx.
 

Similar threads

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