Multiple Fourier Series
William O. Bray
Herein we will explore a few examples of multiple Fourier sine series on the square D=[0,π]×[0,π]. These have the form:
The following command forms the square partial sums of the Fourier sine series with Fourier coefficients given as a table.
In[23]:=
Example 1
In[24]:=
In[25]:=
Out[25]=
This function is actually a product of a function of x with a function of y, hence the double Fourier sine coefficients are the products of the one dimensional Fourier coefficients. We can implement this as follows.
In[26]:=
In[27]:=
In[28]:=
Out[28]=
In[29]:=
In[30]:=
Out[30]=
Visually, we cannot see much difference between the partial sum plot and that of the actual function. The following is a depiction of the error.
In[31]:=
Out[31]=
Notice the growth in error along the boundaries; undoubtably this is due to the fact that the partial derivatives of the function are discontinuous across the boundary (think in terms of the periodic extension of this function).
Example 2
In[32]:=
In[33]:=
Out[33]=
In[34]:=
Out[34]=
In[35]:=
In[36]:=
Out[36]=
For a look at the error, consider the following.
In[37]:=
Out[37]=
Example 3
In[38]:=
In[39]:=
Out[39]=
In[40]:=
Out[40]=
In[41]:=
In[42]:=
Out[42]=
In[43]:=
Out[43]=
In[44]:=
Out[44]=
A view of the partial sums relative to the periodic extension of this function is seen as follows.
In[45]:=
Out[45]=