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

Discrete Mathematics & Mathematical Reasoning Course …Discussion forum (piazza)not yet available Course organization::: Colin Stirling (Informatics) Discrete Mathematics Today 3/24

  • Upload
    others

  • View
    10

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Discrete Mathematics & Mathematical Reasoning Course …Discussion forum (piazza)not yet available Course organization::: Colin Stirling (Informatics) Discrete Mathematics Today 3/24

Discrete Mathematics & Mathematical ReasoningCourse Overview

Colin Stirling

Informatics

Colin Stirling (Informatics) Discrete Mathematics Today 1 / 24

Page 2: Discrete Mathematics & Mathematical Reasoning Course …Discussion forum (piazza)not yet available Course organization::: Colin Stirling (Informatics) Discrete Mathematics Today 3/24

Teaching staff

Lecturers:Colin Stirling, first half of courseKousha Etessami, second half of course

Course Secretary (ITO):Kendall Reid ([email protected])

Colin Stirling (Informatics) Discrete Mathematics Today 2 / 24

Page 3: Discrete Mathematics & Mathematical Reasoning Course …Discussion forum (piazza)not yet available Course organization::: Colin Stirling (Informatics) Discrete Mathematics Today 3/24

Course web page on Learn and athttp://www.inf.ed.ac.uk/teaching/courses/dmmr/

Contains important links toLecture schedule and slidesStudy guide (textbook reading)Weekly tutorial exercisesCourseworkTutorial groupsDiscussion forum (piazza) not yet availableCourse organization. . .

Colin Stirling (Informatics) Discrete Mathematics Today 3 / 24

Page 4: Discrete Mathematics & Mathematical Reasoning Course …Discussion forum (piazza)not yet available Course organization::: Colin Stirling (Informatics) Discrete Mathematics Today 3/24

Course web page on Learn and athttp://www.inf.ed.ac.uk/teaching/courses/dmmr/

Contains important links toLecture schedule and slidesStudy guide (textbook reading)Weekly tutorial exercisesCourseworkTutorial groupsDiscussion forum (piazza) not yet availableCourse organization. . .

Colin Stirling (Informatics) Discrete Mathematics Today 3 / 24

Page 5: Discrete Mathematics & Mathematical Reasoning Course …Discussion forum (piazza)not yet available Course organization::: Colin Stirling (Informatics) Discrete Mathematics Today 3/24

Lectures

Monday 16.10-17.00 HereTuesday 10.00-10.50 HereThursday 16.10-17.00 Here

10 weeks of lectures in two halves of 5 weeksLecture schedule and slides (like this one) on web pageStudy guide (textbook reading)

Colin Stirling (Informatics) Discrete Mathematics Today 4 / 24

Page 6: Discrete Mathematics & Mathematical Reasoning Course …Discussion forum (piazza)not yet available Course organization::: Colin Stirling (Informatics) Discrete Mathematics Today 3/24

Lectures

Monday 16.10-17.00 HereTuesday 10.00-10.50 HereThursday 16.10-17.00 Here

10 weeks of lectures in two halves of 5 weeksLecture schedule and slides (like this one) on web pageStudy guide (textbook reading)

Colin Stirling (Informatics) Discrete Mathematics Today 4 / 24

Page 7: Discrete Mathematics & Mathematical Reasoning Course …Discussion forum (piazza)not yet available Course organization::: Colin Stirling (Informatics) Discrete Mathematics Today 3/24

Textbook

Kenneth Rosen, Discrete Mathematics and its Applications,8th Edition, (Global Edition) McGraw-Hill, 2018 (or 7th Edition2012)

Available at Blackwells (may be a delay)

For additional material see the course webpage

Colin Stirling (Informatics) Discrete Mathematics Today 5 / 24

Page 8: Discrete Mathematics & Mathematical Reasoning Course …Discussion forum (piazza)not yet available Course organization::: Colin Stirling (Informatics) Discrete Mathematics Today 3/24

Tutorials

See link on Learn for current assignment of tutorial groups (20groups)

Once times are decided, if you want to change group get in touchwith the ITO to do thisTutorials start week 2 (next week beginning 23 September)Tutorial attendance is mandatoryAt tutorials discuss the weekly exercise sheets (available previouswednesday) on course web pageYou should answer the questions in advance and discusssolutions with tutor and fellow tuteesSample solutions are available the following week

Colin Stirling (Informatics) Discrete Mathematics Today 6 / 24

Page 9: Discrete Mathematics & Mathematical Reasoning Course …Discussion forum (piazza)not yet available Course organization::: Colin Stirling (Informatics) Discrete Mathematics Today 3/24

Tutorials

See link on Learn for current assignment of tutorial groups (20groups)Once times are decided, if you want to change group get in touchwith the ITO to do this

Tutorials start week 2 (next week beginning 23 September)Tutorial attendance is mandatoryAt tutorials discuss the weekly exercise sheets (available previouswednesday) on course web pageYou should answer the questions in advance and discusssolutions with tutor and fellow tuteesSample solutions are available the following week

Colin Stirling (Informatics) Discrete Mathematics Today 6 / 24

Page 10: Discrete Mathematics & Mathematical Reasoning Course …Discussion forum (piazza)not yet available Course organization::: Colin Stirling (Informatics) Discrete Mathematics Today 3/24

Tutorials

See link on Learn for current assignment of tutorial groups (20groups)Once times are decided, if you want to change group get in touchwith the ITO to do thisTutorials start week 2 (next week beginning 23 September)

Tutorial attendance is mandatoryAt tutorials discuss the weekly exercise sheets (available previouswednesday) on course web pageYou should answer the questions in advance and discusssolutions with tutor and fellow tuteesSample solutions are available the following week

Colin Stirling (Informatics) Discrete Mathematics Today 6 / 24

Page 11: Discrete Mathematics & Mathematical Reasoning Course …Discussion forum (piazza)not yet available Course organization::: Colin Stirling (Informatics) Discrete Mathematics Today 3/24

Tutorials

See link on Learn for current assignment of tutorial groups (20groups)Once times are decided, if you want to change group get in touchwith the ITO to do thisTutorials start week 2 (next week beginning 23 September)Tutorial attendance is mandatory

At tutorials discuss the weekly exercise sheets (available previouswednesday) on course web pageYou should answer the questions in advance and discusssolutions with tutor and fellow tuteesSample solutions are available the following week

Colin Stirling (Informatics) Discrete Mathematics Today 6 / 24

Page 12: Discrete Mathematics & Mathematical Reasoning Course …Discussion forum (piazza)not yet available Course organization::: Colin Stirling (Informatics) Discrete Mathematics Today 3/24

Tutorials

See link on Learn for current assignment of tutorial groups (20groups)Once times are decided, if you want to change group get in touchwith the ITO to do thisTutorials start week 2 (next week beginning 23 September)Tutorial attendance is mandatoryAt tutorials discuss the weekly exercise sheets (available previouswednesday) on course web page

You should answer the questions in advance and discusssolutions with tutor and fellow tuteesSample solutions are available the following week

Colin Stirling (Informatics) Discrete Mathematics Today 6 / 24

Page 13: Discrete Mathematics & Mathematical Reasoning Course …Discussion forum (piazza)not yet available Course organization::: Colin Stirling (Informatics) Discrete Mathematics Today 3/24

Tutorials

See link on Learn for current assignment of tutorial groups (20groups)Once times are decided, if you want to change group get in touchwith the ITO to do thisTutorials start week 2 (next week beginning 23 September)Tutorial attendance is mandatoryAt tutorials discuss the weekly exercise sheets (available previouswednesday) on course web pageYou should answer the questions in advance and discusssolutions with tutor and fellow tutees

Sample solutions are available the following week

Colin Stirling (Informatics) Discrete Mathematics Today 6 / 24

Page 14: Discrete Mathematics & Mathematical Reasoning Course …Discussion forum (piazza)not yet available Course organization::: Colin Stirling (Informatics) Discrete Mathematics Today 3/24

Tutorials

See link on Learn for current assignment of tutorial groups (20groups)Once times are decided, if you want to change group get in touchwith the ITO to do thisTutorials start week 2 (next week beginning 23 September)Tutorial attendance is mandatoryAt tutorials discuss the weekly exercise sheets (available previouswednesday) on course web pageYou should answer the questions in advance and discusssolutions with tutor and fellow tuteesSample solutions are available the following week

Colin Stirling (Informatics) Discrete Mathematics Today 6 / 24

Page 15: Discrete Mathematics & Mathematical Reasoning Course …Discussion forum (piazza)not yet available Course organization::: Colin Stirling (Informatics) Discrete Mathematics Today 3/24

Coursework

There are two courseworks which are pen and paper exercises(similar to the weekly tutorial exercises) to be handed in to the ITO(Informatics Teaching Organisation, 6th floor of Appleton Tower)

Each coursework is out of 50

Courseworks will be available at least two weeks before theirdeadlines

Coursework 1 due on Monday 21st Oct, Week 6

Coursework 2 due on Friday 22nd November, Week 10

You will pick up your marked scripts from the ITO once marked

Colin Stirling (Informatics) Discrete Mathematics Today 7 / 24

Page 16: Discrete Mathematics & Mathematical Reasoning Course …Discussion forum (piazza)not yet available Course organization::: Colin Stirling (Informatics) Discrete Mathematics Today 3/24

Coursework

There are two courseworks which are pen and paper exercises(similar to the weekly tutorial exercises) to be handed in to the ITO(Informatics Teaching Organisation, 6th floor of Appleton Tower)

Each coursework is out of 50

Courseworks will be available at least two weeks before theirdeadlines

Coursework 1 due on Monday 21st Oct, Week 6

Coursework 2 due on Friday 22nd November, Week 10

You will pick up your marked scripts from the ITO once marked

Colin Stirling (Informatics) Discrete Mathematics Today 7 / 24

Page 17: Discrete Mathematics & Mathematical Reasoning Course …Discussion forum (piazza)not yet available Course organization::: Colin Stirling (Informatics) Discrete Mathematics Today 3/24

Coursework

There are two courseworks which are pen and paper exercises(similar to the weekly tutorial exercises) to be handed in to the ITO(Informatics Teaching Organisation, 6th floor of Appleton Tower)

Each coursework is out of 50

Courseworks will be available at least two weeks before theirdeadlines

Coursework 1 due on Monday 21st Oct, Week 6

Coursework 2 due on Friday 22nd November, Week 10

You will pick up your marked scripts from the ITO once marked

Colin Stirling (Informatics) Discrete Mathematics Today 7 / 24

Page 18: Discrete Mathematics & Mathematical Reasoning Course …Discussion forum (piazza)not yet available Course organization::: Colin Stirling (Informatics) Discrete Mathematics Today 3/24

Coursework

There are two courseworks which are pen and paper exercises(similar to the weekly tutorial exercises) to be handed in to the ITO(Informatics Teaching Organisation, 6th floor of Appleton Tower)

Each coursework is out of 50

Courseworks will be available at least two weeks before theirdeadlines

Coursework 1 due on Monday 21st Oct, Week 6

Coursework 2 due on Friday 22nd November, Week 10

You will pick up your marked scripts from the ITO once marked

Colin Stirling (Informatics) Discrete Mathematics Today 7 / 24

Page 19: Discrete Mathematics & Mathematical Reasoning Course …Discussion forum (piazza)not yet available Course organization::: Colin Stirling (Informatics) Discrete Mathematics Today 3/24

Coursework

There are two courseworks which are pen and paper exercises(similar to the weekly tutorial exercises) to be handed in to the ITO(Informatics Teaching Organisation, 6th floor of Appleton Tower)

Each coursework is out of 50

Courseworks will be available at least two weeks before theirdeadlines

Coursework 1 due on Monday 21st Oct, Week 6

Coursework 2 due on Friday 22nd November, Week 10

You will pick up your marked scripts from the ITO once marked

Colin Stirling (Informatics) Discrete Mathematics Today 7 / 24

Page 20: Discrete Mathematics & Mathematical Reasoning Course …Discussion forum (piazza)not yet available Course organization::: Colin Stirling (Informatics) Discrete Mathematics Today 3/24

Coursework

There are two courseworks which are pen and paper exercises(similar to the weekly tutorial exercises) to be handed in to the ITO(Informatics Teaching Organisation, 6th floor of Appleton Tower)

Each coursework is out of 50

Courseworks will be available at least two weeks before theirdeadlines

Coursework 1 due on Monday 21st Oct, Week 6

Coursework 2 due on Friday 22nd November, Week 10

You will pick up your marked scripts from the ITO once marked

Colin Stirling (Informatics) Discrete Mathematics Today 7 / 24

Page 21: Discrete Mathematics & Mathematical Reasoning Course …Discussion forum (piazza)not yet available Course organization::: Colin Stirling (Informatics) Discrete Mathematics Today 3/24

Grading

Written examination in December: 85% OPEN BOOK EXAM

Exam structure: compulsory part A of 5 questions 10 marks each;part B choose 2 out of 3 (25 marks each)

Assessed coursework: 15%. Each coursework is 712%

To pass course need 40% or more overallNo separate exam/coursework hurdle

Colin Stirling (Informatics) Discrete Mathematics Today 8 / 24

Page 22: Discrete Mathematics & Mathematical Reasoning Course …Discussion forum (piazza)not yet available Course organization::: Colin Stirling (Informatics) Discrete Mathematics Today 3/24

Grading

Written examination in December: 85% OPEN BOOK EXAM

Exam structure: compulsory part A of 5 questions 10 marks each;part B choose 2 out of 3 (25 marks each)

Assessed coursework: 15%. Each coursework is 712%

To pass course need 40% or more overallNo separate exam/coursework hurdle

Colin Stirling (Informatics) Discrete Mathematics Today 8 / 24

Page 23: Discrete Mathematics & Mathematical Reasoning Course …Discussion forum (piazza)not yet available Course organization::: Colin Stirling (Informatics) Discrete Mathematics Today 3/24

Grading

Written examination in December: 85% OPEN BOOK EXAM

Exam structure: compulsory part A of 5 questions 10 marks each;part B choose 2 out of 3 (25 marks each)

Assessed coursework: 15%. Each coursework is 712%

To pass course need 40% or more overallNo separate exam/coursework hurdle

Colin Stirling (Informatics) Discrete Mathematics Today 8 / 24

Page 24: Discrete Mathematics & Mathematical Reasoning Course …Discussion forum (piazza)not yet available Course organization::: Colin Stirling (Informatics) Discrete Mathematics Today 3/24

Grading

Written examination in December: 85% OPEN BOOK EXAM

Exam structure: compulsory part A of 5 questions 10 marks each;part B choose 2 out of 3 (25 marks each)

Assessed coursework: 15%. Each coursework is 712%

To pass course need 40% or more overallNo separate exam/coursework hurdle

Colin Stirling (Informatics) Discrete Mathematics Today 8 / 24

Page 25: Discrete Mathematics & Mathematical Reasoning Course …Discussion forum (piazza)not yet available Course organization::: Colin Stirling (Informatics) Discrete Mathematics Today 3/24

Time management

This is a 20 credit course (twice 10 credit courses)

This means about 200 hours in total; 15 hours per week and 50hours exam preparationWhat should you do in a typical week?

I 4 hours classes (3 lectures + 1 tutorial)I 4 hours tutorial preparation (for weekly exercise sheet)I 2 hours per week on courseworkI 5 hours background; reading textbook and understanding slides

Extra help at INFBASE

Colin Stirling (Informatics) Discrete Mathematics Today 9 / 24

Page 26: Discrete Mathematics & Mathematical Reasoning Course …Discussion forum (piazza)not yet available Course organization::: Colin Stirling (Informatics) Discrete Mathematics Today 3/24

Time management

This is a 20 credit course (twice 10 credit courses)This means about 200 hours in total; 15 hours per week and 50hours exam preparation

What should you do in a typical week?I 4 hours classes (3 lectures + 1 tutorial)I 4 hours tutorial preparation (for weekly exercise sheet)I 2 hours per week on courseworkI 5 hours background; reading textbook and understanding slides

Extra help at INFBASE

Colin Stirling (Informatics) Discrete Mathematics Today 9 / 24

Page 27: Discrete Mathematics & Mathematical Reasoning Course …Discussion forum (piazza)not yet available Course organization::: Colin Stirling (Informatics) Discrete Mathematics Today 3/24

Time management

This is a 20 credit course (twice 10 credit courses)This means about 200 hours in total; 15 hours per week and 50hours exam preparationWhat should you do in a typical week?

I 4 hours classes (3 lectures + 1 tutorial)

I 4 hours tutorial preparation (for weekly exercise sheet)I 2 hours per week on courseworkI 5 hours background; reading textbook and understanding slides

Extra help at INFBASE

Colin Stirling (Informatics) Discrete Mathematics Today 9 / 24

Page 28: Discrete Mathematics & Mathematical Reasoning Course …Discussion forum (piazza)not yet available Course organization::: Colin Stirling (Informatics) Discrete Mathematics Today 3/24

Time management

This is a 20 credit course (twice 10 credit courses)This means about 200 hours in total; 15 hours per week and 50hours exam preparationWhat should you do in a typical week?

I 4 hours classes (3 lectures + 1 tutorial)I 4 hours tutorial preparation (for weekly exercise sheet)

I 2 hours per week on courseworkI 5 hours background; reading textbook and understanding slides

Extra help at INFBASE

Colin Stirling (Informatics) Discrete Mathematics Today 9 / 24

Page 29: Discrete Mathematics & Mathematical Reasoning Course …Discussion forum (piazza)not yet available Course organization::: Colin Stirling (Informatics) Discrete Mathematics Today 3/24

Time management

This is a 20 credit course (twice 10 credit courses)This means about 200 hours in total; 15 hours per week and 50hours exam preparationWhat should you do in a typical week?

I 4 hours classes (3 lectures + 1 tutorial)I 4 hours tutorial preparation (for weekly exercise sheet)I 2 hours per week on coursework

I 5 hours background; reading textbook and understanding slides

Extra help at INFBASE

Colin Stirling (Informatics) Discrete Mathematics Today 9 / 24

Page 30: Discrete Mathematics & Mathematical Reasoning Course …Discussion forum (piazza)not yet available Course organization::: Colin Stirling (Informatics) Discrete Mathematics Today 3/24

Time management

This is a 20 credit course (twice 10 credit courses)This means about 200 hours in total; 15 hours per week and 50hours exam preparationWhat should you do in a typical week?

I 4 hours classes (3 lectures + 1 tutorial)I 4 hours tutorial preparation (for weekly exercise sheet)I 2 hours per week on courseworkI 5 hours background; reading textbook and understanding slides

Extra help at INFBASE

Colin Stirling (Informatics) Discrete Mathematics Today 9 / 24

Page 31: Discrete Mathematics & Mathematical Reasoning Course …Discussion forum (piazza)not yet available Course organization::: Colin Stirling (Informatics) Discrete Mathematics Today 3/24

Time management

This is a 20 credit course (twice 10 credit courses)This means about 200 hours in total; 15 hours per week and 50hours exam preparationWhat should you do in a typical week?

I 4 hours classes (3 lectures + 1 tutorial)I 4 hours tutorial preparation (for weekly exercise sheet)I 2 hours per week on courseworkI 5 hours background; reading textbook and understanding slides

Extra help at INFBASE

Colin Stirling (Informatics) Discrete Mathematics Today 9 / 24

Page 32: Discrete Mathematics & Mathematical Reasoning Course …Discussion forum (piazza)not yet available Course organization::: Colin Stirling (Informatics) Discrete Mathematics Today 3/24

Questions about course administration?

Colin Stirling (Informatics) Discrete Mathematics Today 10 / 24

Page 33: Discrete Mathematics & Mathematical Reasoning Course …Discussion forum (piazza)not yet available Course organization::: Colin Stirling (Informatics) Discrete Mathematics Today 3/24

Syllabus

mathematical reasoningcombinatorial analysisdiscrete structuresalgorithmic thinkingapplications and modelling

Colin Stirling (Informatics) Discrete Mathematics Today 11 / 24

Page 34: Discrete Mathematics & Mathematical Reasoning Course …Discussion forum (piazza)not yet available Course organization::: Colin Stirling (Informatics) Discrete Mathematics Today 3/24

Foundations: proof

Rudimentary predicate (first-order) logic: existential and universalquantification, basic algebraic laws of quantified logic (duality ofexistential and universal quantification)

The structure of a well-reasoned mathematical proof; proofstrategies: proofs by contradiction, proof by cases; examples ofincorrect proofs (to build intuition about correct mathematicalreasoning)

Colin Stirling (Informatics) Discrete Mathematics Today 12 / 24

Page 35: Discrete Mathematics & Mathematical Reasoning Course …Discussion forum (piazza)not yet available Course organization::: Colin Stirling (Informatics) Discrete Mathematics Today 3/24

Foundations: sets, functions and relations

Sets (naive): operations on sets: union, intersection, setdifference, the powerset operation, examples of finite and infinitesets (the natural numbers). Ordered pairs, n-tuples, and Cartesianproducts of sets

Relations: (unary, binary, and n-ary) properties of binary relations(symmetry, reflexivity, transitivity).

Functions: injective, surjective, and bijective functions, inversefunctions, composition of functions

Rudimentary counting: size of the Cartesian product of two finitesets, number of subsets of a finite set, (number of n-bitsequences), number of functions from one finite set to another

Colin Stirling (Informatics) Discrete Mathematics Today 13 / 24

Page 36: Discrete Mathematics & Mathematical Reasoning Course …Discussion forum (piazza)not yet available Course organization::: Colin Stirling (Informatics) Discrete Mathematics Today 3/24

Induction and recursion

Principle of mathematical induction (for positive integers)

Examples of proofs by (weak and strong) induction

Colin Stirling (Informatics) Discrete Mathematics Today 14 / 24

Page 37: Discrete Mathematics & Mathematical Reasoning Course …Discussion forum (piazza)not yet available Course organization::: Colin Stirling (Informatics) Discrete Mathematics Today 3/24

Basic number theory and some cryptography

Integers and elementary number theory (divisibility, GCDs and theEuclidean algorithm, prime decomposition and the fundamentaltheorem of arithmetic)

Modular arithmetic (congruences, Fermat’s little theorem, theChinese remainder theorem)

Applications: public-key cryptography

Colin Stirling (Informatics) Discrete Mathematics Today 15 / 24

Page 38: Discrete Mathematics & Mathematical Reasoning Course …Discussion forum (piazza)not yet available Course organization::: Colin Stirling (Informatics) Discrete Mathematics Today 3/24

Counting

Basics of counting

Pigeon-hole principle

Permutations and combinations

Binomial coefficients, binomial theorem, and basic identities onbinomial 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 16 / 24

Page 39: Discrete Mathematics & Mathematical Reasoning Course …Discussion forum (piazza)not yet available Course organization::: Colin Stirling (Informatics) Discrete Mathematics Today 3/24

GraphsDirected and undirected graph: definitions and examples inInformatics

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 17 / 24

Page 40: Discrete Mathematics & Mathematical Reasoning Course …Discussion forum (piazza)not yet available Course organization::: Colin Stirling (Informatics) Discrete Mathematics Today 3/24

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 18 / 24

Page 41: Discrete Mathematics & Mathematical Reasoning Course …Discussion forum (piazza)not yet available Course organization::: Colin Stirling (Informatics) Discrete Mathematics Today 3/24

Discrete probabilityDiscrete (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 birthdayparadox and other subtle examples in probability

The probabilistic method: a proof technique

Colin Stirling (Informatics) Discrete Mathematics Today 19 / 24

Page 42: Discrete Mathematics & Mathematical Reasoning Course …Discussion forum (piazza)not yet available Course organization::: Colin Stirling (Informatics) Discrete Mathematics Today 3/24

Questions about course syllabus?

Colin Stirling (Informatics) Discrete Mathematics Today 20 / 24

Page 43: Discrete Mathematics & Mathematical Reasoning Course …Discussion forum (piazza)not yet available Course organization::: Colin Stirling (Informatics) Discrete Mathematics Today 3/24

My proof

Colin Stirling (Informatics) Discrete Mathematics Today 21 / 24

Page 44: Discrete Mathematics & Mathematical Reasoning Course …Discussion forum (piazza)not yet available Course organization::: Colin Stirling (Informatics) Discrete Mathematics Today 3/24

Reasoning 1

Given the following two premisesAll students in this class understand logicColin is a student in this class

Does it follow that

Colin understands logic

Colin Stirling (Informatics) Discrete Mathematics Today 22 / 24

Page 45: Discrete Mathematics & Mathematical Reasoning Course …Discussion forum (piazza)not yet available Course organization::: Colin Stirling (Informatics) Discrete Mathematics Today 3/24

Reasoning 1

Given the following two premisesAll students in this class understand logicColin is a student in this class

Does it follow that

Colin understands logic

Colin Stirling (Informatics) Discrete Mathematics Today 22 / 24

Page 46: Discrete Mathematics & Mathematical Reasoning Course …Discussion forum (piazza)not yet available Course organization::: Colin Stirling (Informatics) Discrete Mathematics Today 3/24

Reasoning 2

Given the following two premisesEvery computer science student takes discrete mathematicsHelen is taking discrete mathematics

Does it follow that

Helen is a computer science student

Colin Stirling (Informatics) Discrete Mathematics Today 23 / 24

Page 47: Discrete Mathematics & Mathematical Reasoning Course …Discussion forum (piazza)not yet available Course organization::: Colin Stirling (Informatics) Discrete Mathematics Today 3/24

Reasoning 2

Given the following two premisesEvery computer science student takes discrete mathematicsHelen is taking discrete mathematics

Does it follow that

Helen is a computer science student

Colin Stirling (Informatics) Discrete Mathematics Today 23 / 24

Page 48: Discrete Mathematics & Mathematical Reasoning Course …Discussion forum (piazza)not yet available Course organization::: Colin Stirling (Informatics) Discrete Mathematics Today 3/24

Reasoning 3

Given the following three premisesAll hummingbirds are richly colouredNo large birds live on honeyBirds that do not live on honey are dull in colour

Does it follow that

Hummingbirds are small (that is, not large)?

Colin Stirling (Informatics) Discrete Mathematics Today 24 / 24

Page 49: Discrete Mathematics & Mathematical Reasoning Course …Discussion forum (piazza)not yet available Course organization::: Colin Stirling (Informatics) Discrete Mathematics Today 3/24

Reasoning 3

Given the following three premisesAll hummingbirds are richly colouredNo large birds live on honeyBirds that do not live on honey are dull in colour

Does it follow that

Hummingbirds are small (that is, not large)?

Colin Stirling (Informatics) Discrete Mathematics Today 24 / 24

Page 50: Discrete Mathematics & Mathematical Reasoning Course …Discussion forum (piazza)not yet available Course organization::: Colin Stirling (Informatics) Discrete Mathematics Today 3/24

Recall propositional logic from last year

Propositions can be constructed from other propositions using logicalconnectives

Negation: ¬Conjunction: ∧Disjunction: ∨Implication: →Biconditional: ↔

The truth of a proposition is defined by the truth values of itselementary propositions and the meaning of connectives

The meaning of logical connectives can be defined using truth tables

Colin Stirling (Informatics) Discrete Mathematics Today 25 / 24

Page 51: Discrete Mathematics & Mathematical Reasoning Course …Discussion forum (piazza)not yet available Course organization::: Colin Stirling (Informatics) Discrete Mathematics Today 3/24

Recall propositional logic from last year

Propositions can be constructed from other propositions using logicalconnectives

Negation: ¬Conjunction: ∧Disjunction: ∨Implication: →Biconditional: ↔

The truth of a proposition is defined by the truth values of itselementary propositions and the meaning of connectives

The meaning of logical connectives can be defined using truth tables

Colin Stirling (Informatics) Discrete Mathematics Today 25 / 24

Page 52: Discrete Mathematics & Mathematical Reasoning Course …Discussion forum (piazza)not yet available Course organization::: Colin Stirling (Informatics) Discrete Mathematics Today 3/24

Recall propositional logic from last year

Propositions can be constructed from other propositions using logicalconnectives

Negation: ¬Conjunction: ∧Disjunction: ∨Implication: →Biconditional: ↔

The truth of a proposition is defined by the truth values of itselementary propositions and the meaning of connectives

The meaning of logical connectives can be defined using truth tables

Colin Stirling (Informatics) Discrete Mathematics Today 25 / 24

Page 53: Discrete Mathematics & Mathematical Reasoning Course …Discussion forum (piazza)not yet available Course organization::: Colin Stirling (Informatics) Discrete Mathematics Today 3/24

Recall propositional logic from last year

Propositions can be constructed from other propositions using logicalconnectives

Negation: ¬Conjunction: ∧Disjunction: ∨Implication: →Biconditional: ↔

The truth of a proposition is defined by the truth values of itselementary propositions and the meaning of connectives

The meaning of logical connectives can be defined using truth tables

Colin Stirling (Informatics) Discrete Mathematics Today 25 / 24

Page 54: Discrete Mathematics & Mathematical Reasoning Course …Discussion forum (piazza)not yet available Course organization::: Colin Stirling (Informatics) Discrete Mathematics Today 3/24

Examples of logical implication and equivalence

(p ∧ (p → q)) → q(p ∧ ¬p) → q((p → q) ∧ (q → r)) → (p → r)...

(p → q) ↔ (¬q → ¬p)Contraposition¬(p ∧ q) ↔ (¬p ∨ ¬q) De Morgan¬(p ∨ q) ↔ (¬p ∧ ¬q) De Morgan¬(p → q) ↔ (p ∧ ¬q)...

Colin Stirling (Informatics) Discrete Mathematics Today 26 / 24

Page 55: Discrete Mathematics & Mathematical Reasoning Course …Discussion forum (piazza)not yet available Course organization::: Colin Stirling (Informatics) Discrete Mathematics Today 3/24

Examples of logical implication and equivalence

(p ∧ (p → q)) → q(p ∧ ¬p) → q((p → q) ∧ (q → r)) → (p → r)...(p → q) ↔ (¬q → ¬p)Contraposition¬(p ∧ q) ↔ (¬p ∨ ¬q) De Morgan¬(p ∨ q) ↔ (¬p ∧ ¬q) De Morgan¬(p → q) ↔ (p ∧ ¬q)...

Colin Stirling (Informatics) Discrete Mathematics Today 26 / 24