PRODUCTS
Products Overview
Mathematica
Mathematica Student Edition
Mathematica Home Edition
Wolfram
CDF Player
(free download)
Computable Document Format (CDF)
web
Mathematica
grid
Mathematica
Wolfram
Workbench
Wolfram
SystemModeler
Wolfram
Finance Platform
Mathematica
Add-Ons
Wolfram|Alpha Products
SOLUTIONS
Solutions Overview
Engineering
Aerospace Engineering & Defense
Chemical Engineering
Control Systems
Electrical Engineering
Image Processing
Industrial Engineering
Materials Science
Mechanical Engineering
Operations Research
Optics
Petroleum Engineering
Biotechnology & Medicine
Bioinformatics
Medical Imaging
Finance, Statistics & Business Analysis
Actuarial Sciences
Data Analysis & Mining
Econometrics
Economics
Financial Engineering & Mathematics
Financial Risk Management
Statistics
Software Engineering & Content Delivery
Authoring & Publishing
Interface Development
Software Engineering
Web Development
Science
Astronomy
Biological Sciences
Chemistry
Environmental Sciences
Geosciences
Social & Behavioral Sciences
Design, Arts & Entertainment
Game Design, Special Effects & Generative Art
Education
STEM Education Initiative
Higher Education
Community & Technical College Education
Primary & Secondary Education
Students
Technology
Computable Document Format (CDF)
High-Performance & Parallel Computing (HPC)
See Also: Technology Guide
PURCHASE
Online Store
Other Ways to Buy
Volume & Site Licensing
Contact Sales
Software
Service
Upgrades
Training
Books
Merchandise
SUPPORT
Support Overview
Mathematica
Documentation
Knowledge Base
Learning Center
Technical Services
Community & Forums
Training
Does My Site Have a License?
Wolfram User Portal
COMPANY
About Wolfram Research
News
Events
Wolfram Blog
Partnerships
Employment Opportunities
History of
Mathematica
Stephen Wolfram's Home Page
Contact Us
OUR SITES
All Sites
Wolfram|Alpha
Demonstrations Project
MathWorld
Integrator
Wolfram Functions Site
Mathematica Journal
Wolfram Media
Wolfram
Tones
Wolfram Science
Stephen Wolfram
SEARCH MATHEMATICA 8 DOCUMENTATION
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE
DOCUMENTATION CENTER
FOR THE LATEST INFORMATION.
Mathematica
>
Mathematics and Algorithms
>
Mathematical Functions
>
Arithmetic Functions
>
Built-in
Mathematica
Symbol
Arithmetic
Operators
Tutorials »
|
Divide
TimesBy
NonCommutativeMultiply
Dot
See Also »
|
Arithmetic Functions
Mathematical Functions
Matrices and Linear Algebra
Matrix Operations
Operations on Vectors
Mathematica
Syntax
More About »
Times
(*, ×)
x
*
y
*
z
,
x
×
y
×
z
or
x
y
z
represents a product of terms.
MORE INFORMATION
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
x_.
patterns, is
1
.
Times
[]
is taken to be
1
.
Times
[
x
]
is
x
.
0
x
evaluates to
0
, but
0.0
x
is left unchanged.
Unlike other functions,
Times
applies built-in rules before user-defined ones. As a result, it is not possible to make definitions such as
2*2=5
.
EXAMPLES
CLOSE ALL
Basic Examples
(3)
Enter
Times
with spaces; × is added automatically between numbers:
Alternative form:
Times
threads element-wise over lists:
Explicit
FullForm
:
Enter
Times
with spaces; × is added automatically between numbers:
In[1]:=
Out[1]=
Alternative form:
In[2]:=
Out[2]=
Times
threads element-wise over lists:
In[1]:=
Out[1]=
In[2]:=
Out[2]=
Explicit
FullForm
:
In[1]:=
Out[1]=
Scope
(2)
Times
threads element-wise:
Pattern matching works with
Times
:
Properties & Relations
(4)
Use
Expand
to expand out products:
Use
Dot
for matrix or vector multiplication:
Use
Product
for products of indexed elements:
As well as for closed forms of products:
Use
NonCommutativeMultiply
for non commuting products:
SEE ALSO
Divide
TimesBy
NonCommutativeMultiply
Dot
TUTORIALS
Arithmetic
Operators
MORE ABOUT
Arithmetic Functions
Mathematical Functions
Matrices and Linear Algebra
Matrix Operations
Operations on Vectors
Mathematica
Syntax
RELATED LINKS
Demonstrations with Times
(
Wolfram Demonstrations Project
)
NKS|Online
(
A New Kind of Science
)
New in 1 | Last modified in 3