If you looked at the example above, you probably figured out the rule.
Each row is a node, and each element represents a directed and weighted edge.
The element in the 𝑖-th row and 𝑗-th column corresponds to an edge going from 𝑖 to 𝑗.
Each row is a node, and each element represents a directed and weighted edge.
The element in the 𝑖-th row and 𝑗-th column corresponds to an edge going from 𝑖 to 𝑗.
If the directed graph represents the states of a Markov chain, the square of its transition probability matrix essentially shows the probability of the chain having some state after two steps.
There is much more to this connection.
For instance, it gives us a deep insight into the structure of nonnegative matrices.
To see what graphs show about matrices, let's talk about the concept of strongly connected components.
For instance, it gives us a deep insight into the structure of nonnegative matrices.
To see what graphs show about matrices, let's talk about the concept of strongly connected components.
Let's reverse the question: can we transform an arbitrary nonnegative matrix into the Frobenius normal form?
Yes, and with the help of directed graphs, this is much easier to show than purely using algebra.
Yes, and with the help of directed graphs, this is much easier to show than purely using algebra.
We have already seen the proof:
1. construct the corresponding directed graph,
2. find its strongly connected components,
3. and renumber its nodes such that the components' nodes form blocks among the integers.
1. construct the corresponding directed graph,
2. find its strongly connected components,
3. and renumber its nodes such that the components' nodes form blocks among the integers.
This is just the tip of the iceberg. For example, with the help of matrices, we can define the eigenvalues of graphs!
Utilizing the relation between matrices and graphs has been extremely profitable for both graph theory and linear algebra.
Utilizing the relation between matrices and graphs has been extremely profitable for both graph theory and linear algebra.
If you have enjoyed this thread, share it with your friends and follow me!
I regularly post deep-dive explanations about seemingly complex concepts from mathematics and machine learning.
Understanding math will make you a better engineer, and I want to show you how.
I regularly post deep-dive explanations about seemingly complex concepts from mathematics and machine learning.
Understanding math will make you a better engineer, and I want to show you how.
Loading suggestions...