Functions Defined on General Sets Lecture 35 Section 7.1 Fri, Mar 30, 2007.

Slides:



Advertisements
Similar presentations
Composition is a binary operation like addition, subtraction, multiplication and division are binary operations. (meaning they operate on two elements)
Advertisements

Copyright © 2014, 2010, 2007 Pearson Education, Inc.
1 Section 1.8 Functions. 2 Loose Definition Mapping of each element of one set onto some element of another set –each element of 1st set must map to something,
Chapter 7 Functions Dr. Curry Guinn. Outline of Today Section 7.1: Functions Defined on General Sets Section 7.2: One-to-One and Onto Section 7.3: The.
Mathematics. Session Functions, Limits and Continuity-1.
Relations and Functions Another Foundational Concept Copyright © 2014 – Curt Hill.
Inverse Relations and Functions 7-7. Inverse Relations If a relation maps element a of its domain to element b of its range, the INVERSE RELATION “undoes”
DO NOW: 6.3: w/s C: Perform the indicated operation. 1.) Find g(f(x)) if f(x) = 2x 2 – x and g(x) = 2.) Find g(h(8)) if g(x) = -x 2 and h(x) =
Jeopardy Growing Exponentially Welcome to the Function Fun with Functions Snoitcunf A special Function Let’s Change it Up
Section Functions Function: A function is a correspondence between a first set, called the domain and a second set called the range such that each.
Functions and relations
O, , and  Notations Lecture 39 Section 9.2 Wed, Mar 30, 2005.
Product and Quotients of Functions Sum Difference Product Quotient are functions that exist and are defined over a domain. Why are there restrictions on.
FUNCTIONS.
Discrete Mathematics CS 2610 September 12, Agenda Last class Functions  Vertical line rule  Ordered pairs  Graphical representation  Predicates.
1 Discrete Structures – CNS 2300 Text Discrete Mathematics and Its Applications (5 th Edition) Kenneth H. Rosen Chapter 1 The Foundations: Logic, Sets,
Functions1 Elementary Discrete Mathematics Jim Skon.
Chapter 1 SETS, FUNCTIONs, ELEMENTARY LOGIC & BOOLEAN ALGEBRAs BY: MISS FARAH ADIBAH ADNAN IMK.
321 Section, Week 3 Natalie Linnell. Functions A function from A to B is an assignment of exactly one element of B to each element of A. We write f(a)
Functions Reading: Chapter 6 (94 – 107) from the text book 1.
Basic Structures: Functions Muhammad Arief download dari
CSE 2353 – October 1 st 2003 Functions. For Real Numbers F: R->R –f(x) = 7x + 5 –f(x) = sin(x)
VENN DIAGRAM INDEX 1. DEFINATION OF VENN DIAGRAM. 2. VENN DIAGRAM OF A U B. 3. VENN DIAGRAM OF A  B. 4. VENN DIAGRAM OF A – B (ONLY A). 5. VENN DIAGRAM.
Agenda Week 10 Lecture coverage: –Functions –Types of Function –Composite function –Inverse of a function.
MT263F Discrete Structures Li Tak Sing ( 李德成 ) Lectures
Mathematical Notions and Terminology Lecture 2 Section 0.2 Fri, Aug 24, 2007.
Sullivan Algebra & Trigonometry: Section 3.1 Functions Objectives Determine Whether a Relation Represents a Function Find the Value of a Function Find.
Lesson 5.3 Inverse Functions
1.8 Inverse functions My domain is your range No! My range is your domain.
5.4 Logarithmic Functions. Quiz What’s the domain of f(x) = log x?
Basic Definitions of Set Theory Lecture 24 Section 5.1 Fri, Mar 2, 2007.
Temperature Readings The equation to convert the temperature from degrees Fahrenheit to degrees Celsius is: c(x) = (x - 32) The equation to convert the.
Exponential & Logarithmic functions. Exponential Functions y= a x ; 1 ≠ a > 0,that’s a is a positive fraction or a number greater than 1 Case(1): a >
1.4 Building Functions from Functions
Ch 9 – Properties and Attributes of Functions 9.4 – Operations with Functions.
FUNCTIONS COSC-1321 Discrete Structures 1. Function. Definition Let X and Y be sets. A function f from X to Y is a relation from X to Y with the property.
Relations and Functions ORDERED PAIRS AND CARTESIAN PRODUCT An ordered pair consists of two elements, say a and b, in which one of them, say a is designated.
1 Discrete Mathematical Functions Examples.
Section 3.1 Functions. OBJECTIVE 1 A relation is a correspondence between two sets. If x and y are two elements in these sets and if a relation exists.
3.2 Logarithmic Functions and Their Graphs We know that if a function passes the horizontal line test, then the inverse of the function is also a function.
1 Lecture 5 Functions. 2 Functions in real applications Curve of a bridge can be described by a function Converting Celsius to Fahrenheit.
Section 2.3. Section Summary  Definition of a Function. o Domain, Cdomain o Image, Preimage  One-to-one (Injection), onto (Surjection), Bijection 
Chapter 2 1. Chapter Summary Sets The Language of Sets - Sec 2.1 – Lecture 8 Set Operations and Set Identities - Sec 2.2 – Lecture 9 Functions and sequences.
Discrete Mathematics Lecture # 17 Function. Relations and Functions  A function F from a set X to a set Y is a relation from X to Y that satisfies the.
The Inverse Trigonometric Functions
Algebra 1 Notes: Lesson 1-5: The Distributive Property
Relation and function.
Functions JEOPARDY.
Mathematical Notions and Terminology
Warmup Let f(x) = x – 3 and g(x) = x2. What is (f ○ g)(1)?
One-to-One Functions and Inverse Functions
Functions Review.
Homework Questions.
Objective 1A f(x) = 2x + 3 What is the Range of the function
Section 1.5 Inverse Functions
§1.5 Inverse and log functions
Chapter 10.1 and 10.2: Boolean Algebra
Functions Defined on General Sets
Chapter 10.1 and 10.2: Boolean Algebra
Function Notation and Evaluating Functions
One-to-One and Onto, Inverse Functions
Homework Questions.
Composition OF Functions.
Composition OF Functions.
One-to-One and Onto, Inverse Functions
One-to-One and Onto, Inverse Functions
Section 4.7 Laws of Logarithms.
Chapter 10.1 and 10.2: Boolean Algebra
Exponential Functions
Unit 3 Functions.
Presentation transcript:

Functions Defined on General Sets Lecture 35 Section 7.1 Fri, Mar 30, 2007

Relations A relation R from a set A to a set B is a subset of A  B. If x  A and y  B, then x has the relation R to y if (x, y)  R.

Examples: Relations Let A = B = R and let x, y  R. Define R on A  B to mean that y = x 2. Describe the elements of R. Define R on A  B to mean that y < x 2. Describe the elements of R.

Functions Let A and B be sets. A function from A to B is a relation from A to B with the property that for every x  A, there exists exactly one y  B such that (x, y)  f. Write f : A  B and f(x) = y. A is the domain of f. B is the co-domain (or range) of f.

Functions Note that functions and algebraic expressions are two different things. For example, do not confuse the algebraic expression (x + 1) 2 with the function f : R  R defined by f(x) = (x + 1) 2.

Examples: Functions f : R  R by f(x) = x 2. g : R  R  R by g(x, y) = 1 – x – y. h : R  R  R  R by h(x, y) = (-x, -y). For any set A, k :  (A)   (A)   (A) by k(X, Y) = X  Y. For any sets A and B, m :  (A)   (B) by m(X) = X  B.

Inverse Images If f(x) = y, we say that y is the image of x and that x is an inverse image of y. The inverse image of y is the set f -1 (y) = {x  X | f(x) = y}.

Inverse Images In the previous examples, find f -1 (4). g -1 (0). m -1 ({a}), where A = {a, b, c}, B = {a, b}.

Equality of Functions Let f : X  Y and g : X  Y be two functions. Then f = g if f(x) = g(x) for all x  X.

Equality of Functions Are f(x) = |x| and g(x) =  x 2 equal? Are f(x) = 1 and g(x) = sec 2 x – tan 2 x equal? Are f(x) = log x 2 and g(x) = 2 log x equal?

Another Example Earlier we saw that a subset of a universal set could be represented as a binary string. For example, U = {a, b, c, d}  1111 A = {a, b}  1100  = {}  0000 Describe this as a function.

Well Defined A function is well defined if for every x in the domain of the function, there is exactly one y in the codomain that is related to it.

Well Defined Why are the following “functions” not well defined? f : Q  Z, f(a/b) = a. g : Z  Z  Q, g(a, b) = a/b. h : Q  Z  Z, h(a/b) = (a, b). k : Q  Q, k(a/b) = b/a. Can they be “repaired?”

Boolean Functions A Boolean function is a function whose domain is {0, 1}  …  {0, 1} (or {0, 1} n ) and codomain is {0, 1}. Example: Let p, q be Boolean variables and define f(p, q) = p  q. pqf(p, q)

The Number of Boolean Functions How many Boolean functions are there in 2 variables? What are they? How many Boolean functions are there in 3 variables? How many Boolean functions are there in n variables?

Boolean Functions What Boolean function is defined by f(x, y) = xy? What Boolean function is defined by f(x, y) = x + y – xy? What Boolean function is defined by f(x) = 1 – x? What Boolean function is defined by f(x, y, z) = 1 – xy – z + xyz?