Why is the set of cosines and sines a vector space?

Click For Summary

Discussion Overview

The discussion centers on the characterization of the set of sine and cosine functions as a vector space, particularly in the context of linear algebra and inner product spaces. Participants explore the properties of orthogonality, linear combinations, and the implications for function spaces, including Fourier series.

Discussion Character

  • Debate/contested
  • Technical explanation
  • Conceptual clarification

Main Points Raised

  • One participant questions the closure of the set of sine and cosine functions under addition, suggesting that combinations yield functions that include additional phase constants, thus not fitting the vector space definition.
  • Another participant clarifies that while the set of individual trigonometric functions does not form a vector space, the space of their linear combinations does, and this is where the defined inner product applies.
  • A question is raised about whether the infinite set of orthogonal functions serves as a basis for all possible functions, leading to a discussion on the size and utility of the vector space described by Fourier series.
  • It is noted that the set of functions {1, sin(x), cos(x), ...} serves as a basis for their linear combinations, but not all functions on the interval can be represented as sums of these trigonometric functions, complicating the characterization of the space.
  • Participants mention that 'nice' functions can often be expressed as Fourier series, which is sufficient for many applications, particularly in historical contexts like solving the heat equation.

Areas of Agreement / Disagreement

Participants express differing views on the closure properties of the set of sine and cosine functions and whether they constitute a vector space. There is no consensus on the broader implications for function representation and the completeness of the function space.

Contextual Notes

Limitations include the dependence on definitions of vector spaces and the complexity of determining which functions can be represented by Fourier series. The discussion does not resolve the conditions under which certain functions can be expressed as sums of trigonometric functions.

davidbenari
Messages
466
Reaction score
18
So when I took linear algebra I was asked to show the well-known properties of orthogonality in the functions cos(mx) and sin(mx)... With this I mean all the usual combinations which I don't see why I should point out explicitly.

The inner product in the vector space was defined ##\int_{-\pi}^{\pi} \phi_n \phi_m dx ## as usual.

What I don't understand is why the space of functions ( cos(mx), sin(nx) ) (with this notation I'm pointing out all cosines and sines of integer angular frequency), is a vector space.

Namely, its not closed under addition! If I add whichever combination I won't get a function of the form cos(mx) or sin(mx) back. There'll always be a phase constant ##\Phi## or something along those lines.

Why are people so wishywashy with this? How can you define an inner product on a space of functions that doesn't form a vector space?

Thanks!
 
Physics news on Phys.org
The set of just those trig functions is not a vector space. However, the space of their linear combinations is. It is on this space (or perhaps a larger one like square integrable functions) that the inner product you described is defined. Here that exercise shows that [itex]1,\sin x,\cos x, \sin 2x,\cos 2x,...[/itex] are orthogonal.
 
  • Like
Likes   Reactions: davidbenari
Oh, that makes sense. I have one question though; when you have a set of functions like this one (infinite, orthogonal, not necessarily trigonometric) do they serve as a basis for all possible functions or not necessarily?

If not, then is the Fourier Series so useful because the basis (1 sinx, cosx,...cosnx,sinnx) describes a vector space that is "very big" ?
 
Strictly speaking [itex]\{1,\sin x, \cos x,...\}[/itex] is only a basis for the space of their linear combinations. However, more functions are included in your space if you allow infinite sums of these trig functions. Not every function on [itex][-\pi,\pi][/itex]can be written as a (even infinite) sum of trig functions and the question of exactly which functions have a convergent Fourier series is quite complicated.
Fortunately, 'nice' functions ([itex]C^1[/itex] is sufficient but not necessary) can be written as their Fourier series which is enough in many applications, the first historically being to the heat equation.
 
  • Like
Likes   Reactions: davidbenari

Similar threads

  • · Replies 0 ·
Replies
0
Views
9K
  • · Replies 13 ·
Replies
13
Views
5K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 8 ·
Replies
8
Views
3K
Replies
1
Views
1K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 17 ·
Replies
17
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K