Discrete Mathematics & Mathematical Reasoning Course Overview

Similar documents
MATH 363: Discrete Mathematics

Part IA Numbers and Sets

Notation Index. gcd(a, b) (greatest common divisor) NT-16

7.11 A proof involving composition Variation in terminology... 88

MATH 2200 Final Review

Chapter 1 : The language of mathematics.

UNIVERSITY OF PUNE, PUNE BOARD OF STUDIES IN MATHEMATICS SYLLABUS. F.Y.BSc (Computer Science) Paper-I Discrete Mathematics First Term

MATH 310 Course Objectives

MATH 2200 Final LC Review

EECS 1028 M: Discrete Mathematics for Engineers

Tribhuvan University Institute of Science and Technology Micro Syllabus

Part IA Numbers and Sets

B.C.S.Part I Mathematics (Sem.- I & II) Syllabus to be implemented from June 2013 onwards.

STUDY GUIDE FOR THE WRECKONING. 1. Combinatorics. (1) How many (positive integer) divisors does 2940 have? What about 3150?

586 Index. vertex, 369 disjoint, 236 pairwise, 272, 395 disjoint sets, 236 disjunction, 33, 36 distributive laws

REVIEW QUESTIONS. Chapter 1: Foundations: Sets, Logic, and Algorithms

UNIVERSITY OF MUMBAI

CS684 Graph Algorithms

Lecture Notes 1 Basic Concepts of Mathematics MATH 352

Mathematical Reasoning & Proofs

UNIVERSITY OF PUNE, PUNE. Syllabus for F.Y.B.Sc(Computer Science) Subject: MATHEMATICS (With effect from June 2013)

MATH1240 Definitions and Theorems

Math/EECS 1028M: Discrete Mathematics for Engineers Winter Suprakash Datta

Mathematics Review for Business PhD Students Lecture Notes

Propositional Logic. What is discrete math? Tautology, equivalence, and inference. Applications

Lecture 4: Probability, Proof Techniques, Method of Induction Lecturer: Lale Özkahya

Propositional Logic, Predicates, and Equivalence

Introduction Introduction. Discrete Mathematics Andrei Bulatov

Exploring the infinite : an introduction to proof and analysis / Jennifer Brooks. Boca Raton [etc.], cop Spis treści

Discrete Math Notes. Contents. William Farmer. April 8, Overview 3

Algebra. Modular arithmetic can be handled mathematically by introducing a congruence relation on the integers described in the above example.

Combinatorial Optimization

1 2 3 style total. Circle the correct answer; no explanation is required. Each problem in this section counts 5 points.

Notes for Math 290 using Introduction to Mathematical Proofs by Charles E. Roberts, Jr.

ICS141: Discrete Mathematics for Computer Science I

Final Exam Review. 2. Let A = {, { }}. What is the cardinality of A? Is

Chapter 4 Mathematics of Cryptography

CSE 2001: Introduction to Theory of Computation Fall Suprakash Datta

Definitions. Notations. Injective, Surjective and Bijective. Divides. Cartesian Product. Relations. Equivalence Relations

Midterm 1. Your Exam Room: Name of Person Sitting on Your Left: Name of Person Sitting on Your Right: Name of Person Sitting in Front of You:

are the q-versions of n, n! and . The falling factorial is (x) k = x(x 1)(x 2)... (x k + 1).

Exam Practice Problems

Review 3. Andreas Klappenecker

Mathematical Preliminaries. Sipser pages 1-28

Sets, Proofs and Functions. Anton Velinov

Lecture 4: Counting, Pigeonhole Principle, Permutations, Combinations Lecturer: Lale Özkahya

ABOUT THE CLASS AND NOTES ON SET THEORY

Informatics 1 - Computation & Logic: Tutorial 3

Mathematical Foundations of Public-Key Cryptography

Chapter 0. Introduction: Prerequisites and Preliminaries

(1) Which of the following are propositions? If it is a proposition, determine its truth value: A propositional function, but not a proposition.

1. (B) The union of sets A and B is the set whose elements belong to at least one of A

ECEN 5022 Cryptography

BASIC GRAPH THEORY. SUB CODE: 09MAT01 Total hours 52

Introduction to Proofs

Math.3336: Discrete Mathematics. Cardinality of Sets

MATH 25 CLASS 21 NOTES, NOV Contents. 2. Subgroups 2 3. Isomorphisms 4

Principles of Real Analysis I Fall I. The Real Number System

Foundations of Mathematics MATH 220 FALL 2017 Lecture Notes

Chapter 2 (Part 3): The Fundamentals: Algorithms, the Integers & Matrices. Integers & Algorithms (2.5)

Know the Well-ordering principle: Any set of positive integers which has at least one element contains a smallest element.

CSCE 222 Discrete Structures for Computing. Review for the Final. Hyunyoung Lee

Homework #2 solutions Due: June 15, 2012

IVA S STUDY GUIDE FOR THE DISCRETE FINAL EXAM - SELECTED SOLUTIONS. 1. Combinatorics

CSE 2001: Introduction to Theory of Computation Fall Suprakash Datta

Models of Computation. by Costas Busch, LSU

School of Mathematics and Statistics. MT1003 Pure Mathematics. Handout 0: Course Information

Name (please print) Mathematics Final Examination December 14, 2005 I. (4)

Number theory (Chapter 4)

Exam in Discrete Mathematics

Analysis 1. Lecture Notes 2013/2014. The original version of these Notes was written by. Vitali Liskevich

MATH 201 Solutions: TEST 3-A (in class)

Discrete Structures (2IT50)

BOOLEAN ALGEBRA INTRODUCTION SUBSETS

AS 1 Math Structure for BSc (Ed) (Primary 2 CS Track) AS 1 Math Structure for BSc (Ed) (Secondary)

Trinity Christian School Curriculum Guide

Discrete Structures for Computer Science: Counting, Recursion, and Probability

For your quiz in recitation this week, refer to these exercise generators:

Randomized Algorithms

Foundations Revision Notes

Contribution of Problems

Lecture 22: Counting

Fundamentals of Pure Mathematics - Problem Sheet

HOMEWORK #2 - MATH 3260

Discrete mathematics , Fall Instructor: prof. János Pach

First year syllabus under Autonomy First year syllabus under Autonomy

[Part 2] Asymmetric-Key Encipherment. Chapter 9. Mathematics of Cryptography. Objectives. Contents. Objectives

Math.3336: Discrete Mathematics. Primes and Greatest Common Divisors

Definition 6.1 (p.277) A positive integer n is prime when n > 1 and the only positive divisors are 1 and n. Alternatively

Math 109 September 1, 2016

MATH FINAL EXAM REVIEW HINTS

Number Theory. Modular Arithmetic

Basic elements of number theory

Basic elements of number theory

Sets are one of the basic building blocks for the types of objects considered in discrete mathematics.

Get started [Hawkes Learning] with this system. Common final exam, independently administered, group graded, grades reported.

1. Foundations of Numerics from Advanced Mathematics. Mathematical Essentials and Notation

Finite and Algorithmic Model Theory II: Automata-Based Methods

Lovely Professional University, Punjab

The Chinese Remainder Theorem

Transcription:

Discrete Mathematics & Mathematical Reasoning Course Overview Colin Stirling Informatics Colin Stirling (Informatics) Discrete Mathematics Today 1 / 19

Teaching staff Lecturers: Colin Stirling, first half of course Kousha Etessami, second half of course Course Secretary (ITO): Kendall Reid (kreid5@staffmail.ed.ac.uk) Colin Stirling (Informatics) Discrete Mathematics Today 2 / 19

Course web page http://www.inf.ed.ac.uk/teaching/courses/dmmr/ Contains important information Lecture slides Tutorial sheet exercises Link to tutorial groups Course organization... Colin Stirling (Informatics) Discrete Mathematics Today 3 / 19

Tutorials You should receive email from the ITO informing you of preliminary allocation of tutorial groups Colin Stirling (Informatics) Discrete Mathematics Today 4 / 19

Tutorials You should receive email from the ITO informing you of preliminary allocation of tutorial groups See link on course web page for current assignment of tutorial groups Colin Stirling (Informatics) Discrete Mathematics Today 4 / 19

Tutorials You should receive email from the ITO informing you of preliminary allocation of tutorial groups See link on course web page for current assignment of tutorial groups If you can t make the time of your allocated group, please email Kendall suggesting some groups you can manage Colin Stirling (Informatics) Discrete Mathematics Today 4 / 19

Tutorials You should receive email from the ITO informing you of preliminary allocation of tutorial groups See link on course web page for current assignment of tutorial groups If you can t make the time of your allocated group, please email Kendall suggesting some groups you can manage If you change tutor groups for any reason, you must let Kendall and the ITO know (because your marked coursework is returned at the tutorial groups) Colin Stirling (Informatics) Discrete Mathematics Today 4 / 19

Tutorials You should receive email from the ITO informing you of preliminary allocation of tutorial groups See link on course web page for current assignment of tutorial groups If you can t make the time of your allocated group, please email Kendall suggesting some groups you can manage If you change tutor groups for any reason, you must let Kendall and the ITO know (because your marked coursework is returned at the tutorial groups) Tutorial attendance is mandatory. If you miss two tutorials in a row, your PT will be notified Colin Stirling (Informatics) Discrete Mathematics Today 4 / 19

Tutorials and (marked) exercises Weekly exercise sheets, available previous Wednesday (except for the first) on the course web page Colin Stirling (Informatics) Discrete Mathematics Today 5 / 19

Tutorials and (marked) exercises Weekly exercise sheets, available previous Wednesday (except for the first) on the course web page The last question on every sheet will be graded. The coursework grade contributes 15% to the total course grade, and every one of the 9 exercise sheets counts 1/9th of the coursework grade Colin Stirling (Informatics) Discrete Mathematics Today 5 / 19

Tutorials and (marked) exercises Weekly exercise sheets, available previous Wednesday (except for the first) on the course web page The last question on every sheet will be graded. The coursework grade contributes 15% to the total course grade, and every one of the 9 exercise sheets counts 1/9th of the coursework grade Starting in week 2, deadline for submission of each tutorial sheet is Wednesday at 4:00pm at the ITO (they also have a collection box) Colin Stirling (Informatics) Discrete Mathematics Today 5 / 19

Tutorials and (marked) exercises Weekly exercise sheets, available previous Wednesday (except for the first) on the course web page The last question on every sheet will be graded. The coursework grade contributes 15% to the total course grade, and every one of the 9 exercise sheets counts 1/9th of the coursework grade Starting in week 2, deadline for submission of each tutorial sheet is Wednesday at 4:00pm at the ITO (they also have a collection box) Solutions will be discussed in tutorials the following week. Graded sheets are returned in tutorials (or collected later from the ITO) Colin Stirling (Informatics) Discrete Mathematics Today 5 / 19

Tutorials and (marked) exercises Weekly exercise sheets, available previous Wednesday (except for the first) on the course web page The last question on every sheet will be graded. The coursework grade contributes 15% to the total course grade, and every one of the 9 exercise sheets counts 1/9th of the coursework grade Starting in week 2, deadline for submission of each tutorial sheet is Wednesday at 4:00pm at the ITO (they also have a collection box) Solutions will be discussed in tutorials the following week. Graded sheets are returned in tutorials (or collected later from the ITO) Exception: no tutorial in week 1 Colin Stirling (Informatics) Discrete Mathematics Today 5 / 19

Textbook Kenneth Rosen, Discrete Mathematics and its Applications, 7th Edition, (Global Edition) McGraw-Hill, 2012 Available at Blackwells For additional material see the course webpage Colin Stirling (Informatics) Discrete Mathematics Today 6 / 19

Grading Written Examination: 85% Assessed Assignments: 15%. Each one of the 9 exercise sheets counts equally. (Actually, first 8 sheets are each out of 11, and the last is out of 12) Colin Stirling (Informatics) Discrete Mathematics Today 7 / 19

Grading Written Examination: 85% Assessed Assignments: 15%. Each one of the 9 exercise sheets counts equally. (Actually, first 8 sheets are each out of 11, and the last is out of 12) To pass course need 40% or more overall (No separate exam/coursework hurdle) Colin Stirling (Informatics) Discrete Mathematics Today 7 / 19

Important themes mathematical reasoning combinatorial analysis discrete structures algorithmic thinking applications and modelling Colin Stirling (Informatics) Discrete Mathematics Today 8 / 19

Foundations: proof Rudimentary predicate (first-order) logic: existential and universal quantification, basic algebraic laws of quantified logic (duality of existential and universal quantification) The structure of a well-reasoned mathematical proof; proof strategies: proofs by contradiction, proof by cases; examples of incorrect proofs (to build intuition about correct mathematical reasoning) Colin Stirling (Informatics) Discrete Mathematics Today 9 / 19

Foundations: sets, functions and relations Sets (naive): operations on sets: union, intersection, set difference, the powerset operation, examples of finite and infinite sets (the natural numbers). Ordered pairs, n-tuples, and Cartesian products of sets Relations: (unary, binary, and n-ary) properties of binary relations (symmetry, reflexivity, transitivity). Functions: injective, surjective, and bijective functions, inverse functions, composition of functions Rudimentary counting: size of the Cartesian product of two finite sets, number of subsets of a finite set, (number of n-bit sequences), number of functions from one finite set to another Colin Stirling (Informatics) Discrete Mathematics Today 10 / 19

Induction and recursion Principle of mathematical induction (for positive integers) Examples of proofs by (weak and strong) induction Recursive definitions and structural induction Colin Stirling (Informatics) Discrete Mathematics Today 11 / 19

Basic number theory and some cryptography Integers and elementary number theory (divisibility, GCDs and the Euclidean algorithm, prime decomposition and the fundamental theorem of arithmetic) Modular arithmetic (congruences, Fermat s little theorem, the Chinese remainder theorem) Applications: public-key cryptography Colin Stirling (Informatics) Discrete Mathematics Today 12 / 19

Basic algorithms Concept and basic properties of an algorithm Some examples of algorithms Basics of growth of function, and complexity of algorithms: comparison of growth rate of some common functions Colin Stirling (Informatics) Discrete Mathematics Today 13 / 19

Counting Basics of counting Pigeon-hole principle Permutations and combinations Binomial coefficients, binomial theorem, and basic identities on binomial coefficients Generalizations of permutations and combinations (e.g., combinations with repetition/replacement) Stirling s approximation of the factorial function Colin Stirling (Informatics) Discrete Mathematics Today 14 / 19

Graphs Directed and undirected graph: definitions and examples in Informatics Adjacency matrix representation Terminology: degree (indegree, outdegree), and special graphs: bipartite, complete, acyclic,... Isomorphism of graphs; subgraphs Paths, cycles, and (strong) connectivity Euler paths/circuits, Hamiltonian paths (brief) Weighted graphs, and shortest paths (Dijkstra s algorithm) Bipartite matching: Hall s marriage theorem Colin Stirling (Informatics) Discrete Mathematics Today 15 / 19

Trees Rooted and unrooted trees Ordered and unordered trees (Complete) binary (k-ary) tree Subtrees Examples in Informatics Spanning trees (Kruskal s algorithm, Prim s algorithm.) Colin Stirling (Informatics) Discrete Mathematics Today 16 / 19

Discrete probability Discrete (finite or countable) probability spaces Events Basic axioms of discrete probability Independence and conditional probability Bayes theorem Random variables Expectation; linearity of expectation Basic examples of discrete probability distributions, the birthday paradox and other subtle examples in probability The probabilistic method: a proof technique Colin Stirling (Informatics) Discrete Mathematics Today 17 / 19

Proof that 1 = 2 Step Reason 1. a = b Premise Colin Stirling (Informatics) Discrete Mathematics Today 18 / 19

Proof that 1 = 2 Step Reason 1. a = b Premise 2. a 2 = ab Multiply both sides by a Colin Stirling (Informatics) Discrete Mathematics Today 18 / 19

Proof that 1 = 2 Step Reason 1. a = b Premise 2. a 2 = ab Multiply both sides by a 3. a 2 b 2 = ab b 2 Subtract b 2 from both sides Colin Stirling (Informatics) Discrete Mathematics Today 18 / 19

Proof that 1 = 2 Step Reason 1. a = b Premise 2. a 2 = ab Multiply both sides by a 3. a 2 b 2 = ab b 2 Subtract b 2 from both sides 4. (a b)(a + b) = b(a b) Algebra Colin Stirling (Informatics) Discrete Mathematics Today 18 / 19

Proof that 1 = 2 Step Reason 1. a = b Premise 2. a 2 = ab Multiply both sides by a 3. a 2 b 2 = ab b 2 Subtract b 2 from both sides 4. (a b)(a + b) = b(a b) Algebra 5. a + b = b Divide both sides by a b Colin Stirling (Informatics) Discrete Mathematics Today 18 / 19

Proof that 1 = 2 Step Reason 1. a = b Premise 2. a 2 = ab Multiply both sides by a 3. a 2 b 2 = ab b 2 Subtract b 2 from both sides 4. (a b)(a + b) = b(a b) Algebra 5. a + b = b Divide both sides by a b 6. 2b = b Replace a by b because a = b Colin Stirling (Informatics) Discrete Mathematics Today 18 / 19

Proof that 1 = 2 Step Reason 1. a = b Premise 2. a 2 = ab Multiply both sides by a 3. a 2 b 2 = ab b 2 Subtract b 2 from both sides 4. (a b)(a + b) = b(a b) Algebra 5. a + b = b Divide both sides by a b 6. 2b = b Replace a by b because a = b 7. 2 = 1 Divide both sides by b Colin Stirling (Informatics) Discrete Mathematics Today 18 / 19

Proof that 1 = 2 Step Reason 1. a = b Premise 2. a 2 = ab Multiply both sides by a 3. a 2 b 2 = ab b 2 Subtract b 2 from both sides 4. (a b)(a + b) = b(a b) Algebra 5. a + b = b Divide both sides by a b 6. 2b = b Replace a by b because a = b 7. 2 = 1 Divide both sides by b Step 5. a b = 0 by the premise and division by 0 is undefined! Colin Stirling (Informatics) Discrete Mathematics Today 18 / 19

Finding integer solutions to x + 3 = 3 x Step Reason 1. x + 3 = 3 x Premise Colin Stirling (Informatics) Discrete Mathematics Today 19 / 19

Finding integer solutions to x + 3 = 3 x Step Reason 1. x + 3 = 3 x Premise 2. x + 3 = x 2 6x + 9 Square both sides Colin Stirling (Informatics) Discrete Mathematics Today 19 / 19

Finding integer solutions to x + 3 = 3 x Step Reason 1. x + 3 = 3 x Premise 2. x + 3 = x 2 6x + 9 Square both sides 3. 0 = x 2 7x + 6 Subtract x + 3 from both sides Colin Stirling (Informatics) Discrete Mathematics Today 19 / 19

Finding integer solutions to x + 3 = 3 x Step Reason 1. x + 3 = 3 x Premise 2. x + 3 = x 2 6x + 9 Square both sides 3. 0 = x 2 7x + 6 Subtract x + 3 from both sides 4. 0 = (x 1)(x 6) Algebra Colin Stirling (Informatics) Discrete Mathematics Today 19 / 19

Finding integer solutions to x + 3 = 3 x Step Reason 1. x + 3 = 3 x Premise 2. x + 3 = x 2 6x + 9 Square both sides 3. 0 = x 2 7x + 6 Subtract x + 3 from both sides 4. 0 = (x 1)(x 6) Algebra 5. x = 1 or x = 6 If ab = 0 then a = 0 or b = 0 Colin Stirling (Informatics) Discrete Mathematics Today 19 / 19

Finding integer solutions to x + 3 = 3 x Step Reason 1. x + 3 = 3 x Premise 2. x + 3 = x 2 6x + 9 Square both sides 3. 0 = x 2 7x + 6 Subtract x + 3 from both sides 4. 0 = (x 1)(x 6) Algebra 5. x = 1 or x = 6 If ab = 0 then a = 0 or b = 0 Is this reasoning correct? Colin Stirling (Informatics) Discrete Mathematics Today 19 / 19