MATH 433 Applied Algebra Lecture 14: Functions. Relations.

Similar documents
Discrete Mathematics with Applications MATH236

9 RELATIONS. 9.1 Reflexive, symmetric and transitive relations. MATH Foundations of Pure Mathematics

Relations MATH Relations. Benjamin V.C. Collins, James A. Swenson MATH 2730

MATH 215 Sets (S) Definition 1 A set is a collection of objects. The objects in a set X are called elements of X.

Packet #5: Binary Relations. Applied Discrete Mathematics

Foundations of Mathematics MATH 220 FALL 2017 Lecture Notes

Relations and Equivalence Relations

Sets. A set is a collection of objects without repeats. The size or cardinality of a set S is denoted S and is the number of elements in the set.

EQUIVALENCE RELATIONS (NOTES FOR STUDENTS) 1. RELATIONS

Real Analysis. Joe Patten August 12, 2018

3. R = = on Z. R, S, A, T.

Economics 204 Summer/Fall 2017 Lecture 1 Monday July 17, 2017

Section 0. Sets and Relations

Week 4-5: Binary Relations

Generating Permutations and Combinations

Lecture 7: Relations

Relations (3A) Young Won Lim 3/27/18

RED. Fall 2016 Student Submitted Sample Questions

Week 4-5: Binary Relations

Chapter 1. Sets and Numbers

Foundations of algebra

Reading 11 : Relations and Functions

XMA2C011, Annual Examination 2012: Worked Solutions

Seminaar Abstrakte Wiskunde Seminar in Abstract Mathematics Lecture notes in progress (27 March 2010)

MATH 101: ALGEBRA I WORKSHEET, DAY #1. We review the prerequisites for the course in set theory and beginning a first pass on group. 1.

RED. Name: Instructor: Pace Nielsen Math 290 Section 1: Winter 2014 Final Exam

Chapter 1. Sets and Mappings

Chapter 3. Cartesian Products and Relations. 3.1 Cartesian Products

HL Topic. Sets, relations and groups. (Further Mathematics SL Topic 3) Sets Ordered pairs Functions Binary operations Groups Further groups

Sets and Functions. MATH 464/506, Real Analysis. J. Robert Buchanan. Summer Department of Mathematics. J. Robert Buchanan Sets and Functions

Relations. P. Danziger. We may represent a relation by a diagram in which a line is drawn between two elements if they are related.

Section 4.4 Functions. CS 130 Discrete Structures

Relations, Functions, Binary Relations (Chapter 1, Sections 1.2, 1.3)

Chapter 1 : The language of mathematics.

Module 2: Language of Mathematics

D-MATH Algebra I HS18 Prof. Rahul Pandharipande. Solution 1. Arithmetic, Zorn s Lemma.

Week 4-5: Generating Permutations and Combinations

Discrete Mathematics Fall 2018 Midterm Exam Prof. Callahan. Section: NetID: Multiple Choice Question (30 questions in total, 4 points each)

14 Equivalence Relations

Chapter VI. Relations. Assumptions are the termites of relationships. Henry Winkler

MATH 13 SAMPLE FINAL EXAM SOLUTIONS

HL Test 2018 Sets, Relations and Groups [50 marks]

Theorems and Definitions in Group Theory

Discrete Structures (2IT50)

Copyright c 2007 Jason Underdown Some rights reserved. statement. sentential connectives. negation. conjunction. disjunction

Selected Solutions to Even Problems, Part 3

CIS 375 Intro to Discrete Mathematics Exam 3 (Section M001: Green) 6 December Points Possible

CA320 - Computability & Complexity

0 Sets and Induction. Sets

Practice Second Midterm Exam I

Relations --- Binary Relations. Debdeep Mukhopadhyay IIT Madras

Group. Orders. Review. Orders: example. Subgroups. Theorem: Let x be an element of G. The order of x divides the order of G

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

Set Basics. P. Danziger

Set, functions and Euclidean space. Seungjin Han

The Meet-Over-All-Paths Solution to Data-Flow Problems

3.7 Non-linear Diophantine Equations

Mathematics Course 111: Algebra I Part I: Algebraic Structures, Sets and Permutations

CSE 20 DISCRETE MATH. Winter

Relations, Functions, and Sequences

REVIEW FOR THIRD 3200 MIDTERM

9 FUNCTIONS. 9.1 The Definition of Function. c Dr Oksana Shatalov, Fall

Report 1 The Axiom of Choice

CIS 375 Intro to Discrete Mathematics Exam 3 (Section M004: Blue) 6 December Points Possible

2.1 Sets. Definition 1 A set is an unordered collection of objects. Important sets: N, Z, Z +, Q, R.

Department of Mathematics, University of Wisconsin-Madison Math 114 Worksheet Sections 3.1, 3.3, and 3.5

Math 127 Homework. Mary Radcliffe. Due 29 March Complete the following problems. Fully justify each response.

1 Take-home exam and final exam study guide

4. Congruence Classes

Discrete Structures May 13, (40 points) Define each of the following terms:

UMASS AMHERST MATH 300 SP 05, F. HAJIR HOMEWORK 8: (EQUIVALENCE) RELATIONS AND PARTITIONS

RELATIONS AND FUNCTIONS

Основы дискретной математики

Chapter 0. Introduction: Prerequisites and Preliminaries

(a) We need to prove that is reflexive, symmetric and transitive. 2b + a = 3a + 3b (2a + b) = 3a + 3b 3k = 3(a + b k)

Basics of Relation Algebra. Jules Desharnais Département d informatique et de génie logiciel Université Laval, Québec, Canada

Discrete Mathematics: Lectures 6 and 7 Sets, Relations, Functions and Counting Instructor: Arijit Bishnu Date: August 4 and 6, 2009

Sets. We discuss an informal (naive) set theory as needed in Computer Science. It was introduced by G. Cantor in the second half of the nineteenth

Solutions to Homework Problems

(4.2) Equivalence Relations. 151 Math Exercises. Malek Zein AL-Abidin. King Saud University College of Science Department of Mathematics

Introduction. Foundations of Computing Science. Pallab Dasgupta Professor, Dept. of Computer Sc & Engg INDIAN INSTITUTE OF TECHNOLOGY KHARAGPUR

378 Relations Solutions for Chapter 16. Section 16.1 Exercises. 3. Let A = {0,1,2,3,4,5}. Write out the relation R that expresses on A.

LESSON RELATIONS & FUNCTION THEORY

Relations. We have seen several types of abstract, mathematical objects, including propositions, predicates, sets, and ordered pairs and tuples.

Sets, Logic, Relations, and Functions

Topology Notes. A project under construction. Franz Rothe

Course 311: Michaelmas Term 2005 Part III: Topics in Commutative Algebra

3 FUNCTIONS. 3.1 Definition and Basic Properties. c Dr Oksana Shatalov, Fall

3 FUNCTIONS. 3.1 Definition and Basic Properties. c Dr Oksana Shatalov, Fall

Foundations of Mathematics Worksheet 2

MATH 145 LECTURE NOTES. Zhongwei Zhao. My Lecture Notes for MATH Fall

arxiv: v2 [math.gn] 29 Oct 2013

CSE 20 DISCRETE MATH. Fall

MATH FINAL EXAM REVIEW HINTS

A course in low-dimensional geometry

5 FUNCTIONS. 5.1 Definition and Basic Properties. c Dr Oksana Shatalov, Fall

Lecture 1. Econ 2001: Introduction to Mathematical Methods (a.k.a. Math Camp) 2015 August 10

MATH1240 Definitions and Theorems

Advanced Algebra. MA Prof. Götz Pfeiffer

Part IA Numbers and Sets

Transcription:

MATH 433 Applied Algebra Lecture 14: Functions. Relations.

Cartesian product Definition. The Cartesian product X Y of two sets X and Y is the set of all ordered pairs (x,y) such that x X and y Y. The Cartesian square X X is also denoted X 2. If the sets X and Y are finite, then #(X Y) = (#X)(#Y), where #S denote the number of elements in a set S.

Functions A function f : X Y is an assignment: to each x X we assign an element f(x) Y. The graph of the function f : X Y is defined as the subset of X Y consisting of all pairs of the form (x,f(x)), x X. Definition. A function f : X Y is surjective (or onto) if for each y Y there exists at least one x X such that f(x) = y. The function f is injective (or one-to-one) if f(x ) = f(x) = x = x. Finally, f is bijective if it is both surjective and injective. Equivalently, if for each y Y there is exactly one x X such that f(x) = y. A function g : Y X is called the inverse of f (and denoted f 1 ) if y = f(x) x = g(y) for all x X and y Y. The inverse function f 1 exists if and only if f is bijective.

y a b c d e f g 0 h i j k l m x

Relations Definition. Let X and Y be sets. A relation R from X to Y is given by specifying a subset of the Cartesian product: S R X Y. If (x,y) S R, then we say that x is related to y (in the sense of R or by R) and write xry. Remarks. Usually the relation R is identified with the set S R. In the case X = Y, the relation R is called a relation on X.

Examples. is equal to xry x = y Equivalently, R = {(x,x) x X Y}. is not equal to xry x y is mapped by f to xry y = f(x), where f : X Y is a function. Equivalently, R is the graph of the function f. is the image under f of (from Y to X) yrx y = f(x), where f : X Y is a function. If f is invertible, then R is the graph of f 1. reversed R xry yr x, where R is a relation from Y to X. not R xry not xr y, where R is a relation from X to Y. Equivalently, R = (X Y)\R (set difference).

Relations on a set is equal to xry x = y is not equal to xry x y is less than X = R, xry x < y is less than or equal to X = R, xry x y is contained in X = the set of all subsets of some set Y, xry x y is congruent modulo n to X = Z, xry x y mod n divides X = P, xry x y

A relation R on a finite set X can be represented by a directed graph. Vertices of the graph are elements of X, and we have a directed edge from x to y if and only if xry. Another way to represent the relation R is the adjacency table. Rows and columns are labeled by elements of X. We put 1 at the intersection of a row x with a column y if xry. Otherwise we put 0.

a a e b b c c d a b c a 0 1 1 b 0 1 1 c 1 0 0 a b c d e a 0 1 1 0 0 b 0 1 1 0 0 c 0 0 0 1 0 d 0 0 0 0 1 e 1 0 0 0 0

Properties of relations Definition. Let R be a relation on a set X. We say that R is reflexive if xrx for all x X, symmetric if, for all x,y X, xry implies yrx, antisymmetric if, for all x,y X, xry and yrx cannot hold simultaneously, weakly antisymmetric if, for all x,y X, xry and yrx imply that x = y, transitive if, for all x,y,z X, xry and yrz imply that xrz.

Partial ordering Definition. A relation R on a set X is a partial ordering (or partial order) if R is reflexive, weakly antisymmetric, and transitive: xrx, xry and yrx = x = y, xry and yrz = xrz. A relation R on a set X is a strict partial order if R is antisymmetric and transitive: xry = not yrx, xry and yrz = xrz. Examples. is less than or equal to, is contained in, is a divisor of are partial orders. is less than is a strict order.

Equivalence relation Definition. A relation R on a set X is an equivalence relation if R is reflexive, symmetric, and transitive: xrx, xry = yrx, xry and yrz = xrz. Examples. is equal to, is congruent modulo n to are equivalence relations. Given an equivalence relation R on X, the equivalence class of an element x X relative to R is the set of all elements y X such that yrx. Theorem The equivalence classes form a partition of the set X, which means that any two equivalence classes either coincide, or else they are disjoint, any element of X belongs to some equivalence class.