
Victoria H. answered 09/23/19
Tutor
New to Wyzant
Math Without Fear
If A is the *adjacency matrix*, A contains a 1 in position i,j iff there is an edge or a one-step connection between point i and point , and a 0 if there is no edge connecting i and j.
A^2 contains a number in each position i,j which tells how many length 2 paths there are from point i to point j.