Fourier Series Coefficients for f(x)=xcos(x) on [-∏,∏]

Click For Summary

Discussion Overview

The discussion revolves around finding the Fourier coefficients for the function f(x) = xcos(x) over the interval [-π, π]. Participants are exploring the integration process involved in calculating these coefficients, particularly focusing on the coefficient b1.

Discussion Character

  • Technical explanation
  • Mathematical reasoning
  • Homework-related

Main Points Raised

  • One participant questions the calculation of the Fourier coefficient b1, stating they consistently arrive at a value of 0.
  • Another participant asks for clarification on the steps taken to arrive at this result.
  • A participant suggests that the integration by parts may have been applied incorrectly, indicating that a factor of x was lost in the process.
  • The same participant points out that the expression should include x cos(k+1)x, which could affect the outcome when evaluating the integral at the bounds.

Areas of Agreement / Disagreement

There is disagreement regarding the calculation of b1, as one participant consistently finds it to be 0, while another does not. The discussion remains unresolved as participants explore different aspects of the integration process.

Contextual Notes

There may be limitations related to the application of integration by parts and the handling of boundary conditions, which have not been fully resolved in the discussion.

tigertan
Messages
24
Reaction score
0
Hey there,

First time user of this forum.

I have a question regarding an integral I've been stuck on for the past few days. I would really appreciate any eye opener into this problem!

How do I find the Fourier coefficients for f(x)=xcos(x), x [-∏,∏]

So when calculating the coefficient bn I figure that the equation I'll be working with is (1/∏)∫xcos(x)sin(kx)dx (FROM -∏ to ∏).

I keep getting down to 1/2∏∫xsin((k+1)x)dx (FROM -∏ to ∏) + 1/2∏∫xsin((k-1)x)dx (FROM -∏ to ∏) . I some how always get a 0 for b1. What am I doing incorrectly??
 
Physics news on Phys.org
Welcome to PF, tigertan! :smile:

I'm not getting 0 for b1.
So what did you do?
 
Am I right in breaking it up to 1/2∏∫xsin((k+1)x)dx (FROM -∏ to ∏) + 1/2∏∫xsin((k-1)x)dx (FROM -∏ to ∏)?

I then end up with 1/2∏[-(k+1)cos((k+1)x) + sin((k+1)x)](FROM -∏ to ∏) + 1/2∏[-(k-1)cos((k-1)x) + sin((k-1)x)](FROM -∏ to ∏)

This equals to 0 when I put b1
 
You lost a factor x in your integration.
It seems you did not properly apply integration by parts.

You should have an expression containing: x cos(k+1)x.
When you substitute the bounds -pi and +pi, these add up.
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 23 ·
Replies
23
Views
6K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 3 ·
Replies
3
Views
12K
  • · Replies 3 ·
Replies
3
Views
2K