The Friendship Theorem Dr. John S. Caughman Portland State University.

Slides:



Advertisements
Similar presentations
Great Theoretical Ideas in Computer Science for Some.
Advertisements

Introduction to Graph Theory Instructor: Dr. Chaudhary Department of Computer Science Millersville University Reading Assignment Chapter 1.
Graph-02.
CompSci 102 Discrete Math for Computer Science April 19, 2012 Prof. Rodger Lecture adapted from Bruce Maggs/Lecture developed at Carnegie Mellon, primarily.
What are primes in graphs and how many of them have a given length? Audrey Terras Math. Club Oct. 30, 2008.
GOLOMB RULERS AND GRACEFUL GRAPHS
EXPANDER GRAPHS Properties & Applications. Things to cover ! Definitions Properties Combinatorial, Spectral properties Constructions “Explicit” constructions.
Applied Discrete Mathematics Week 12: Trees
MATH 310, FALL 2003 (Combinatorial Problem Solving) Lecture 10, Monday, September 22.
KNURE, Software department, Ph , N.V. Bilous Faculty of computer sciences Software department, KNURE Discrete.
Applied Discrete Mathematics Week 10: Equivalence Relations
1/22/03Tucker, Applied Combinatorics, Section EDGE COUNTING TUCKER, APPLIED COMBINATORICS, SECTION 1.3, GROUP B Michael Duquette & Amanda Dargie.
GRAPH Learning Outcomes Students should be able to:
Wei Wang Xi’an Jiaotong University Generalized Spectral Characterization of Graphs: Revisited Shanghai Conference on Algebraic Combinatorics (SCAC), Shanghai,
Graphs Chapter 10.
 期中测验时间:  11 月 4 日  课件 集合,关系,函数,基数, 组合数学.  Ⅰ Introduction to Set Theory  1. Sets and Subsets  Representation of set:  Listing elements, Set builder.
Lecture 5.2: Special Graphs and Matrix Representation CS 250, Discrete Structures, Fall 2013 Nitesh Saxena Adopted from previous lectures by Zeph Grunschlag.
Chapter 9. Chapter Summary Relations and Their Properties Representing Relations Equivalence Relations Partial Orderings.
Chapter 9. Chapter Summary Relations and Their Properties n-ary Relations and Their Applications (not currently included in overheads) Representing Relations.
Fall 2015 COMP 2300 Discrete Structures for Computation Donghyun (David) Kim Department of Mathematics and Physics North Carolina Central University 1.
© by Kenneth H. Rosen, Discrete Mathematics & its Applications, Sixth Edition, Mc Graw-Hill, 2007 Chapter 9 (Part 2): Graphs  Graph Terminology (9.2)
An Improved Degree Based Condition for Hamiltonian Cycles November 22, 2005 November 22, 2005.
Week 11 - Wednesday.  What did we talk about last time?  Graphs  Euler paths and tours.
1 CS104 : Discrete Structures Chapter V Graph Theory.
Based on slides by Y. Peng University of Maryland
Graphs.  Definition A simple graph G= (V, E) consists of vertices, V, a nonempty set of vertices, and E, a set of unordered pairs of distinct elements.
Week 11 - Monday.  What did we talk about last time?  Binomial theorem and Pascal's triangle  Conditional probability  Bayes’ theorem.
Chapter 5 Graphs  the puzzle of the seven bridge in the Königsberg,  on the Pregel.
Chapter 9. Chapter Summary Relations and Their Properties n-ary Relations and Their Applications (not currently included in overheads) Representing Relations.
Shortest Path Based Sufficiency Condition for Hamiltonian Graphs
Great Theoretical Ideas in Computer Science.
 Quotient graph  Definition 13: Suppose G(V,E) is a graph and R is a equivalence relation on the set V. We construct the quotient graph G R in the follow.
Introduction to Graph Theory
8.4 Closures of Relations Definition: The closure of a relation R with respect to property P is the relation obtained by adding the minimum number of.
Combinatorics Ramsey theory.  a precocious British mathematician, philosopher and economist  a problem in mathematical logic: can one always find order.
1 Chapter 2 Pigeonhole Principle. 2 Summary Pigeonhole principle –simple form Pigeonhole principle –strong form Ramsey’s theorem.
1 Finding a decomposition of a graph T into isomorphic copies of a graph G is a classical problem in Combinatorics. The G-decomposition of T is balanced.
Chapter 9: Graphs.
Great Theoretical Ideas in Computer Science for Some.
COMPSCI 102 Introduction to Discrete Mathematics.
1 Closures of Relations Based on Aaron Bloomfield Modified by Longin Jan Latecki Rosen, Section 8.4.
Graphs Rosen, Chapter 8. NOT ONE OF THESE! One of these!
Week 11 - Wednesday.  What did we talk about last time?  Graphs  Paths and circuits.
(CSC 102) Lecture 30 Discrete Structures. Graphs.
Section 9.3. Section Summary Representing Relations using Matrices Representing Relations using Digraphs.
1 GRAPH Learning Outcomes Students should be able to: Explain basic terminology of a graph Identify Euler and Hamiltonian cycle Represent graphs using.
1 Lecture 5 (part 2) Graphs II (a) Circuits; (b) Representation Reading: Epp Chp 11.2, 11.3
رياضيات متقطعة لعلوم الحاسب MATH 226. Chapter 10.
Fundamental Graph Theory (Lecture 1) Lectured by Hung-Lin Fu 傅 恆 霖 Department of Applied Mathematics National Chiao Tung University.
Graphs. Representations of graphs : undirected graph An undirected graph G have five vertices and seven edges An adjacency-list representation of G The.
Graph Theory An Introduction.
Matrix Representation of Graphs
Lecture 5.2: Special Graphs and Matrix Representation
Applied Discrete Mathematics Week 13: Graphs
Standard Representations of Regular Languages
Proof technique (pigeonhole principle)
CSE322 PUMPING LEMMA FOR REGULAR SETS AND ITS APPLICATIONS
Graphs Hubert Chan (Chapter 9) [O1 Abstract Concepts]
Graphs Rosen, Chapter 8.
Based on slides by Y. Peng University of Maryland
G-v, or G-{v} When we remove a vertex v from a graph, we must remove all edges incident with the vertex v. When a edge is removed from a graph, without.
Non-regular languages
Connectivity Section 10.4.
Graph Theory By Amy C. and John M..
Great Theoretical Ideas In Computer Science
Graphs G = (V, E) V are the vertices; E are the edges.
N(S) ={vV|uS,{u,v}E(G)}
Definition 8: Graphs that have a number assigned to each edge or each vertex are called weighted graphs weighted digraphs.
Discrete Mathematics for Computer Science
Presentation transcript:

The Friendship Theorem Dr. John S. Caughman Portland State University

Public Service Announcement (a+b) p =a p +b p …mod p …when a, b are integers …and p is prime. “Freshman’s Dream”

Freshman’s Dream Generalizes! (a 1 +a 2 +…+a n ) p =a 1 p +a 2 p +…+a n p …mod p …when a, b are integers …and p is prime.

Freshman’s Dream Generalizes (a 1 +a 2 +…+a n ) p = a 1 p +a 2 p +…+a n p tr(A) p = tr(A p ) (mod p) a4a4 000 *a3a3 00 **a2a2 0 ***a1a1 A =

Freshman’s Dream Generalizes! tr(A) p = tr(A p ) (mod p) **** **** **** **** A = tr(A p ) = tr((L+U) p ) = tr(L p +U p ) = tr(L p )+tr(U p )=0+tr(U) p = tr(A) p Note: tr(UL)=tr(LU) so cross terms combine, and coefficients =0 mod p.

The Theorem If every pair of people at a party has precisely one common friend, then there must be a person who is everybody's friend.

Cheap Example Nancy JohnMark

Cheap Example of a Graph Nancy JohnMark

What a Graph IS: Nancy JohnMark

Nancy John Vertices! Mark What a Graph IS:

Nancy John Edges! Mark What a Graph IS:

Nancy JohnMark What a Graph IS NOT:

Nancy Loops! MarkJohn What a Graph IS NOT:

Nancy Loops! MarkJohn What a Graph IS NOT:

Nancy John Directed edges! Mark What a Graph IS NOT:

Nancy John Directed edges! Mark What a Graph IS NOT:

Nancy John Multi-edges! Mark What a Graph IS NOT:

Nancy John Multi-edges! Mark What a Graph IS NOT:

‘Simple’ Graphs… Nancy John Finite Undirected No Loops No Multiple Edges Mark

Let G be a simple graph with n vertices. The Theorem, Restated If every pair of vertices in G has precisely one common neighbor, then G has a vertex with n-1 neighbors.

Generally attributed to Erdős (1966). Easily proved using linear algebra. Combinatorial proofs more elusive. The Theorem, Restated

NOT A TYPICAL “THRESHOLD” RESULT

Pigeonhole Principle If more than n pigeons are placed into n or fewer holes, then at least one hole will contain more than one pigeon.

Some threshold results If a graph with n vertices has > n 2 /4 edges, then there must be a set of 3 mutual neighbors. If it has > n(n-2)/2 edges, then there must be a vertex with n-1 neighbors.

Extremal Graph Theory If this were an extremal problem, we would expect graphs with MORE edges than ours to also satisfy the same conclusion…

1

1 2

1 23

1 23 4

4

4

4

2

Of the 15 pairs, 3 have four neighbors in common and 12 have two in common. So ALL pairs have at least one in common. But NO vertex has five neighbors!

Related Fact – losing edges

Summary If every pair of vertices in a graph has at least one neighbor in common, it might not be possible to remove edges and produce a subgraph in which every pair has exactly one common neighbor.

Accolades for Friendship The Friendship Theorem is listed among Abad's “100 Greatest Theorems” The proof is immortalized in Aigner and Ziegler's Proofs from THE BOOK.

Example 1

Example 2

Example 3

How to prove it: STEP ONE: If x and y are not neighbors, they have the same # of neighbors. Why: Let N x = set of neighbors of x Let N y = set of neighbors of y

x y How to prove it:

x y NxNx

x y NyNy

For each u in N x define: f(u) = common neighbor of u and y. x y How to prove it:

Pick u 1 in N x. x y u1u1 How to prove it:

f(u 1 ) = common neighbor of u 1 and y. x y u1u1 f(u 1 ) How to prove it:

x y

x y u2u2 Pick u 2 in N x. How to prove it:

x y u2u2 f(u 2 ) f(u 2 ) = common neighbor of u 2 and y. How to prove it:

x y

x y u* f(u)= f(u*) u How to prove it:

x y u* f(u)= f(u*) u How to prove it:

So f is one-to-one from N x to N y. x y u* f(u)= f(u*) u How to prove it:

So f is one-to-one from N x to N y. x y u* f(u)= f(u*) u So it can’t be true that |N x | > |N y |. How to prove it:

So f is one-to-one from N x to N y. x y u* f(u)= f(u*) u So |N x | = |N y |. How to prove it: So it can’t be true that |N x | > |N y |.

STEP 1: If x and y are not neighbors, they have the same # of neighbors. STEP 2: Either some x has n-1 neighbors or ALL vertices have same # of neighbors. Why: Assume no vertex has n-1 neighbors. Let A = {x : x has max # of neighbors, k}. B = {y : y has < k neighbors}. How to prove it:

A = {x : x has max # of neighbors, k}. B = {y : y has < k neighbors}. By Step 1, all in A are neighbors to all in B! Set || Possible Size. A 0, 1, 2, …., n B 0, 1, 2, …., n

STEP 1: If x and y are not neighbors, they have the same # of neighbors. STEP 2: Either some x has n-1 neighbors or ALL vertices have k neighbors. STEP 3: If all vertices have k neighbors, then n = k (k-1) + 1. How to prove it:

Why: STEP 3: If all vertices have k neighbors, then n = k (k-1) + 1. Count paths of length 2…

How to prove it: Why: STEP 3: If all vertices have k neighbors, then n = k (k-1) + 1. Count paths of length 2… ( ) n2n2

How to prove it: Why: STEP 3: If all vertices have k neighbors, then n = k (k-1) + 1. Count paths of length 2… ( ) 1 n2n2

How to prove it: Why: STEP 3: If all vertices have k neighbors, then n = k (k-1) + 1. Count paths of length 2… ( ) 1= n2n2

How to prove it: Why: STEP 3: If all vertices have k neighbors, then n = k (k-1) + 1. Count paths of length 2… ( ) 1= n n2n2

How to prove it: Why: STEP 3: If all vertices have k neighbors, then n = k (k-1) + 1. Count paths of length 2… ( ) 1= n (k) n2n2

How to prove it: Why: STEP 3: If all vertices have k neighbors, then n = k (k-1) + 1. Count paths of length 2… ( ) 1= n (k) (k-1) n2n2

How to prove it: Why: STEP 3: If all vertices have k neighbors, then n = k (k-1) + 1. Count paths of length 2… ( ) 1= n (k) (k-1) ________ 2 n2n2

How to prove it: STEP 3: If all vertices have k neighbors, then n = k (k-1) + 1. ( ) 1= n (k) (k-1) ________ 2 n2n2 = n (k) (k-1) ________ 2 (n)(n-1) 2 n = k (k-1) + 1

STEP 1: If x and y are not neighbors, they have the same # of neighbors. STEP 2: Either some x has n-1 neighbors or ALL vertices have k neighbors. STEP 3: If all vertices have k neighbors, then n = k (k-1) + 1. How to prove it:

The Master Plan Each pair has 1 in common If x,y not neighbors, |N x |=|N y | Some x has n-1 neighbors |N x |= k for all x, and n =k(k-1)+1 Some Linear Algebra Either Or ?

Adjacency Matrix Call vertices v 1, v 2, …, v n. Let A = n x n matrix where: A ij = 1, if v i, v j are neighbors, A ij = 0, if not. A is called the adjacency matrix of G. Notice that the trace of A is 0. {

Adjacency Matrix v4v4 v1v1 v2v2 v3v A = A 2 = =

Adjacency Matrix (A 2 ) ij = # common neighbors of v i, v j So…….. for our graphs….. A 2 = (k-1) I + J. (J = all 1’s matrix) (A 2 ) ij = 1 if i, j different, and (A 2 ) ij = k if i = j.

Adjacency Matrix A 2 = (k-1) I + J (J = all 1’s matrix) A J = (k) J Now let p be a prime divisor of k-1. Then k = 1 and n = k(k-1)+1 = 1 (mod p) So A 2 = J, and A J = J. (mod p) Therefore, A i = J for all i > 1. (mod p)

Adjacency Matrix A i = J for all i > 1 (mod p) But tr A p = (tr A) p (mod p) So, modulo p, we get: 1 = n = tr J = tr A p = (tr A) p = 0.

Putting it all together Each pair has 1 in common If x,y not neighbors, |N x |=|N y | Some x has n-1 neighbors |N x |= k for all x and n =k(k-1)+1 0=1 Either Or

Moral: To make progress in almost any field of math, find a way to sneak linear algebra into it !

Related Result 1 Let m > 0 and k > 0 be integers. A graph with at least m points is an (m,k)-graph if any m-tuple of its points has exactly k common adjacent points. The friendship theorem characterizes all (2, 1)-graphs. For m > 2 and k > 0, there is only one (m,k)-graph, namely the complete graph on m+k points.

Related Result 2 There are other generalizations of finite friendship graphs. Instead of graphs with edges encoding pairs of friends and adjacency matrix satisfying “A 2 -J is diagonal", one could consider incidence matrices of finite geometries: these are associated with bijections between blockset and pointset of these geometries.

Friendship references Huneke, Craig The friendship theorem. Amer. Math. Monthly 109 (2002), no. 2, Brunat, Josep M. A proof of the friendship theorem by elementary methods. (Catalan) Butl. Soc. Catalana Mat. No. 7 (1992), Hammersley, J. M. The friendship theorem and the love problem. Surveys in combinatorics (Southampton, 1983), , London Math. Soc. Lecture Note Ser., 82, Cambridge Univ. Press, Cambridge, Sudolsk\'y, Marián A generalization of the friendship theorem. Math. Slovaca 28 (1978), no. 1, Skala, H. L. A variation of the friendship theorem. SIAM J. Appl. Math. 23 (1972), Longyear, Judith Q.; Parsons, T. D. The friendship theorem. Nederl. Akad. Wetensch. Proc. Ser. A 75=Indag. Math. 34 (1972), Wilf, Herbert S. The friendship theorem Combinatorial Mathematics and its Applications (Proc. Conf., Oxford, 1969) pp Academic Press, London

THANK YOU !