From an undirected matrix to a graph
The full vertex order, each off-diagonal pair and the diagonal loop counts are all required
- List vertices before edges Create every vertex in the declared order, including any whose row is all zero
- Use one triangle for ordinary edges For a symmetric undirected matrix, read each off-diagonal pair once, for example above the diagonal, to avoid drawing each edge twice
- Read diagonal loops separately Draw exactly aᵢᵢ loops at vertex i under the once-per-loop diagonal convention
- Check by re-encoding Rebuild the matrix from the drawing in the same order. Every entry must agree, including zeros and multiplicities
Worked example
Decode N in order W, X, Y, Z, using one diagonal entry per loop
- \(\displaystyle V=\{W,X,Y,Z\}\)Create all four vertices, including isolated Z
- \(\displaystyle N_{11}=1\)Draw one loop at W
- \(\displaystyle N_{23}=N_{32}=2\)Draw two XY edges, not four. Both entries describe the same pair
- \(\displaystyle \begin{gathered}E:\ WW,XY,XY\\|E|=3\end{gathered}\)Every other pair has zero edges. Re-encode the drawing to check the complete matrix
Common mistakes
Difficulty levels
Questions about this topic
How can I avoid drawing the same edge twice?+
Read one off-diagonal triangle, for example entries above the main diagonal, and draw the given number of edges for each pair
Do I ignore the diagonal?+
No. Read it separately to draw each loop once under the stated convention
Can a graph with an isolated vertex still have a matrix?+
Yes. Keep its row and column, both zero
Does a correct graph-choice answer grade my drawing?+
No. It grades recognition of a supplied diagram. Full drawing and explanation remain ungraded paper practice with a model
Why are one-way variants absent?+
This section introduces the study-design demand for undirected graphs. The retained generators have directed variants elsewhere, but these are excluded here
Can I use a calculator?+
No. This topic is practised without a calculator
Which year level and chapter is this?+
Year 11, VCE Units 1 & 2, Specialist Mathematics, chapter 2: Graph theory