01 76 38 08 47
Kartable logo
HomeBrowseSearchLog in

To enjoy 10 free documents.

Kartable logo
HomeBrowseSearchLog in

To enjoy 10 free documents.

  1. Home
  2. 12th grade
  3. Algebra I
  4. Exercise : Write a graph from its vertex matrix

Write a graph from its vertex matrix Algebra I

Find the graph that matches the following vertex matrix.

\begin{pmatrix} 0 & 1 & 1 & 1 \cr\cr 0 & 0 & 1 & 0 \cr\cr 1 & 0 & 0 & 1 \cr\cr 1 & 1 & 1 & 0 \end{pmatrix}

An nxn matrix represents a graph with n vertices.

  • If a_{i,j}=1, then there is a directed edge from vertex i to vertex j.
  • If a_{i,j}=0, then there is no directed edge from vertex i to vertex j.

The matrix is:

\begin{pmatrix} 0 & 1 & 1 & 1 \cr\cr 0 & 0 & 1 & 0 \cr\cr 1 & 0 & 0 & 1 \cr\cr 1 & 1 & 1 & 0 \end{pmatrix}

Therefore, the graph uses only four vertices.

There are directed edges from vertex:

  • 1 to 2
  • 1 to 3
  • 1 to 4
  • 2 to 3
  • 3 to 1
  • 3 to 4
  • 4 to 1
  • 4 to 2
  • 4 to 3

The graph is:

-

\begin{pmatrix} 0 & 1 & 1 & 1 \cr\cr 1 & 0 & 1 & 1 \cr\cr 1 & 1 & 0 & 1 \cr\cr 1 & 1 & 1 & 0 \end{pmatrix}

An nxn matrix represents a graph with n vertices.

  • If a_{i,j}=1, then there is a directed edge from vertex i to vertex j.
  • If a_{i,j}=0, then there is no directed edge from vertex i to vertex j.

The matrix is:

\begin{pmatrix} 0 & 1 & 1 & 1 \cr\cr 1 & 0 & 1 & 1 \cr\cr 1 & 1 & 0 & 1 \cr\cr 1 & 1 & 1 & 0 \end{pmatrix}

Therefore, the graph uses only four vertices.

There are directed edges from vertex:

  • 1 to 2
  • 1 to 3
  • 1 to 4
  • 2 to 1
  • 2 to 3
  • 2 to 4
  • 3 to 1
  • 3 to 2
  • 3 to 4
  • 4 to 1
  • 4 to 2
  • 4 to 3
-

\begin{pmatrix} 0 & 0 & 0 & 0 \cr\cr 0 & 0 & 0 & 0 \cr\cr 0 & 0 & 0 & 0 \cr\cr 0 & 1 & 1 & 0 \end{pmatrix}

An nxn matrix represents a graph with n vertices.

  • If a_{i,j}=1, then there is a directed edge from vertex i to vertex j.
  • If a_{i,j}=0, then there is no directed edge from vertex i to vertex j.

The matrix is:

\begin{pmatrix} 0 & 0 & 0 & 0 \cr\cr 0 & 0 & 0 & 0 \cr\cr 0 & 0 & 0 & 0 \cr\cr 0 & 1 & 1 & 0 \end{pmatrix}

Therefore, the graph uses only four vertices.

There are directed edges from vertex:

  • 4 to 2
  • 4 to 3
-

\begin{pmatrix} 0 & 1 & 1 & 1 &1 &0 \cr\cr 0 & 0 & 1 & 0 &1 &1 \cr\cr 1 & 0 & 0 & 1&0&0 \cr\cr 1 & 1 & 1 & 0 &0&0 \cr \cr 1&1&1&0&0&0 \cr \cr 1&1&1&0&0&0\end{pmatrix}

An nxn matrix represents a graph with n vertices.

  • If a_{i,j}=1, then there is a directed edge from vertex i to vertex j.
  • If a_{i,j}=0, then there is no directed edge from vertex i to vertex j.

The matrix is:

\begin{pmatrix} 0 & 1 & 1 & 1 &1 &0 \cr\cr 0 & 0 & 1 & 0 &1 &1 \cr\cr 1 & 0 & 0 & 1&0&0 \cr\cr 1 & 1 & 1 & 0 &0&0 \cr \cr 1&1&1&0&0&0 \cr \cr 1&1&1&0&0&0\end{pmatrix}

Therefore, the graph uses only six vertices.

There are directed edges from vertex:

  • 1 to 2
  • 1 to 3
  • 1 to 4
  • 1 to 5
  • 2 to 3
  • 2 to 5
  • 2 to 6
  • 3 to 1
  • 3 to 4
  • 4 to 1
  • 4 to 2
  • 4 to 3
  • 5 to 1
  • 5 to 2
  • 5 to 3
  • 6 to 1
  • 6 to 2
  • 6 to 3
-

\begin{pmatrix} 0 & 0 & 0 & 0 &0 &0 \cr\cr 0 & 0 & 0 & 0 &0 & 0\cr\cr 0 & 0 & 0 & 0&0&0 \cr\cr 0 & 0 & 0 & 0 &0&0 \cr \cr 0&1&0&0&0&0 \cr \cr 0&0&1&0&0&0\end{pmatrix}

An nxn matrix represents a graph with n vertices.

  • If a_{i,j}=1, then there is a directed edge from vertex i to vertex j.
  • If a_{i,j}=0, then there is no directed edge from vertex i to vertex j.

The matrix is:

\begin{pmatrix} 0 & 0 & 0 & 0 &0 &0 \cr\cr 0 & 0 & 0 & 0 &0 & 0\cr\cr 0 & 0 & 0 & 0&0&0 \cr\cr 0 & 0 & 0 & 0 &0&0 \cr \cr 0&1&0&0&0&0 \cr \cr 0&0&1&0&0&0\end{pmatrix}

Therefore, the graph uses only six vertices.

There are directed edges from vertex:

  • 5 to 2
  • 6 to 3
-

\begin{pmatrix} 0 & 1 & 1 \cr\cr 1 & 0 & 1 \cr\cr 1 & 1 & 0 \end{pmatrix}

An nxn matrix represents a graph with n vertices.

  • If a_{i,j}=1, then there is a directed edge from vertex i to vertex j.
  • If a_{i,j}=0, then there is no directed edge from vertex i to vertex j.

The matrix is:

\begin{pmatrix} 0 & 1 & 1 \cr\cr 1 & 0 & 1 \cr\cr 1 & 1 & 0 \end{pmatrix}

Therefore, the graph uses only six vertices.

There are directed edges from vertex:

  • 1 to 2
  • 1 to 3
  • 2 to 1
  • 2 to 3
  • 3 to 1
  • 3 to 2
-

\begin{pmatrix} 0 & 1 \cr\cr 1 & 0 \end{pmatrix}

An nxn matrix represents a graph with n vertices.

  • If a_{i,j}=1, then there is a directed edge from vertex i to vertex j.
  • If a_{i,j}=0, then there is no directed edge from vertex i to vertex j.

The matrix is:

\begin{pmatrix} 0 & 1 \cr\cr 1 & 0 \end{pmatrix}

Therefore, the graph uses only two vertices.

There are directed edges from vertex:

  • 1 to 2
  • 2 to 1
-

The editorial charter guarantees the compliance of the content with the official National Education curricula. Learn more

The courses and exercises are written by the Kartable editorial team, made up of teachers certified and accredited. Learn more

See also
  • Course : Introduction to matrices
  • Exercise : Calculate expressions of the form c.A+B
  • Exercise : Multiply two matrices
  • Exercise : Calculate the coordinates of a transformed matrix
  • Exercise : Find the matrix that represents a certain transformation
  • Exercise : Find the vertex matrix of a graph
  • support@kartable.com
  • Legal notice

© Kartable 2026