Compare Periods over Different Domains 

The periodicity properties of a function may differ as it is considered over different domains. The following command compares the period of a function over the integers, reals, and complexes.

In[1]:=
Click for copyable input
X
In[2]:=
Click for copyable input
X

Famously, the exponential function has an imaginary period.

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

Functions can be periodic over the reals only or integers only as well.

In[4]:=
Click for copyable input
X
Out[4]=
In[5]:=
Click for copyable input
X
Out[5]=
show complete Wolfram Language input
Out[6]=

On the other hand, power functions involving roots of are periodic over all three domains.

In[7]:=
Click for copyable input
X
Out[7]=
In[8]:=
Click for copyable input
X
Out[8]=

It is easy to compare the domains for many different functions.

In[9]:=
Click for copyable input
X
In[10]:=
Click for copyable input
X
Out[10]=

Nicely format the results.

show complete Wolfram Language input
Out[11]//TraditionalForm=