Evaluating scalar products of two functions

  • Thread starter Thread starter guyvsdcsniper
  • Start date Start date
  • Tags Tags
    Functions Scalar
Click For Summary
SUMMARY

The discussion focuses on evaluating scalar products of two functions, specifically ##\braket{f|f}##, ##\braket{f|g}##, and ##\braket{g|g}##, where the functions are defined as ##f(x) = sin^2(x) + cos(x) + 1## and ##g(x) = cos^2(x) - cos(x)##. The scalar product is defined by the integral ##\braket{f|g} = \int_{0}^{\pi} f^*(x) g(x) dx##. Participants confirm that the approach of multiplying the functions and evaluating the integral is correct, emphasizing the simplicity of the task.

PREREQUISITES
  • Understanding of scalar products in vector spaces
  • Familiarity with integral calculus
  • Knowledge of trigonometric functions and identities
  • Basic concepts of complex functions (though not applicable here as functions are real)
NEXT STEPS
  • Learn about the properties of scalar products in functional spaces
  • Explore integration techniques for trigonometric functions
  • Study the implications of orthogonality in function spaces
  • Investigate the use of basis functions in Fourier series
USEFUL FOR

Mathematicians, physics students, and anyone interested in functional analysis or evaluating integrals involving trigonometric functions.

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   Reactions: guyvsdcsniper

Similar threads

  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 8 ·
Replies
8
Views
1K
  • · Replies 16 ·
Replies
16
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 6 ·
Replies
6
Views
1K
  • · Replies 2 ·
Replies
2
Views
1K