Evaluating scalar products of two functions

  • Thread starter Thread starter guyvsdcsniper
  • Start date Start date
  • Tags Tags
    Functions Scalar
guyvsdcsniper
Messages
264
Reaction score
37
Homework Statement
Find ##\braket{f|f} , \braket{f|g} , \braket{g|g}##.
Relevant Equations
integral, scalar product
I am to consider a basis function ##\phi_i(x)##, where ##\phi_0 = 1 ,\phi_1 = cosx , \phi_2 = cos(2x) ## and where the scalar product in this vector space is defined by ##\braket{f|g} = \int_{0}^{\pi}f^*(x)g(x)dx##

The functions are defined by ##f(x) = sin^2(x)+cos(x)+1## and ##g(x) = cos^2(x)-cos(x)##
My task is to find ##\braket{f|f} , \braket{f|g} , \braket{g|g}##.

Given that f(x) and g(x) have no imaginary parts, is this problem really as simple as multiplying these two functions and evaluating the integral? If so I have no trouble doing that, I guess I just want to make sure I understand correctly what the question is asking. I am pretty sure my thought process is correct but I am just a bit unsure because of how simple the approach is.
ψ
 
Physics news on Phys.org
guyvsdcsniper said:
Homework Statement:: Find ##\braket{f|f} , \braket{f|g} , \braket{g|g}##.
Relevant Equations:: integral, scalar product

I am to consider a basis function ##\phi_i(x)##, where ##\phi_0 = 1 ,\phi_1 = cosx , \phi_2 = cos(2x) ## and where the scalar product in this vector space is defined by ##\braket{f|g} = \int_{0}^{\pi}f^*(x)g(x)dx##

The functions are defined by ##f(x) = sin^2(x)+cos(x)+1## and ##g(x) = cos^2(x)-cos(x)##
My task is to find ##\braket{f|f} , \braket{f|g} , \braket{g|g}##.

Given that f(x) and g(x) have no imaginary parts, is this problem really as simple as multiplying these two functions and evaluating the integral? If so I have no trouble doing that, I guess I just want to make sure I understand correctly what the question is asking. I am pretty sure my thought process is correct but I am just a bit unsure because of how simple the approach is.
ψ
In four words, you have it right! :)

-Dan
 
  • Like
Likes guyvsdcsniper
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...

Similar threads

Replies
14
Views
1K
Replies
8
Views
1K
Replies
16
Views
2K
Replies
8
Views
2K
Replies
2
Views
1K
Replies
2
Views
1K
Replies
2
Views
1K
Back
Top