Algebra Linear e Combinatória
Algebra Linear e Combinatória
Algebra Linear e Combinatória
= +
The determinant gives us the same answer (both nonsingular) but the one
on the left “looks reacher”.
1
0
··
·
1
1 0
In the sequel we simply write rank(A) when the result does not depend on
a particular field, or when the field has being specified at the beginning.
Today we solve a problem using this rank inequality (Section 2) and show
these properties of the rank (Section A).
2
Consider the adjacency matrix of a bipartite graph, say Bi . The adjacency
matrix of the complete graph is K. The rank is the key:
rank(Bi ) = 2 and rank(K) = n (2)
Exercise 3. Prove these two identities.
Since every edge is covered exactly once
K = B1 + B2 + · · · + Bm
and (1) implies
n = rank(K) ≤ rank(B1 ) + · · · + rank(Bm ) = 2m
which implies our first lower bound:
You need m(n) ≥ n/2 bipartite graphs.
Bk Ak
3
Correct proof. Consider the matrix
4
S = A1 + · · · + Am
We show that
rank(S) ≥ n − 1
First trick: Sx = 0 =⇒ xT (S + S T )x = 0
4
2.3 The origin of this problem
Routing over an hypercube is very simple: look at the labels and move to
the neighbor that reduces your distance to the destination. For instance, to
go from 001 to 111 we follow the path
000 100
No matter what I write on the top node, two edges will be at distance 2
and routing will fail (try with “??? = 010”). The solution is to introduce a
jolly-joker “∗”, meaning that two coordinates are different only if one is 0
and the other one is 1:
1∗
00 01
If you label the edges by the coordinate in which the addresses of the end-
points are different, you should see the connection between this problem and
our “jigsaw puzzle with graph” (see the picture at page 1).
5
A basis for U is a subset u1 , . . . , uk ∈ V such that
U = span(u1 , . . . , uk )
u1 , . . . , uk are linearly independent
dim(U ) = k
Remark 1. Note that any two basis for U must have the same cardinality.
If u1 , . . . , uk is a basis for U then every ui must be in U . (Exercise!)
3.1 Orthogonality
Consider the linear space of all vectors of lenght n over some field F
V = Fn
u⊥v ⇔ u·v =0
Rank Theorem
6
3.1.1 Application to eventown
Recall from lecture 1:
Eventown Problem: All clubs must have even cardinality, their pair-
wise intersection must be even as well, and no two clubs can have the
same members: we want distinct subsets S1 , . . . , Sm ⊆ [n] such that
We have seen in the first lecture a simple construction of 2bn/2c such subsets,
that is m(n) ≥ 2bn/2c . We now prove that this is the best possible
Theorem 2. The maximum number of clubs in Eventown is m(n) = 2bn/2c .
Proof. Consider the incidence vectors v1 , . . . , vm corresponding to the subsets
S1 , . . . , Sm satisfying the conditions of eventown above. This means that
U = span(v1 , . . . , vm )
U ⊆ U⊥
which then implies dim(U ) ≤ dim(U ⊥ ). This together with the Rank Theo-
rem
n = dim(V ) = dim(U ) + dim(U ⊥ )
implies dim(U ) ≤ bn/2c, that is
7
4 What to remember and where to look
The rank of a matrix tells us “how rich/complex” is that matrix. The proof
for the jigsaw puzzle can be informally described in these terms:
When working with vectors it might be a good idea to “pack” them into a
matrix and look at the rank to get a compact and elegant proof.
The jigsaw puzzle with graphs and its connection to the addressing problem
(Section 2.3) is described in [BF92, Section 1.4].
References
[BF92] L. Babai and P. Frankl. Linear algebra methods in combinatorics
with applications to geometry and computer science. The University
of Chicago, 1992.
8
Let α and β be the row and the column rank of A, respectively. Then there
are α rows (and β columns) that “generate/span” all rows (all columns) of
A:
9
The definition of matrix multiplication says that the rows r1 , . . . , rn of A are
a linear combination of the rows of Λ. That is r1 , . . . , rn ∈ span(λ1 , . . . , λα ),
where λi is the ith row of the matrix Λ. The Linear Algebra Bound
(Theorem 1 in Lecture 2) and (9) imply β ≤ α. That is,
rowrank(A) ≤ colrank(A)
for any matrix A. By applying this to the transpose AT we get the opposite
inequality.
Observe that
10
Exercises
(during next exercise class - 9.3.2017)
We shall discuss and solve together the following exercise:
2 3
that is always go from node i to node j > i. Then the sum of all these
matrices, S = A1 + · · · + Am , is like this
0
··
·
1
0 0
Show that this proof is not correct (which of these steps are correct and which
are wrong?).