# Computer science | DISCRETE MATHEMATICS

## Computer science DISCRETE MATHEMATICS

 0512100040 DIPARTIMENTO DI INFORMATICA EQF6 COMPUTER SCIENCE 2017/2018

 OBBLIGATORIO YEAR OF COURSE 1 YEAR OF DIDACTIC SYSTEM 2017 PRIMO SEMESTRE
SSD CFU HOURS ACTIVITY TYPE OF ACTIVITY MAT/02 6 48 LESSONS SUPPLEMENTARY COMPULSORY SUBJECTS MAT/02 3 24 EXERCISES SUPPLEMENTARY COMPULSORY SUBJECTS

 GIACOMO LENZI T
Objectives
Knowledge and Understanding
This course will provide fundamental concepts of the discrete structures, with emphasys on applications. Students will get used to formalize problems properly and to think strictly.
Applying Knowledge and Understanding
Course aims is also to enable students to solve simple problems and exercises applying the acquired theoretical knowledge. In particular, students should be able to perform set and matrices operations, to find correspondences, applications, ordings and lattices, equivalence relations, partitions, algebraic structures and substructures, to use the euclidean algorithm and the induction principle, to solve systems of linear and congruential equations, to determine bases and dimension of a vector space, cartesian and parametric equations of lines and planes in the euclidean space.
Prerequisites
THE KNOWLEDGE OF BASIC MATHEMATICAL TOPICS COVERED IN HIGH SCHOOL COURSES IS REQUIRED.
Contents
(EXPECTED PROGRAM) SETS. SET OPERATIONS: UNION, INTERSECTION, DIFFERENCE, SYMMETRIC DIFFERENCE, CARTESIAN PRODUCT. THE SET OF SUBSETS OF A SET. PARTITIONS OF A SET. RELATIONS AND MAPS. IMAGES AND INVERSE IMAGES. INJECTIVE, SURJECTIVE, BIJECTIVE MAPS. COMPOSITION OF MAPS. THE INVERSE OF A BIJECTIVE MAP. EQUIVALENCE RELATIONS. EQUIVALENCE CLASSES. QUOTIENT SET. FUNDAMENTAL THEOREM. NATURAL NUMBERS AND INTEGER NUMBERS. THE PRINCIPLE OF MATHEMATICAL INDUCTION. DIVISIBILITY. EUCLIDEAN DIVISION. REPRESENTATION OF NATURAL NUMBERS IN A FIXED BASE. PRIME NUMBERS. THE FUNDAMENTAL THEOREM OF ARITHMETIC. EUCLID'S THEOREM ON THE EXISTENCE OF INFINITE PRIME NUMBERS. THE GREATEST COMMON DIVISOR AND THE LEAST COMMON MULTIPLE. EXTENDED EUCLIDEAN ALGORITHM. BEZOUT'S THEOREM. CONGRUENCES. LINEAR CONGRUENTIAL EQUATIONS. THE CHINESE REMAINDER THEOREM. MATRICES. MATRIX OPERATIONS: MATRIX SUM, SCALAR MULTIPLICATION, MATRIX PRODUCT, POWERS OF A MATRIX. TRANSPOSE OF A MATRIX. SCALING MATRIX. EQUIVALENT MATRICES. TRIANGULAR MATRIX. INVERTIBLE MATRICES. DETERMINANT OF A SQUARE MATRIX AND ITS REMARKABLE PROPERTIES. THE BINET'S THEOREM. CALCULATION OF THE INVERSE MATRIX OF AN INVERTIBLE MATRIX. THE RANK OF A MATRIX. ALGEBRAIC STRUCTURES. BINARY OPERATIONS IN A SET. MULTIPLICATION TABLE. STABLE SUBSETS AND INDUCED OPERATION. ASSOCIATIVE OPERATIONS. COMMUTATIVE OPERATIONS. IDENTITY ELEMENT. INVERTIBLE ELEMENTS. HOMOMORPHISMS. FUNDAMENTAL CONCEPTS ABOUT SEMIGROUPS, MONOIDS, GROUPS. THE GROUP OF UNITS OF A MONOID. MODULAR ARITHMETIC. FUNDAMENTAL CONCEPTS ABOUT RINGS, INTEGRAL DOMAINS, FIELDS. VECTOR SPACES. SUBSPACES AND GENERATORS. LINEAR DEPENDENCE, BASES AND DIMENSION. LINEAR APPLICATIONS. ISOMORPHIC VECTOR SPACES. SYSTEMS OF LINEAR EQUATIONS. BASIC CONCEPTS AND SOLVING METHODS: CRAMER, GAUSS-JORDAN, ROUCHE-CAPELLI.
DIAGONALIZATION OF A SQUARE MATRIX. EIGENVALUES AND EIGENVECTORS OF A SQUARE MATRIX. EIGENSPACES. SIMILAR MATRICES. DIAGONALIZABLE MATRICES. COMBINATORIAL CALCULUS. THE PRINCIPLE OF ADDITION. THE PRINCIPLE OF INCLUSION-EXCLUSION. THE PRINCIPLE OF MULTIPLICATION. FACTORIAL OF A NATURAL NUMBER. BINOMIAL COEFFICIENTS. DISPOSITIONS. DISPOSITIONS WITH REPETITIONS. PERMUTATIONS. PERMUTATIONS WITH REPETITIONS. COMBINATIONS. ORDER RELATIONS. MINIMAL ELEMENTS AND MAXIMAL ELEMENTS. MINIMUM AND MAXIMUM. UPPER BOUNDS AND LOWER BOUNDS. LEAST UPPER BOUND AND GREATEST LOWER BOUND. HASSE DIAGRAMS. TOTALLY ORDERED SETS. WELL-ORDERED SETS. SUBSETS OF AN ORDERED SET AND INDUCED ORDER. LATTICES. THE LATTICE OF SUBSETS OF A SET. THE LATTICE OF NON-NEGATIVE INTEGERS. SUBLATTICES. DISTRIBUTIVE LATTICES. LATTICES WITH COMPLEMENT. BOOLEN LATTICES. ELEMENTS OF ANALYTICAL GEOMETRY IN THE PLANE AND IN THE SPACE. APPLIED VECTORS AND RELATED OPERATIONS. AFFINE COORDINATES. PARAMETRIC AND CARTESIAN STRAIGHT LINE EQUATIONS IN THE PLANE AND IN THE SPACE. PARAMETRIC AND CARTESIAN PLANE EQUATIONS IN THE SPACE. PARALLELISM AND INCIDENCE CONDITIONS.
Teaching Methods
THIS COURSE CONSISTS ON THEORETICAL LESSONS AND EXERCITATIVE LESSONS. DURING THEORETICAL LESSONS STUDENTS LEARN BASIC NOTIONS AND SEVERAL TECHNIQUES TO PROVE RESULTS. DURING EXERCITATIVE LESSONS STUDENT LEARN HOW THE GAINED THEORETICAL KNOWLEDGE MAY BE USED TO SOLVE SIMPLE PROBLEMS.
Verification of learning
THE EXAM CONSISTS OF A WRITTEN TEST, AFTER WHICH STUDENTS GO TO A MANDATORY ORAL EXAMINATION.
THE SCORES NECESSARY TO PASS THE WRITTEN PART GO FROM 18 TO 30 CUM LAUDE. THE SAME SCORES ARE NECESSARY TO PASS THE EXAM.

WILL BE EVALUATED THE KNOWLEDGE OF THE TOPICS OF THE THEORY CLASSES, BUT ALSO THE ABILITY T APPLY THEM TO SOLVE PROBLEMS OF ELEMENTARY TYPE.
Texts
G. VINCENZI, ALGEBRA PER INFORMATICA, ARACNE 2015 (IN ITALIAN)

C. DELIZIA, P. LONGOBARDI, M. MAJ AND C. NICOTERA, MATEMATICA DISCRETA, MCGRAW-HILL, 2009
(IN ITALIAN). 