Transpose of the adjacency matrix

$\begingroup$

As homework, I had to construct an adjacency matrix for the following graph:

enter image description here

My solution was the following:

$$ \begin{bmatrix} 0&0&1&0&0 \\ 1&0&0&1&0 \\ 0&1&0&1&0 \\ 0&0&0&0&0 \\ 1&0&1&0&0 \end{bmatrix} $$

That means:

  • vertex v1 shows to v3
  • v2 shows to v1 and v4
  • etc.

However, the correct solution was the following adjacency matrix:

$$ \begin{bmatrix} 0&1&0&0&1 \\ 0&0&1&0&0 \\ 1&0&0&0&1 \\ 0&1&1&0&0 \\ 0&0&0&0&0 \end{bmatrix} $$

So, the transpose of my matrix is the correct solution. Unfortunately, I can't reach my lecturer over the weekend.

Could anyone please explain why my answer is wrong?

PS: When you enter the following string into wolframalpha.com 1->3, 2->1, 2->4, 3->2, 3->4 ,5->1 ,5->3 directed graph, you get the graph above, which is basically my matrix.

$\endgroup$ 4 Reset to default

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like