61
Introduction Student Projects My Projects Graph Theory using Sage Chris Godsil Seattle, August 2009 Chris Godsil Graph Theory using Sage

Graph Theory using Sage - Mathematicscgodsil/pdfs/sage.pdf · IntroductionStudent ProjectsMy Projects 1 Introduction Background 2 StudentProjects ConferenceGraphs TheMatchingPolynomial

  • Upload
    others

  • View
    2

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Graph Theory using Sage - Mathematicscgodsil/pdfs/sage.pdf · IntroductionStudent ProjectsMy Projects 1 Introduction Background 2 StudentProjects ConferenceGraphs TheMatchingPolynomial

Introduction Student Projects My Projects

Graph Theory using Sage

Chris Godsil

Seattle, August 2009

Chris Godsil Graph Theory using Sage

Page 2: Graph Theory using Sage - Mathematicscgodsil/pdfs/sage.pdf · IntroductionStudent ProjectsMy Projects 1 Introduction Background 2 StudentProjects ConferenceGraphs TheMatchingPolynomial

Introduction Student Projects My Projects

1 IntroductionBackground

2 Student ProjectsConference GraphsThe Matching Polynomial

3 My ProjectsThe 600-CellWalk-Regular GraphsSpectra of Trees

Chris Godsil Graph Theory using Sage

Page 3: Graph Theory using Sage - Mathematicscgodsil/pdfs/sage.pdf · IntroductionStudent ProjectsMy Projects 1 Introduction Background 2 StudentProjects ConferenceGraphs TheMatchingPolynomial

Introduction Student Projects My Projects Background

Outline

1 IntroductionBackground

2 Student ProjectsConference GraphsThe Matching Polynomial

3 My ProjectsThe 600-CellWalk-Regular GraphsSpectra of Trees

Chris Godsil Graph Theory using Sage

Page 4: Graph Theory using Sage - Mathematicscgodsil/pdfs/sage.pdf · IntroductionStudent ProjectsMy Projects 1 Introduction Background 2 StudentProjects ConferenceGraphs TheMatchingPolynomial

Introduction Student Projects My Projects Background

Aims

I am keen to use sage as a tool for my research.

I want my grad students to learn to make efficient use of it.I would very much like to use it as a tool in undergraduatecombinatorics courses.

Chris Godsil Graph Theory using Sage

Page 5: Graph Theory using Sage - Mathematicscgodsil/pdfs/sage.pdf · IntroductionStudent ProjectsMy Projects 1 Introduction Background 2 StudentProjects ConferenceGraphs TheMatchingPolynomial

Introduction Student Projects My Projects Background

Aims

I am keen to use sage as a tool for my research.I want my grad students to learn to make efficient use of it.

I would very much like to use it as a tool in undergraduatecombinatorics courses.

Chris Godsil Graph Theory using Sage

Page 6: Graph Theory using Sage - Mathematicscgodsil/pdfs/sage.pdf · IntroductionStudent ProjectsMy Projects 1 Introduction Background 2 StudentProjects ConferenceGraphs TheMatchingPolynomial

Introduction Student Projects My Projects Background

Aims

I am keen to use sage as a tool for my research.I want my grad students to learn to make efficient use of it.I would very much like to use it as a tool in undergraduatecombinatorics courses.

Chris Godsil Graph Theory using Sage

Page 7: Graph Theory using Sage - Mathematicscgodsil/pdfs/sage.pdf · IntroductionStudent ProjectsMy Projects 1 Introduction Background 2 StudentProjects ConferenceGraphs TheMatchingPolynomial

Introduction Student Projects My Projects Background

Obstacles

The chief problem is access: many students are onlycomfortable with windows.

A second problem is competence. Most of my grad studentsknow essentially nothing about combinatorial computing, andnot much about computing.

Chris Godsil Graph Theory using Sage

Page 8: Graph Theory using Sage - Mathematicscgodsil/pdfs/sage.pdf · IntroductionStudent ProjectsMy Projects 1 Introduction Background 2 StudentProjects ConferenceGraphs TheMatchingPolynomial

Introduction Student Projects My Projects Background

Obstacles

The chief problem is access: many students are onlycomfortable with windows.A second problem is competence. Most of my grad studentsknow essentially nothing about combinatorial computing, andnot much about computing.

Chris Godsil Graph Theory using Sage

Page 9: Graph Theory using Sage - Mathematicscgodsil/pdfs/sage.pdf · IntroductionStudent ProjectsMy Projects 1 Introduction Background 2 StudentProjects ConferenceGraphs TheMatchingPolynomial

Introduction Student Projects My Projects Background

Solutions?

Time will solve the access problem.

Appropriate documentation will help with the competence.(Note that useful python documentation is lacking too.)

Chris Godsil Graph Theory using Sage

Page 10: Graph Theory using Sage - Mathematicscgodsil/pdfs/sage.pdf · IntroductionStudent ProjectsMy Projects 1 Introduction Background 2 StudentProjects ConferenceGraphs TheMatchingPolynomial

Introduction Student Projects My Projects Background

Solutions?

Time will solve the access problem.Appropriate documentation will help with the competence.(Note that useful python documentation is lacking too.)

Chris Godsil Graph Theory using Sage

Page 11: Graph Theory using Sage - Mathematicscgodsil/pdfs/sage.pdf · IntroductionStudent ProjectsMy Projects 1 Introduction Background 2 StudentProjects ConferenceGraphs TheMatchingPolynomial

Introduction Student Projects My Projects Conference Graphs The Matching Polynomial

Outline

1 IntroductionBackground

2 Student ProjectsConference GraphsThe Matching Polynomial

3 My ProjectsThe 600-CellWalk-Regular GraphsSpectra of Trees

Chris Godsil Graph Theory using Sage

Page 12: Graph Theory using Sage - Mathematicscgodsil/pdfs/sage.pdf · IntroductionStudent ProjectsMy Projects 1 Introduction Background 2 StudentProjects ConferenceGraphs TheMatchingPolynomial

Introduction Student Projects My Projects Conference Graphs The Matching Polynomial

A Construction

Start with a vector space V of dimension two over a field ofodd order q. There are q + 1 parallel classes of lines; choose asubset S of these with size (q + 1)/2.

The vertices of our graph are the elements of V ; two vectorsu and v are adjacent if u 6= v and the line spanned by v − ulies in one of the parallel classes in S .Our graph will have q2 vertices and valency (q2 − 1)/2. It is aCayley graph for the additive group of V .

Chris Godsil Graph Theory using Sage

Page 13: Graph Theory using Sage - Mathematicscgodsil/pdfs/sage.pdf · IntroductionStudent ProjectsMy Projects 1 Introduction Background 2 StudentProjects ConferenceGraphs TheMatchingPolynomial

Introduction Student Projects My Projects Conference Graphs The Matching Polynomial

A Construction

Start with a vector space V of dimension two over a field ofodd order q. There are q + 1 parallel classes of lines; choose asubset S of these with size (q + 1)/2.The vertices of our graph are the elements of V ; two vectorsu and v are adjacent if u 6= v and the line spanned by v − ulies in one of the parallel classes in S .

Our graph will have q2 vertices and valency (q2 − 1)/2. It is aCayley graph for the additive group of V .

Chris Godsil Graph Theory using Sage

Page 14: Graph Theory using Sage - Mathematicscgodsil/pdfs/sage.pdf · IntroductionStudent ProjectsMy Projects 1 Introduction Background 2 StudentProjects ConferenceGraphs TheMatchingPolynomial

Introduction Student Projects My Projects Conference Graphs The Matching Polynomial

A Construction

Start with a vector space V of dimension two over a field ofodd order q. There are q + 1 parallel classes of lines; choose asubset S of these with size (q + 1)/2.The vertices of our graph are the elements of V ; two vectorsu and v are adjacent if u 6= v and the line spanned by v − ulies in one of the parallel classes in S .Our graph will have q2 vertices and valency (q2 − 1)/2. It is aCayley graph for the additive group of V .

Chris Godsil Graph Theory using Sage

Page 15: Graph Theory using Sage - Mathematicscgodsil/pdfs/sage.pdf · IntroductionStudent ProjectsMy Projects 1 Introduction Background 2 StudentProjects ConferenceGraphs TheMatchingPolynomial

Introduction Student Projects My Projects Conference Graphs The Matching Polynomial

Isomorphism

A number of specializations of these procedure produceinteresting infinite families of graphs.

The problem is two determine when the graphs in distinctfamilies are not isomorphic.

Chris Godsil Graph Theory using Sage

Page 16: Graph Theory using Sage - Mathematicscgodsil/pdfs/sage.pdf · IntroductionStudent ProjectsMy Projects 1 Introduction Background 2 StudentProjects ConferenceGraphs TheMatchingPolynomial

Introduction Student Projects My Projects Conference Graphs The Matching Polynomial

Isomorphism

A number of specializations of these procedure produceinteresting infinite families of graphs.The problem is two determine when the graphs in distinctfamilies are not isomorphic.

Chris Godsil Graph Theory using Sage

Page 17: Graph Theory using Sage - Mathematicscgodsil/pdfs/sage.pdf · IntroductionStudent ProjectsMy Projects 1 Introduction Background 2 StudentProjects ConferenceGraphs TheMatchingPolynomial

Introduction Student Projects My Projects Conference Graphs The Matching Polynomial

Cliques

To this end, it is natural to investigate the clique structure.How large can a clique be?

How many cliques of maximum size on a given vertex?On a given edge?

Chris Godsil Graph Theory using Sage

Page 18: Graph Theory using Sage - Mathematicscgodsil/pdfs/sage.pdf · IntroductionStudent ProjectsMy Projects 1 Introduction Background 2 StudentProjects ConferenceGraphs TheMatchingPolynomial

Introduction Student Projects My Projects Conference Graphs The Matching Polynomial

Cliques

To this end, it is natural to investigate the clique structure.How large can a clique be?How many cliques of maximum size on a given vertex?

On a given edge?

Chris Godsil Graph Theory using Sage

Page 19: Graph Theory using Sage - Mathematicscgodsil/pdfs/sage.pdf · IntroductionStudent ProjectsMy Projects 1 Introduction Background 2 StudentProjects ConferenceGraphs TheMatchingPolynomial

Introduction Student Projects My Projects Conference Graphs The Matching Polynomial

Cliques

To this end, it is natural to investigate the clique structure.How large can a clique be?How many cliques of maximum size on a given vertex?On a given edge?

Chris Godsil Graph Theory using Sage

Page 20: Graph Theory using Sage - Mathematicscgodsil/pdfs/sage.pdf · IntroductionStudent ProjectsMy Projects 1 Introduction Background 2 StudentProjects ConferenceGraphs TheMatchingPolynomial

Introduction Student Projects My Projects Conference Graphs The Matching Polynomial

Our Experience

Sage was definitely the right tool to generate the graphs wewanted.

The networkx clique routine was too slow; my student movedto using cliquer.

Chris Godsil Graph Theory using Sage

Page 21: Graph Theory using Sage - Mathematicscgodsil/pdfs/sage.pdf · IntroductionStudent ProjectsMy Projects 1 Introduction Background 2 StudentProjects ConferenceGraphs TheMatchingPolynomial

Introduction Student Projects My Projects Conference Graphs The Matching Polynomial

Our Experience

Sage was definitely the right tool to generate the graphs wewanted.The networkx clique routine was too slow; my student movedto using cliquer.

Chris Godsil Graph Theory using Sage

Page 22: Graph Theory using Sage - Mathematicscgodsil/pdfs/sage.pdf · IntroductionStudent ProjectsMy Projects 1 Introduction Background 2 StudentProjects ConferenceGraphs TheMatchingPolynomial

Introduction Student Projects My Projects Conference Graphs The Matching Polynomial

Outline

1 IntroductionBackground

2 Student ProjectsConference GraphsThe Matching Polynomial

3 My ProjectsThe 600-CellWalk-Regular GraphsSpectra of Trees

Chris Godsil Graph Theory using Sage

Page 23: Graph Theory using Sage - Mathematicscgodsil/pdfs/sage.pdf · IntroductionStudent ProjectsMy Projects 1 Introduction Background 2 StudentProjects ConferenceGraphs TheMatchingPolynomial

Introduction Student Projects My Projects Conference Graphs The Matching Polynomial

Definitions

DefinitionA matching in a graph is a set of disjoint edges. We denote thenumber of matchings in X of size r by p(X , r). The matchingpolynomial µ(X , t) is given by

µ(X , t) :=∑r≥0

(−1)n−rp(X , r)tn−2r

where n = |V (X)|.

For a forest, the matching polynomial coincides with thecharacteristic polynomial (of the adjacency matrix).

Chris Godsil Graph Theory using Sage

Page 24: Graph Theory using Sage - Mathematicscgodsil/pdfs/sage.pdf · IntroductionStudent ProjectsMy Projects 1 Introduction Background 2 StudentProjects ConferenceGraphs TheMatchingPolynomial

Introduction Student Projects My Projects Conference Graphs The Matching Polynomial

Definitions

DefinitionA matching in a graph is a set of disjoint edges. We denote thenumber of matchings in X of size r by p(X , r). The matchingpolynomial µ(X , t) is given by

µ(X , t) :=∑r≥0

(−1)n−rp(X , r)tn−2r

where n = |V (X)|.

For a forest, the matching polynomial coincides with thecharacteristic polynomial (of the adjacency matrix).

Chris Godsil Graph Theory using Sage

Page 25: Graph Theory using Sage - Mathematicscgodsil/pdfs/sage.pdf · IntroductionStudent ProjectsMy Projects 1 Introduction Background 2 StudentProjects ConferenceGraphs TheMatchingPolynomial

Introduction Student Projects My Projects Conference Graphs The Matching Polynomial

The Tasks

Compute the matching polynomial for all graphs on up to 9vertices (say).

Compute the matching polynomial for individual graphs on up20 vertices.

Chris Godsil Graph Theory using Sage

Page 26: Graph Theory using Sage - Mathematicscgodsil/pdfs/sage.pdf · IntroductionStudent ProjectsMy Projects 1 Introduction Background 2 StudentProjects ConferenceGraphs TheMatchingPolynomial

Introduction Student Projects My Projects Conference Graphs The Matching Polynomial

The Tasks

Compute the matching polynomial for all graphs on up to 9vertices (say).Compute the matching polynomial for individual graphs on up20 vertices.

Chris Godsil Graph Theory using Sage

Page 27: Graph Theory using Sage - Mathematicscgodsil/pdfs/sage.pdf · IntroductionStudent ProjectsMy Projects 1 Introduction Background 2 StudentProjects ConferenceGraphs TheMatchingPolynomial

Introduction Student Projects My Projects Conference Graphs The Matching Polynomial

The Difficulties

All known algorithms for computing this polynomial takeexponential time.

There are 274668 graphs on 9 vertices.My student used polynomials as his data structure, and hencegot bogged down in maxima.

Chris Godsil Graph Theory using Sage

Page 28: Graph Theory using Sage - Mathematicscgodsil/pdfs/sage.pdf · IntroductionStudent ProjectsMy Projects 1 Introduction Background 2 StudentProjects ConferenceGraphs TheMatchingPolynomial

Introduction Student Projects My Projects Conference Graphs The Matching Polynomial

The Difficulties

All known algorithms for computing this polynomial takeexponential time.There are 274668 graphs on 9 vertices.

My student used polynomials as his data structure, and hencegot bogged down in maxima.

Chris Godsil Graph Theory using Sage

Page 29: Graph Theory using Sage - Mathematicscgodsil/pdfs/sage.pdf · IntroductionStudent ProjectsMy Projects 1 Introduction Background 2 StudentProjects ConferenceGraphs TheMatchingPolynomial

Introduction Student Projects My Projects Conference Graphs The Matching Polynomial

The Difficulties

All known algorithms for computing this polynomial takeexponential time.There are 274668 graphs on 9 vertices.My student used polynomials as his data structure, and hencegot bogged down in maxima.

Chris Godsil Graph Theory using Sage

Page 30: Graph Theory using Sage - Mathematicscgodsil/pdfs/sage.pdf · IntroductionStudent ProjectsMy Projects 1 Introduction Background 2 StudentProjects ConferenceGraphs TheMatchingPolynomial

Introduction Student Projects My Projects The 600-Cell Walk-Regular Graphs Spectra of Trees

Outline

1 IntroductionBackground

2 Student ProjectsConference GraphsThe Matching Polynomial

3 My ProjectsThe 600-CellWalk-Regular GraphsSpectra of Trees

Chris Godsil Graph Theory using Sage

Page 31: Graph Theory using Sage - Mathematicscgodsil/pdfs/sage.pdf · IntroductionStudent ProjectsMy Projects 1 Introduction Background 2 StudentProjects ConferenceGraphs TheMatchingPolynomial

Introduction Student Projects My Projects The 600-Cell Walk-Regular Graphs Spectra of Trees

120 Vectors in R4

Define f := (1 +√

5)/2 and take all even permutations of allpossible signings of the vector (1, f , 1− f , 0)

To this 96 vectors add the 16 vectors 12(±1,±1,±1,±1).

Complete the set to one of size 120 by adding each of the twosignings of the four standard basis vectors.

Chris Godsil Graph Theory using Sage

Page 32: Graph Theory using Sage - Mathematicscgodsil/pdfs/sage.pdf · IntroductionStudent ProjectsMy Projects 1 Introduction Background 2 StudentProjects ConferenceGraphs TheMatchingPolynomial

Introduction Student Projects My Projects The 600-Cell Walk-Regular Graphs Spectra of Trees

120 Vectors in R4

Define f := (1 +√

5)/2 and take all even permutations of allpossible signings of the vector (1, f , 1− f , 0)To this 96 vectors add the 16 vectors 1

2(±1,±1,±1,±1).

Complete the set to one of size 120 by adding each of the twosignings of the four standard basis vectors.

Chris Godsil Graph Theory using Sage

Page 33: Graph Theory using Sage - Mathematicscgodsil/pdfs/sage.pdf · IntroductionStudent ProjectsMy Projects 1 Introduction Background 2 StudentProjects ConferenceGraphs TheMatchingPolynomial

Introduction Student Projects My Projects The 600-Cell Walk-Regular Graphs Spectra of Trees

120 Vectors in R4

Define f := (1 +√

5)/2 and take all even permutations of allpossible signings of the vector (1, f , 1− f , 0)To this 96 vectors add the 16 vectors 1

2(±1,±1,±1,±1).Complete the set to one of size 120 by adding each of the twosignings of the four standard basis vectors.

Chris Godsil Graph Theory using Sage

Page 34: Graph Theory using Sage - Mathematicscgodsil/pdfs/sage.pdf · IntroductionStudent ProjectsMy Projects 1 Introduction Background 2 StudentProjects ConferenceGraphs TheMatchingPolynomial

Introduction Student Projects My Projects The 600-Cell Walk-Regular Graphs Spectra of Trees

A Graph

For us, the 600-cell is the graph with these 120 vectors as itsvertices, where two vectors are adjacent if they lie at distance 1/f .Equivalently it is the 1-skeleton of the convex polytope generatedby these vectors.

Chris Godsil Graph Theory using Sage

Page 35: Graph Theory using Sage - Mathematicscgodsil/pdfs/sage.pdf · IntroductionStudent ProjectsMy Projects 1 Introduction Background 2 StudentProjects ConferenceGraphs TheMatchingPolynomial

Introduction Student Projects My Projects The 600-Cell Walk-Regular Graphs Spectra of Trees

Experience

Our 120 vectors correspond to a subgroup of the unitquaternions. This provided a reasonably convenient way toconstruct the graph.

I was able to settle all the questions I had about this graph,by computation and using the insight gained.Do not use a list comprehension with index i if you want i tocontinue to denote a quaternion.

Chris Godsil Graph Theory using Sage

Page 36: Graph Theory using Sage - Mathematicscgodsil/pdfs/sage.pdf · IntroductionStudent ProjectsMy Projects 1 Introduction Background 2 StudentProjects ConferenceGraphs TheMatchingPolynomial

Introduction Student Projects My Projects The 600-Cell Walk-Regular Graphs Spectra of Trees

Experience

Our 120 vectors correspond to a subgroup of the unitquaternions. This provided a reasonably convenient way toconstruct the graph.I was able to settle all the questions I had about this graph,by computation and using the insight gained.

Do not use a list comprehension with index i if you want i tocontinue to denote a quaternion.

Chris Godsil Graph Theory using Sage

Page 37: Graph Theory using Sage - Mathematicscgodsil/pdfs/sage.pdf · IntroductionStudent ProjectsMy Projects 1 Introduction Background 2 StudentProjects ConferenceGraphs TheMatchingPolynomial

Introduction Student Projects My Projects The 600-Cell Walk-Regular Graphs Spectra of Trees

Experience

Our 120 vectors correspond to a subgroup of the unitquaternions. This provided a reasonably convenient way toconstruct the graph.I was able to settle all the questions I had about this graph,by computation and using the insight gained.Do not use a list comprehension with index i if you want i tocontinue to denote a quaternion.

Chris Godsil Graph Theory using Sage

Page 38: Graph Theory using Sage - Mathematicscgodsil/pdfs/sage.pdf · IntroductionStudent ProjectsMy Projects 1 Introduction Background 2 StudentProjects ConferenceGraphs TheMatchingPolynomial

Introduction Student Projects My Projects The 600-Cell Walk-Regular Graphs Spectra of Trees

Outline

1 IntroductionBackground

2 Student ProjectsConference GraphsThe Matching Polynomial

3 My ProjectsThe 600-CellWalk-Regular GraphsSpectra of Trees

Chris Godsil Graph Theory using Sage

Page 39: Graph Theory using Sage - Mathematicscgodsil/pdfs/sage.pdf · IntroductionStudent ProjectsMy Projects 1 Introduction Background 2 StudentProjects ConferenceGraphs TheMatchingPolynomial

Introduction Student Projects My Projects The 600-Cell Walk-Regular Graphs Spectra of Trees

Definitions

DefinitionSuppose X is a graph with adjacency matrix A. We say X is walkregular if the diagonal entries of Ar are all equal, for anynon-negative r .

Chris Godsil Graph Theory using Sage

Page 40: Graph Theory using Sage - Mathematicscgodsil/pdfs/sage.pdf · IntroductionStudent ProjectsMy Projects 1 Introduction Background 2 StudentProjects ConferenceGraphs TheMatchingPolynomial

Introduction Student Projects My Projects The 600-Cell Walk-Regular Graphs Spectra of Trees

Examples

Vertex-transitive graphs.

Strongly regular (and distance-regular) graphs.Products of walk-regular graphs: Cartesian, direct, strong.

Chris Godsil Graph Theory using Sage

Page 41: Graph Theory using Sage - Mathematicscgodsil/pdfs/sage.pdf · IntroductionStudent ProjectsMy Projects 1 Introduction Background 2 StudentProjects ConferenceGraphs TheMatchingPolynomial

Introduction Student Projects My Projects The 600-Cell Walk-Regular Graphs Spectra of Trees

Examples

Vertex-transitive graphs.Strongly regular (and distance-regular) graphs.

Products of walk-regular graphs: Cartesian, direct, strong.

Chris Godsil Graph Theory using Sage

Page 42: Graph Theory using Sage - Mathematicscgodsil/pdfs/sage.pdf · IntroductionStudent ProjectsMy Projects 1 Introduction Background 2 StudentProjects ConferenceGraphs TheMatchingPolynomial

Introduction Student Projects My Projects The 600-Cell Walk-Regular Graphs Spectra of Trees

Examples

Vertex-transitive graphs.Strongly regular (and distance-regular) graphs.Products of walk-regular graphs: Cartesian, direct, strong.

Chris Godsil Graph Theory using Sage

Page 43: Graph Theory using Sage - Mathematicscgodsil/pdfs/sage.pdf · IntroductionStudent ProjectsMy Projects 1 Introduction Background 2 StudentProjects ConferenceGraphs TheMatchingPolynomial

Introduction Student Projects My Projects The 600-Cell Walk-Regular Graphs Spectra of Trees

Finding Regular Graphs

There are two sources:Markus Meringer has a program genreg that generatesregular graphs.

McKay’s geng can also be used. It is less efficient for largergraphs (v ≥ 15 say).

Chris Godsil Graph Theory using Sage

Page 44: Graph Theory using Sage - Mathematicscgodsil/pdfs/sage.pdf · IntroductionStudent ProjectsMy Projects 1 Introduction Background 2 StudentProjects ConferenceGraphs TheMatchingPolynomial

Introduction Student Projects My Projects The 600-Cell Walk-Regular Graphs Spectra of Trees

Finding Regular Graphs

There are two sources:Markus Meringer has a program genreg that generatesregular graphs.McKay’s geng can also be used. It is less efficient for largergraphs (v ≥ 15 say).

Chris Godsil Graph Theory using Sage

Page 45: Graph Theory using Sage - Mathematicscgodsil/pdfs/sage.pdf · IntroductionStudent ProjectsMy Projects 1 Introduction Background 2 StudentProjects ConferenceGraphs TheMatchingPolynomial

Introduction Student Projects My Projects The 600-Cell Walk-Regular Graphs Spectra of Trees

Conclusions

The smallest walk-regular graph that is not vertex transitive ison 12 vertices.

Further progress will have to be made without computationalhelp—there are too many graphs.

Chris Godsil Graph Theory using Sage

Page 46: Graph Theory using Sage - Mathematicscgodsil/pdfs/sage.pdf · IntroductionStudent ProjectsMy Projects 1 Introduction Background 2 StudentProjects ConferenceGraphs TheMatchingPolynomial

Introduction Student Projects My Projects The 600-Cell Walk-Regular Graphs Spectra of Trees

Conclusions

The smallest walk-regular graph that is not vertex transitive ison 12 vertices.Further progress will have to be made without computationalhelp—there are too many graphs.

Chris Godsil Graph Theory using Sage

Page 47: Graph Theory using Sage - Mathematicscgodsil/pdfs/sage.pdf · IntroductionStudent ProjectsMy Projects 1 Introduction Background 2 StudentProjects ConferenceGraphs TheMatchingPolynomial

Introduction Student Projects My Projects The 600-Cell Walk-Regular Graphs Spectra of Trees

Outline

1 IntroductionBackground

2 Student ProjectsConference GraphsThe Matching Polynomial

3 My ProjectsThe 600-CellWalk-Regular GraphsSpectra of Trees

Chris Godsil Graph Theory using Sage

Page 48: Graph Theory using Sage - Mathematicscgodsil/pdfs/sage.pdf · IntroductionStudent ProjectsMy Projects 1 Introduction Background 2 StudentProjects ConferenceGraphs TheMatchingPolynomial

Introduction Student Projects My Projects The 600-Cell Walk-Regular Graphs Spectra of Trees

Cospectral Trees

S

S

Chris Godsil Graph Theory using Sage

Page 49: Graph Theory using Sage - Mathematicscgodsil/pdfs/sage.pdf · IntroductionStudent ProjectsMy Projects 1 Introduction Background 2 StudentProjects ConferenceGraphs TheMatchingPolynomial

Introduction Student Projects My Projects The 600-Cell Walk-Regular Graphs Spectra of Trees

Indistinguishability

The trees in this pair cannot be distinguished by the characteristicpolynomials of:

The trees themselves.

Their complements.Their Laplacians.Their line graphs.Their distance matrices.

Chris Godsil Graph Theory using Sage

Page 50: Graph Theory using Sage - Mathematicscgodsil/pdfs/sage.pdf · IntroductionStudent ProjectsMy Projects 1 Introduction Background 2 StudentProjects ConferenceGraphs TheMatchingPolynomial

Introduction Student Projects My Projects The 600-Cell Walk-Regular Graphs Spectra of Trees

Indistinguishability

The trees in this pair cannot be distinguished by the characteristicpolynomials of:

The trees themselves.Their complements.

Their Laplacians.Their line graphs.Their distance matrices.

Chris Godsil Graph Theory using Sage

Page 51: Graph Theory using Sage - Mathematicscgodsil/pdfs/sage.pdf · IntroductionStudent ProjectsMy Projects 1 Introduction Background 2 StudentProjects ConferenceGraphs TheMatchingPolynomial

Introduction Student Projects My Projects The 600-Cell Walk-Regular Graphs Spectra of Trees

Indistinguishability

The trees in this pair cannot be distinguished by the characteristicpolynomials of:

The trees themselves.Their complements.Their Laplacians.

Their line graphs.Their distance matrices.

Chris Godsil Graph Theory using Sage

Page 52: Graph Theory using Sage - Mathematicscgodsil/pdfs/sage.pdf · IntroductionStudent ProjectsMy Projects 1 Introduction Background 2 StudentProjects ConferenceGraphs TheMatchingPolynomial

Introduction Student Projects My Projects The 600-Cell Walk-Regular Graphs Spectra of Trees

Indistinguishability

The trees in this pair cannot be distinguished by the characteristicpolynomials of:

The trees themselves.Their complements.Their Laplacians.Their line graphs.

Their distance matrices.

Chris Godsil Graph Theory using Sage

Page 53: Graph Theory using Sage - Mathematicscgodsil/pdfs/sage.pdf · IntroductionStudent ProjectsMy Projects 1 Introduction Background 2 StudentProjects ConferenceGraphs TheMatchingPolynomial

Introduction Student Projects My Projects The 600-Cell Walk-Regular Graphs Spectra of Trees

Indistinguishability

The trees in this pair cannot be distinguished by the characteristicpolynomials of:

The trees themselves.Their complements.Their Laplacians.Their line graphs.Their distance matrices.

Chris Godsil Graph Theory using Sage

Page 54: Graph Theory using Sage - Mathematicscgodsil/pdfs/sage.pdf · IntroductionStudent ProjectsMy Projects 1 Introduction Background 2 StudentProjects ConferenceGraphs TheMatchingPolynomial

Introduction Student Projects My Projects The 600-Cell Walk-Regular Graphs Spectra of Trees

More Polynomials

We consider a two variable polynomial. Let D denote the diagonalmatrix of degrees of a graph and consider the polynomial:

det(sI − tA + D).

Chris Godsil Graph Theory using Sage

Page 55: Graph Theory using Sage - Mathematicscgodsil/pdfs/sage.pdf · IntroductionStudent ProjectsMy Projects 1 Introduction Background 2 StudentProjects ConferenceGraphs TheMatchingPolynomial

Introduction Student Projects My Projects The 600-Cell Walk-Regular Graphs Spectra of Trees

More Problems

Sage defaults to an exponential algorithm for determinants. (Ihave worked around this, thanks to Mike Hansen.)

I will probably need to go to trees on 25 vertices :-(

Chris Godsil Graph Theory using Sage

Page 56: Graph Theory using Sage - Mathematicscgodsil/pdfs/sage.pdf · IntroductionStudent ProjectsMy Projects 1 Introduction Background 2 StudentProjects ConferenceGraphs TheMatchingPolynomial

Introduction Student Projects My Projects The 600-Cell Walk-Regular Graphs Spectra of Trees

More Problems

Sage defaults to an exponential algorithm for determinants. (Ihave worked around this, thanks to Mike Hansen.)I will probably need to go to trees on 25 vertices :-(

Chris Godsil Graph Theory using Sage

Page 57: Graph Theory using Sage - Mathematicscgodsil/pdfs/sage.pdf · IntroductionStudent ProjectsMy Projects 1 Introduction Background 2 StudentProjects ConferenceGraphs TheMatchingPolynomial

Introduction Student Projects My Projects The 600-Cell Walk-Regular Graphs Spectra of Trees

To Learn

Galois rings: least common multiple of Zn and GF(q).

Use a database as a tool for investigating graphs.Graph constructions using finite geometry

Chris Godsil Graph Theory using Sage

Page 58: Graph Theory using Sage - Mathematicscgodsil/pdfs/sage.pdf · IntroductionStudent ProjectsMy Projects 1 Introduction Background 2 StudentProjects ConferenceGraphs TheMatchingPolynomial

Introduction Student Projects My Projects The 600-Cell Walk-Regular Graphs Spectra of Trees

To Learn

Galois rings: least common multiple of Zn and GF(q).Use a database as a tool for investigating graphs.

Graph constructions using finite geometry

Chris Godsil Graph Theory using Sage

Page 59: Graph Theory using Sage - Mathematicscgodsil/pdfs/sage.pdf · IntroductionStudent ProjectsMy Projects 1 Introduction Background 2 StudentProjects ConferenceGraphs TheMatchingPolynomial

Introduction Student Projects My Projects The 600-Cell Walk-Regular Graphs Spectra of Trees

To Learn

Galois rings: least common multiple of Zn and GF(q).Use a database as a tool for investigating graphs.Graph constructions using finite geometry

Chris Godsil Graph Theory using Sage

Page 60: Graph Theory using Sage - Mathematicscgodsil/pdfs/sage.pdf · IntroductionStudent ProjectsMy Projects 1 Introduction Background 2 StudentProjects ConferenceGraphs TheMatchingPolynomial

Introduction Student Projects My Projects The 600-Cell Walk-Regular Graphs Spectra of Trees

That’s It!

Chris Godsil Graph Theory using Sage

Page 61: Graph Theory using Sage - Mathematicscgodsil/pdfs/sage.pdf · IntroductionStudent ProjectsMy Projects 1 Introduction Background 2 StudentProjects ConferenceGraphs TheMatchingPolynomial

Introduction Student Projects My Projects The 600-Cell Walk-Regular Graphs Spectra of Trees

That’s It!

Chris Godsil Graph Theory using Sage