Fourier Series: Can even functions be changed to odd?

In summary, when creating a Fourier series for a function f(x) on the interval [0, L], it is important to consider the parity of the function first. In some cases, the desired parity can be achieved by modifying the function, such as changing an even function to an odd one. This can be applicable in solving heat equations where the region is usually from x = 0 to x = L. However, to have a Fourier sine series, the function must be odd on the entire interval [-L, L] and can be extended by using |x|sin(x) on [-pi, pi].
  • #1
thelema418
132
4
When creating a Fourier series for a function [itex]f(x)[/itex], I consider whether the function is odd or even first. Yet, often these functions are in the positive region [itex] [0, L] [/itex].

Since [itex]f(x)[/itex] is only defined in this region, can I change the function to get a desired parity? By example, my concern originated with the function [itex]f(x) = x \sin x[/itex]. This is an even function, but I could modify the function as [itex]f(x) = |x| \sin x [/itex] to make it odd while retaining the desired information in [itex] [0, L] [/itex].

Can this be done? And are there problems with doing this?

Thanks.
 
Physics news on Phys.org
  • #2
What do you mean with "retaining the desired information"? What exactly is it that you want to do?
 
  • #3
micromass said:
What do you mean with "retaining the desired information"? What exactly is it that you want to do?

Meaning that [itex]x \sin x[/itex] on [itex][0,\pi][/itex] is the same as [itex]|x| \sin x[/itex] on [itex][0,\pi][/itex].

The application is usually for solving heat equations. So the region is usually x = 0 to x = L in the problems I see. Again, another example: When I work out all the details of a solution by eigenfunction expansion based on homogeneous Dirichlet boundary conditions, I end up with a Fourier sine series equal to some function [itex]f(x)[/itex], where [itex]f(x)[/itex] is the initial condition u(x,0). But to have a Fourier sine series, [itex]f(x)[/itex] must be an odd function, right?
 
  • #4
thelema418 said:
Meaning that [itex]x \sin x[/itex] on [itex][0,\pi][/itex] is the same as [itex]|x| \sin x[/itex] on [itex][0,\pi][/itex].

The application is usually for solving heat equations. So the region is usually x = 0 to x = L in the problems I see. Again, another example: When I work out all the details of a solution by eigenfunction expansion based on homogeneous Dirichlet boundary conditions, I end up with a Fourier sine series equal to some function [itex]f(x)[/itex], where [itex]f(x)[/itex] is the initial condition u(x,0). But to have a Fourier sine series, [itex]f(x)[/itex] must be an odd function, right?

OK. You're right then. The right way to find a sine series converging to ##f## is to extend it to an odd function on entire ##[-L,L]##. So you'll have to work with ##|x|\sin(x)## on ##[-\pi,\pi]##, like you suggested.
 

FAQ: Fourier Series: Can even functions be changed to odd?

Can an even function be decomposed into an odd Fourier series?

Yes, it is possible to decompose an even function into an odd Fourier series. However, the resulting series will only have odd harmonics (sine terms) and the coefficients will be zero for the cosine terms.

Is it necessary for an even function to have a zero DC component in its Fourier series?

No, an even function can have a non-zero DC component (constant term) in its Fourier series. This is because the DC component represents the average value of the function, which can be non-zero for even functions.

How can I tell if a function is even or odd from its Fourier series?

If a function is even, its Fourier series will only have cosine terms with non-zero coefficients, and the sine terms will have zero coefficients. On the other hand, if a function is odd, its Fourier series will only have sine terms with non-zero coefficients, and the cosine terms will have zero coefficients.

Can the even and odd components of a function be separated in its Fourier series?

Yes, the even and odd components of a function can be separated in its Fourier series. The even component will be represented by the cosine terms with non-zero coefficients, and the odd component will be represented by the sine terms with non-zero coefficients.

What is the difference between an even and odd Fourier series?

The main difference between an even and odd Fourier series is the type of terms present in each series. An even Fourier series will only have cosine terms, while an odd Fourier series will only have sine terms. Additionally, even functions can have non-zero DC components in their Fourier series, while odd functions cannot have a non-zero DC component.

Similar threads

Replies
11
Views
1K
Replies
8
Views
4K
Replies
3
Views
1K
Replies
2
Views
1K
Replies
1
Views
2K
Replies
1
Views
2K
Replies
3
Views
2K
Back
Top