16h - Discrete Mathematics - Functions 16-2 Previous...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Introduction Functions Discrete Mathematics Andrei Bulatov Discrete Mathematics - Functions 16-2 Previous Lecture Properties of binary relations Equivalence relations and partitions Partial and total orders Diagrams of orders s reflexivity s symmetricity s transitivity s anti-symmetricity Discrete Mathematics - Functions 16-3 Functions In many instances we assign to each element of a set a particular element of a second set. For example , assign rooms to people in a hotel Or we may assign a grade to each student from a class What we get is a set of pairs (Person, Door) or (Student, Grade), that is a relation, but a very particular one Discrete Mathematics - Functions 16-4 Functions (cntd) A relation R from A to B is called a function from A to B, if for every a A there is exactly one b B such that (a,b) R. (Also mappings , transformations ) Adams Chou Goodfriend Rodriguez Stevens A B C D F We use f,g,h to denote functions f: A B f(a) = b f(Rodriguez) = A Discrete Mathematics - Functions 16-5 Example Consider the function from the set People to People: f(a) = b if b is the father of a. James VI of Scotland Charles I Charles II Mary James II Elizabeth Anne Henry Henrietta Wil iam II Wil iam III Mary II Anne Henry Frederick Elizabeth Frederick V Sophia (Queen Anne) Rupert Charles Louis Ernest Augustus George I (http://www.royal.gov.uk) Discrete Mathematics - Functions 16-6 Domain and Codomain Let f: A B be a function from A to B. Then A is called the domain of f, and
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 05/18/2010 for the course MACM MACM 101 taught by Professor Andreibulatov during the Spring '10 term at Simon Fraser.

Page1 / 4

16h - Discrete Mathematics - Functions 16-2 Previous...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online