Chapter 6 designs and codes Flashcards

1
Q

blocks related to job allocation

A

Before, we had a set J of jobs and a set P of people, and for each job j ∈ J we had a subset C[j] ⊆ P
of people who are qualified to do that job. For each person p we can also consider the set Q[p] of jobs that
they are qualified to do. This can be expressed in symbols as Q[p] = {j ∈ J | p ∈ C[j]}

We will have a set B of “blocks” and a set V of “varieties”. For each block j ∈ B
we have a corresponding subset C[j] ⊆ V . For any variety p ∈ V we again define Q[p] = {j ∈ B | p ∈ C[j]}.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

DEF 1: block designs

A

Consider numbers v, b, r, k, λ > 0 with k < v and r < b. A block design with parameters
(v, b, r, k, λ) is a matching problem as above, with the following properties:

(a) |V | = v
(b) |B| = b
(c) |Q[p]| = r for all p ∈ V
(d) |C[j]| = k for all j ∈ B
(e) |Q[p] ∩ Q[q]| = λ for all p, q ∈ V with p ≠ q.

there are v varieties and b blocks, every variety is in precisely r blocks, every block contains
precisely k varieties, every pair of distinct varieties is in precisely λ blocks

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

k,v , r relation remark

A

As C[j] ⊆ V and |C[j]| = k and |V | = v it is automatic that k ≤ v. If k were equal to v then
that would mean that C[j] = V for all j, which is like a job allocation problem in which every person is
qualified to do every job. However, we specified as part of the definition that k < v, so as to exclude this
uninteresting case. The condition r < b also has the same effect.

We will assume throughout our work on designs that 1 < k < v. (The cases k = 1 and k = v are trivial.)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Example 3:

Nine types of coffee are to be tested. Each of twelve families is asked to compare three of the types. Overall we want each pair from the nine to be
compared by the same number of families. (In fact, in this example, we’ll ask for
each to be compared by just one family).

A
Put B = {1, . . . , 12} and V = {1, . . . , 9} and Here is one way to do it
Family,  block of varieties to be tested
C[1] = {1, 2, 3} 
C[2] = {4, 5, 6} 
C[3] = {7, 8, 9}
C[4] = {1, 4, 7} 
C[5] = {1, 5, 9} 
C[6] = {2, 5, 8}
C[7] = {3, 6, 9} 
C[8] = {2, 6, 7}
 C[9] = {3, 4, 8}
C[10] = {1, 6, 8} 
C[11] = {2, 4, 9} 
C[12] = {3, 5, 7}
The corresponding sets Q[p] are
Q[1] = {1, 4, 5, 10} 
Q[2] = {1, 6, 8, 11} 
Q[3] = {1, 7, 9, 12}
Q[4] = {2, 4, 9, 11} 
Q[5] = {2, 5, 6, 12} 
Q[6] = {2, 7, 8, 10}
Q[7] = {3, 4, 8, 12} 
Q[8] = {3, 6, 9, 10} 
Q[9] = {3, 5, 7, 11}.

It is now visible that
|V | = 9 and |B| = 12
and |C[j]| = 3 for all j
and |Q[p]| = 4 for all p.

We also have
Q[1] ∩ Q[2] = {1} 
Q[3] ∩ Q[4] = {9} 
Q[3] ∩ Q[6] = {7} 
Q[4] ∩ Q[9] = {11}.

In fact, we have |Q[p] ∩ Q[q]| = 1 for all p ≠q, as we can see by a long but easy check of cases.
Thus, the
above sets give a (9, 12, 4, 3, 1) block design.

relation prop4: bk/v=12.3/9=4 and λ(v − 1)/(k-1) = 1.(9-1)/(3-1) =4,

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

proposition 4:
(v, b, r, k, λ)-block design

relations

A

If there is a (v, b, r, k, λ)-block design, then
bk = vr and
bk(k − 1) = λv(v − 1) and
r(k − 1) = λ(v − 1) and λ < r.

ie r=(bk/v)=λ(v − 1)/(k-1)

Not every collection of numbers satisfying the theorem necessarily corresponds to a design.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Proposition 5: (v, b, r, k, λ)-block design

relations

A

Suppose that we have a matching problem as before, and numbers v, b, k, λ > 0 with k < v.
Suppose that |V | = v and |B| = b and |C[j]| = k for all j and |Q[p] ∩ Q[q]| = λ for all p 6= q, so axioms (a),
(b), (d) and (e) from Definition 1 are satisfied. Then the number r = λ(v − 1)/(k − 1) is an integer and is
the same as bk/v. Moreover, we have |Q[p]| = r for all p, so axiom (c) is also satisfied, and we have a block
design.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

definition 6 : quadratic residues

A
Let p be a prime number of the form p = 4n + 3, so
Z/p = {0, ±1, ±2, . . . , ±(2n + 1)}.
We put
R = {i ∈ Z/p | i = j
2
for some j ∈ Z/p with j 6= 0},
and call this the set of quadratic residues. We then have a matching problem with B = V = Z/p and
C[j] = j + R.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Remark 7. We have m ∈ C[j] iff

A

Remark 7. We have m ∈ C[j] iff m ∈ j + R iff m − j ∈ R iff j ∈ m − R, so Q[m] = m − R

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Example 8:

A
Take p = 7, so p = 4n + 3 with n = 1 and Z/p = {0, ±1, ±2, ±3}. 
We have (±1)2 = 1 and
(±2)2 = 4 = −3 (mod 7) and (±3)2 = 9 = 2 (mod 7), so 

R = {1, 2, −3}. This gives

C[0] = {1, 2, −3}
Q[0] = {−1, −2, 3}
C[1] = {2, 3, −2} 
Q[1] = {0, −1, −3}
C[2] = {3, −3, −1} 
Q[2] = {1, 0, −2}
C[3] = {−3, −2, 0} 
Q[3] = {2, 1, −1}
C[−1] = {0, 1, 3} 
Q[−1] = {−2, −3, 2}
C[−2] = {−1, 0, 2} 
Q[−2] = {−3, 3, 1}
C[−3] = {−2, −1, 1} 
Q[−3] = {3, 2, 0}.

One can check that |Q[l] ∩ Q[m]| = 1 whenever l ≠m, so this is a (7, 7, 3, 3, 1)-block design

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Example 9:

We use arithmetic mod 11 to construct a design with 11 varieties
and 5 varieties per block, v = 11, k = 5. The blocks are listed below. Each one is
constructed from the previous one by adding one to the entries and working mod
11 (with the slight variation that we write 11 rather than 0).

block number; block

A

Take p = 11, so p = 4n + 3 with n = 2 and Z/p = {0, ±1, ±2, ±3, ±4, ±5}. We have (±1)2 = 1
and (±2)2 = 4 and (±3)2 = 9 = −2 (mod 11) and (±4)2 = 16 = 5 (mod 11) and (±5)2 = 25 = 3 (mod 11),
so
R = {1, −2, 3, 4, 5}.
I particular, we have |R| = 5 and so |C[j]| = 5 for all j and |Q[m]| = 5 for all m. We also have
Q[0] ∩ Q[1] = (−R) ∩ (1 − R) = {−1, 2, −3, −4, −5} ∩ {0, 3, −2, −3, −4} = {−3, −4},
so |Q[0]∩Q[1]| = 2. In fact we have |Q[l]∩Q[m]| = 2 for all l 6= m, so we have a (11, 11, 5, 5, 2)-block design.

This process only rarely works. For example, with 11 varieties, if you start with
the first block {1, 2, 3, 4, 5} then you will find that the pair (4, 5) appears in 4 blocks,
but the pair (1, 6) appears in none. So this is not a design.

quadratic residues answer this

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

lemma 10: for each i relation with R

A

Lemma 10. For each i ∈ {1, . . . , 2n + 1}, precisely one of i and −i is in R. Thus, |R| = 2n + 1.

This result is clearly visible in the cases p = 7 (where R = {1, 2, −3}) and p = 11 (where R =
{1, −2, 3, 4, 5}).

From Lemma 10 it is clear that |C[j]| = 2n + 1 for all j, and that |Q[m]| = 2n + 1 for all m. However, it
is not yet clear what we can say about |Q[l] ∩ Q[m]| when l 6= m. For this we need some more definitions.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

DEF 11: size of D for

D = {(u, v) ∈ R × R | u ≠ v}

A

We put D = {(u, v) ∈ R × R | u ≠ v}, so |D| = |R|(|R| − 1). As |R| = 2n + 1, this gives
|D| = (4n + 2)n. Also, for x ∈ Z/p with x 6= 0 we put Dx = {(u, v) ∈ D | u − v = x}. We note that D is the
disjoint union of the subsets Dx, so |D| =
P
x
|Dx|.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Lemma 12: |D_x|

A

|D_x| = n for all x.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

EXAMPLE: lemma 12 with p = 11 and so n = 2 and

R = {1, −2, 3, 4, 5}.

A
p = 11 and so n = 2 and
R = {1, −2, 3, 4, 5}. The table below shows the differences u − v for u, v ∈ R with u≠v
[u\v][  1][-2][3 ][4 ][ 5]
[  1  ][ x][3 ][-2][-3][-4]
[-2  ][-3][x ][-5][ 5][ 4]
[  3 ][2 ][5 ][ x ][-1][-2]
[ 4  ][3 ][-5][  1 ][ x][-1]
[ 5  ][ 4][-4][ 2 ][ 1 ][ x]
We can read off the sets D_x from this. For example, to find D_5 we look in the table and see that 5 appears
in the position where u = −2 and v = 4, and also in the position where u = 3 and v = −2. 
We therefore
have D_5 = {(−2, 4),(3, −2)}. The complete list of sets D_x is as follows:
D_1 = {(4, 3),(5, 4)} 
D_−1 = {(3, 4),(4, 5)}
D_2 = {(3, 1),(5, 3)} 
D_−2 = {(1, 3),(3, 5)}
D_3 = {(1, −2),(4, 1)} 
D_−3 = {(−2, 1),(1, 4)}
D_4 = {(−2, 5),(5, 1)} 
D_−4 = {(5, −2),(1, 5)}
D_5 = {(−2, 4),(3, −2)} 
D_−5 = {(4, −2),(−2, 3)}

We find that |D_x| = 2 = n in every case, as predicted by the lemma.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

THM 14: matching problem in def quadratic residues

A

The matching problem in Definition 6 is a (4n + 2, 4n + 2, 2n + 1, 2n + 1, n)-block design.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

DEF 15:

A

Suppose we have a matching problem as before, with |B| = b and |V | = v, but we do not
necessarily assume that this is a block design. We define a b × v matrix M by

M_jp =
{ 1 if p ∈ C[j]
{ 0 if p∉C[j]

board with the square in position (j, p) coloured white if p ∈ C[j],
and coloured black if p 6∈ C[j]. The matrix M is essentially the same thing but with 1’s corresponding to
white squares and 0’s corresponding to black squares.

Note that the transpose MT
is a v × b matrix, so the product MTM is defined and is a v × v matrix

17
Q

EXAMPLE: For the block design in Example 3 we have

matrix

 B = {1, . . . , 12} and V = {1, . . . , 9} and Here is one way to do it
Family,  block of varieties to be tested
C[1] = {1, 2, 3} 
C[2] = {4, 5, 6} 
C[3] = {7, 8, 9}
C[4] = {1, 4, 7} 
C[5] = {1, 5, 9} 
C[6] = {2, 5, 8}
C[7] = {3, 6, 9} 
C[8] = {2, 6, 7}
 C[9] = {3, 4, 8}
C[10] = {1, 6, 8} 
C[11] = {2, 4, 9} 
C[12] = {3, 5, 7}
A
[1 1 1 0 0 0 0 0 0]
[0 0 0 1 1 1 0 0 0]
[0 0 0 0 0 0 1 1 1]
[1 0 0 1 0 0 1 0 0]
[1 0 0 0 1 0 0 0 1]
[0 1 0 0 1 0 0 1 0]
[0 0 1 0 0 1 0 0 1]
[0 1 0 0 0 1 1 0 0]
[0 0 1 1 0 0 0 1 0]
[1 0 0 0 0 1 0 1 0]
[0 1 0 1 0 0 0 0 1]
[0 0 1 0 1 0 1 0 0]
18
Q

DEF 18: Identity matrix

A

We let I denote the v × v identity matrix, so I_pq is 1 if p = q and 0 if p≠q. We also let 1_m
denote the column vector of length m with all entries equal to one. We let J denote the v × v matrix with
J_pq = 1 for all p and q, so all of the columns are 1v. Note that (J − I)_pq is 0 if p = q and 1 if p≠q.

19
Q

EXAMPLE 19:

A

In the case v = 4 we have

I=
[1 0 0 0]
[0 1 0 0]
[0 0 1 0]
[0 0 0 1]
J=
[1 1 1 1]
[1 1 1 1]
[1 1 1 1]
[1 1 1 1]
J-I=
[0 1 1 1]
[1 0 1 1]
[1 1 0 1]
[1 1 1 0]
20
Q

THEOREM 20:
consider the matrix rI + λ(J − I), which has diagonal entries equal to r and
off-diagonal entries equal to λ.

A

Our matching problem is a (v, b, r, k, λ)-block design iff
M.1_v = k.1_b and M^TM = rI +λ(J −I) = (r − λ)I + λJ.

in case n=4
rI + λ(J − I) =
[r λ λ λ]
[λ r λ λ]
[λ λ r λ]
[λ λ λ r]
21
Q

Lemma 21:

matrix j eigenvalues

A

The matrix J have eigenvalues 0 (repeated v − 1 times) and v (repeated once).

22
Q

Corollary 22:

Let M be the matrix of a (v, b, r, k, λ) design then det of…

A

If our matching problem is a block design, then det(M^TM) > 0 and M^T M is invertible.

23
Q

Corollary 23. (Fisher’s inequality)

matching problem and block design

A

If our matching problem is a block design, then b ≥ v.

---------
In a (v, b, r, k, λ) design, b ≥ v

So to construct a design with v varieties you need at least v blocks. Thus, in a
sense, the most efficient designs have b = v. Note that if b = v then r =bk/v = k. So
we have a symmetric design (v, v, k, k, λ).

24
Q

DEF 24: symmetric design

A

A symmetric design is one in which b = v.

Corollary 23 tells us that in some sense these
are maximally efficient. Recall from Proposition 4 that bk = rv. From this we see that a symmetric design
also satisfies k = r.

Note that the quadratic residue design from Definition 6 and Theorem 14 is symmetric, but the design in
Example 3 is not.

25
Q

cyclic and symmetric

A

Designs generated by repeatedly adding 1 to all the numbers in the previous block are called cyclic. Ones of the form (v, v, k, k, λ) are called
symmetric. example 8 and 9

26
Q

The (9, 12, 4, 3, 1) coffee design of Example 87 is represented by the 12 × 9 matrix

(coffee design example 3 )

A
[1 1 1 0 0 0 0 0 0]
[0 0 0 1 1 1 0 0 0]
[0 0 0 0 0 0 1 1 1]
[1 0 0 1 0 0 1 0 0]
[         ...               ]
[         ...               ]
The columns are labelled by the coffees and the rows by the families
27
Q

Example 99. Consider the (symmetric) (7, 7, 3, 3, 1) design with blocks:
{1, 2, 3}, {3, 4, 5}, {1, 5, 6}, {1, 4, 7}, {2, 5, 7}, {3, 6, 7}, {2, 4, 6}.
Here is the matrix M of the design and its transpose.

A
M=
[1 1 1 0 0 0 0]
[0 0 1 1 1 0 0]
[1 0 0 0 1 1 0]
[1 0 0 1 0 0 1]
[0 1 0 0 1 0 1]
[0 0 1 0 0 1 1]
[0 1 0 1 0 1 0]
M^T=
[1 0 1 1 0 0 0]
[1 0 0 0 1 0 1]
[1 1 0 0 0 1 0]
[0 1 0 1 0 0 1]
[0 1 1 0 1 0 0]
[0 0 1 0 0 1 1]
[0 0 0 1 1 1 0]

M^T represents the blocks {1, 3, 4}, {1, 5, 7}, {1, 2, 6}, … and these give another
(7, 7, 3, 3, 1) design

28
Q

THM 100

M of a symmetric design then M^T
**
not in notes

A

Let M be a matrix of a symmetric design. Then M^T
is also the
matrix of a symmetric design.