Graph Theory

Graph Theory

Graph theory M1 - FIB Contents: 1. Graphs: basic concepts 2. Walks, connectivity and distance 3. Eulerian and Hamiltonian graphs 4. Trees Anna de Mier Montserrat Maureso Departament de Matem`atiques Translation: Oriol Ca˜no,Anna de Mier Chapter 1 Graphs: basic concepts 1. First definitions 2. Degrees 3. Graph isomorphism 4. Types of graphs 5. Subgraphs 1. First definitions A graph G is a pair (V , E) where V is a non-empty finite set and E is a set of unordered pairs of different elements of V , that is, E u, v : u, v V ⊆ {{ } ∈ } We call the elements of V , vertices the elements of E, edges the number of vertices, V , the order of G the number of edges, E| , the| size of G | | Let u, v V be vertices and a, e E be edges of G. We will say that: u and∈v are adjacent or neighbours∈ if u, v E, for short u v or uv E u and e are incident if e = u, w , for{ some} ∈w V ∼ ∈ e and a are incident if they{ have} a vertex in common∈ u has degree d(u) if the number of vertices adjacent to u is d(u), that is, d(u)=# v V u v { ∈ | ∼ } Observation: If n = V and m = E , then | | | | n(n 1) 0 m − and 0 d(v) n 1 for all v V ≤ ≤ 2 ≤ ≤ − ∈ Drawing of a graph G = (V , E) The vertices are represented by a dot and each edge by a curve joining the two dots corresponding to the vertices incident to that edge Adjacency list (or adjacency table) of a graph G = (V , E) Let v1, v2, ... , vn be the vertices of G. The adjacency list of G is a list of length n where position i contains the set of vertices adjacent to v , for all i [n] i ∈ Let G = (V , E) be a graph of order n and size m with V = v1, v2, ... , vn and E = a , a , ... , a { } { 1 2 m} The adjacency matrix of G is the matrix M = M (G) of type n n, such that A A × the entry mij in the i-th row and j-th column is 1, if vi vj mij = ∼ (0, otherwise – MA is binary, with zeros in the diagonal, and symmetric – The number of ones in the i-th row is the degree of vi – It is not unique, it depends on the ordering chosen for the set of vertices The incidence matrix of G is the matrix M = M (G) of type n m, such that I I × the entry bij in the i-th row and j-th column is 1, if vi and aj are incident bij = (0, otherwise – MI is binary. The number of ones in the i-th row is the degree of vi and in each column there are exactly two ones. It is not unique Variations on the definition of graph: . Multigraph: a graph that admits multiple edges, that is, there can be more than one edge joining two vertices . Pseudograph: a graph that admits multiple edges and loops (edges that join a vertex with itself) . Directed graph: a graph where the edges are oriented 2. Degrees Let G = (V , E) be a graph of order n and let v V be a vertex. Define the minimum degree of G, δ(G): the minimum∈ of the degrees the maximum degree of G, ∆(G): the maximum of the degrees the degree sequence of G: the sequence of the degrees in decreasing order a regular graph: a graph such that δ(G) = ∆(G), i.e., all the vertices have the same degree Observation: – All graphs of order 2 have at least two vertices with the same degree ≥ Handshaking lemma: 2 E = d(v) | | v V X∈ Corollary All graphs have an even number of vertices with odd degree A decreasing sequence of integers is graphical if there is some graph that has it as a degree sequence 3. Graph isomorphism Let G = (V , E) and G 0 = (V 0, E 0) be two graphs. We will say that . G and G 0 are equal, G = G 0, if V = V 0 and E = E 0 . G and G 0 are isomorphic, G ∼= G 0, if there is a bijective map f : V V 0, such that, for all u, v V , → ∈ u v f (u) f (v). ∼ ⇔ ∼ The map f is called an isomorphism from G to G 0 Remarks: – A vertex and its image by an isomorphism have the same degree – Two isomorphic graphs have the same size and order. The converse is false – Two isomorphic graphs have the same degree sequence. The converse is false – Being isomorphic is an equivalence relation 4. Types of graphs Let n be a positive integer and V = x , x , ... , x { 1 2 n} Null graph of order n, Nn: is a graph with order n and size 0 Trivial graph: N1 Complete graph of order n, Kn: is a graph of order n with all possible edges n(n 1) – Size of Kn = 2− Path of order n, P = (V , E): is a graph of order n and size n 1 with set of n − edges E = x1x2, x2x3, ... , xn 1xn { − } – δ(Pn) = 1 i ∆(Pn) = 2 Cycle of order n, n 3, C = (V , E), with n 3: is a graph of order n and ≥ n ≥ size n with set of edges E = x1x2, x2x3, ... , xn 1xn, xnx1 { − } – δ(Cn) = ∆(Cn) = 2 Wheel of order n, n 4, W = (V , E): is a graph of order n and size 2n 2 ≥ n − such that E = x1x2, x2x3, ... , xn 1x1 xnx1, xnx2, ... , xnxn 1 { − } ∪ { − } Let r and s be positive integers An r-regular graph is a regular graph where r is the degree of the vertices – The complete graph K is an (n 1)-regular graph n − – The cycle graph Cn is a 2-regular graph – If G = (V , E) is an r-regular graph, then 2 E = r V | | | | A bipartite graph is a graph G = (V , E) such that there are two non-empty subsets V1 and V2 of V such that V = V1 V2 and V1 V2 = , and for each edge uv E we have that u V and v ∪V , or vice versa.∩ ∅ ∈ ∈ 1 ∈ 2 We call V1 and V2 the stable parts of the graph – g(v) = g(v) = E | | v V v V X∈ 1 X∈ 2 The complete bipartite graph Kr,s = (V , E) is a bipartite graph with two stable parts V1 and V2 such that V1 = r and V2 = s and all the vertices of V1 are adjacent to all the vertices| of V| . I.e., E |= | uv u V , v V 2 { | ∈ 1 ∈ 2} – The order of Kr,s is r + s and the size is rs – The graph K1,s is called star graph 5. Subgraphs Let G = (V , E) be a graph Subgraph of G, G 0 = (V 0, E 0): a graph with V 0 V and E 0 E ⊆ ⊆ Spanning subgraph of G, G 0 = (V 0, E 0): a subgraph such that V 0 = V Subgraph induced by S V : the graph G[S]=( S, E 0) such that E 0 = uv E : u, v S ⊆ { ∈ ∈ } 5.1. Graphs derived from a graph Let G = (V , E) be a graph of order n and size m Complement of G, G c = (V c, E c): is the graph with set of vertices V c = V and set of edges E c = uv u, v V and uv E { | ∈ 6∈ } – Order of G c = Order of G c n(n 1) – Size of G = 2− E c − | | –(G c) = G – Let H be a graph. Then G = H G c = Hc ∼ ⇔ ∼ c The graph G is self-complementary if G ∼= G For S V , the graph G S obtained by deleting the vertices from S is the graph with⊂ set of vertices V− S and whose edges are those that are not incident to any of the vertices of S.\ In the case that S = v , we denote it by G v { } − – Order of (G u) = n 1. Size of (G u) = m d(u) − − − − For S E, the graph G S obtained by deleting the edges from S is the graph with set⊂ of vertices V and− set of edges E S. In the case that S = e , we denote it by G e \ { } − – Order of (G e) = n. Size of (G e) = m 1 − − − The graph G + e obtained by adding an edge e E is the graph with set of ∈ vertices V and set of edges E 0 = E e ∪ { } – Order of (G + e) = n. Size of (G + e) = m + 1 5.2. Operations with graphs Let G = (V , E) and G 0 = (V 0, E 0) be two graphs Union of G and G 0, G G 0: graph with set of vertices V V 0 and set of edges ∪ ∪ E E 0 ∪ – If V V 0 = , the order of G G 0 is V + V 0 and the size is E + E 0 ∩ ∅ ∪ | | | | | | | | Product of G and G 0, G G 0: graph with set of vertices V V 0 and adjacencies given by × × (u, u0) (v, v 0) (uv E and u0 = v 0) or (u = v andu0v 0 E 0) ∼ ⇔ ∈ ∈ – The order of G G 0 is V V 0 and the size is V E 0 + V 0 E × | | | | | | | | | | | | Chapter 2 Walks, connectivity and distance 1.

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    39 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us