This is documentation for Mathematica 3, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)
 Documentation / Mathematica / Built-in Functions / Algebraic Computation / Formula Manipulation  /
Exponent

  • Exponent[ expr , form ] gives the maximum power with which form appears in the expanded form of expr.
  • Exponent[ expr , form , h ] applies h to the set of exponents with which form appears in expr.
  • Example: Exponent[x^2 + a x^3, x].
  • The default taken for h is Max.
  • Example: Exponent[x^2 + a x^3, x, List].
  • form can be a product of terms.
  • Exponent works whether or not expr is explicitly given in expanded form.
  • See the Mathematica book: Section 1.4.6Section 3.3.2.
  • See also: Coefficient, Cases.

    Further Examples

    Exponent gives its second argument's highest power in the polynomial.

    In[1]:=

    Out[1]=

    In[2]:=

    Out[2]=

    In[3]:=

    Out[3]=

    With List as the third argument you get a list all the exponents.

    In[4]:=

    Out[4]=