notes
graphs · math

Combinatorics and Graph Theory

(last updated )

1.1.2 The Basics

  • Vertex set of a graph G is denoted V(G)V(G)

  • edge set denoted E(G)E(G) or EE

  • we may refer to them simply as V(E)

  • edges are denoted u,v{u,v} or simply as uvuv

  • directed graph:

    • EE is a set of ordered pairs of vertices
  • multigraph:

    • EE is a multiset and may contain repeated elements
  • pseudograph:

    • allowing edges to connect a vertex to itself (loops)
  • infinite graphs:

    • when VV or EE can be an infinite set
  • the order of a graph:

    • the cardinality (size, number of elements) of its vertex set
  • the size of a graph:

    • the cardinality of its edge set
  • adjacent vertices:

    • if uvEuv \in E, then u and v are adjacent
    • in other words, vertices are adjacent if they are connected by an edge.
  • nonadjacent vertices:

    • are not connected by an edge.
  • incidence:

    • vv is incident of ee if vv is an end vertex for ee.
  • (open) neighbourhood of a vertex vv:

    • N(v)N(v): the set of vertices adjacent to vv
  • closed neighbourhood of a vertex vv:

    • N[v]N[v] is the set vN(v){v} \cup N(v)
  • neighbourhood of a set of vertices

    • N(S)N(S): the union of neighbourhood of vertices in SS
    • similar definition for closed neighbourood
  • the degree of vv:

    • deg(v)deg(v): the number of edges incident with v
    • aka number of outgoing edges of v
    • in simple graphs, this is the same as the cardinality of the neighbourhood of vv
  • maximum degree of a graph GG

    • denoted Δ(G)\Delta(G) is the max{deg(v)vV(G)}max \{deg(v) | v \in V(G)\}
  • minimum degree: similar definition as max

Perambulation and Connectivity

  • walk
    • a sequence of of vertices v1,...,vkv_1,...,v_k such that vivi+1E{v_i}v_{i+1} \in E
    • aka each subsequent vertex paired make an edge
  • path
    • where the vertices in a walk are distinct
  • trail
    • where the edges in a walk are distinct
  • every path is a trail, but not every trail is a path

theorem: in a graph G with vertices u and v, every u-v walk contains a u-v path,

  • vertex deletion:
    • we let GvG-v denote the graph obtained by removing vv and all edges incident with vv
      • if SS is a set of vertices, we let GSG-S denote the graph obtained by removing each vertex of S and all the incident edges.
  • edge deletion:
  • connected component:
    • each maximal connected piece of a graph is called a connected component.
  • cut vertex
    • if the deletion of a vertex vv from GG causes the number of compnents to increase, then vv is called a cut vertex
  • cut set
    • a proper subset S of vertices of a graph G is called a vertex cut set if the graph G - S is disconnected
  • complete graph
    • A graph where each vertex is adjacent to every other vertex (has an edge between them)
    • complete graphs do not have any cut sets.
  • connectivity
    • the connectivity of GG denoted κ(G)\kappa(G) is the minimum size of a cut set GG.
    • a graph is k-connected if kκ(G)k \leq \kappa(G)
undefinedundefined

Special types of graphs

  • regular graphs
  • cycels
  • paths
  • subgraphs
  • induced subgraphs
  • bipartite graphs

isomorphic

  • Graphs GG and HH are said to be isomorphic if there exists a one-to-one mapping f:V(G)V(H)f : V(G) → V(H) that preserves adjacency
  • the mapping is called an isomorphism
  • when two graphs are isomorphic you can say G = H or G is H
  • determining if two graphs are isomorphic is generally a difficult problem to solve

Distance in Graphs

  • Combinatorics and Graph Theory, p.30
  • the distance from vertex u to vertex v
    • is the length (number of edges) of a shortest uvu-v path in G
    • we denote this distance by d(u,v)d(u,v)
  • the eccentricity of vertex v, denoted ecc(v)ecc(v)
    • the greatest distance from v to any other vertex
  • in a connected graph G the radius of G denoted rad(G)rad(G)
    • is the value of the smallest eccentricity
  • the diameter of G, diam(G)
    • the value of the greatest eccentricity
  • the center of the graph G
    • the set of vertices, v, s/t ecc(v) = rad(G)
  • the periphery of G
    • the set of vertices u, s/t ecc(u) = diam(G)

Graphs and Matrices

  • Matrix representations of graphs are used in programming
  • adjacency matrix:
    • Let G be a graph with n vertices, the adjacency matrix of G is the n×nn \times n matrix A whose (i,j)(i,j) entry is 1 if viv_i and vjv_j are adjacent (connected by an edge), or 0 otherwise
    • a graph can have multiple adjacency matrices.
    • if AA and BB are two different adjacency matrices of the same graph G, there must exist a permutation of the vertices such that when the permutation is applied to the corresponding rows and columns of AA you get BB
    • undefined
    • distance matrix