FourierSinCoefficient

As of Version 7.0, FourierSinCoefficient is part of the built-in Wolfram Language kernel.


gives the n^(th) coefficient in the Fourier sine series expansion of expr, where expr is a periodic function of t with period 1.

Details and OptionsDetails and Options

  • To use , you first need to load the Fourier Series Package using Needs["FourierSeries`"].
  • The n^(th) coefficient in the Fourier sine series expansion of expr is by default defined to be 2Integrate[expr Sin[2π n t],{t,-,}].
  • If n is numeric, it should be an explicit integer.
  • Different choices for the definition of the Fourier sine series expansion can be specified using the option FourierParameters.
  • With the setting FourierParameters->{a,b}, expr is assumed to have a period of , and the n^(th) coefficient computed by is  b Integrate[expr Sin[2π b n t],{t,-,}].
  • In addition to the option FourierParameters, can also accept the options available to Integrate. These options are passed directly to Integrate.

ExamplesExamplesopen allclose all

Basic Examples  (1)Basic Examples  (1)

In[1]:=
Click for copyable input

Use different definitions for calculating a coefficient in a Fourier sine series:

In[2]:=
Click for copyable input
Out[2]=
In[3]:=
Click for copyable input
Out[3]=

Compare with the answer from a numerical approximation:

In[4]:=
Click for copyable input
Out[4]=
In[5]:=
Click for copyable input
Out[5]=
In[6]:=
Click for copyable input
Out[6]=