Finding the Fourier series of a function.

Click For Summary

Homework Help Overview

The discussion revolves around finding the Fourier series of a piecewise function defined as -cos(x) for -π < x < 0 and cos(x) for 0 < x < π. Participants are tasked with determining whether the function is even, odd, or neither, and subsequently finding its Fourier series representation.

Discussion Character

  • Exploratory, Conceptual clarification, Mathematical reasoning

Approaches and Questions Raised

  • Participants discuss the classification of the function as even or odd, with one participant attempting to justify their reasoning through substitution. There are inquiries about the integration methods for finding Fourier coefficients, particularly a0, an, and bn, with concerns about the effectiveness of integration by parts.

Discussion Status

The discussion is ongoing, with participants exploring different methods for integration and clarifying definitions of even and odd functions. Some guidance has been provided regarding the use of product formulas, but no consensus has been reached on the best approach to integrate the functions involved.

Contextual Notes

There is a noted confusion regarding the definitions of even and odd functions, which may affect the participants' understanding and approach to the problem. Additionally, the original poster expresses difficulty with integration techniques, suggesting potential gaps in information or understanding.

bubokribuck
Messages
42
Reaction score
0

Homework Statement


f(x)=
-cos(x) when -π<x<0
cos(x) when 0<x<π

Decide if f is an even, odd function or either.
Find the Fourier series of f.

Homework Equations



odd function: f(x)=f(-x)
even function: -f(x)=f(-x) or f(x)=-f(-x)

The Attempt at a Solution



substitute -x into either cos(x) or -cos(x) => -cos(x)=-cos(-x) and cos(x)=cos(-x),
therefore, f is an even function.

However, I'm stuck when it comes to finding the Fourier series.

I know how to solve a0, where I just need to find the integration of -cos(x)dx and cos(x)dx. To find an and bn, I need to find the integration of [-cos(x)cos(nx)dx], [cos(x)cos(nx)dx], [-cos(x)sin(nx)] and [cos(x)sin(nx)dx]. I tried to solve them using integration by parts, but it turned out to be infinitely expanding, so I guess integration by parts won't work. Is there any other way to integrate the above four functions?
 
Physics news on Phys.org
bubokribuck said:

Homework Statement


f(x)=
-cos(x) when -π<x<0
cos(x) when 0<x<π

Decide if f is an even, odd function or either.
Find the Fourier series of f.

Homework Equations



odd function: f(x)=f(-x)
even function: -f(x)=f(-x) or f(x)=-f(-x)

The Attempt at a Solution



substitute -x into either cos(x) or -cos(x) => -cos(x)=-cos(-x) and cos(x)=cos(-x),
therefore, f is an even function.

However, I'm stuck when it comes to finding the Fourier series.

I know how to solve a0, where I just need to find the integration of -cos(x)dx and cos(x)dx. To find an and bn, I need to find the integration of [-cos(x)cos(nx)dx], [cos(x)cos(nx)dx], [-cos(x)sin(nx)] and [cos(x)sin(nx)dx]. I tried to solve them using integration by parts, but it turned out to be infinitely expanding, so I guess integration by parts won't work. Is there any other way to integrate the above four functions?

Your definitions of "even" and "odd" are the exact opposite of everybody else's in the world.

RGV
 
bubokribuck said:
I need to find the integration of [-cos(x)cos(nx)dx], [cos(x)cos(nx)dx], [-cos(x)sin(nx)] and [cos(x)sin(nx)dx]. I tried to solve them using integration by parts, but it turned out to be infinitely expanding, so I guess integration by parts won't work. Is there any other way to integrate the above four functions?

You need the product formulas:

http://www.sosmath.com/trig/prodform/prodform.html
 
Ray Vickson said:
Your definitions of "even" and "odd" are the exact opposite of everybody else's in the world.

RGV

I just typed it wrong but they wouldn't let me edit it. :(
 

Similar threads

  • · Replies 14 ·
Replies
14
Views
2K
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
3
Views
2K
Replies
1
Views
1K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
3
Views
2K
Replies
1
Views
2K