Wolfram Language & System 10.4 (2016)|Legacy Documentation

This is documentation for an earlier version of the Wolfram Language.
BUILT-IN WOLFRAM LANGUAGE SYMBOL

Times

, , or
represents a product of terms.

DetailsDetails

• The character is entered as Esc*Esc or \[Times]. It is not the same as \[Cross].
• Times has attributes Flat, Orderless, and OneIdentity.
• The default value for arguments of Times, as used in patterns, is .
• Times[] is taken to be .
• Times[x] is x.
• 0x evaluates to , and 0.0x evaluates to .
• Unlike other functions, Times applies builtin rules before userdefined ones. As a result, it is not possible to make definitions such as .

Background & ContextBackground & Context

• Times is a function that does multiplication (takes the product) of expressions. The expression Times[a,b,c,] is commonly represented using the shorthand syntax , , or simply . Special cases include Times[], which is taken to be 1, and Times[x], which is taken to be x.
• Times sorts its arguments and collapses any terms of the same type. Times also threads element-wise over lists. Expand can be used to expand out products of expressions not automatically multiplied out by Times.
• TimesBy can be used to multiply the value of a given variable. Divide gives the division of two expressions.
• Multiplication of a function over a range or list of arguments is done using the function Product. Other types of multiplication include Dot (for matrix or vector multiplication) and NonCommutativeMultiply (for non-commuting products).

ExamplesExamplesopen allclose all

Basic Examples  (3)Basic Examples  (3)

Enter Times with spaces; × is added automatically between numbers:

 In[1]:=
 Out[1]=

Alternative form:

 In[2]:=
 Out[2]=

 In[1]:=
 Out[1]=
 In[2]:=
 Out[2]=

Explicit FullForm:

 In[1]:=
 Out[1]=

TutorialsTutorials

Introduced in 1988
(1.0)
| Updated in 1996
(3.0)