In mathematics, a product is the result of multiplication, or an expression that identifies objects (numbers or variables) to be multiplied, called factors. For example, 21 is the product of 3 and 7 (the result of multiplication), and
x ⋅ (2+x)
x
(2+x)
The order in which real or complex numbers are multiplied has no bearing on the product; this is known as the commutative law of multiplication. When matrices or members of various other associative algebras are multiplied, the product usually depends on the order of the factors. Matrix multiplication, for example, is non-commutative, and so is multiplication in other algebras in general as well.
There are many different kinds of products in mathematics: besides being able to multiply just numbers, polynomials or matrices, one can also define products on many different algebraic structures.
See main article: Multiplication.
Originally, a product was and is still the result of the multiplication of two or more numbers. For example, is the product of and . The fundamental theorem of arithmetic states that every composite number is a product of prime numbers, that is unique up to the order of the factors.
ax+b=0,
ax
a
x.
Later and essentially from the 19th century on, new binary operations have been introduced, which do not involve numbers at all, and have been called products; for example, the dot product. Most of this article is devoted to such non-numerical products.
6 | |
style\prod | |
i=1 |
i2
The product of a sequence consisting of only one number is just that number itself; the product of no factors at all is known as the empty product, and is equal to 1.
Commutative rings have a product operation.
Residue classes in the rings
\Z/N\Z
(a+N\Z)+(b+N\Z)=a+b+N\Z
and multiplied:
(a+N\Z) ⋅ (b+N\Z)=a ⋅ b+N\Z
See main article: Convolution.
Two functions from the reals to itself can be multiplied in another way, called the convolution.
If
infty | |
\int\limits | |
-infty |
|f(t)|dt<infty and
infty | |
\int\limits | |
-infty |
|g(t)|dt<infty,
then the integral
(f*g)(t) :=
infty | |
\int\limits | |
-infty |
f(\tau) ⋅ g(t-\tau)d\tau
is well defined and is called the convolution.
Under the Fourier transform, convolution becomes point-wise function multiplication.
See main article: Polynomial ring. The product of two polynomials is given by the following:
n | |
\left(\sum | |
i=0 |
aiXi\right) ⋅
m | |
\left(\sum | |
j=0 |
bjXj\right)=
n+m | |
\sum | |
k=0 |
ckXk
with
ck=\sumi+j=kai ⋅ bj
There are many different kinds of products in linear algebra. Some of these have confusingly similar names (outer product, exterior product) with very different meanings, while others have very different names (outer product, tensor product, Kronecker product) and yet convey essentially the same idea. A brief overview of these is given in the following sections.
See main article: Scalar multiplication.
By the very definition of a vector space, one can form the product of any scalar with any vector, giving a map
\R x V → V
See main article: Scalar product. A scalar product is a bi-linear map:
⋅ :V x V → \R
with the following conditions, that
v ⋅ v>0
0\not=v\inV
From the scalar product, one can define a norm by letting
\|v\|:=\sqrt{v ⋅ v}
The scalar product also allows one to define an angle between two vectors:
\cos\angle(v,w)=
v ⋅ w | |
\|v\| ⋅ \|w\| |
In
n
n | |
\left(\sum | |
i=1 |
\alphaiei\right) ⋅
n | |
\left(\sum | |
i=1 |
\betaiei\right)=
n | |
\sum | |
i=1 |
\alphai\betai
See main article: Cross product. The cross product of two vectors in 3-dimensions is a vector perpendicular to the two factors, with length equal to the area of the parallelogram spanned by the two factors.
The cross product can also be expressed as the formal determinant:
u x v=\begin{vmatrix} i&j&k\\ u1&u2&u3\\ v1&v2&v3\\ \end{vmatrix}
See main article: Function composition. A linear mapping can be defined as a function f between two vector spaces V and W with underlying field F, satisfying[3]
f(t1x1+t2x2)=t1f(x1)+t2f(x2),\forallx1,x2\inV,\forallt1,t2\inF.
If one only considers finite dimensional vector spaces, then
f(v)=f\left(vi
i\right) | |
bV |
=vi
i\right) | |
f\left(bV |
=
i} | |
{f | |
j |
vi
j, | |
bW |
Now we consider the composition of two linear mappings between finite dimensional vector spaces. Let the linear mapping f map V to W, and let the linear mapping g map W to U. Then one can get
g\circf(v)=
i} | |
g\left({f | |
j |
vi
j\right) | |
bW |
=
j} | |
{g | |
k |
i} | |
{f | |
j |
vi
k. | |
bU |
Or in matrix form:
g\circf(v)=GFv,
The composition of more than two linear mappings can be similarly represented by a chain of matrix multiplication.
Given two matrices
A=(ai,j)i=1\ldots\in\Rs x
B=(bj,k)j=1\ldots\in\Rr x
their product is given by
B ⋅ A=\left(
r | |
\sum | |
j=1 |
ai,j ⋅ bj,k\right)i=1\ldots \in\Rs x
There is a relationship between the composition of linear functions and the product of two matrices. To see this, let r = dim(U), s = dim(V) and t = dim(W) be the (finite) dimensions of vector spaces U, V and W. Let
lU=\{u1,\ldots,ur\}
lV=\{v1,\ldots,vs\}
lW=\{w1,\ldots,wt\}
A=
lU | |
M | |
lV |
(f)\in\Rs x
B=
lV | |
M | |
lW |
(g)\in\Rr x
B ⋅ A=
lU | |
M | |
lW |
(g\circf)\in\Rs x
is the matrix representing
g\circf:U → W
In other words: the matrix product is the description in coordinates of the composition of linear functions.
See main article: Tensor product.
Given two finite dimensional vector spaces V and W, the tensor product of them can be defined as a (2,0)-tensor satisfying:
V ⊗ W(v,m)=V(v)W(w),\forallv\inV*,\forallw\inW*,
For infinite-dimensional vector spaces, one also has the:
The tensor product, outer product and Kronecker product all convey the same general idea. The differences between these are that the Kronecker product is just a tensor product of matrices, with respect to a previously-fixed basis, whereas the tensor product is usually given in its intrinsic definition. The outer product is simply the Kronecker product, limited to vectors (instead of matrices).
In general, whenever one has two mathematical objects that can be combined in a way that behaves like a linear algebra tensor product, then this can be most generally understood as the internal product of a monoidal category. That is, the monoidal category captures precisely the meaning of a tensor product; it captures exactly the notion of why it is that tensor products behave the way they do. More precisely, a monoidal category is the class of all things (of a given type) that have a tensor product.
Other kinds of products in linear algebra include:
In set theory, a Cartesian product is a mathematical operation which returns a set (or product set) from multiple sets. That is, for sets A and B, the Cartesian product is the set of all ordered pairs —where and .[5]
The class of all things (of a given type) that have Cartesian products is called a Cartesian category. Many of these are Cartesian closed categories. Sets are an example of such objects.
The empty product on numbers and most algebraic structures has the value of 1 (the identity element of multiplication), just like the empty sum has the value of 0 (the identity element of addition). However, the concept of the empty product is more general, and requires special treatment in logic, set theory, computer programming and category theory.
Products over other kinds of algebraic structures include:
A few of the above products are examples of the general notion of an internal product in a monoidal category; the rest are describable by the general notion of a product in category theory.
All of the previous examples are special cases or examples of the general notion of a product. For the general treatment of the concept of a product, see product (category theory), which describes how to combine two objects of some kind to create an object, possibly of a different kind. But also, in category theory, one has: