Elementary Graph Theory & Matrix Algebra

Size: px
Start display at page:

Download "Elementary Graph Theory & Matrix Algebra"

Transcription

1 Slide 1 Elementary Graph Theory & Matrix Algebra 2008 LINKS Center Summer SNA Workshops Steve Borgatti, Rich DeJordy, & Dan Halgin

2 Slide 2 Introduction In social network analysis, we draw on three major areas of mathematics regularly: Relations Branch of math that deals with mappings between sets, such as objects to real numbers (measurement) or people to people (social relations) Matrix Algebra Tables of numbers Operations on matrices enable us to draw conclusions we couldn t just intuit Graph Theory Branch of discrete math that deals with collections of ties among nodes and gives us concepts like paths

3 Slide 3 Binary Relations The Cartesian product S1 S2 of two sets is the set of all possible ordered pairs (u,v) in which u S1 and v S2 Given sets S1 and S2, a binary relation R is a subset of their Cartesian product S1 Note: S1 and S2 could be the same set S2

4 Slide 4 Relational Terminology To indicate that u is R-related to v or u is mapped to v by the relation R, we write (u,v) R, or urv Example: If R is likes, then urv says u likes v (jim,jane) R says jim likes jane

5 Slide 5 Properties A relation is reflexive if for all u, (u,u) R E.g., suppose R is is in the same room as u is always in the same room as u, so the relation is reflexive A relation is symmetric if for all u and v, urv implies vru If u is in the same room as v, then it always true that v is in the same room as u. So the relation is symmetric A relation is transitive if for all u,v,w, urv together with vrw implies urw If u is in the same room as v, and v is in the same room as u, then u is necessarily in the same room as w So the relation is transitive A relation is an equivalence if it is reflexive, symmetric and transitive Equivalence relations give rise to partitions and vice-versa A partition of a set S is an exhaustive set of mutually exclusive classes such at each member of S belongs to one and only one class

6 Slide 6 Operations The converse or inverse of a relation R is denoted R -1. For all u and v, (u,v) R -1 if and only if (v,u) R The converse effectively reverses the direction of the mapping Example If R is represents gives advice to, then urv means u gives advice to v, and ur -1 v indicates that v gives advice to u If R is symmetric, then R = R -1 Important note: In the world of matrices, the relational converse corresponds to the matrix concept of a transpose, denoted X or X T, and not to the matrix inverse, denoted X -1. The -1 superscript and the term inverse are unfortunate false cognates.

7 Slide 7 Relational Composition If F and E are binary relations, then their composition F E is a new relation such that (u,v) F E if there exists w such that (u,w) F and (w,v) E. i.e., u is F E-related to v if there exists an intermediary w such that u is F-related to w and w is E-related to v Example: Suppose F and E are friend of & enemy of, respectively u F E v means that u has a friend who is the enemy of v Equally, v is the enemy of a friend of u

8 Slide 8 More Relational Composition Assume F is likes and E is dislikes u F F v means u likes someone who likes v (loosely, v is a friend of a friend of u) (u,v) E E means u dislikes someone who dislikes v (loosely, v is an enemy of an enemy) u E F v means u dislikes someone who likes v (loosely, v is friend of an enemy of u)

9 Slide 9 More Relational Composition Given these relations A (authored). Relates persons documents P (published in). Relates docs journals K (has keyword). Relates docs keywords Compositions AA -1. if (i,j) AA -1, then i authors a documents that is authored by j. i.e., i and j are coauthors AP. Person i authored a document that is published in journal j. so i has published in journal j AK. Person i authored a doc that has keyword j. So, i writes about topic j AKK -1 A -1. person i authored a document that has a keyword that is in a document that was authored by j. In other words, i and j write about the same topics AKK -1 A -1 AP. person i authored a document that has a keyword that is in a document that was authored by someone who has published in journal j. I.e., i has written about a topic that has appeared in journal j

10 Slide 10 Relational Equations F= F F means that ufv if and only if uf Fv Friends of friends are friends, and vice versa F=E E means that ufv if and only if ue Ev Enemies of enemies are friends, and vice-versa E=F E=E F means that uev if and only if uf Ev and ue Fv Both enemies of friends and friends of enemies are enemies, and vice-versa

11 Slide 11 Matrix Algebra In this section, we will cover: Matrix Concepts, Notation & Terminologies Adjacency Matrices Transposes Aggregations & Vectors Matrix Operations Boolean Algebra (and relational composition)

12 Slide 12 Matrices Symbolized by a capital letter, like A Each cell in the matrix identified by row and column subscripts: a ij First subscript is row, second is column Age Gender Income Mary ,000 Bill ,000 John Larry ,000 a 12 = 1 a 43 = 8000 A

13 Slide 13 Vectors Each row and each column in a matrix is a vector Vertical vectors are column vectors, horizontal are row vectors Denoted by lowercase bold letter: y Each cell in the vector identified by subscript x i X Y Z y 3 = 2.1 z 2 = 45,000 Mary ,000 Bill ,000 John Larry ,000

14 Slide 14 Ways and Modes Ways are the dimensions of a matrix. Modes are the sets of entities indexed by the ways of a matrix Event Event Event Event EVELYN LAURA THERESA BRENDA CHARLO FRANCES ELEANOR PEARL RUTH VERNE MYRNA way, 2-mode Mary Bill John Larry Mary Bill John Larry way, 1-mode

15 Slide 15 Examples of 1-mode and 2-mode 1-mode matrices Item by item proximity matrices Correlation matrices Distance matrices Social proximity / strength of tie 2-mode matrices Profile matrices Individuals scores on a set of personality scales Participation in events; membership in groups

16 Slide 16 Proximity Matrices Proximity Matrices record degree of proximity. Proximities are usually among a single set of actor (hence, they are 1-mode), but they are not limited to 1s and 0s in the data. What constitutes the proximity is user-defined. Driving distances are one form of proximities, other forms might be number of friends in common, time spent together, number of s exchanged, or a measure of similarity in cognitive structures. Proximity matrices can contain either similarity or distance (or dissimilarity) data. Similarity data, such as number of friends in common or correlations, means a larger number represents more similarity or greater proximity Distance (or dissimilarity data) such as physical distance means a larger number represents more dissimilarity or less proximity

17 Slide 17 Profiles Typically, we use profiles to refer to the patterns of responses across a row of a matrix, generally a 2-mode matrix. We might then compare profiles across the rows to see which rows have the most similar or dissimilar 8 profiles. 7 We can also conceive of this 6 down the columns, as well. 5 In fact, when we correlate 4 variables in traditional OLS, we are actually comparing the 3 profiles of each pair of variables 2 across the respondents. 1 0 ID A B C D E A B C D E

18 Slide 18 Aggregations and Operations Unary (Intra-Matrix) Operations Row sums/marginals Column sums/marginals Matrix Sums Transpose Normalizations Dichotomization Symmetrizing Cellwise Binary (Inter-Matrix) Operations Sum Cellwise multiplication Boolean Operations Special Binary (Inter-Matrix) Operations Cross Product (Matrix Multiplication)

19 Slide 19 Summations Row sums r i x ij j Column sums c j x ij i Matrix sums m x ij i, j Row Mary Bill John Larry Marginals Mary Bill John Larry Column Marginals

20 Slide 20 Normalizing Converting to proportions Rows Columns x * ij xij ri x * ij xij c Row Mary Bill John Larry Sums Mary Bill John Larry j where r i gives the sum of row i Row Mary Bill John Larry sums Mary Bill John Larry Column Marginals Column Marginals

21 Slide 21 Normalizing Converting to z-scores (standardizing) Columns x u x * ij j where u j gives the mean of ij column j, and j j is the std deviation of column j Var 1 Var 2 Var 3 Var 4 Var 1 Var 2 Var 3 Var 4 Mary Mary Bill Bill John John Larry Larry Mean Mean Std Dev Std Dev

22 Slide 22 Transposes The transpose of a matrix is the matrix flipped on its side. The rows become columns and the columns become rows So the transpose of an m by n matrix is an n by m matrix. Here is the matrix presented on the last side, and its transpose The transpose of matrix M is indicated by M or M T A B C D E Matrix M A B C D E Its Transpose, M

23 Slide 23 Transpose (Another Example) Given Matrix M, swap the rows and columns to make Matrix M T M Tennis Football Rugby Golf Mike Ron Pat Bill Joe Rich Peg M T Mike Ron Pat Bill Joe Rich Peg Tennis Football Rugby Golf

24 Slide 24 Dichotomizing X is a valued matrix, say 1 to 10 rating of strength of tie Construct a matrix Y of ones and zeros so that y ij = 1 if x ij > 5, and y ij = 0 otherwise EVE LAU THE BRE CHA EVELYN LAURA THERESA BRENDA CHARLOTTE X EVE LAU THE BRE CHA EVELYN LAURA THERESA BRENDA CHARLOTTE Y x ij > 5

25 Slide 25 Symmetrizing When matrix is not symmetric, i.e., x ij x ji Symmetrize various ways. Set y ij and y ji to: Maximum(x ij, x ji ) {union rule} Minimum (x ij, x ji ) {intersection rule} Average: (x ij + x ji )/2 Lowerhalf: choose x ij when i > j and x ji otherwise etc

26 Slide 26 Symmetrizing Example X is non-symmetric (and happens to be valued) Construct matrix Y such that y ij (and y ji ) = maximum of x ij and x ji X ROM BON AMB BER PET LOU ROMUL_ BONAVEN_ AMBROSE_ BERTH_ PETER_ LOUIS_ ROM BON AMB BER PET LOU ROMUL_ BONAVEN_ AMBROSE_ BERTH_ PETER_ LOUIS_ Symmetrized by Maximum

27 Slide 27 Cellwise Binary Operators Sum (Addition) C = A + B where c ij = a ij + b ij Cellwise (Element) Multiplication C = A * B where c ij = a ij * b ij Boolean operations C = A B (Logical And) where c ij = a ij b ij C = A B (Logical Or) where c ij = a ij b ij

28 Slide 28 Matrix Multiplication Notation: Definition: Example: c ij C = AB k a ik b kj Note: matrix products are not generally commutative. i.e., AB does not usually equal BA Mary Bill John Larry Mary Bill John Larry Mary Bill John Larry Mary Mary Mary Bill Bill Bill John John John Larry Larry Larry A B C=AB

29 Slide 29 Matrix Multiplication C = AB or C = A x B Only possible when the number of columns in A is the same as the number of rows in B, as in m A k and kb n These are said to be conformable Produces m C n It is calculated as: c ij = a ik * b kj for all k

30 Slide 30 A Matrix Product Example Skills Math Verbal Analytic Kev Jeff Lisa Kim Given a Skills and Items matrix calculate the affinity that each person has for each question Kev for Question 1 is: = 1.00 * * *.40 = = Lisa for Question 3 is: =.75 * * *.1 = = Items Q1 Q2 Q3 Q4 Math Verbal Analytic Affin Q1 Q2 Q3 Q4 Kev Jeff Lisa Kim

31 Slide 31 Matrix Inverse and Identity The inverse of a matrix X is a Matrix X -1 such that XX -1 = I, where I is the identity matrix Inverse matrices can be very useful for solving matrix equations that underlie some network algorithms X X -1 = I Note: (XX -1 = X -1 X = I) Non square matrices do not have an inverse*

32 Slide 32 Boolean matrix multiplication Values can be 0 or 1 for all matrices Products are dichotomized to conform: Would have been a 2 in regular matrix multiplication Mary Bill John Larry Mary Bill John Larry Mary Bill John Larry Mary Mary Mary Bill Bill Bill John John John Larry Larry Larry A B AB

33 Slide 33 Relational Composition If we represent binary relations as binary adjacency matrices, boolean matrix products correspond to relational composition F E corresponds to FE Likes Has conflicts with Likes someone who has conflicts with Mary Bill John Larry Mary Bill John Larry Mary Bill John Larry Mary Mary Mary Bill Bill Bill John John John Larry Larry Larry F E FE

34 Slide 34 Products of matrices & their transposes X X = pre-multiplying X by its transpose ( X ' X ) ij akibkj k Computes sums of products of each pair of columns (cross-products) The basis for most similarity measures Mary Bill John Larry

35 Slide 35 Products of matrices & their transposes XX = product of matrix X by its transpose ( XX ') ij aikb jk k Computes sums of products of each pair of rows (cross-products) Similarities among rows Mary Bill John Larry Mary Bill John Larry Mary Bill John Larry

36 Slide 36 E1 E2 E3 E4 E5 E6 E7 E8 E9 E10 E11 E12 E13 E14 EVELYN LAURA THERESA BRENDA CHARLOTTE FRANCES ELEANOR PEARL RUTH VERNE MYRNA KATHERINE SYLVIA NORA HELEN DOROTHY OLIVIA FLORA Multiplying a matrix by its transpose EV LA TH BR CH FR EL PE RU VE MY KA SY NO HE DO OL FL E E E E E E E E E E E E E E EVE LAU THE BRE CHA FRA ELE PEA RUT VER MYR KAT SYL NOR HEL DOR OLI FLO EVELYN LAURA THERESA BRENDA CHARLOTTE FRANCES ELEANOR PEARL RUTH VERNE MYRNA KATHERINE SYLVIA NORA HELEN DOROTHY OLIVIA FLORA

37 Slide 37 Graph Theoretic Concepts In this section we will cover: Definitions Reachability/Connectedness Terminology Connectivity, flows Adjacency Isolates, Pendants, Centers Density concepts Components, bi-components E.g, Completeness Walk Lengths, distance Walks, trails, paths Geodesic distance Cycles, Trees Independent paths Cutpoints, bridges

38 Slide 38 Undirected Graphs An undirected graph G(V,E) (often referred to simply as a graph) consists of Set of nodes vertices V representing actors Set of lines links edges E representing ties among pairs of actors An edge is an unordered pair of nodes (u,v) Nodes u and v adjacent if (u,v) E So E is subset of set of all pairs of nodes Drawn without arrow heads Sometimes with dual arrow heads Used to represent logically symmetric social relations In communication with; attending same meeting as

39 Slide 39 Graphical representation of a graph

40 Slide 40 Adjacency matrix of a graph HOLLY BRAZEY CAROL PAM PAT JENNIE PAULINE ANN MICHAEL BILL LEE DON JOHN HARRY GERY STEVE BERT RUSS

41 Slide 41 Directed vs. Undirected Ties Undirected relations Attended meeting with Communicates daily with Directed relations Lent money to Logically vs empirically directed ties Empirically, even undirected relations can Bob be non-symmetric due to measurement error Biff Bonnie Betty Betsy

42 Slide 42 Directed Graphs (Digraphs) Digraph G(V,E) consists of Set of nodes V Set of directed arcs E An arc is an ordered pair of nodes (u,v) (u,v) E indicates u sends arc to v (u,v) E does not imply that (v,u) E Ties drawn with arrow heads, which can be in both directions Represent logically non-symmetric or anti-symmetric social relations Lends money to

43 Slide 43 Transpose Adjacency matrix Interchanging rows/columns of adjacency matrix effectively reverses the direction of ties Mary Bill John Larry Mary Bill John Larry Mary Mary Bill Bill John John Larry Larry Gives money to Gets money from mary bill mary bill larry john larry john

44 Slide 44 Valued Digraphs (vigraphs) A valued digraph G(V,E,W) consists of Set of nodes V Set of directed arcs E An arc is an ordered pair of nodes (u,v) (u,v) E indicates u sends arc to v (u,v) E does not imply that (v,u) E Mapping W of arcs to real values Values can represent such things as Strength of relationship Information capacity of tie Rates of flow or traffic across tie Distances between nodes Probabilities of passing on information Frequency of interaction

45 Slide 45 Valued Adjacency Matrix Dichotomized Jim Jill Jen Joe Jim Jill Jen Joe Distances btw offices Jim Jill Jen Joe Jim Jill Jen Joe The diagram below uses solid lines to represent the adjacency matrix, while the numbers along the solid line (and dotted lines where necessary) represent the proximity matrix. In this particular case, one can derive the adjacency matrix by dichotomizing the proximity matrix on a condition of p ij <= 3. Jen Jill 9 Joe 3 2 Jim

46 Slide 46 Used to represent 2-mode data Nodes can be partitioned into two sets (corresponding to modes) Ties occur only between sets, not within Bipartite graphs

47 Slide 47 LEE BERT BRAZEY RUSS Node-related concepts STEVE JOHN GERY PAULINE ANN CAROL EVANDER MICHAEL HARRY PAM PAT JENNIE HOLLY BILL DON Degree The number of ties incident upon a node In a digraph, we have indegree (number of arcs to a node) and outdegree (number of arcs from a node) Pendant A node connected to a component through only one edge or arc A node with degree 1 Example: John Isolate A node which is a component on its own E.g., Evander

48 Slide 48 Density and Completeness A graph is complete if all possible edges are present. The density of a graph is the number of edges present divided by the number that could have been BERT BRAZEY STEVE LEE GERY RUSS

49 Slide 49 Density Number of ties, expressed as percentage of the number of ordered/unordered pairs Low Density (25%) Avg. Dist. = 2.27 High Density (39%) Avg. Dist. = 1.76

50 Slide 50 Density Number of ties divided by number possible Undirected Directed Ties to Self Allowed T 2 n / 2 T 2 n No ties to self T n( n 1) / 2 T n( n 1) T = number of ties in network n = number of nodes

51 Slide 51 Graph traversals Walk Any unrestricted traversing of vertices across edges (Russ-Steve-Bert-Lee-Steve) BERT Trail A walk restricted by not repeating an edge or arc, although vertices can be revisited (Steve-Bert-Lee-Steve-Russ) Path A trail restricted by not revisiting any vertex (Steve- Lee-Bert-Russ) Geodesic Path The shortest path(s) between two vertices (Steve- Russ-John is shortest path from Steve to John) Cycle A cycle is in all ways just like a path except that it ends where it begins Aside from endpoints, cycles do not repeat nodes E.g. Brazey-Lee-Bert-Steve-Brazey LEE BRAZEY RUSS STEVE JOHN PAULINE ANN GERY CAROL PAM MICHAEL PAT JENNIE HOLLY BILL HARRY DON

52 Slide 52 Length & Distance Length of a path (or any walk) is the number of links it has The Geodesic Distance (aka graph-theoretic distance) between two nodes is the length of the shortest path Distance from 5 to 8 is 2, because the shortest path (5-1-8) has two links

53 Slide 53 Geodesic Distance Matrix a b c d e f g a b c d e f g

54 Slide 54 Powers of the adjacency matrix If you multiply an adjacency matrix X by itself, you get XX or X 2 A given cell x 2 ij gives the number of walks from node i to node j of length 2 More generally, the cells of X k give the number of walks of length exactly k from each node to each other

55 Slide 55 Matrix powers example Note that shortest path from 1 to 5 is three links, so x 1,5 = 0 until we get to X X X 2 X 3 X 4

56 Slide 56 Subgraphs Set of nodes Is just a set of nodes A subgraph Is set of nodes together with ties among them An induced subgraph Subgraph defined by a set of nodes Like pulling the nodes and ties out of the original graph a a b f b c e c d d f e Subgraph induced by considering the set {a,b,c,f,e}

57 Slide 57 Components Maximal sets of nodes in which every node can reach every other by some path (no matter how long) A graph is connected if it has just one component It is relations (types of tie) that define different networks, not components. A network that has two components remains one (disconnected) network.

58 Slide 58 Components in Directed Graphs Strong component There is a directed path from each member of the component to every other Weak component There is an undirected path (a weak path) from every member of the component to every other Is like ignoring the direction of ties driving the wrong way if you have to

59 Slide 59 A network with 4 weak components Who you go to so that you can say I ran it by, and she says... Recent acquisition Older acquisitions Original company Data drawn from Cross, Borgatti & Parker 2001.

60 Slide 60 Strong components BILL HARRY DON MICHAEL HOLLY LEE BRAZEY STEVE GERY CAROL PAT PAM JENNIE RUSS BERT JOHN PAULINE ANN

61 Slide 61 A tree is a connected graph that contains no cycles In a tree, there is exactly one path from any node to any other Trees

62 Slide 62 Cutpoints and Bridges Cutpoint A node which, if deleted, would b increase the number of d components a Bridge A tie that, if removed, would increase the number of components e c f If a tie is a bridge, at least one of its endpoints must be a cutpoint g r h i n p j o m k l q s

63 Slide 63 Local Bridge of Degree K A tie that connects nodes that would otherwise be at least k steps apart A B

64 Slide 64 Cutsets Vertex cut sets (aka cutsets) A set of vertices S = {u,v, } of minimal size whose removal would increase the number of components in the graph Edge cut sets A set of edges S = {(u,v),(s,t) } of minimal size whose removal would increase the number of components in the graph

65 Slide 65 Independent Paths A set of paths is node-independent if they share no nodes (except beginning and end) They are line-independent if they share no lines S T 2 node-independent paths from S to T 3 line-independent paths from S to T

66 Slide 66 Connectivity Node connectivity κ(s,t) is minimum number of nodes that must be removed to disconnect s from t Line connectivity (s,t) is the minimum number of lines that must be removed to disconnect s from t S T

67 Slide 67 Bi-Components (Blocks) A bicomponent is a maximal subgraph such that every node can reach every other by at least two node-independent paths Bicomponents contain no cutpoints There are four bicomponents in this graph: { }, {6 15}, {15 7}, and { }

68 Slide 68 Menger s Theorem Menger proved that the number of line independent paths between s and t equals the line connectivity (s,t) And the number of node-independent paths between s and t equals the node connectivity κ(u,v)

69 Slide 69 Maximum Flow If ties are pipes with capacity of 1 unit of flow, what is the maximum # of units that can flow from s to t? Ford & Fulkerson show this was equal to the number of line-independent paths S T

Mathematical Foundations of Social Network Analysis

Mathematical Foundations of Social Network Analysis Mathematical Foundations of Social Network Analysis Steve Borgatti Revised Jan 2008 for MGT 780 Three Representations Network/relational data typically represented in one of three ways Graphs Graphs vs

More information

Cohesive Subgroups. October 4, Based on slides by Steve Borgatti. Modifications (many sensible) by Rich DeJordy

Cohesive Subgroups. October 4, Based on slides by Steve Borgatti. Modifications (many sensible) by Rich DeJordy Cohesive Subgroups October 4, 26 Based on slides by Steve Borgatti. Modifications (many sensible) by Rich DeJordy Before We Start Any questions on cohesion? Why do we care about Cohesive Subgroups 1. They

More information

Working with Node Attributes

Working with Node Attributes Working with Node Attributes Steve Borgatti 2009 LINKS Center Workshop ADVANCED Session Egonet Composition Concept Characterize the alters that an ego has ties a given type of ties with What proportion

More information

Testing Network Hypotheses

Testing Network Hypotheses Slide 1 Testing Network Hypotheses Thursday Afternoon Whether we are using Social Network Analysis as part of a consulting project or in support of academic research, it is important to know if the measures

More information

Cohesive subgroups. MGT 780 Spring 2014 Steve Borgatti

Cohesive subgroups. MGT 780 Spring 2014 Steve Borgatti Cohesive subgroups MGT 780 Spring 2014 Steve Borgatti What are cohesive subgroups? Loosely speaking, network clumps Regions of high density and low distance Initially conceived of as formalizations of

More information

BECOMING FAMILIAR WITH SOCIAL NETWORKS

BECOMING FAMILIAR WITH SOCIAL NETWORKS 1 BECOMING FAMILIAR WITH SOCIAL NETWORKS Each one of us has our own social networks, and it is easiest to start understanding social networks through thinking about our own. So what social networks do

More information

Social Network Notation

Social Network Notation Social Network Notation Wasserman & Faust (1994) Chapters 3 & 4 [pp. 67 166] Marsden (1987) Core Discussion Networks of Americans Junesoo, Xiaohui & Stephen Monday, February 8th, 2010 Wasserman & Faust

More information

Notes. Relations. Introduction. Notes. Relations. Notes. Definition. Example. Slides by Christopher M. Bourke Instructor: Berthe Y.

Notes. Relations. Introduction. Notes. Relations. Notes. Definition. Example. Slides by Christopher M. Bourke Instructor: Berthe Y. Relations Slides by Christopher M. Bourke Instructor: Berthe Y. Choueiry Spring 2006 Computer Science & Engineering 235 Introduction to Discrete Mathematics Sections 7.1, 7.3 7.5 of Rosen cse235@cse.unl.edu

More information

Introduction to Social Network Analysis PSU Quantitative Methods Seminar, June 15

Introduction to Social Network Analysis PSU Quantitative Methods Seminar, June 15 Introduction to Social Network Analysis PSU Quantitative Methods Seminar, June 15 Jeffrey A. Smith University of Nebraska-Lincoln Department of Sociology Course Website https://sites.google.com/site/socjasmith/teaching2/psu_social_networks_seminar

More information

Relations Graphical View

Relations Graphical View Introduction Relations Computer Science & Engineering 235: Discrete Mathematics Christopher M. Bourke cbourke@cse.unl.edu Recall that a relation between elements of two sets is a subset of their Cartesian

More information

Standard Diraphs the (unique) digraph with no vertices or edges. (modulo n) for every 1 i n A digraph whose underlying graph is a complete graph.

Standard Diraphs the (unique) digraph with no vertices or edges. (modulo n) for every 1 i n A digraph whose underlying graph is a complete graph. 5 Directed Graphs What is a directed graph? Directed Graph: A directed graph, or digraph, D, consists of a set of vertices V (D), a set of edges E(D), and a function which assigns each edge e an ordered

More information

Definition: A binary relation R from a set A to a set B is a subset R A B. Example:

Definition: A binary relation R from a set A to a set B is a subset R A B. Example: Chapter 9 1 Binary Relations Definition: A binary relation R from a set A to a set B is a subset R A B. Example: Let A = {0,1,2} and B = {a,b} {(0, a), (0, b), (1,a), (2, b)} is a relation from A to B.

More information

Preliminaries. Graphs. E : set of edges (arcs) (Undirected) Graph : (i, j) = (j, i) (edges) V = {1, 2, 3, 4, 5}, E = {(1, 3), (3, 2), (2, 4)}

Preliminaries. Graphs. E : set of edges (arcs) (Undirected) Graph : (i, j) = (j, i) (edges) V = {1, 2, 3, 4, 5}, E = {(1, 3), (3, 2), (2, 4)} Preliminaries Graphs G = (V, E), V : set of vertices E : set of edges (arcs) (Undirected) Graph : (i, j) = (j, i) (edges) 1 2 3 5 4 V = {1, 2, 3, 4, 5}, E = {(1, 3), (3, 2), (2, 4)} 1 Directed Graph (Digraph)

More information

Chapter 9: Relations Relations

Chapter 9: Relations Relations Chapter 9: Relations 9.1 - Relations Definition 1 (Relation). Let A and B be sets. A binary relation from A to B is a subset R A B, i.e., R is a set of ordered pairs where the first element from each pair

More information

Matrices and Vectors

Matrices and Vectors Matrices and Vectors James K. Peterson Department of Biological Sciences and Department of Mathematical Sciences Clemson University November 11, 2013 Outline 1 Matrices and Vectors 2 Vector Details 3 Matrix

More information

Preliminaries and Complexity Theory

Preliminaries and Complexity Theory Preliminaries and Complexity Theory Oleksandr Romanko CAS 746 - Advanced Topics in Combinatorial Optimization McMaster University, January 16, 2006 Introduction Book structure: 2 Part I Linear Algebra

More information

Section Summary. Relations and Functions Properties of Relations. Combining Relations

Section Summary. Relations and Functions Properties of Relations. Combining Relations Chapter 9 Chapter Summary Relations and Their Properties n-ary Relations and Their Applications (not currently included in overheads) Representing Relations Closures of Relations (not currently included

More information

Observation 4.1 G has a proper separation of order 0 if and only if G is disconnected.

Observation 4.1 G has a proper separation of order 0 if and only if G is disconnected. 4 Connectivity 2-connectivity Separation: A separation of G of order k is a pair of subgraphs (H, K) with H K = G and E(H K) = and V (H) V (K) = k. Such a separation is proper if V (H) \ V (K) and V (K)

More information

EE263 Review Session 1

EE263 Review Session 1 EE263 Review Session 1 October 5, 2018 0.1 Importing Variables from a MALAB.m file If you are importing variables given in file vars.m, use the following code at the beginning of your script. close a l

More information

Chapter 2 - Basics Structures MATH 213. Chapter 2: Basic Structures. Dr. Eric Bancroft. Fall Dr. Eric Bancroft MATH 213 Fall / 60

Chapter 2 - Basics Structures MATH 213. Chapter 2: Basic Structures. Dr. Eric Bancroft. Fall Dr. Eric Bancroft MATH 213 Fall / 60 MATH 213 Chapter 2: Basic Structures Dr. Eric Bancroft Fall 2013 Dr. Eric Bancroft MATH 213 Fall 2013 1 / 60 Chapter 2 - Basics Structures 2.1 - Sets 2.2 - Set Operations 2.3 - Functions 2.4 - Sequences

More information

Elementary maths for GMT

Elementary maths for GMT Elementary maths for GMT Linear Algebra Part 2: Matrices, Elimination and Determinant m n matrices The system of m linear equations in n variables x 1, x 2,, x n a 11 x 1 + a 12 x 2 + + a 1n x n = b 1

More information

Observation 4.1 G has a proper separation of order 0 if and only if G is disconnected.

Observation 4.1 G has a proper separation of order 0 if and only if G is disconnected. 4 Connectivity 2-connectivity Separation: A separation of G of order k is a pair of subgraphs (H 1, H 2 ) so that H 1 H 2 = G E(H 1 ) E(H 2 ) = V (H 1 ) V (H 2 ) = k Such a separation is proper if V (H

More information

Partial cubes: structures, characterizations, and constructions

Partial cubes: structures, characterizations, and constructions Partial cubes: structures, characterizations, and constructions Sergei Ovchinnikov San Francisco State University, Mathematics Department, 1600 Holloway Ave., San Francisco, CA 94132 Abstract Partial cubes

More information

A primer on matrices

A primer on matrices A primer on matrices Stephen Boyd August 4, 2007 These notes describe the notation of matrices, the mechanics of matrix manipulation, and how to use matrices to formulate and solve sets of simultaneous

More information

Social Network Analysis. Mrigesh Kshatriya, CIFOR Sentinel Landscape Data Analysis workshop (3rd-7th March 2014) Venue: CATIE, Costa Rica.

Social Network Analysis. Mrigesh Kshatriya, CIFOR Sentinel Landscape Data Analysis workshop (3rd-7th March 2014) Venue: CATIE, Costa Rica. Social Network Analysis Mrigesh Kshatriya, CIFOR Sentinel Landscape Data Analysis workshop (3rd-7th March 2014) Venue: CATIE, Costa Rica. Talk outline What is a Social Network? Data collection Visualizing

More information

7 Matrix Operations. 7.0 Matrix Multiplication + 3 = 3 = 4

7 Matrix Operations. 7.0 Matrix Multiplication + 3 = 3 = 4 7 Matrix Operations Copyright 017, Gregory G. Smith 9 October 017 The product of two matrices is a sophisticated operations with a wide range of applications. In this chapter, we defined this binary operation,

More information

(But, they are entirely separate branches of mathematics.)

(But, they are entirely separate branches of mathematics.) 2 You ve heard of statistics to deal with problems of uncertainty and differential equations to describe the rates of change of physical systems. In this section, you will learn about two more: vector

More information

Nonnegative Matrices I

Nonnegative Matrices I Nonnegative Matrices I Daisuke Oyama Topics in Economic Theory September 26, 2017 References J. L. Stuart, Digraphs and Matrices, in Handbook of Linear Algebra, Chapter 29, 2006. R. A. Brualdi and H. J.

More information

An Introduction to Matrix Algebra

An Introduction to Matrix Algebra An Introduction to Matrix Algebra EPSY 905: Fundamentals of Multivariate Modeling Online Lecture #8 EPSY 905: Matrix Algebra In This Lecture An introduction to matrix algebra Ø Scalars, vectors, and matrices

More information

Boolean Algebra. Sungho Kang. Yonsei University

Boolean Algebra. Sungho Kang. Yonsei University Boolean Algebra Sungho Kang Yonsei University Outline Set, Relations, and Functions Partial Orders Boolean Functions Don t Care Conditions Incomplete Specifications 2 Set Notation $09,3/#0,9 438 v V Element

More information

Chapter 7 Network Flow Problems, I

Chapter 7 Network Flow Problems, I Chapter 7 Network Flow Problems, I Network flow problems are the most frequently solved linear programming problems. They include as special cases, the assignment, transportation, maximum flow, and shortest

More information

Revisiting the Limits of MAP Inference by MWSS on Perfect Graphs

Revisiting the Limits of MAP Inference by MWSS on Perfect Graphs Revisiting the Limits of MAP Inference by MWSS on Perfect Graphs Adrian Weller University of Cambridge CP 2015 Cork, Ireland Slides and full paper at http://mlg.eng.cam.ac.uk/adrian/ 1 / 21 Motivation:

More information

Phys 201. Matrices and Determinants

Phys 201. Matrices and Determinants Phys 201 Matrices and Determinants 1 1.1 Matrices 1.2 Operations of matrices 1.3 Types of matrices 1.4 Properties of matrices 1.5 Determinants 1.6 Inverse of a 3 3 matrix 2 1.1 Matrices A 2 3 7 =! " 1

More information

Lecture 3 Linear Algebra Background

Lecture 3 Linear Algebra Background Lecture 3 Linear Algebra Background Dan Sheldon September 17, 2012 Motivation Preview of next class: y (1) w 0 + w 1 x (1) 1 + w 2 x (1) 2 +... + w d x (1) d y (2) w 0 + w 1 x (2) 1 + w 2 x (2) 2 +...

More information

Chapter 2 - Basics Structures

Chapter 2 - Basics Structures Chapter 2 - Basics Structures 2.1 - Sets Definitions and Notation Definition 1 (Set). A set is an of. These are called the or of the set. We ll typically use uppercase letters to denote sets: S, A, B,...

More information

5 Flows and cuts in digraphs

5 Flows and cuts in digraphs 5 Flows and cuts in digraphs Recall that a digraph or network is a pair G = (V, E) where V is a set and E is a multiset of ordered pairs of elements of V, which we refer to as arcs. Note that two vertices

More information

MATH 61-02: PRACTICE PROBLEMS FOR FINAL EXAM

MATH 61-02: PRACTICE PROBLEMS FOR FINAL EXAM MATH 61-02: PRACTICE PROBLEMS FOR FINAL EXAM (FP1) The exclusive or operation, denoted by and sometimes known as XOR, is defined so that P Q is true iff P is true or Q is true, but not both. Prove (through

More information

Discrete Mathematics. 2. Relations

Discrete Mathematics. 2. Relations Discrete Mathematics 2. Relations Binary Relations Let A, B be any two sets. A binary relation R from A to B is a subset of A B. E.g., Let < : N N : {(n,m) n < m} The notation a R b or arb means (a,b)îr.

More information

A Introduction to Matrix Algebra and the Multivariate Normal Distribution

A Introduction to Matrix Algebra and the Multivariate Normal Distribution A Introduction to Matrix Algebra and the Multivariate Normal Distribution PRE 905: Multivariate Analysis Spring 2014 Lecture 6 PRE 905: Lecture 7 Matrix Algebra and the MVN Distribution Today s Class An

More information

Mathematics for Graphics and Vision

Mathematics for Graphics and Vision Mathematics for Graphics and Vision Steven Mills March 3, 06 Contents Introduction 5 Scalars 6. Visualising Scalars........................ 6. Operations on Scalars...................... 6.3 A Note on

More information

Communities Via Laplacian Matrices. Degree, Adjacency, and Laplacian Matrices Eigenvectors of Laplacian Matrices

Communities Via Laplacian Matrices. Degree, Adjacency, and Laplacian Matrices Eigenvectors of Laplacian Matrices Communities Via Laplacian Matrices Degree, Adjacency, and Laplacian Matrices Eigenvectors of Laplacian Matrices The Laplacian Approach As with betweenness approach, we want to divide a social graph into

More information

A primer on matrices

A primer on matrices A primer on matrices Stephen Boyd August 4, 2007 These notes describe the notation of matrices, the mechanics of matrix manipulation, and how to use matrices to formulate and solve sets of simultaneous

More information

THE MAXIMAL SUBGROUPS AND THE COMPLEXITY OF THE FLOW SEMIGROUP OF FINITE (DI)GRAPHS

THE MAXIMAL SUBGROUPS AND THE COMPLEXITY OF THE FLOW SEMIGROUP OF FINITE (DI)GRAPHS THE MAXIMAL SUBGROUPS AND THE COMPLEXITY OF THE FLOW SEMIGROUP OF FINITE (DI)GRAPHS GÁBOR HORVÁTH, CHRYSTOPHER L. NEHANIV, AND KÁROLY PODOSKI Dedicated to John Rhodes on the occasion of his 80th birthday.

More information

Theory of Computation

Theory of Computation Theory of Computation (Feodor F. Dragan) Department of Computer Science Kent State University Spring, 2018 Theory of Computation, Feodor F. Dragan, Kent State University 1 Before we go into details, what

More information

REVIEW QUESTIONS. Chapter 1: Foundations: Sets, Logic, and Algorithms

REVIEW QUESTIONS. Chapter 1: Foundations: Sets, Logic, and Algorithms REVIEW QUESTIONS Chapter 1: Foundations: Sets, Logic, and Algorithms 1. Why can t a Venn diagram be used to prove a statement about sets? 2. Suppose S is a set with n elements. Explain why the power set

More information

ME751 Advanced Computational Multibody Dynamics

ME751 Advanced Computational Multibody Dynamics ME751 Advanced Computational Multibody Dynamics Review: Elements of Linear Algebra & Calculus September 9, 2016 Dan Negrut University of Wisconsin-Madison Quote of the day If you can't convince them, confuse

More information

Preliminaries to the Theory of Computation

Preliminaries to the Theory of Computation Preliminaries to the Theory of Computation 2 In this chapter, we explain mathematical notions, terminologies, and certain methods used in convincing logical arguments that we shall have need of throughout

More information

Linear Algebra March 16, 2019

Linear Algebra March 16, 2019 Linear Algebra March 16, 2019 2 Contents 0.1 Notation................................ 4 1 Systems of linear equations, and matrices 5 1.1 Systems of linear equations..................... 5 1.2 Augmented

More information

Mathematical Programs Linear Program (LP)

Mathematical Programs Linear Program (LP) Mathematical Programs Linear Program (LP) Integer Program (IP) Can be efficiently solved e.g., by Ellipsoid Method Cannot be efficiently solved Cannot be efficiently solved assuming P NP Combinatorial

More information

Discrete Structures (2IT50)

Discrete Structures (2IT50) Discrete Structures (2IT50) Rob Hoogerwoord & Hans Zantema August, 2016 1 2 Contents 0.1 Introduction................................. 5 0.2 Basic set theory............................... 5 0.3 The principle

More information

Reading 11 : Relations and Functions

Reading 11 : Relations and Functions CS/Math 240: Introduction to Discrete Mathematics Fall 2015 Reading 11 : Relations and Functions Instructor: Beck Hasti and Gautam Prakriya In reading 3, we described a correspondence between predicates

More information

CS 580: Algorithm Design and Analysis. Jeremiah Blocki Purdue University Spring 2018

CS 580: Algorithm Design and Analysis. Jeremiah Blocki Purdue University Spring 2018 CS 580: Algorithm Design and Analysis Jeremiah Blocki Purdue University Spring 2018 Recap Network Flow Problems Max-Flow Min Cut Theorem Ford Fulkerson Augmenting Paths Residual Flow Graph Integral Solutions

More information

7.5 Bipartite Matching

7.5 Bipartite Matching 7. Bipartite Matching Matching Matching. Input: undirected graph G = (V, E). M E is a matching if each node appears in at most edge in M. Max matching: find a max cardinality matching. Bipartite Matching

More information

Sets and Motivation for Boolean algebra

Sets and Motivation for Boolean algebra SET THEORY Basic concepts Notations Subset Algebra of sets The power set Ordered pairs and Cartesian product Relations on sets Types of relations and their properties Relational matrix and the graph of

More information

Contents. Introduction

Contents. Introduction Introduction Contents Chapter 1. Network Flows 1 1.1. Graphs 1 1.2. Shortest Paths 8 1.3. Maximum Flow 17 1.4. Min Cost Flows 22 List of frequently used Symbols 31 Bibliography 33 Index 37 iii i Introduction

More information

Eigenvectors Via Graph Theory

Eigenvectors Via Graph Theory Eigenvectors Via Graph Theory Jennifer Harris Advisor: Dr. David Garth October 3, 2009 Introduction There is no problem in all mathematics that cannot be solved by direct counting. -Ernst Mach The goal

More information

If S = {O 1, O 2,, O n }, where O i is the i th elementary outcome, and p i is the probability of the i th elementary outcome, then

If S = {O 1, O 2,, O n }, where O i is the i th elementary outcome, and p i is the probability of the i th elementary outcome, then 1.1 Probabilities Def n: A random experiment is a process that, when performed, results in one and only one of many observations (or outcomes). The sample space S is the set of all elementary outcomes

More information

CHAPTER 1. Relations. 1. Relations and Their Properties. Discussion

CHAPTER 1. Relations. 1. Relations and Their Properties. Discussion CHAPTER 1 Relations 1. Relations and Their Properties 1.1. Definition of a Relation. Definition 1.1.1. A binary relation from a set A to a set B is a subset R A B. If (a, b) R we say a is Related to b

More information

Chapter 7. Network Flow. Slides by Kevin Wayne. Copyright 2005 Pearson-Addison Wesley. All rights reserved.

Chapter 7. Network Flow. Slides by Kevin Wayne. Copyright 2005 Pearson-Addison Wesley. All rights reserved. Chapter 7 Network Flow Slides by Kevin Wayne. Copyright 2005 Pearson-Addison Wesley. All rights reserved. 7.5 Bipartite Matching Matching Matching. Input: undirected graph G = (V, E). M E is a matching

More information

Boolean Algebra & Logic Gates. By : Ali Mustafa

Boolean Algebra & Logic Gates. By : Ali Mustafa Boolean Algebra & Logic Gates By : Ali Mustafa Digital Logic Gates There are three fundamental logical operations, from which all other functions, no matter how complex, can be derived. These Basic functions

More information

Basic Linear Algebra in MATLAB

Basic Linear Algebra in MATLAB Basic Linear Algebra in MATLAB 9.29 Optional Lecture 2 In the last optional lecture we learned the the basic type in MATLAB is a matrix of double precision floating point numbers. You learned a number

More information

What are relations? f: A B

What are relations? f: A B What are relations? Ch 9.1 What are relations? Notation Informally, a relation is a set of pairs of objects (or in general, set of n-tuples) that are related to each other by some rule. We will focus first

More information

Data Mining and Matrices

Data Mining and Matrices Data Mining and Matrices 08 Boolean Matrix Factorization Rainer Gemulla, Pauli Miettinen June 13, 2013 Outline 1 Warm-Up 2 What is BMF 3 BMF vs. other three-letter abbreviations 4 Binary matrices, tiles,

More information

Designing Information Devices and Systems I Spring 2019 Lecture Notes Note 2

Designing Information Devices and Systems I Spring 2019 Lecture Notes Note 2 EECS 6A Designing Information Devices and Systems I Spring 9 Lecture Notes Note Vectors and Matrices In the previous note, we introduced vectors and matrices as a way of writing systems of linear equations

More information

Using DERIVE to Interpret an Algorithmic Method for Finding Hamiltonian Circuits (and Rooted Paths) in Network Graphs

Using DERIVE to Interpret an Algorithmic Method for Finding Hamiltonian Circuits (and Rooted Paths) in Network Graphs Liverpool John Moores University, July 12 15, 2000 Using DERIVE to Interpret an Algorithmic Method for Finding Hamiltonian Circuits (and Rooted Paths) in Network Graphs Introduction Peter Schofield Trinity

More information

Chapter 1: Systems of linear equations and matrices. Section 1.1: Introduction to systems of linear equations

Chapter 1: Systems of linear equations and matrices. Section 1.1: Introduction to systems of linear equations Chapter 1: Systems of linear equations and matrices Section 1.1: Introduction to systems of linear equations Definition: A linear equation in n variables can be expressed in the form a 1 x 1 + a 2 x 2

More information

Discrete Mathematics & Mathematical Reasoning Course Overview

Discrete Mathematics & Mathematical Reasoning Course Overview Discrete Mathematics & Mathematical Reasoning Course Overview Colin Stirling Informatics Colin Stirling (Informatics) Discrete Mathematics Today 1 / 19 Teaching staff Lecturers: Colin Stirling, first half

More information

Introduction to Probability Theory, Algebra, and Set Theory

Introduction to Probability Theory, Algebra, and Set Theory Summer School on Mathematical Philosophy for Female Students Introduction to Probability Theory, Algebra, and Set Theory Catrin Campbell-Moore and Sebastian Lutz July 28, 2014 Question 1. Draw Venn diagrams

More information

Notes for Science and Engineering Foundation Discrete Mathematics

Notes for Science and Engineering Foundation Discrete Mathematics Notes for Science and Engineering Foundation Discrete Mathematics by Robin Whitty BSc PhD CMath FIMA 2009/2010 Contents 1 Introduction 1 1.1 The Laws of Arithmetic....................... 2 2 Polynomial

More information

ON THE CORE OF A GRAPHf

ON THE CORE OF A GRAPHf ON THE CORE OF A GRAPHf By FRANK HARARY and MICHAEL D. PLUMMER [Received 8 October 1965] 1. Introduction Let G be a graph. A set of points M is said to cover all the lines of G if every line of G has at

More information

Quick Tour of Linear Algebra and Graph Theory

Quick Tour of Linear Algebra and Graph Theory Quick Tour of Linear Algebra and Graph Theory CS224W: Social and Information Network Analysis Fall 2014 David Hallac Based on Peter Lofgren, Yu Wayne Wu, and Borja Pelato s previous versions Matrices and

More information

Deciphering Math Notation. Billy Skorupski Associate Professor, School of Education

Deciphering Math Notation. Billy Skorupski Associate Professor, School of Education Deciphering Math Notation Billy Skorupski Associate Professor, School of Education Agenda General overview of data, variables Greek and Roman characters in math and statistics Parameters vs. Statistics

More information

Longest paths in strong spanning oriented subgraphs of strong semicomplete multipartite digraphs

Longest paths in strong spanning oriented subgraphs of strong semicomplete multipartite digraphs Longest paths in strong spanning oriented subgraphs of strong semicomplete multipartite digraphs Gregory Gutin Department of Mathematical Sciences Brunel, The University of West London Uxbridge, Middlesex,

More information

MATH Mathematics for Agriculture II

MATH Mathematics for Agriculture II MATH 10240 Mathematics for Agriculture II Academic year 2018 2019 UCD School of Mathematics and Statistics Contents Chapter 1. Linear Algebra 1 1. Introduction to Matrices 1 2. Matrix Multiplication 3

More information

Week 4. (1) 0 f ij u ij.

Week 4. (1) 0 f ij u ij. Week 4 1 Network Flow Chapter 7 of the book is about optimisation problems on networks. Section 7.1 gives a quick introduction to the definitions of graph theory. In fact I hope these are already known

More information

Peripheries of Cohesive Subsets

Peripheries of Cohesive Subsets Peripheries of Cohesive Subsets Martin G. Everett University of Greenwich School of Computing and Mathematical Sciences 30 Park Row London SE10 9LS Tel: (0181) 331-8716 Fax: (181) 331-8665 E-mail: m.g.everett@gre.ac.uk

More information

Matrix Basic Concepts

Matrix Basic Concepts Matrix Basic Concepts Topics: What is a matrix? Matrix terminology Elements or entries Diagonal entries Address/location of entries Rows and columns Size of a matrix A column matrix; vectors Special types

More information

REVISION SHEET DECISION MATHS 2 DECISION ANALYSIS

REVISION SHEET DECISION MATHS 2 DECISION ANALYSIS REVISION SHEET DECISION MATHS 2 DECISION ANALYSIS The main ideas are covered in AQA Edexcel MEI OCR D2 Before the exam you should know The meaning of the different kinds of node. Be able to construct a

More information

Sets are one of the basic building blocks for the types of objects considered in discrete mathematics.

Sets are one of the basic building blocks for the types of objects considered in discrete mathematics. Section 2.1 Introduction Sets are one of the basic building blocks for the types of objects considered in discrete mathematics. Important for counting. Programming languages have set operations. Set theory

More information

Lecture Notes 1 Basic Probability. Elements of Probability. Conditional probability. Sequential Calculation of Probability

Lecture Notes 1 Basic Probability. Elements of Probability. Conditional probability. Sequential Calculation of Probability Lecture Notes 1 Basic Probability Set Theory Elements of Probability Conditional probability Sequential Calculation of Probability Total Probability and Bayes Rule Independence Counting EE 178/278A: Basic

More information

Specification and estimation of exponential random graph models for social (and other) networks

Specification and estimation of exponential random graph models for social (and other) networks Specification and estimation of exponential random graph models for social (and other) networks Tom A.B. Snijders University of Oxford March 23, 2009 c Tom A.B. Snijders (University of Oxford) Models for

More information

Introduction to statistical analysis of Social Networks

Introduction to statistical analysis of Social Networks The Social Statistics Discipline Area, School of Social Sciences Introduction to statistical analysis of Social Networks Mitchell Centre for Network Analysis Johan Koskinen http://www.ccsr.ac.uk/staff/jk.htm!

More information

Designing Information Devices and Systems I Fall 2017 Official Lecture Notes Note 2

Designing Information Devices and Systems I Fall 2017 Official Lecture Notes Note 2 EECS 6A Designing Information Devices and Systems I Fall 07 Official Lecture Notes Note Introduction Previously, we introduced vectors and matrices as a way of writing systems of linear equations more

More information

ON COST MATRICES WITH TWO AND THREE DISTINCT VALUES OF HAMILTONIAN PATHS AND CYCLES

ON COST MATRICES WITH TWO AND THREE DISTINCT VALUES OF HAMILTONIAN PATHS AND CYCLES ON COST MATRICES WITH TWO AND THREE DISTINCT VALUES OF HAMILTONIAN PATHS AND CYCLES SANTOSH N. KABADI AND ABRAHAM P. PUNNEN Abstract. Polynomially testable characterization of cost matrices associated

More information

Representations of All Solutions of Boolean Programming Problems

Representations of All Solutions of Boolean Programming Problems Representations of All Solutions of Boolean Programming Problems Utz-Uwe Haus and Carla Michini Institute for Operations Research Department of Mathematics ETH Zurich Rämistr. 101, 8092 Zürich, Switzerland

More information

1 Counting spanning trees: A determinantal formula

1 Counting spanning trees: A determinantal formula Math 374 Matrix Tree Theorem Counting spanning trees: A determinantal formula Recall that a spanning tree of a graph G is a subgraph T so that T is a tree and V (G) = V (T ) Question How many distinct

More information

A FIRST COURSE IN LINEAR ALGEBRA. An Open Text by Ken Kuttler. Matrix Arithmetic

A FIRST COURSE IN LINEAR ALGEBRA. An Open Text by Ken Kuttler. Matrix Arithmetic A FIRST COURSE IN LINEAR ALGEBRA An Open Text by Ken Kuttler Matrix Arithmetic Lecture Notes by Karen Seyffarth Adapted by LYRYX SERVICE COURSE SOLUTION Attribution-NonCommercial-ShareAlike (CC BY-NC-SA)

More information

P P P NP-Hard: L is NP-hard if for all L NP, L L. Thus, if we could solve L in polynomial. Cook's Theorem and Reductions

P P P NP-Hard: L is NP-hard if for all L NP, L L. Thus, if we could solve L in polynomial. Cook's Theorem and Reductions Summary of the previous lecture Recall that we mentioned the following topics: P: is the set of decision problems (or languages) that are solvable in polynomial time. NP: is the set of decision problems

More information

FINAL EXAM PRACTICE PROBLEMS CMSC 451 (Spring 2016)

FINAL EXAM PRACTICE PROBLEMS CMSC 451 (Spring 2016) FINAL EXAM PRACTICE PROBLEMS CMSC 451 (Spring 2016) The final exam will be on Thursday, May 12, from 8:00 10:00 am, at our regular class location (CSI 2117). It will be closed-book and closed-notes, except

More information

MATH 320, WEEK 7: Matrices, Matrix Operations

MATH 320, WEEK 7: Matrices, Matrix Operations MATH 320, WEEK 7: Matrices, Matrix Operations 1 Matrices We have introduced ourselves to the notion of the grid-like coefficient matrix as a short-hand coefficient place-keeper for performing Gaussian

More information

Introduction. Vectors and Matrices. Vectors [1] Vectors [2]

Introduction. Vectors and Matrices. Vectors [1] Vectors [2] Introduction Vectors and Matrices Dr. TGI Fernando 1 2 Data is frequently arranged in arrays, that is, sets whose elements are indexed by one or more subscripts. Vector - one dimensional array Matrix -

More information

Combinatorial Optimization

Combinatorial Optimization Combinatorial Optimization Problem set 8: solutions 1. Fix constants a R and b > 1. For n N, let f(n) = n a and g(n) = b n. Prove that f(n) = o ( g(n) ). Solution. First we observe that g(n) 0 for all

More information

Chapter 3: Proving NP-completeness Results

Chapter 3: Proving NP-completeness Results Chapter 3: Proving NP-completeness Results Six Basic NP-Complete Problems Some Techniques for Proving NP-Completeness Some Suggested Exercises 1.1 Six Basic NP-Complete Problems 3-SATISFIABILITY (3SAT)

More information

Ranking Score Vectors of Tournaments

Ranking Score Vectors of Tournaments Utah State University DigitalCommons@USU All Graduate Plan B and other Reports Graduate Studies 5-2011 Ranking Score Vectors of Tournaments Sebrina Ruth Cropper Utah State University Follow this and additional

More information

Graph Theoretic Methods for Matrix Completion Problems

Graph Theoretic Methods for Matrix Completion Problems Graph Theoretic Methods for Matrix Completion Problems 1 Leslie Hogben Department of Mathematics Iowa State University Ames, IA 50011 lhogben@iastate.edu Abstract A pattern is a list of positions in an

More information

Chapter 7. Network Flow. Slides by Kevin Wayne. Copyright 2005 Pearson-Addison Wesley. All rights reserved.

Chapter 7. Network Flow. Slides by Kevin Wayne. Copyright 2005 Pearson-Addison Wesley. All rights reserved. Chapter 7 Network Flow Slides by Kevin Wayne. Copyright 2005 Pearson-Addison Wesley. All rights reserved. 7.5 Bipartite Matching Matching Matching. Input: undirected graph G = (V, E). M E is a matching

More information

Codes on graphs. Chapter Elementary realizations of linear block codes

Codes on graphs. Chapter Elementary realizations of linear block codes Chapter 11 Codes on graphs In this chapter we will introduce the subject of codes on graphs. This subject forms an intellectual foundation for all known classes of capacity-approaching codes, including

More information

A graph theoretic approach to matrix inversion by partitioning

A graph theoretic approach to matrix inversion by partitioning Numerische Mathematik 4, t 28-- t 35 (1962) A graph theoretic approach to matrix inversion by partitioning By FRANK HARARY Abstract Let M be a square matrix whose entries are in some field. Our object

More information

Undirected Graphs. V = { 1, 2, 3, 4, 5, 6, 7, 8 } E = { 1-2, 1-3, 2-3, 2-4, 2-5, 3-5, 3-7, 3-8, 4-5, 5-6 } n = 8 m = 11

Undirected Graphs. V = { 1, 2, 3, 4, 5, 6, 7, 8 } E = { 1-2, 1-3, 2-3, 2-4, 2-5, 3-5, 3-7, 3-8, 4-5, 5-6 } n = 8 m = 11 Undirected Graphs Undirected graph. G = (V, E) V = nodes. E = edges between pairs of nodes. Captures pairwise relationship between objects. Graph size parameters: n = V, m = E. V = {, 2, 3,,,, 7, 8 } E

More information

Unit 5: Centrality. ICPSR University of Michigan, Ann Arbor Summer 2015 Instructor: Ann McCranie

Unit 5: Centrality. ICPSR University of Michigan, Ann Arbor Summer 2015 Instructor: Ann McCranie Unit 5: Centrality ICPSR University of Michigan, Ann Arbor Summer 2015 Instructor: Ann McCranie What does centrality tell us? We often want to know who the most important actors in a network are. Centrality

More information