Answer:
A matrix is a convenient and useful way of representing a graph to a computer. ... Matrices lend themselves easily to mechanical manipulations. Besides, many known results of matrix algebra can be readily applied to study the structural properties of graphs from an algebraic point of view.