Fourier B-coefficients for a tricky f(x)

  • Thread starter Thread starter blaksheep423
  • Start date Start date
  • Tags Tags
    Fourier
Click For Summary
SUMMARY

The discussion focuses on computing the Fourier coefficient Bn using the formula Bn = 2/L∫f(x)*sin(kn x) dx, where kn = n*pi/L. The function f(x) is defined as f(x) = 1/2(1-cos(2*pi*x/a)) for 0 < x < a and f(x) = 0 for a < x < L. The participant successfully verified their lengthy solution using Maple 12 and seeks efficient methods for integrating products of sine and cosine functions with differing arguments. They recommend converting sine and cosine functions to complex exponentials for easier integration.

PREREQUISITES
  • Understanding of Fourier series and coefficients
  • Familiarity with integral calculus
  • Knowledge of trigonometric identities
  • Experience with Maple 12 or similar computational tools
NEXT STEPS
  • Explore the use of complex exponentials in Fourier analysis
  • Learn advanced integration techniques for trigonometric functions
  • Study the application of Fourier coefficients in solving differential equations
  • Investigate the capabilities of Maple 12 for symbolic computation
USEFUL FOR

Students and professionals in mathematics, physics, and engineering who are working with Fourier analysis and seeking efficient integration techniques.

blaksheep423
Messages
17
Reaction score
0

Homework Statement



compute the Fourier coefficient Bn:

Bn = 2/L[tex]\int[/tex]f(x)*sin(kn x) dx
where kn = n*pi/L and the integral runs over L (pardon the appearance, I am not very good with LaTeX).

Homework Equations


f(x) = 1/2(1-cos(2*pi*x/a) for 0 < x < a
f(x) = 0 for a < x < L


The Attempt at a Solution



I have a pretty solid grip on Fourier transforms and integrating to find the coefficients. Using quite a bit of trig identities and splitting the integral into about 5 parts I was able to come up with a very long solution, a solution which Maple 12 verified was true. I won't bother putting it here because I'm fairly sure that my professor is not looking for something that large and unwieldy. We are expected to use the coefficients for later parts of the assignment. Are there any sneaky tricks I don't know about for integrating sin*cos when the arguments inside are different?
 
Physics news on Phys.org
I don't know if this is "sneaky", but I do such integrals by converting sines and cosines to complex exponentials using

sinx= (eix-e-ix)/2i
cosx= (eix+e-ix)/2

When you multiply things out, you end up with a bunch of exponentials which are trivial to integrate. Once you evaluate the integrals, you can go back from complex exponentials to sines and cosines.
 
Last edited:

Similar threads

Replies
3
Views
2K
Replies
8
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
Replies
28
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
Replies
42
Views
4K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 4 ·
Replies
4
Views
1K
Replies
18
Views
2K