SF2736 Discrete Matematics 7.5 credits, autumn 2015

URL: http://www.math.kth.se/math/GRU/2015.2016/SF2736/

Course responsible: Bengt Ek, 08-790 6951, bek@math.kth.se
Start: Monday 2 November 2015 at 10.15 in room M33.

The information on this page will be updated regularly.


News


Important events and deadlines


Who is who

Teacher:
Bengt Ek (bek@math.kth.se), tel. 790 6951, office 3650 (Lindstedtsvsägen 25, 6th floor (the entrance is on the 5th floor)).
Comments and questions from course participants are welcome at the lectures or by e-mail, phone call or a personal visit.
For a personal visit, to be on the safe side it is best to make an appointment by phone or e-mail.

Course secretery:
Anne Riddarström (annrid@kth.se), tel. 790 6297.
The secretery can answer questions concerning registration, reporting of results etc.
Questions concerning the contents of the course should be addressed to the teacher.

Representatives on the course board (elected Monday the second week):
Mélanie Sedda (write her),
Elis Stefansson (write him).
The representatives are meant to listen to the views of the students and inform the teacher (you can of course also contact the teacher directly).
The course board is planned to convene at least once during the course.


Description of the course

The importance of the subject

The importance of discrete mathematics (combinatorics, graph theory, number theory, abstract algebra and (elementary) logic) has increased tremendously since the middle of the twentieth century, both as a field (or fields) of research and because of its applications in computer science, physics, chemistry, biotechnology, economic modelling, etc.

To understand, analyse, and construct algorithms and data structures a sound knowledge of discrete mathematics is necessary, but discrete mathematics also gives opportunity to practice mathematical thinking and reasoning in ways which may be more accesible than mathematical analysis and geometry. At the same time, it can be used to model many everyday problems in ways that can be both important and entertaining.

Goals and contents of the course

See the description on the student web.

Eligibility

Elementary linear algebra, for example SF1604.

Course literature

Text book

Biggs, Norman L.: "Discrete Mathematics" (Second edition); Oxford University Press, 2002 (ISBN 9780198507178). (THS)
A rather thick book (more than 400 pages, far from all of which are used in this course), but it is well written and usually popular with students.
Try to start reading as soon as possible!

The following parts are mandatory in this course: sections 4.3-7, chapters 5 and 6, sections 7.2-3, chapter 8, section 9.7, chapters 10-13 (except 11.6-7 and 13.4-5), chapters 15 and 17, sections 18.1-4, chapters 20 and 21 (except 20.9), sections 24.1-4, 25.1, 25.4, and 26.1-4.

Other course material (also mandatory!)

Further material


Examination

Exams

One written exam: TEN1, 7.5 credits, in January 2016. Re-exam in the middle of March.

Exams for 2017:
12 January 2018  pdf,    solutions  pdf   
5 April 2018  pdf,    solutions  pdf   
Exams for 2016:
12 January 2017  pdf,    solutions  pdf   
12 April 2017  pdf,    solutions  pdf   
Exams for 2015:
13 January 2016  pdf,    solutions  pdf   
16 March 2016  pdf,    solutions  pdf   (some modifications done April 14)

Some old exams can be found here.

Homework

Twice during the course you may hand in written homework. The problems can be found here:
homework set 1, for 23 November, (pdf) (answers and hints: (pdf)),
homework set 2, for 21 December, (pdf) (answers and hints: (pdf)).
The homework can give at most 4 bonus points (2 points each) which are added to the result of Part I on the exam and re-exam in January and March 2016. The total number of points on part I can, however, not be more than 15.
Homework solutions must be handed in not later than the deadlines given here. Don't forget to enter your name and e-mail address on the solutions.
It is allowed to discuss the problems with classmates, but not to search help from others (such as fora on the internet). Everyone must write his/her own solutions, copying is not allowed and would be considered as cheating.
The solutions are to be delivered in handwritten form.

Marking

The mark on the course will be the same as the mark on the exam (A, B, C, D or E).


Tuition

Some of the lectures (on Monday mornings) will be used for problem sessions.
In the proper lectures theory and illustrating examples will be presented.
The problem sessions will be devoted to solving the problems found in the plan below.
Students are expected to have studied those problems in advance.

Plan for the lessons (provisional)
No. Time Room Contents To study
before the lecture
Summary,
comments
1 Mon 2 Nov
10-12
M33 Introduction to the course.
Integers, divisibility, gcd,
the Euclidean algorithm.
headlines
Biggs 8.1-5 pdf
2 Mon 2 Nov
15-17
L52 The Diophantine equation ax+by=c.
Prime factorization of integers.
Modular arithmetic, Zm.
headlines
Biggs 8.5-6, 13.1-3 pdf
3 Wed 4 Nov
15-17
M33 Linear equations in Zm,
the Chinese remainder theorem,
theorems of Fermat and Euler.
headlines
The CRT (pdf),
Biggs 13.3
pdf
4 Thu 5 Nov
10.20-12
M33 The RSA cryptosystem.
Error correcting codes.
headlines
On RSA (pdf)
Biggs 24.1-4
pdf
5 Mon 9 Nov
10.20-12
M33 Problem session. Problems pdf .
6 Mon 9 Nov
15-17
L52 Sets. Equivalence relations, partitions.
Partial orders. Well-orderings.
headlines
Biggs 4.7,
7.2-3, 12.1-2
pdf
7 Wed 11 Nov
15-17
M33 Functions, injections, surjections, bijections.
The pigeonhole principle. Cardinality of sets.
headlines
Biggs 5, 6, 9.7 .
8 Thu 12 Nov
10-12
L51 Induction, recursion.
Well-founded relations, ordinals.
headlines
Biggs 4.3-6,
On induction (pdf)
.
9 Mon 16 Nov
10-12
M33 Problem session. Problems pdf .
10 Mon 16 Nov
15-17
L52 Combinatorics: the addition and
multiplication principles.
Ramsey numbers. Ordered selections.
Binomial numbers.
headlines
Biggs 10.1-2,
10.4-5, 11.1, 11.3
.
11 Wed 18 Nov
15-17
L52 Multinomial numbers.
Unordered selection with repetition.
Stirling numbers (of the second kind).
The sieve principle (the inclusion-exclusion principle).
The functions ϕ(n) and μ(n).
headlines
Biggs 10.3, 11.2,
11.4-5, 12.1, 12.3
.
12 Thu 19 Nov
10-12
M33 The Möbius inversion formula.
Permutations.
headlines
Biggs 10.6,
11.5, 12.4-6
.
13 Mon 23 Nov
10-12
Q33 Problem session. Problems pdf .
14 Mon 23 Nov
15-17
L52 Groups. Definition, examples.
Elementary facts.
headlines
17.00: deadline for homework set 1.
Biggs 20.1-5 .
15 Wed 25 Nov
15.20-17
M33 Cyclic groups. Subgroups.
Cosets and Lagrange's theorem.
headlines
Biggs 20.6-8 .
16 Thu 26 Nov
10-12
Q34 Groups acting on sets.
Burnside's lemma.
headlines
Biggs 21.1-6 .
17 Mon 30 Nov
10.20-12
M33 Problem session. Problems pdf .
18 Mon 30 Nov
15-17
L52 Generating functions (power series).
Number of partitions of a positive integer.
headlines
Biggs 25.1,
25.4, 26.1-4
.
19 Wed 2 Dec
15-17
L52 Graphs. Definitions. Elementary facts.
Eulerian and Hamiltonian graphs. Trees.
headlines
Biggs 15.1-5 .
20 Thu 3 Dec
10-12
M33 Graph colourings.
Planar graphs.
headlines
Biggs 15.6-7,
Planar graphs (pdf),
(to appear)
pdf
21 Mon 7 Dec
10-12
M33 Problem session. Problems pdf .
22 Mon 7 Dec
15-17
L52 Bipartite graphs, matchings.
headlines
Biggs 17.1-6 .
23 Wed 9 Dec
15.20-17
M33 Digraphs.
The max-flow min-cut theorem.
headlines
Biggs 18.1-4 .
24 Thu 10 Dec
10-12
M33 A little about mathematical logic.
Languages, structures, axiomatization, models.
headlines
About logic (pdf),
(to appear)
.
25 Mon 14 Dec
10-12
M33 Problem session.
The deadline for homework set 2 is changed to 21 Dec.
Problems pdf .
26 Wed 16 Dec
15-17
M33 Semantic consequence. Formal proofs. Gödel's completeness theorem.
Gödel's incompleteness theorem. The compactness theorem.
headlines  slides
About logic .
27 Thu 17 Dec
10-12
M33 Infinities. Ordinals and cardinals.
The axiom of choice and well-ordering.
Examples of transfinite recursion.
headlines
About logic .
Mon 21 Dec Deadline for homework set 2
by post or in the black letterbox, Lindstedtsvägen 25,
see also the text above the problems.
TEN1 Wed 13 Jan 2016
14.00-19.00
Q,V Exam
TEN1 16/3-16
8.00-13.00
V Re-exam

Suggested problems for practice

Biggs 4.3:2; 4.4:2; 4.5:3; 4.6:3; 4.7:1;
Biggs 5.2:1,2; 5.3:1; 5.4:2,3; 5.5:4;
Biggs 6.2:3; 6.4:2,3,5; 6.5:2,3; 6.6:3; 6.7:2;
Biggs 8.4:1,2,4 (find all such x,y); 8.6:3,5; 8.7:5,14;
Biggs 10.1:1,2; 10.2:1,3; 10.3:2; 10.4:2,3; 10.5:1,2,4; 10.6:1,2,3,4; 10.7:4,5,7;
Biggs 11.1:3,4,5,6,7; 11.2:2,3; 11.3:2,3; 11.4:1,2,5; 11.5:1,2,3,4; 11.8:3,5,6;
Biggs 12.1:1,2; 12.2:2,5; 12.3:1,2,5,6; 12.5:1,2,3,4; 12.6:1,2,3,4; 12.7:19;
Biggs 13.1:1,2,3; 13.2:1,3,4; 13.3:1,4,5,7,8;
Biggs 15.1:4; 15.2:1,2,3; 15.3:1,2,3,4,5; 15.4:1,3,4,5 (in which cubes can the mouse start, if she wants to end up in the middle cube?); 15.5:1,2,4; 15.6:1,2; 15.7:1,2,3; 15.8:8;
Biggs 17.1:2,3; 17.2:1,2,4; 17.4:1,2,3; 17.5:1; 17.6:1,3,4; 17.7:1(,9);
Biggs 18.1:2; 18.2:1; 18.3:2; 18.4:2;
Biggs 20.2:1,3,4; 20.3:1,2,3,5; 20.4:1,3; 20.5:1,4; 20.6:1,4; 20.7:1,2,3,4; 20.8:1,2,3,4,5; 20.10:5,13;
Biggs 21.1:2,5; 21.2:2,4; 21.3:3; 21.4:1,2,3,4; 21.5:1,3,4; 21.6:2,3,4;
Biggs 24.1:1,2; 24.2:1,2,3,4; 24.3:1,2,3; 24.4:1,2,3,4;
Biggs 25.1:3,4; 25.4:2,3,4;
Biggs 26.1:4; 26.2:1,2,3; 26.3:1,2,3; 26.4:2,3;
The exercises in the supplementary material (The Chinese remainder theorem etc.).