![](http://image.absoluteastronomy.com/images//topicimages/noimage.gif)
Min-plus matrix multiplication
Encyclopedia
Min-plus matrix multiplication, also known as the distance product, is an operation on matrices
.
Given two
matrices
and
, their distance product
is defined as an
matrix such that
.
This operation is closely related to the shortest path problem
. If
is an
matrix containing the edge weights of a graph
, then
is gives the distances between vertices using paths of length at most
edges, and
is the distance matrix
of the graph.
Matrix (mathematics)
In mathematics, a matrix is a rectangular array of numbers, symbols, or expressions. The individual items in a matrix are called its elements or entries. An example of a matrix with six elements isMatrices of the same size can be added or subtracted element by element...
.
Given two
![](http://image.absoluteastronomy.com/images/formulas/4/2/5421221-1.gif)
![](http://image.absoluteastronomy.com/images/formulas/4/2/5421221-2.gif)
![](http://image.absoluteastronomy.com/images/formulas/4/2/5421221-3.gif)
![](http://image.absoluteastronomy.com/images/formulas/4/2/5421221-4.gif)
![](http://image.absoluteastronomy.com/images/formulas/4/2/5421221-5.gif)
![](http://image.absoluteastronomy.com/images/formulas/4/2/5421221-6.gif)
This operation is closely related to the shortest path problem
Shortest path problem
In graph theory, the shortest path problem is the problem of finding a path between two vertices in a graph such that the sum of the weights of its constituent edges is minimized...
. If
![](http://image.absoluteastronomy.com/images/formulas/4/2/5421221-7.gif)
![](http://image.absoluteastronomy.com/images/formulas/4/2/5421221-8.gif)
Graph (mathematics)
In mathematics, a graph is an abstract representation of a set of objects where some pairs of the objects are connected by links. The interconnected objects are represented by mathematical abstractions called vertices, and the links that connect some pairs of vertices are called edges...
, then
![](http://image.absoluteastronomy.com/images/formulas/4/2/5421221-9.gif)
![](http://image.absoluteastronomy.com/images/formulas/4/2/5421221-10.gif)
![](http://image.absoluteastronomy.com/images/formulas/4/2/5421221-11.gif)
Distance matrix
In mathematics, computer science and graph theory, a distance matrix is a matrix containing the distances, taken pairwise, of a set of points...
of the graph.
See also
- Floyd-Warshall algorithmFloyd-Warshall algorithmIn computer science, the Floyd–Warshall algorithm is a graph analysis algorithm for finding shortest paths in a weighted graph and also for finding transitive closure of a relation R...
- Tropical geometryTropical geometryTropical geometry is a relatively new area in mathematics, which might loosely be described as a piece-wise linear or skeletonized version of algebraic geometry. Its leading ideas had appeared in different guises in previous works of George M...
: The distance product is equivalent to standard matrix multiplication in the tropical semi-ring.