Trace Diagram
   HOME

TheInfoList



OR:

In
mathematics Mathematics is a field of study that discovers and organizes methods, Mathematical theory, theories and theorems that are developed and Mathematical proof, proved for the needs of empirical sciences and mathematics itself. There are many ar ...
, trace diagrams are a graphical means of performing computations in
linear In mathematics, the term ''linear'' is used in two distinct senses for two different properties: * linearity of a '' function'' (or '' mapping''); * linearity of a '' polynomial''. An example of a linear function is the function defined by f(x) ...
and
multilinear algebra Multilinear algebra is the study of Function (mathematics), functions with multiple vector space, vector-valued Argument of a function, arguments, with the functions being Linear map, linear maps with respect to each argument. It involves concept ...
. They can be represented as (slightly modified)
graphs Graph may refer to: Mathematics *Graph (discrete mathematics), a structure made of vertices and edges **Graph theory, the study of such graphs and their properties * Graph (topology), a topological space resembling a graph in the sense of discre ...
in which some edges are labeled by
matrices Matrix (: matrices or matrixes) or MATRIX may refer to: Science and mathematics * Matrix (mathematics), a rectangular array of numbers, symbols or expressions * Matrix (logic), part of a formula in prenex normal form * Matrix (biology), the ...
. The simplest trace diagrams represent the
trace Trace may refer to: Arts and entertainment Music * ''Trace'' (Son Volt album), 1995 * ''Trace'' (Died Pretty album), 1993 * Trace (band), a Dutch progressive rock band * ''The Trace'' (album), by Nell Other uses in arts and entertainment * ...
and
determinant In mathematics, the determinant is a Scalar (mathematics), scalar-valued function (mathematics), function of the entries of a square matrix. The determinant of a matrix is commonly denoted , , or . Its value characterizes some properties of the ...
of a matrix. Several results in linear algebra, such as
Cramer's Rule In linear algebra, Cramer's rule is an explicit formula for the solution of a system of linear equations with as many equations as unknowns, valid whenever the system has a unique solution. It expresses the solution in terms of the determinants of ...
and the
Cayley–Hamilton theorem In linear algebra, the Cayley–Hamilton theorem (named after the mathematicians Arthur Cayley and William Rowan Hamilton) states that every square matrix over a commutative ring (such as the real or complex numbers or the integers) satisfies ...
, have simple diagrammatic proofs. They are closely related to Penrose's graphical notation.


Formal definition

Let ''V'' be a
vector space In mathematics and physics, a vector space (also called a linear space) is a set (mathematics), set whose elements, often called vector (mathematics and physics), ''vectors'', can be added together and multiplied ("scaled") by numbers called sc ...
of
dimension In physics and mathematics, the dimension of a mathematical space (or object) is informally defined as the minimum number of coordinates needed to specify any point within it. Thus, a line has a dimension of one (1D) because only one coo ...
''n'' over a
field Field may refer to: Expanses of open ground * Field (agriculture), an area of land used for agricultural purposes * Airfield, an aerodrome that lacks the infrastructure of an airport * Battlefield * Lawn, an area of mowed grass * Meadow, a grass ...
''F'' (with ''n''≥2), and let Hom(''V'',''V'') denote the
linear transformation In mathematics, and more specifically in linear algebra, a linear map (also called a linear mapping, linear transformation, vector space homomorphism, or in some contexts linear function) is a mapping V \to W between two vector spaces that pr ...
s on ''V''. An ''n''-trace diagram is a
graph Graph may refer to: Mathematics *Graph (discrete mathematics), a structure made of vertices and edges **Graph theory, the study of such graphs and their properties *Graph (topology), a topological space resembling a graph in the sense of discret ...
\mathcal=(V_1\sqcup V_2\sqcup V_n, E), where the sets ''V''''i'' (''i'' = 1, 2, ''n'') are composed of vertices of degree ''i'', together with the following additional structures: * a ''ciliation'' at each vertex in the graph, which is an explicit ordering of the adjacent edges at that vertex; * a labeling ''V''2 → Hom(''V'',''V'') associating each degree-2 vertex to a linear transformation. Note that ''V''2 and ''Vn'' should be considered as distinct sets in the case ''n'' = 2. A framed trace diagram is a trace diagram together with a partition of the degree-1 vertices ''V''1 into two disjoint ordered collections called the ''inputs'' and the ''outputs''. The "graph" underlying a trace diagram may have the following special features, which are not always included in the standard definition of a graph: * Loops are permitted (a loop is an edge that connects a vertex to itself). * Edges that have no vertices are permitted, and are represented by small circles. * Multiple edges between the same two vertices are permitted.


Drawing conventions

* When trace diagrams are drawn, the ciliation on an ''n''-vertex is commonly represented by a small mark between two of the incident edges (in the figure above, a small red dot); the specific ordering of edges follows by proceeding counter-clockwise from this mark. * The ciliation and labeling at a degree-2 vertex are combined into a single directed node that allows one to differentiate the first edge (the ''incoming'' edge) from the second edge (the ''outgoing'' edge). * Framed diagrams are drawn with ''inputs'' at the bottom of the diagram and ''outputs'' at the top of the diagram. In both cases, the ordering corresponds to reading from left to right.


Correspondence with multilinear functions

Every framed trace diagram corresponds to a multilinear function between
tensor In mathematics, a tensor is an algebraic object that describes a multilinear relationship between sets of algebraic objects associated with a vector space. Tensors may map between different objects such as vectors, scalars, and even other ...
powers of the vector space ''V''. The degree-1 vertices correspond to the inputs and outputs of the function, while the degree-''n'' vertices correspond to the generalized
Levi-Civita symbol In mathematics, particularly in linear algebra, tensor analysis, and differential geometry, the Levi-Civita symbol or Levi-Civita epsilon represents a collection of numbers defined from the sign of a permutation of the natural numbers , for some ...
(which is an anti-symmetric tensor related to the
determinant In mathematics, the determinant is a Scalar (mathematics), scalar-valued function (mathematics), function of the entries of a square matrix. The determinant of a matrix is commonly denoted , , or . Its value characterizes some properties of the ...
). If a diagram has no output strands, its function maps tensor products to a scalar. If there are no degree-1 vertices, the diagram is said to be closed and its corresponding function may be identified with a scalar. By definition, a trace diagram's function is computed using
signed graph In the area of graph theory in mathematics, a signed graph is a graph in which each edge has a positive or negative sign. A signed graph is balanced if the product of edge signs around every cycle is positive. The name "signed graph" and the no ...
coloring. For each
edge coloring In graph theory, a proper edge coloring of a graph is an assignment of "colors" to the edges of the graph so that no two incident edges have the same color. For example, the figure to the right shows an edge coloring of a graph by the colors red ...
of the graph's edges by ''n'' labels, so that no two edges adjacent to the same vertex have the same label, one assigns a ''weight'' based on the labels at the vertices and the labels adjacent to the matrix labels. These weights become the coefficients of the diagram's function. In practice, a trace diagram's function is typically computed by ''decomposing'' the diagram into smaller pieces whose functions are known. The overall function can then be computed by re-composing the individual functions.


Examples


3-Vector diagrams

Several vector identities have easy proofs using trace diagrams. This section covers 3-trace diagrams. In the translation of diagrams to functions, it can be shown that the positions of ciliations at the degree-3 vertices has no influence on the resulting function, so they may be omitted. It can be shown that the
cross product In mathematics, the cross product or vector product (occasionally directed area product, to emphasize its geometric significance) is a binary operation on two vectors in a three-dimensional oriented Euclidean vector space (named here E), and ...
and
dot product In mathematics, the dot product or scalar productThe term ''scalar product'' means literally "product with a Scalar (mathematics), scalar as a result". It is also used for other symmetric bilinear forms, for example in a pseudo-Euclidean space. N ...
of 3-dimensional vectors are represented by : In this picture, the inputs to the function are shown as vectors in yellow boxes at the bottom of the diagram. The cross product diagram has an output vector, represented by the free strand at the top of the diagram. The dot product diagram does not have an output vector; hence, its output is a scalar. As a first example, consider the scalar triple product identity :(\mathbf\times\mathbf)\cdot\mathbf=\mathbf\cdot(\mathbf\times\mathbf)=(\mathbf\times\mathbf)\cdot\mathbf=\det(\mathbf\mathbf\mathbf). To prove this diagrammatically, note that all of the following figures are different depictions of the same 3-trace diagram (as specified by the above definition): : Combining the above diagrams for the cross product and the dot product, one can read off the three leftmost diagrams as precisely the three leftmost scalar triple products in the above identity. It can also be shown that the rightmost diagram represents det ''u v w The scalar triple product identity follows because each is a different representation of the same diagram's function. As a second example, one can show that : (where the equality indicates that the identity holds for the underlying multilinear functions). One can show that this kind of identity does not change by "bending" the diagram or attaching more diagrams, provided the changes are consistent across all diagrams in the identity. Thus, one can bend the top of the diagram down to the bottom, and attach vectors to each of the free edges, to obtain : which reads :(\mathbf\times\mathbf)\cdot(\mathbf\times\mathbf)=(\mathbf\cdot\mathbf)(\mathbf\cdot\mathbf)-(\mathbf\cdot\mathbf)(\mathbf\cdot\mathbf), a well-known identity relating four 3-dimensional vectors.


Diagrams with matrices

The simplest closed diagrams with a single matrix label correspond to the coefficients of the
characteristic polynomial In linear algebra, the characteristic polynomial of a square matrix is a polynomial which is invariant under matrix similarity and has the eigenvalues as roots. It has the determinant and the trace of the matrix among its coefficients. The ...
, up to a scalar factor that depends only on the dimension of the matrix. One representation of these diagrams is shown below, where \propto is used to indicate equality up to a scalar factor that depends only on the dimension ''n'' of the underlying vector space. :.


Properties

Let ''G'' be the group of n×n matrices. If a closed trace diagram is labeled by ''k'' different matrices, it may be interpreted as a function from G^k to an algebra of multilinear functions. This function is invariant under simultaneous
conjugation Conjugation or conjugate may refer to: Linguistics *Grammatical conjugation, the modification of a verb from its basic form *Emotive conjugation or Russell's conjugation, the use of loaded language Mathematics *Complex conjugation, the change o ...
, that is, the function corresponding to (g_1,\ldots,g_k) is the same as the function corresponding to (a g_1 a^, \ldots, a g_k a^{-1}) for any invertible a\in G.


Extensions and applications

Trace diagrams may be specialized for particular
Lie groups In mathematics, a Lie group (pronounced ) is a group that is also a differentiable manifold, such that group multiplication and taking inverses are both differentiable. A manifold is a space that locally resembles Euclidean space, whereas ...
by altering the definition slightly. In this context, they are sometimes called birdtracks, tensor diagrams, or
Penrose graphical notation In mathematics and physics, Penrose graphical notation or tensor diagram notation is a (usually handwritten) visual depiction of multilinear functions or tensors proposed by Roger Penrose in 1971. A diagram in the notation consists of several sh ...
. Trace diagrams have primarily been used by physicists as a tool for studying
Lie groups In mathematics, a Lie group (pronounced ) is a group that is also a differentiable manifold, such that group multiplication and taking inverses are both differentiable. A manifold is a space that locally resembles Euclidean space, whereas ...
. The most common applications use
representation theory Representation theory is a branch of mathematics that studies abstract algebra, abstract algebraic structures by ''representing'' their element (set theory), elements as linear transformations of vector spaces, and studies Module (mathematics), ...
to construct
spin network In physics, a spin network is a type of diagram which can be used to represent states and interactions between particles and fields in quantum mechanics. From a mathematical perspective, the diagrams are a concise way to represent multilinear ...
s from trace diagrams. In mathematics, they have been used to study character varieties.


See also

*
Multilinear map Multilinear may refer to: * Multilinear form, a type of mathematical function from a vector space to the underlying field * Multilinear map, a type of mathematical function between vector spaces * Multilinear algebra, a field of mathematics ...
*
Gain graph A gain graph is a graph whose edges are labelled "invertibly", or "orientably", by elements of a group ''G''. This means that, if an edge ''e'' in one direction has label ''g'' (a group element), then in the other direction it has label ''g''  ...


References

Books: * ''Diagram Techniques in Group Theory'', G. E. Stedman, Cambridge University Press, 1990 * ''Group Theory: Birdtracks, Lie's, and Exceptional Groups'',
Predrag Cvitanović Predrag Cvitanović (; born April 1, 1946) is a theoretical physicist regarded for his work in nonlinear dynamics, particularly his contributions to periodic orbit theory. Life Cvitanović earned his B.S. from MIT in 1969 and his Ph.D. at Corn ...
, Princeton University Press, 2008, http://birdtracks.eu/ Multilinear algebra Tensors Linear algebra Matrix theory Diagram algebras Application-specific graphs Diagrams