Professional Documents
Culture Documents
Brendan W. Sullivan
Abstract
The Problem
The Problem
The Problem
The Problem
Explorations
Explorations
Explorations
Note: 2 and 3 are isomorphic. We wont account for this. (Too hard!)
Explorations
Explorations
Tiling of a
Tiling of a 2 (n 1) board
2 (n 2) board
Explorations
Tiling of a
Tiling of a 2 (n 1) board
2 (n 2) board
Explorations
Explorations
Explorations
Explorations
Proof.
Exercise for the reader.
Hint: First prove
n
X
T (3, 2n + 2) = 3T (3, 2n) + 2 T (3, 2k)
k=0
Generalizations
Hexagonal Tilings
Generalizations
Altered Rectangles
What if we remove squares from the rectangular boards?
Applications
Example illustration
Example illustration
A tiling corresponds to a
selection of these edges (and
only these allowable edges) that
covers every vertex.
In other terminology, this is a
perfect matching.
Definitions
Graph terminology
Definition
A bipartite graph is one whose vertices can be separated into
two parts, so that edges only go between parts (i.e. no internal
edges in a part).
A perfect matching in a graph is a selection of edges that
covers each vertex exactly once.
Definitions
Graph terminology
Definition
A bipartite graph is one whose vertices can be separated into
two parts, so that edges only go between parts (i.e. no internal
edges in a part).
A perfect matching in a graph is a selection of edges that
covers each vertex exactly once.
Definitions
Definitions
Definitions
Definitions
Definitions
Definitions
Notation
Definitions
Notation
Definitions
1 0 0 1 0 0 0 0
B4 W3 1 1 1 0 0 0 0 0
W4 B3
0 1 1 0 0 1 0 0
1 0 1 1 1 0 0 0
W5 B6 A=
0
B5 W6 0 0 1 1 0 0 1
0 0 1 0 1 1 1 0
0 0 0 0 0 1 1 0
B7 0 0 0 0 1 0 1 1
W8 B8 W7
B4 W3
W4 B3
W5 B6
B5 W6
B7
W8 B8 W7
Accordingly,
X
T (m, n) = a1,(1) a2,(2) aN,(N )
SN
Accordingly,
X
T (m, n) = a1,(1) a2,(2) aN,(N )
SN
Definition
Given an N N matrix A, the permanent of A is
X
per(A) = a1,(1) a2,(2) aN,(N )
SN
Definition
Given an N N matrix A, the permanent of A is
X
per(A) = a1,(1) a2,(2) aN,(N )
SN
So . . . are we done?
So . . . are we done?
So . . . are we done?
Computational complexity
Computational complexity
Computational complexity
Computational complexity
Computational complexity
Computational complexity
Computational complexity
Computational complexity
Kasteleyn Signings
Definition
A signing of G is an assignment of 1 weights to the edges:
Kasteleyn Signings
Definition
A signing of G is an assignment of 1 weights to the edges:
Kasteleyn Signings
B1 W1 B2
1 0 1
A = 1 1 0
1 1 1
W3 B3 W2
Kasteleyn Signings
B1 W1 B2
1 0 1
A = 1 1 0
1 1 1
W3 B3 W2
Kasteleyn Signings
A non-example: K3,3
Fact: There is no Kasteleyn signing of K3,3 .
Kasteleyn Signings
A non-example: K3,3
Fact: There is no Kasteleyn signing of K3,3 .
Proof.
Notice that per(A) = 6 here, because all entries are 1, and
det(A ) = a11 a22 a33 + a12 a23 a31 + a13 a21 a32
a11 a23 a32 a12 a21 a33 a13 a22 a31
Kasteleyn Signings
A non-example: K3,3
Fact: There is no Kasteleyn signing of K3,3 .
Proof.
Notice that per(A) = 6 here, because all entries are 1, and
det(A ) = a11 a22 a33 + a12 a23 a31 + a13 a21 a32
a11 a23 a32 a12 a21 a33 a13 a22 a31
Lets make these all, say, +1. WOLOG a11 = +1. Then either
a22 , a33 both +1 or both -1.
If both +1, we get a23 , a32 and a12 , a21 and a13 , a31 have
opposite signs.
If both -1, we get a23 , a32 have opposite while a12 , a21 and
a13 , a31 have same signs.
Brendan W. Sullivan Carnegie Mellon UniversityUndergraduate Math Club
How Many Ways Can We Tile a Rectangular Chessboard With Dominos?
Introduction Reformulation The Main Theorem Results & Conclusions
Theorem
Every grid graph arising from an m n rectangular board has a
Kasteleyn signing and we can find one efficiently.
Theorem
Every grid graph arising from an m n rectangular board has a
Kasteleyn signing and we can find one efficiently.
Graph Properties
B1 W1 B2 W2
A graph is planar if it can be
drawn on the plane with no
B4 W3
edges crossing. W4 B3
Graph Properties
A graph is 2-connected if it is
connected and the removal of
B1 W1 B2 W2
any vertex does not disconnect
the graph.
B4
W4 B3
Notice our grid graphs are
2-connected because even after W5 B6
B5 W6
removing a square, we can
connected any two squares with
B7
a path of alternating colors; we W8 B8 W7
just might have to go around
the hole.
Theorem Statement
Formal statement
Theorem
Let G be a bipartite, planar, 2-connected graph. Then G has a
Kasteleyn signing that can be found in polynomial-time (in N ).
Corollary
T (m, n) can be computed in polynomial-time (in mn).
Theorem Statement
Formal statement
Theorem
Let G be a bipartite, planar, 2-connected graph. Then G has a
Kasteleyn signing that can be found in polynomial-time (in N ).
Corollary
T (m, n) can be computed in polynomial-time (in mn).
Theorem Statement
Formal statement
Theorem
Let G be a bipartite, planar, 2-connected graph. Then G has a
Kasteleyn signing that can be found in polynomial-time (in N ).
Corollary
T (m, n) can be computed in polynomial-time (in mn).
Definition
A cycle in G is a sequence of vertices and edges that returns to
the same vertex. (It does not need to use all vertices in G.)
A cycle C is evenly-placed if G has a perfect matching
outside of C (i.e. with all edges and vertices of C removed.)
Definition
A cycle in G is a sequence of vertices and edges that returns to
the same vertex. (It does not need to use all vertices in G.)
A cycle C is evenly-placed if G has a perfect matching
outside of C (i.e. with all edges and vertices of C removed.)
Examples: An
evenly-placed and not
evenly-placed cycle.
Definition
Given on G, a cycle C is properly-signed if its length
matches the weights of its edges appropriately:
If |C| = 2`, then the number of negative edges on C (call it nC )
should have opposite parity of `, i.e. nC ` 1 (mod 2).
Definition
Given on G, a cycle C is properly-signed if its length
matches the weights of its edges appropriately:
If |C| = 2`, then the number of negative edges on C (call it nC )
should have opposite parity of `, i.e. nC ` 1 (mod 2).
-1 +1 +1
+1 -1 +1
Examples: A +1 +1 +1
properly-signed and +1 -1 +1
-1
not properly-signed -1 +1 +1
+1 +1
cycle. -1
-1
Statement
Lemma 1
If every evenly-placed cycle in G is properly-signed, then is a
Kasteleyn signing.
k
Y Y
sgn(M ) sgn(M 0 ) = sgn() sgn( 0 ) (e)
i=1 eCi
k
Y
= sgn() sgn( 0 ) (1)`i 1
i=1
0
= sgn() sgn( ) (1)L
where L := (`1 1) + (`2 1) + + (`k 1)
Introduction Reformulation The Main Theorem Results & Conclusions
k
Y Y
sgn(M ) sgn(M 0 ) = sgn() sgn( 0 ) (e)
i=1 eCi
k
Y
= sgn() sgn( 0 ) (1)`i 1
i=1
0
= sgn() sgn( ) (1)L
where L := (`1 1) + (`2 1) + + (`k 1)
Algorithm: At step t = 1, . . . , `i 1:
Algorithm: At step t = 1, . . . , `i 1:
Algorithm: At step t = 1, . . . , `i 1:
Identify j, k such that (j) = 0 (k) = t.
Algorithm: At step t = 1, . . . , `i 1:
Identify j, k such that (j) = 0 (k) = t.
Swap positions j and k in
Algorithm: At step t = 1, . . . , `i 1:
Identify j, k such that (j) = 0 (k) = t.
Swap positions j and k in
1 2 3 4
= (1, 2, 3, 4) (1) = 1
0
= (4, 1, 2, 3) 0 (2) = 1
Swap positions 1 and 2 in
1 2 3 4
For illustrations sake, here is how that process would play out:
1 2 3 4
= (1, 2, 3, 4)
0 = (4, 1, 2, 3)
1 2 3 4
For illustrations sake, here is how that process would play out:
1 2 3 4
= (1, 2, 3, 4) (1) = 1
0 = (4, 1, 2, 3) 0 (2) = 1
Swap positions 1 and 2 in
1 2 3 4
For illustrations sake, here is how that process would play out:
1 2 3 4
= (2, 1, 3, 4)
0 = (4, 1, 2, 3)
1 2 3 4
For illustrations sake, here is how that process would play out:
1 2 3 4
= (2, 1, 3, 4) (1) = 2
0 = (4, 1, 2, 3) 0 (3) = 2
Swap positions 1 and 3 in
1 2 3 4
For illustrations sake, here is how that process would play out:
1 2 3 4
= (3, 1, 2, 4)
0 = (4, 1, 2, 3)
1 2 3 4
For illustrations sake, here is how that process would play out:
1 2 3 4
= (3, 1, 2, 4) (1) = 3
0 = (4, 1, 2, 3) 0 (4) = 3
Swap positions 1 and 4 in
1 2 3 4
For illustrations sake, here is how that process would play out:
1 2 3 4
= (4, 1, 2, 3)
0 = (4, 1, 2, 3)
Now = 0
1 2 3 4
Proof: wrapping up
Proof: wrapping up
Proof: wrapping up
Proof: wrapping up
Planar graphs
F1 F2 F3
F4 F5 F6
F7 F8 F9
F0
Planar graphs
F1 F2 F3
F4 F5 F6
F7 F8 F9
F0
Lemma
Fix a planar drawing of a bipartite, planar, 2-connected graph
G, with signing . If the boundary cycle of every inner face is
properly-signed, then is Kasteleyn.
Lemma
Fix a planar drawing of a bipartite, planar, 2-connected graph
G, with signing . If the boundary cycle of every inner face is
properly-signed, then is Kasteleyn.
Counting:
V = r + 2` (where r is the number of vertices inside C)
1
E= 2 (|C| + |C1 | + |C2 | + + |Ck |) = ` + `1 + + `k
F = k + 1 (including the outer face)
Eulers Formula =
r + 2` + k + 1 = ` + `1 + + `k + 2
Eulers Formula =
r + 2` + k + 1 = ` + `1 + + `k + 2
C evenly-placed = r even =
2s + ` 1 = `1 + + `k k
Eulers Formula =
r + 2` + k + 1 = ` + `1 + + `k + 2
C evenly-placed = r even =
2s + ` 1 = `1 + + `k k
Reducing mod 2 =
` 1 `1 + + `k k (mod 2)
Eulers Formula =
r + 2` + k + 1 = ` + `1 + + `k + 2
C evenly-placed = r even =
2s + ` 1 = `1 + + `k k
Reducing mod 2 =
` 1 `1 + + `k k (mod 2)
Proof of Theorem
Proof of Theorem
Proof of Theorem
Proof of Theorem
Proof of Theorem
Proof of Theorem
Proof of Theorem
Summary of Method
Summary of Method
Summary of Method
Summary of Method
Summary of Method
Summary of Method
Summary of Method
T (4, 4) = ?
Set G1 := G. Identify e1 and remove it.
e1
T (4, 4) = ?
Identify e2 and remove it.
e2
T (4, 4) = ?
Identify e3 and remove it.
e3
T (4, 4) = ?
Identify e4 and remove it.
e4
T (4, 4) = ?
Identify e5 and remove it.
e5
T (4, 4) = ?
Identify e6 and remove it.
e6
T (4, 4) = ?
Identify e7 and remove it.
e7
T (4, 4) = ?
Identify e8 and remove it.
e8
T (4, 4) = ?
Identify e9 and remove it.
e9
T (4, 4) = ?
Assign +1 to all remaining edges. (Note: +1 and -1.)
T (4, 4) = ?
Add e9 back in. It must be -1.
e9
T (4, 4) = ?
Add e8 back in. It must be -1.
e8
T (4, 4) = ?
Add e7 back in. It must be -1.
e7
T (4, 4) = ?
Add e6 back in. It must be +1.
e6
T (4, 4) = ?
Add e5 back in. It must be +1.
e5
T (4, 4) = ?
Add e4 back in. It must be +1.
e4
T (4, 4) = ?
Add e3 back in. It must be -1.
e3
T (4, 4) = ?
Add e2 back in. It must be -1.
e2
T (4, 4) = ?
Add e1 back in. It must be -1.
e1
T (4, 4) = ?
This is a Kasteleyn signing of G.
T (4, 4) = 36
1 0 0 -1 0 0 0 0
1 1 -1 0 0 0 0 0
0 1 1 0 0 1 0 0
1 0 1 1 1 0 0 0
A =
0
det(A ) = 36 = T (4, 4)
0 0 -1 1 0 0 -1
0 0 -1 0 1 1 -1 0
0 0 0 0 0 1 1 0
0 0 0 0 1 0 1 1
Closed-Form Solution
Closed-Form Solution
One can show that the adjacency matrices of grid graphs are
actually adjacency matrices of the Cartesian product of two
graphs: a 1 n row graph and an m 1 column graph.
The eigenvalues of those matrices are easily comptuable.
The determinant of a matrix is the product of its eigenvalues.
Closed-Form Solution
One can show that the adjacency matrices of grid graphs are
actually adjacency matrices of the Cartesian product of two
graphs: a 1 n row graph and an m 1 column graph.
The eigenvalues of those matrices are easily comptuable.
The determinant of a matrix is the product of its eigenvalues.
Other Work
References
References
J. Matousek.
Thirty-three Miniatures: Mathematical and Algorithmic Applications of Linear Algebra.
AMS, 2010.
P. W. Kasteleyn
The statistics of dimers on a lattic I. The number of dimer arrangements on a quadratic
lattice
Physica, 27 (1961) 1209-1225
H. N. V. Temperley, M. E. Fisher
Dimer problem in statistical mechanics An exact result
Philosophical Magazine, 6 (1961) 1061-1063
Wikipedia
Permanent is sharp-P-complete
http://en.wikipedia.org/wiki/Permanent is sharp-P-complete
Aaron Schild
Domino Tilings of a Rectangular Chessboard
http://www.sdmathcircle.org/uploads/Documents/
2009-10%20Gauss%2010-10%20Rectangular%20Tiling%20Notes.pdf
References
THANK YOU