Ma/CS 6bmath.caltech.edu/~2014-15/2term/ma006b/12 Graphs...ย ยท incidence matrix ๐‘€ and adjacency...

16
2/1/2015 1 Ma/CS 6b Class 12: Graphs and Matrices By Adam Sheffer 1 2 3 4 5 0 1 0 1 0 1 0 0 1 1 0 3 0 1 0 0 0 1 0 1 1 3 0 1 0 Non-simple Graphs In this class we allow graphs to be non- simple. We allow parallel edges, but not loops.

Transcript of Ma/CS 6bmath.caltech.edu/~2014-15/2term/ma006b/12 Graphs...ย ยท incidence matrix ๐‘€ and adjacency...

Page 1: Ma/CS 6bmath.caltech.edu/~2014-15/2term/ma006b/12 Graphs...ย ยท incidence matrix ๐‘€ and adjacency matrix เฃต. Express ๐‘€๐‘€๐‘‡ using เฃต. Answer. This is a ๐‘‰ร—๐‘‰ matrix.

2/1/2015

1

Ma/CS 6b Class 12: Graphs and Matrices

By Adam Sheffer

๐‘ฃ1

๐‘ฃ2

๐‘ฃ3 ๐‘ฃ4

๐‘ฃ5

010

101

0 0 11 0 30 1 0

0 0 1 0 11 3 0 1 0

Non-simple Graphs

In this class we allow graphs to be non-simple.

We allow parallel edges, but not loops.

Page 2: Ma/CS 6bmath.caltech.edu/~2014-15/2term/ma006b/12 Graphs...ย ยท incidence matrix ๐‘€ and adjacency matrix เฃต. Express ๐‘€๐‘€๐‘‡ using เฃต. Answer. This is a ๐‘‰ร—๐‘‰ matrix.

2/1/2015

2

Incidence Matrix

Consider a graph ๐บ = ๐‘‰, ๐ธ .

โ—ฆ We order the vertices as ๐‘‰ = ๐‘ฃ1, ๐‘ฃ2, โ€ฆ , ๐‘ฃ๐‘› and the edges as ๐ธ = ๐‘’1, ๐‘’2, โ€ฆ , ๐‘’๐‘š

โ—ฆ The incidence matrix of ๐บ is an ๐‘› ร—๐‘š matrix ๐‘€. The cell ๐‘€๐‘–๐‘— contains 1 if ๐‘ฃ๐‘– is an endpoint

of ๐‘’๐‘—, and 0 otherwise.

๐‘ฃ1

๐‘ฃ2

๐‘ฃ3 ๐‘ฃ4

๐‘ฃ5 1 0 00 1 10 0 0

0 0 00 0 10 1 1

0 0 01 1 1

1 1 01 0 0

๐‘’1 ๐‘’2

๐‘’3 ๐‘’4 ๐‘’5 ๐‘’6

Playing with an Incidence Matrix

Let ๐‘€ be the incidence matrix of a graph ๐บ = ๐‘‰, ๐ธ , and let ๐ต = ๐‘€๐‘€๐‘‡ .

โ—ฆ What is the value of ๐ต๐‘–๐‘–? The degree of ๐‘ฃ๐‘– in ๐บ.

โ—ฆ What is the value of ๐ต๐‘–๐‘— for ๐‘– โ‰  ๐‘—? The number

of edges between ๐‘ฃ๐‘– and ๐‘ฃ๐‘—.

๐‘ฃ1

๐‘ฃ2

๐‘ฃ3 ๐‘ฃ4

๐‘ฃ5 ๐‘€ =

1 0 00 1 10 0 0

0 0 00 0 10 1 1

0 0 01 1 1

1 1 01 0 0

๐‘’1 ๐‘’2

๐‘’3 ๐‘’4 ๐‘’5 ๐‘’6

Page 3: Ma/CS 6bmath.caltech.edu/~2014-15/2term/ma006b/12 Graphs...ย ยท incidence matrix ๐‘€ and adjacency matrix เฃต. Express ๐‘€๐‘€๐‘‡ using เฃต. Answer. This is a ๐‘‰ร—๐‘‰ matrix.

2/1/2015

3

Adjacency Matrix

Consider a graph ๐บ = ๐‘‰, ๐ธ .

โ—ฆ We order the vertices as ๐‘‰ = ๐‘ฃ1, ๐‘ฃ2, โ€ฆ , ๐‘ฃ๐‘› .

โ—ฆ The adjacency matrix of ๐บ is a symmetric ๐‘› ร— ๐‘› matrix ๐ด. The cell ๐ด๐‘–๐‘— contains the

number of edges between ๐‘ฃ๐‘– and ๐‘ฃ๐‘—.

๐‘ฃ1

๐‘ฃ2

๐‘ฃ3 ๐‘ฃ4

๐‘ฃ5 ๐ด =

010

101

0 0 11 0 30 1 0

0 0 1 0 11 3 0 1 0

A Connection

Problem. Let ๐บ = ๐‘‰, ๐ธ be a graph with incidence matrix ๐‘€ and adjacency matrix ๐ด. Express ๐‘€๐‘€๐‘‡ using ๐ด.

Answer. This is a ๐‘‰ ร— ๐‘‰ matrix.

โ—ฆ ๐‘€๐‘€๐‘‡ ๐‘–๐‘– is the degree of ๐‘ฃ๐‘–.

โ—ฆ ๐‘€๐‘€๐‘‡ ๐‘–๐‘— for ๐‘– โ‰  ๐‘— is number of edges

between ๐‘ฃ๐‘– and ๐‘ฃ๐‘—.

โ—ฆ Let ๐ท be a diagonal matrix with ๐ท๐‘–๐‘– being the degree of ๐‘ฃ๐‘–. We have

๐‘€๐‘€๐‘‡ = ๐ด + ๐ท.

Page 4: Ma/CS 6bmath.caltech.edu/~2014-15/2term/ma006b/12 Graphs...ย ยท incidence matrix ๐‘€ and adjacency matrix เฃต. Express ๐‘€๐‘€๐‘‡ using เฃต. Answer. This is a ๐‘‰ร—๐‘‰ matrix.

2/1/2015

4

Example

๐‘ฃ2 ๐‘ฃ3

๐‘ฃ1 ๐ด =0 1 11 0 31 3 0

๐ท =2 0 00 4 00 0 4

๐‘€ =1 1 0 0 01 0 1 1 10 1 1 1 1

๐‘€๐‘€๐‘‡ =2 1 11 4 31 3 4

= ๐ด + ๐ท

Multiplying by 1โ€™s

Let 1๐‘› denote the ๐‘› ร— ๐‘› matrix with 1 in each of its cells.

Problem. Let ๐บ = ๐‘‰, ๐ธ be a graph with adjacency matrix ๐ด. Describe the values in the cells of ๐ต = ๐ด1 ๐‘‰ .

Answer. It is a ๐‘‰ ร— ๐‘‰ matrix.

โ—ฆ The column vectors of ๐ต are identical.

โ—ฆ The ๐‘–โ€™th element of each column is the degree of ๐‘ฃ๐‘–.

Page 5: Ma/CS 6bmath.caltech.edu/~2014-15/2term/ma006b/12 Graphs...ย ยท incidence matrix ๐‘€ and adjacency matrix เฃต. Express ๐‘€๐‘€๐‘‡ using เฃต. Answer. This is a ๐‘‰ร—๐‘‰ matrix.

2/1/2015

5

Playing with an Adjacency Matrix

Let ๐ด be the adjacency matrix of a simple graph ๐บ = ๐‘‰, ๐ธ , and let ๐‘€ = ๐ด2.

โ—ฆ What is the value of ๐‘€๐‘–๐‘–? The degree of ๐‘ฃ๐‘– in ๐บ.

โ—ฆ What is the value of ๐‘€๐‘–๐‘— for ๐‘– โ‰  ๐‘—? The number

of vertices that are adjacent to both ๐‘ฃ๐‘– and ๐‘ฃ๐‘—.

๐‘ฃ1

๐‘ฃ2

๐‘ฃ3 ๐‘ฃ4

๐‘ฃ5 ๐ด =

010

101

0 0 11 0 10 1 0

0 0 1 0 11 1 0 1 0

What about ๐‘€3?

Let ๐ด be the adjacency matrix of a simple graph ๐บ = ๐‘‰, ๐ธ . For ๐‘– โ‰  ๐‘—:

โ—ฆ ๐ด๐‘–๐‘— tells us if there is an edge ๐‘ฃ๐‘– , ๐‘ฃ๐‘— โˆˆ ๐ธ.

โ—ฆ ๐ด2 ๐‘–๐‘— tells us how many vertices are adjacent

to both ๐‘ฃ๐‘– and ๐‘ฃ๐‘—.

โ—ฆ What is ๐ด3 ๐‘–๐‘—? It is the number of paths of

length three between ๐‘ฃ๐‘– and ๐‘ฃ๐‘—.

โ—ฆ In fact, ๐ด2 ๐‘–๐‘— is the number of paths of

length two between ๐‘ฃ๐‘– and ๐‘ฃ๐‘—.

Page 6: Ma/CS 6bmath.caltech.edu/~2014-15/2term/ma006b/12 Graphs...ย ยท incidence matrix ๐‘€ and adjacency matrix เฃต. Express ๐‘€๐‘€๐‘‡ using เฃต. Answer. This is a ๐‘‰ร—๐‘‰ matrix.

2/1/2015

6

The Meaning of ๐‘€๐‘˜

Theorem. Let ๐ด be the adjacency matrix of a (not necessarily simple) graph

๐บ = ๐‘‰, ๐ธ . Then ๐ด๐‘˜๐‘–๐‘—

is the number of

(not necessarily simple) paths between ๐‘ฃ๐‘– and ๐‘ฃ๐‘—.

An Example

๐‘ ๐‘‘

๐‘ ๐‘Ž

๐ด =

0 1 0 11 0 1 001100 11 0

๐ด2 = ๐ด๐ด =

0 1 0 11 0 1 001100 11 0

0 1 0 11 0 1 001100 11 0

=

2 0 2 00 2 0 220022 00 2

๐ด3 = ๐ด2๐ด =

2 0 2 00 2 0 220022 00 2

0 1 0 11 0 1 001100 11 0

=

0 4 0 44 0 4 004400 44 0

Page 7: Ma/CS 6bmath.caltech.edu/~2014-15/2term/ma006b/12 Graphs...ย ยท incidence matrix ๐‘€ and adjacency matrix เฃต. Express ๐‘€๐‘€๐‘‡ using เฃต. Answer. This is a ๐‘‰ร—๐‘‰ matrix.

2/1/2015

7

The Meaning of ๐‘€๐‘˜

Theorem. Let ๐‘€ be the incidence matrix of a (not necessarily simple) graph

๐บ = ๐‘‰, ๐ธ . Then ๐‘€๐‘˜๐‘–๐‘—

is the number

of (not necessarily simple) paths between ๐‘ฃ๐‘– and ๐‘ฃ๐‘—.

Proof. By induction on ๐‘˜.

โ—ฆ Induction basis. Easy to see for ๐‘˜ = 1 and ๐‘˜ = 2.

The Induction Step

We have ๐ด๐‘˜ = ๐ด๐‘˜โˆ’1๐ด. That is

๐ด๐‘˜๐‘–๐‘—= ๐ด๐‘˜โˆ’1

๐‘–๐‘š๐ด๐‘š๐‘—

|๐‘‰|

๐‘š=1

โ—ฆ By the induction hypothesis, ๐ด๐‘˜โˆ’1๐‘–๐‘š

is the

number of paths of length ๐‘˜ โˆ’ 1 between ๐‘ฃ๐‘– and ๐‘ฃ๐‘š.

โ—ฆ ๐ด๐‘š๐‘— is the number of edges between ๐‘ฃ๐‘š, ๐‘ฃ๐‘—.

Page 8: Ma/CS 6bmath.caltech.edu/~2014-15/2term/ma006b/12 Graphs...ย ยท incidence matrix ๐‘€ and adjacency matrix เฃต. Express ๐‘€๐‘€๐‘‡ using เฃต. Answer. This is a ๐‘‰ร—๐‘‰ matrix.

2/1/2015

8

The Induction Step (cont.)

๐ด๐‘˜๐‘–๐‘—= ๐ด๐‘˜โˆ’1

๐‘–๐‘š๐ด๐‘š๐‘—

|๐‘‰|

๐‘š=1

For a fixed ๐‘š, ๐ด๐‘˜โˆ’1๐‘–๐‘š๐ด๐‘š๐‘— is the

number of paths from ๐‘ฃ๐‘– to ๐‘ฃ๐‘— of length ๐‘˜

with ๐‘ฃ๐‘š as their penultimate vertex.

โ—ฆ Thus, summing over every 1 โ‰ค ๐‘š โ‰ค |๐‘‰| results in the number of paths from ๐‘ฃ๐‘– to ๐‘ฃ๐‘— of

length ๐‘˜.

Which Classic English Rock Band is More Sciency?

Page 9: Ma/CS 6bmath.caltech.edu/~2014-15/2term/ma006b/12 Graphs...ย ยท incidence matrix ๐‘€ and adjacency matrix เฃต. Express ๐‘€๐‘€๐‘‡ using เฃต. Answer. This is a ๐‘‰ร—๐‘‰ matrix.

2/1/2015

9

Computing the Number of Paths of Length ๐‘˜ Problem. Consider a graph ๐บ = ๐‘‰, ๐ธ ,

two vertices ๐‘ , ๐‘ก โˆˆ ๐‘‰, and an integer ๐‘˜ > 0. Describe an algorithm for finding the number of paths of length ๐‘˜ between ๐‘  and ๐‘ก.

โ—ฆ Let ๐ด be the adjacency matrix of ๐บ.

โ—ฆ We need to compute ๐ด๐‘˜, which involves ๐‘˜ โˆ’ 1 matrix multiplication.

Matrix Multiplication: A Brief History

We wish to multiply two ๐‘› ร— ๐‘› matrices.

โ—ฆ Computing one cell requires about ๐‘› multiplications and additions. So computing an entire matrix takes ๐‘๐‘›3 (for some constant ๐‘).

โ—ฆ In 1969 Strassen found an improved algorithm with a running time of ๐‘๐‘›2.807.

โ—ฆ In 1987, Coppersmith and Winograd obtained an improved ๐‘๐‘›2.376.

โ—ฆ After over 20 years, in 2010, Stothers obtained ๐‘๐‘›2.374.

โ—ฆ Williams immediately improved to ๐‘๐‘›2.3728642.

โ—ฆ In 2014, Le Gall improved to ๐‘๐‘›2.3728639.

Page 10: Ma/CS 6bmath.caltech.edu/~2014-15/2term/ma006b/12 Graphs...ย ยท incidence matrix ๐‘€ and adjacency matrix เฃต. Express ๐‘€๐‘€๐‘‡ using เฃต. Answer. This is a ๐‘‰ร—๐‘‰ matrix.

2/1/2015

10

A More Efficient Algorithm

To compute ๐ด๐‘˜, we do not need ๐‘˜ โˆ’ 1 matrix multiplications.

If ๐‘˜ is a power of 2:

โ—ฆ ๐ด2 = ๐ด๐ด, ๐ด4 = ๐ด2๐ด2, โ€ฆ, ๐ด๐‘˜ = ๐ด๐‘˜/2๐ด๐‘˜/2.

โ—ฆ Only log2 ๐‘˜ multiplications!

If ๐‘˜ is not a power of 2:

โ—ฆ We again compute ๐ด, ๐ด2, ๐ด4, โ€ฆ , ๐ด ๐‘˜ .

โ—ฆ We can then obtain ๐ด๐‘˜ by multiplying a subset of those.

โ—ฆ For example, ๐ด57 = ๐ด32๐ด16๐ด8๐ด.

โ—ฆ At most 2log ๐‘˜ โˆ’ 1 multiplications!

Connectivity and Matrices

Problem. Let ๐บ = ๐‘‰, ๐ธ be a graph with an adjacency matrix ๐ด. Use ๐‘€ = ๐ผ + ๐ด

+ ๐ด2 + ๐ด3 +โ‹ฏ+ ๐ด ๐‘‰ โˆ’1 to tell whether ๐บ is connected.

Answer.

โ—ฆ ๐บ is connected iff every cell of ๐ด is positive.

โ—ฆ The main diagonal of ๐ด is positive due to ๐ผ.

โ—ฆ A cell ๐ด๐‘–๐‘— for ๐‘– โ‰  ๐‘— contains the number of

paths between ๐‘ฃ๐‘– and ๐‘ฃ๐‘— of length at most

๐‘˜ โˆ’ 1. If the graph is connected, such paths exist between every two vertices.

Page 11: Ma/CS 6bmath.caltech.edu/~2014-15/2term/ma006b/12 Graphs...ย ยท incidence matrix ๐‘€ and adjacency matrix เฃต. Express ๐‘€๐‘€๐‘‡ using เฃต. Answer. This is a ๐‘‰ร—๐‘‰ matrix.

2/1/2015

11

And Now with Colors

Problem. Consider a graph ๐บ = ๐‘‰, ๐ธ , two vertices ๐‘ , ๐‘ก โˆˆ ๐‘‰, and an integer ๐‘˜ > 0. Moreover, every edge is colored either red or blue. Describe an algorithm for finding the number of paths of length ๐‘˜ between ๐‘  and ๐‘ก that have an even number of blue edges.

Solution

We define two sets of matrices:

โ—ฆ Cell ๐‘–๐‘— of the matrix ๐ธ ๐‘š contains the number of paths of length ๐‘š between ๐‘ฃ๐‘– an ๐‘ฃ๐‘— using an even number of blue edges.

โ—ฆ Cell ๐‘–๐‘— of the matrix ๐‘‚ ๐‘š contains the number of paths of length ๐‘š between ๐‘ฃ๐‘– an ๐‘ฃ๐‘— using an odd number of blue edges.

What are ๐ธ 1 and ๐‘‚(1)?

โ—ฆ ๐ธ 1 is the adjacency matrix of ๐บ after

removing the blue edges. Similarly for ๐‘‚ 1 after removing the red edges.

Page 12: Ma/CS 6bmath.caltech.edu/~2014-15/2term/ma006b/12 Graphs...ย ยท incidence matrix ๐‘€ and adjacency matrix เฃต. Express ๐‘€๐‘€๐‘‡ using เฃต. Answer. This is a ๐‘‰ร—๐‘‰ matrix.

2/1/2015

12

Solution (cont.)

We wish to compute ๐ธ ๐‘˜ .

โ—ฆ We know how to find ๐ธ 1 and ๐‘‚ 1 .

โ—ฆ How can we compute ๐ธ ๐‘š and ๐‘‚(๐‘š) using

๐ธ ๐‘šโˆ’1 and ๐‘‚(๐‘šโˆ’1)?

๐ธ ๐‘š = ๐ธ ๐‘šโˆ’1 ๐ธ 1 + ๐‘‚(๐‘šโˆ’1)๐‘‚(1).

โ—ฆ ๐ธ ๐‘šโˆ’1 ๐ธ 1๐‘–๐‘—

is the number of paths of

length ๐‘š between ๐‘ฃ๐‘– and ๐‘ฃ๐‘— with an even

number of blue edges and whose last edge is red.

โ—ฆ Similarly for ๐‘‚ ๐‘šโˆ’1 ๐‘‚ 1๐‘–๐‘—

except that the

last edges of the paths is blue.

Solution (cont.)

How can we similarly compute ๐‘‚ ๐‘š using

๐ธ ๐‘šโˆ’1 and ๐‘‚ ๐‘šโˆ’1 ? ๐‘‚ ๐‘š = ๐ธ ๐‘šโˆ’1 ๐‘‚ 1 + ๐‘‚(๐‘šโˆ’1)๐ธ(1).

Concluding the solution.

โ—ฆ We compute about 2๐‘˜ matrices.

โ—ฆ Each computation involves two matrix multiplications and one addition.

Page 13: Ma/CS 6bmath.caltech.edu/~2014-15/2term/ma006b/12 Graphs...ย ยท incidence matrix ๐‘€ and adjacency matrix เฃต. Express ๐‘€๐‘€๐‘‡ using เฃต. Answer. This is a ๐‘‰ร—๐‘‰ matrix.

2/1/2015

13

Identical Graphs?

Are the following two graphs identical?

Possible answers:

โ—ฆ No, since in one ๐‘ฃ1 has degree 2 and in the other degree 1.

โ—ฆ Yes, because they have exactly the same structure.

๐‘ฃ1

๐‘ฃ2 ๐‘ฃ3

๐‘ฃ2

๐‘ฃ1 ๐‘ฃ3

Graph Isomorphism

An isomorphism from a graph ๐บ = ๐‘‰, ๐ธ to a graph ๐บโ€ฒ = ๐‘‰โ€ฒ, ๐ธโ€ฒ is a bijection ๐‘“: ๐‘‰ โ†’ ๐‘‰โ€ฒ such that for every ๐‘ข, ๐‘ฃ โˆˆ ๐‘‰, ๐ธ has the same number of edges between ๐‘ข and ๐‘ฃ as ๐ธโ€ฒ has between ๐‘“ ๐‘ข and ๐‘“ ๐‘ฃ .

โ—ฆ We say that ๐บ and ๐บโ€ฒ are isomorphic if there is an isomorphism from ๐บ to ๐บโ€ฒ.

โ—ฆ In our example, the graphs are isomorphic (๐‘“ ๐‘ฃ1 = ๐‘ข2, ๐‘“ ๐‘ฃ2 = ๐‘ข1, ๐‘“ ๐‘ฃ3 = ๐‘ข3).

๐‘ฃ1

๐‘ฃ2 ๐‘ฃ3

๐‘ข2

๐‘ข1 ๐‘ข3

Page 14: Ma/CS 6bmath.caltech.edu/~2014-15/2term/ma006b/12 Graphs...ย ยท incidence matrix ๐‘€ and adjacency matrix เฃต. Express ๐‘€๐‘€๐‘‡ using เฃต. Answer. This is a ๐‘‰ร—๐‘‰ matrix.

2/1/2015

14

Uniqueness?

Question. If two graphs are isomorphic, can there be more than one isomorphism from one to the other?

โ—ฆ Yes!

โ—ฆ ๐‘Ž โ†’ ๐‘ค, ๐‘ โ†’ ๐‘ง, ๐‘ โ†’ ๐‘ฅ, ๐‘‘ โ†’ ๐‘ฆ.

โ—ฆ ๐‘Ž โ†’ ๐‘ฆ, ๐‘ โ†’ ๐‘ง, ๐‘ โ†’ ๐‘ฅ, ๐‘‘ โ†’ ๐‘ค.

๐‘Ž ๐‘

๐‘ ๐‘‘

๐‘ค ๐‘ฅ

๐‘ฆ ๐‘ง

Isomorphisms and Adjacency Matrices What can we

say about adjacency matrices of isomorphic graphs?

๐‘Ž ๐‘

๐‘ ๐‘‘

๐‘ค ๐‘ฅ

๐‘ฆ ๐‘ง

0 1 0 01 0 1 000100 11 0

0 0 0 10 0 1 101110 00 0

Page 15: Ma/CS 6bmath.caltech.edu/~2014-15/2term/ma006b/12 Graphs...ย ยท incidence matrix ๐‘€ and adjacency matrix เฃต. Express ๐‘€๐‘€๐‘‡ using เฃต. Answer. This is a ๐‘‰ร—๐‘‰ matrix.

2/1/2015

15

Answer

Two graphs ๐บ, ๐บโ€ฒ are isomorphic if and only if the adjacency matrix of ๐บ is obtained by permuting the rows and columns of the adjacency matrix of ๐บโ€ฒ.

โ—ฆ (The same permutation should apply both to the rows and to the column).

โ—ฆ 1 โ†’ 1, 2 โ†’ 4, 4 โ†’ 3, 3 โ†’ 2:

0 1 0 01 0 1 000100 11 0

0 0 0 10 0 1 101110 00 0

Incidence Matrix of a Directed Graph Consider a directed graph ๐บ = ๐‘‰, ๐ธ .

โ—ฆ We order the vertices as ๐‘‰ = ๐‘ฃ1, ๐‘ฃ2, โ€ฆ , ๐‘ฃ๐‘› and the edges as ๐ธ = ๐‘’1, ๐‘’2, โ€ฆ , ๐‘’๐‘š

โ—ฆ The incidence matrix of ๐บ is an ๐‘› ร—๐‘š matrix ๐‘€. The cell ๐‘€๐‘–๐‘— contains -1 if ๐‘’๐‘— is entering ๐‘ฃ๐‘–,

and 1 if ๐‘’๐‘— is leaving ๐‘ฃ๐‘–.

๐‘ฃ1

๐‘ฃ2

๐‘ฃ3 ๐‘ฃ4

๐‘ฃ5 โˆ’1 0 00 โˆ’1 โˆ’10 0 0

0 0 00 0 โˆ’10 โˆ’1 1

0 0 01 1 1

โˆ’1 1 01 0 0

๐‘’1 ๐‘’2

๐‘’3 ๐‘’4 ๐‘’5 ๐‘’6

Page 16: Ma/CS 6bmath.caltech.edu/~2014-15/2term/ma006b/12 Graphs...ย ยท incidence matrix ๐‘€ and adjacency matrix เฃต. Express ๐‘€๐‘€๐‘‡ using เฃต. Answer. This is a ๐‘‰ร—๐‘‰ matrix.

2/1/2015

16

The End: Queen

Ph.D. in astrophysics

Freddie Mercury

Electronics engineer

Degree in Biology