Skip to content

Numerator

Numerator[e] returns the numerator of e.

Attributes[Numerator] := {Listable, Protected}

Simple examples

In[1]:= Numerator[(a)/(b)]
Out[1]= a
In[2]:= Numerator[a^2*b]
Out[2]= a^2*b
In[3]:= Numerator[a^2*b^-2]
Out[3]= a^2
In[4]:= Numerator[a^2*b^(a*-1)*c]
Out[4]= a^2*c
In[5]:= Numerator[(2)/(3)]
Out[5]= 2