Network Topology and Graph

Similar documents
Chapter 3: Paths and Cycles

Fundamental Properties of Graphs

Lecture 5: Graphs. Rajat Mittal. IIT Kanpur

Math 776 Graph Theory Lecture Note 1 Basic concepts

Graph Theory S 1 I 2 I 1 S 2 I 1 I 2

Varying Applications (examples)

1. a graph G = (V (G), E(G)) consists of a set V (G) of vertices, and a set E(G) of edges (edges are pairs of elements of V (G))

Math 778S Spectral Graph Theory Handout #2: Basic graph theory

8.2 Paths and Cycles

WUCT121. Discrete Mathematics. Graphs

SCHOOL OF ENGINEERING & BUILT ENVIRONMENT. Mathematics. An Introduction to Graph Theory

Graph Theory. 1 Introduction to Graphs. Martin Stynes Department of Mathematics, UCC January 26, 2011

Introduction to Graphs

How can we lay cable at minimum cost to make every telephone reachable from every other? What is the fastest route between two given cities?

Chapter 11: Graphs and Trees. March 23, 2008

Graph Theory CS/Math231 Discrete Mathematics Spring2015

1 Digraphs. Definition 1

GRAPHS, GRAPH MODELS, GRAPH TERMINOLOGY, AND SPECIAL TYPES OF GRAPHS

Euler and Hamilton paths. Jorge A. Cobb The University of Texas at Dallas

Theory of Computing. Lecture 10 MAS 714 Hartmut Klauck

Discrete mathematics

Discrete Mathematics and Probability Theory Fall 2013 Vazirani Note 7

CS6702 GRAPH THEORY AND APPLICATIONS 2 MARKS QUESTIONS AND ANSWERS

Math Summer 2012

Module 2: NETWORKS AND DECISION MATHEMATICS

Further Mathematics 2016 Module 2: NETWORKS AND DECISION MATHEMATICS Chapter 9 Undirected Graphs and Networks

Chapter 8 Topics in Graph Theory

Characterizing Graphs (3) Characterizing Graphs (1) Characterizing Graphs (2) Characterizing Graphs (4)

Characterization of Graphs with Eulerian Circuits

INTRODUCTION TO GRAPH THEORY. 1. Definitions

Paths. Path is a sequence of edges that begins at a vertex of a graph and travels from vertex to vertex along edges of the graph.

2. CONNECTIVITY Connectivity

The University of Sydney MATH2969/2069. Graph Theory Tutorial 2 (Week 9) 2008

Chapter 14 Section 3 - Slide 1

Introduction III. Graphs. Motivations I. Introduction IV

CS 311 Discrete Math for Computer Science Dr. William C. Bulko. Graphs

Graphs. Pseudograph: multiple edges and loops allowed

DS UNIT 4. Matoshri College of Engineering and Research Center Nasik Department of Computer Engineering Discrete Structutre UNIT - IV

11.2 Eulerian Trails

CHAPTER 10 GRAPHS AND TREES. Alessandro Artale UniBZ - artale/z

Introduction to Engineering Systems, ESD.00. Networks. Lecturers: Professor Joseph Sussman Dr. Afreen Siddiqi TA: Regina Clewlow

Chapter 2: Graph Theory

An Introduction to Graph Theory

0.0.1 Network Analysis

Definition For vertices u, v V (G), the distance from u to v, denoted d(u, v), in G is the length of a shortest u, v-path. 1

GRAPH THEORY: AN INTRODUCTION

Graph and Digraph Glossary

Ma/CS 6a Class 8: Eulerian Cycles

Grades 7 & 8, Math Circles 31 October/1/2 November, Graph Theory

Assignments are handed in on Tuesdays in even weeks. Deadlines are:

Adjacent: Two distinct vertices u, v are adjacent if there is an edge with ends u, v. In this case we let uv denote such an edge.

3 Euler Tours, Hamilton Cycles, and Their Applications

Math 170- Graph Theory Notes

Paths, Circuits, and Connected Graphs

Classic Graph Theory Problems

Graph Theory. Connectivity, Coloring, Matching. Arjun Suresh 1. 1 GATE Overflow

MAS 341: GRAPH THEORY 2016 EXAM SOLUTIONS

Graph (1A) Young Won Lim 4/19/18

Graph Overview (1A) Young Won Lim 5/9/18

Section Graphs, Paths, and Circuits. Copyright 2013, 2010, 2007, Pearson, Education, Inc.

Introduction to Graphs

Sarah Will Math 490 December 2, 2009

PACKING DIGRAPHS WITH DIRECTED CLOSED TRAILS

6.2. Paths and Cycles

Assignment 1 Introduction to Graph Theory CO342

Assignment 4 Solutions of graph problems

Mathematics and Statistics, Part A: Graph Theory Problem Sheet 1, lectures 1-4

Chapter 5: Euler Paths and Circuits The Mathematics of Getting Around

A graph is finite if its vertex set and edge set are finite. We call a graph with just one vertex trivial and all other graphs nontrivial.

Lecture 3: Recap. Administrivia. Graph theory: Historical Motivation. COMP9020 Lecture 4 Session 2, 2017 Graphs and Trees

Elements of Graph Theory

v V Question: How many edges are there in a graph with 10 vertices each of degree 6?

Topics Covered. Introduction to Graphs Euler s Theorem Hamiltonian Circuits The Traveling Salesman Problem Trees and Kruskal s Algorithm

Chapter 2 Graphs. 2.1 Definition of Graphs

Discrete Mathematics

Chapter 5: Euler Paths and Circuits The Mathematics of Getting Around

Modules. 6 Hamilton Graphs (4-8 lectures) Introduction Necessary conditions and sufficient conditions Exercises...

GRAPH THEORY AND LOGISTICS

Lecture 3: Graphs and flows

CS473-Algorithms I. Lecture 13-A. Graphs. Cevdet Aykanat - Bilkent University Computer Engineering Department

Algorithms. Graphs. Algorithms

Topic 10 Part 2 [474 marks]

Fundamentals of Graph Theory MATH Fundamentals of Graph Theory. Benjamin V.C. Collins, James A. Swenson MATH 2730

Section Graphs, Paths, and Circuits. Copyright 2013, 2010, 2007, Pearson, Education, Inc.

Discrete mathematics II. - Graphs

Brief History. Graph Theory. What is a graph? Types of graphs Directed graph: a graph that has edges with specific directions

Basic Combinatorics. Math 40210, Section 01 Fall Homework 4 Solutions

Section 3.4 Basic Results of Graph Theory

Exercise set 2 Solutions

Module 11. Directed Graphs. Contents

Crossing bridges. Crossing bridges Great Ideas in Theoretical Computer Science. Lecture 12: Graphs I: The Basics. Königsberg (Prussia)

Instant Insanity Instructor s Guide Make-it and Take-it Kit for AMTNYS 2006

Math/Stat 2300 Modeling using Graph Theory (March 23/25) from text A First Course in Mathematical Modeling, Giordano, Fox, Horton, Weir, 2009.

Number Theory and Graph Theory

Algorithms: Graphs. Amotz Bar-Noy. Spring 2012 CUNY. Amotz Bar-Noy (CUNY) Graphs Spring / 95

BHARATHIDASAN ENGINEERING COLLEGE NATTARAMPALLI Department of Science and Humanities CS6702-GRAPH THEORY AND APPLICATION

Graphs: Definitions Trails, Paths, and Circuits Matrix Representations Isomorphisms. 11. Graphs and Trees 1. Aaron Tan. 30 October 3 November 2017

Packet #6: Counting & Graph Theory. Applied Discrete Mathematics

Definition 1.1. A matching M in a graph G is called maximal if there is no matching M in G so that M M.

11.4 Bipartite Multigraphs

Transcription:

Network Topology Network Topology and Graph EEE442 Computer Method in Power System Analysis Any lumped network obeys 3 basic laws KVL KCL linear algebraic constraints Ohm s law Anawach Sangswang Dept. of Electrical Engineering KMUTT 2 Graph Theory What is a graph? Complete descriptions Representation by points and lines Relationships between points Another way of depicting situations It tells us Is there a direct road from one intersection to another How the electrical network is wired up Which football teams have played which Note: Intersection between PS and QT is not a vertex 3 4

Definitions Definitions P, Q, R, S, and T are called vertices Lines are called edges The whole diagram is called a graph Degree of a vertex is the number of edges with that vertex as an end-point This is the same graph as the previous one Two graphs are the same if two vertices are joined by an edge in one graph iff the corresponding vertices are joined by an edge in the other Here straightness and length are not in our concerns 5 6 Definitions Definitions Suppose the roads joining Q-S and S-T have too much traffic Build extra roads joining them and a car park at P Q-S or S-T are called multiple edges An edge from P to itself is called a loop Graphs with no loops or multiple edges are called simple graphs 7 8

Directed Graph Making the roads into one-way streets Isomorphism Isomorphism G1 and G2 are isomorphic if there is a one-one correspondence between the vertices of G1 and G2 such that the number of edges joining any two vertices of G1 is the same as those of G2 G1 G2 Indicated by arrows What has happened at T?? 9 10 Isomorphism: Counting Labeled graphs Adjacency and Incidence Two vertices, v and w, are adjacent if there is an edge v-w joining them The vertices, v and w, are incident with such an edge Unlabeled graphs Two distinct edges e and f are adjacent if they have a vertex in common 11 12

Degree Isolated vertex: a vertex of degree 0 End vertex: a vertex of degree 1 Subgraph A subgraph of a graph G is a graph where each vertex belongs to G and each edge also belongs to G Handshaking lemma: In every graph, the sum of all vertex-degrees is an even number the number of vertices of odd degree is even 13 14 Subgraph Obtaining subgraph Problem Place the letters A, B,C, D, E, F, G, H into the eight circles in the figure below in such a way that no letter is adjacent to a letter that is next to it in the alphabet Deleting {e} Deleting {v} Hint: trying all the possibilities is not a good idea! 15 16

Problem A possible solution Connectivity and A walk is a way of getting from one vertex to another Walk: a finite sequence of edges/vertices in which any 2 consecutive edges/vertices are adjacent v w x y z z y w is a walk of length 7 from v to w 17 18 Connectivity Trail: A walk in which all the edges are distinct Path: A walk in which all the vertices are distinct (except v 0 = v m ) Closed path/trail: same beginning and end vertices (v 0 = v m ) Cycle: A closed path with at least 1 edge v w x y z z x = trail v w x y z = path v w x y z x v = closed trail v w x y v = cycle Connectivity A graph is connected if and only if there is a path between each pair of vertices 19 20

Connectivity A disconnecting set in a connected graph G is a set of edges whose removal disconnects G Connectivity Cutset: A set of branch of a connected graph G whose removal of the set of branches results in a disconnected graph After the removal of the set of branches, the restoration of any one branch from the set results in a connected graph If a cutset has only 1 edge e, we call e a bridge { e, e, e} 1 2 5 { e, e, e, e} 3 6 7 8 21 22 Connectivity Edge connectivity: λ(g) The size of the smallest cutset in G G is k-edge connected if λ(g) k Separating set: a connected graph G is a set of vertices whose deletion disconnects G Connectivity: κ(g) The size of the smallest separating set in G G is k-connected if κ(g) k Tree A graph G is called a tree G is connected G contains all nodes G has no loop (or cycle) { e, e, e, e} 1 5 6 3 { e, e, e, e, e} 1 2 5 7 8 { e, e, e, e, e} 2 4 7 6 3 23 24

Tree: Spanning Tree Given any connected graph G, spanning tree is a tree that connects all the vertices of G Obtaining a spanning tree Choose a cycle and remove any one of its edges and the resulting graph remains connected Keep doing this until there are no cycles left Tree Adding any edge of G not contained in T to obtain a unique cycle The set of all cycles formed this way is the fundamental set of cycles of G 25 26 Electrical Networks Want to find the current in each wire KVL VYXV VWYV VWYXV i1r 1+ i2r2 = E i R + i R i R = 3 3 4 4 2 2 0 i R + i R + i R = E 1 1 3 3 4 4 Similarly, cycles VWYV, WZYW VWZYV Need to get rid of redundancy Redundant Electrical Networks Using a fundamental set of cycles KVL VYXV, VYZV, VWZV, VYWZV, KCL Vertex X, Vertex V, Vertex W, Vertex Z, i1r 1+ i2r2 = E i R + i R + i R = 2 2 5 5 6 6 0 3 3+ 5 5+ 7 7 = 0 i R i R i R i R i R + i R + i R = 2 2 4 4 5 5 7 7 0 i0 i1 = 0 i1 i2 i3+ i5 = 0 i3 i4 i7 = 0 i5 i6 i7 = 0 27 28

Matrix Representation Adjacency matrix A is an nxn matrix whose ij-th entry is the number of edges joining vertex i and vertex j Incidence matrix M is an nxm matrix whose ij-th entry is 1 if vertex i is incident to edge j Incidence Matrix: Directed Graph For a directed graph G with n nodes and b branches, the incidence matrix A= a ij a ij n b where = 1 if branch j is incident at node i, and the arrow is pointing away from node i = -1 if branch j is incident at node i, and the arrow is pointing toward node i = 0 if branch j is not incident at node i 29 30 Example Example KCL 1 2 3 4 5 6 1 1 0 0 1 1 0 2 0 1 0 0 1 1 3 0 0 1 1 0 1 i1 i 2 1 0 0 1 1 0 0 i3 0 1 0 0 1 1 0 = i 4 0 0 1 1 0 1 0 i 5 i 6 KVL 1 0 0 v1 0 1 0 v 0 0 1 1 0 1 1 1 0 0 1 1 v 2 v1 v3 v = 2 v 4 v 3 v5 6 31 32

Eulerian graphs G is Eulerian if there exists a closed trail containing every edge of G A non-eulerian graph G is semi-eulerian if there exists a trail containing every edge of G Theorems Euler 1736: A connected graph G is Eulerian iff the degree of each vertex of G is even Corollary 1: A connected graph is Eulerian iff its set of edges can be split up into disjoint cycles Corollary 2: A connected graph is semi-eulerian iff it has exactly two vertices of odd degree Lemma: If G is a graph in which the degree of each vertex is at least 2, then G contains a cycle 33 34 Konigsberg bridges problem Can you cross each of the seven bridges shown below exactly once and return to your starting point? Konigsberg bridges problem 35 36

Travelling Salesman Problem A travelling salesman wishes to visit every city and return to his starting point The shortest path problem Find the shortest path from A to L 37 38