Relations. Ipoh Kota Bharu Alor Star Seremban Pasir Mas Perak Kelantan Kedah Neg. Sembilan citiesstates isin.

Slides:



Advertisements
Similar presentations
Functions and Relations.
Advertisements

Relations Functions Definition: Definition:
Musical instruments Lesson objective: To learn how to talk about what musical instruments you play.
Relations, Functions and Evaluations By Mr. Porter.
12 April 2009Instructor: Tasneem Darwish1 University of Palestine Faculty of Applied Engineering and Urban Planning Software Engineering Department Formal.
Chapter 2 Functions and Linear Functions
ON TARGET REVIEW LAST WEEK Review. ON TARGET Determine whether each equation is a linear equation. If so, write the equation in standard form. 1. xy =
Relations. Ipoh Kota Bharu Alor Star Seremban Pasir Mas Perak Kelantan Kedah Neg. Sembilan citiesstates isin.
Chapter 5 Section 1 Sets Basics Set –Definition: Collection of objects –Specified by listing the elements of the set inside a pair of braces. –Denoted.
Sequences. What is sequence? A sequence is an ordered collection of objects. We use sequences to model collections in which order or multiplicity is important.
Functions. A function between two sets is a relation between those sets that has a special property, namely that each member of the from-set is related.
Linear Functions.
Function: Definition A function is a correspondence from a first set, called the domain, to a second set, called the range, such that each element in the.
Exercise Find the opposite (additive inverse) of 4.3. – 4.3.
Definition of Function. Picture of a Function Definition of Function Illustration There is a domain, a range, and a rule. An arrow emanates from each.
The Z Notation: relations and functions Compiled By Tariq R. Soomro, Ph.D. Reference: Text Book Week-7.
A function from a set A to a set B is a relation that assigns to each element x in the set A exactly one element y in the set B. The set A is called the.
SECTION 1.1 FUNCTIONS FUNCTIONS. DEFINITION OF A RELATION A relation is a correspondence between two sets. If x and y are two elements in these sets and.
12 April 2009Instructor: Tasneem Darwish1 University of Palestine Faculty of Applied Engineering and Urban Planning Software Engineering Department Formal.
§ 2.1 Introduction to Functions and sets from 1.1.
Foundations of Discrete Mathematics Chapter 3 By Dr. Dalia M. Gil, Ph.D.
Free PowerPoint Templates What Instrument Is This? Name the Instruments You Hear.
Copyright © 2007 Pearson Education, Inc. Slide 1-1.
Section 2.2 Functions  Functions & Graphs  Function Notation & Equations  Applications: Interpolation & Extrapolation 12.2.
SECTION 1.5: COMBINATIONS OF FUNCTIONS. TARGET 1C: EVALUATE AND PERFORM OPERATIONS WITH FUNCTION NOTATION.
2.3 Introduction to Functions
Do Now Determine if the correspondence would be a function: DomainCorrespondenceRange A familyEach person’s weight A set of positive numbers Students at.
1.2 Represent Functions as Rules and Tables EQ: How do I represent functions as rules and tables??
Functions Definition: A relation ‘ f ’ from set X to set Y is a function if each element in set X is mapped to exactly one element in set Y
Chapter 3-1 Relations and Ordered Pairs Alg. 2 Notes.
Do Now Find the domain & range:. Answers to Homework
Chapter 8 Equivalence Relations Let A and B be two sets. A relation R from A to B is a subset of AXB. That is, R is a set of ordered pairs, where the first.
What is Calculus? To a Roman in the days of the empire, a “calculus” was a pebble used in counting and gambling. Centuries later, “calculare” came to mean.
MUSIC CASTLE LET’S GO INSIDE. HERE ARE SOME MUSICAL INSTRUMENTS piano violin drum cello trumpet saxophone guitar.
A relation is a correspondence between two sets. If x and y are two elements in these sets and if a relation exists between x and y, then x corresponds.
Review Functions. Function A function is a special type of relation in which each element of the domain is paired with exactly one element of the range.
Linear Functions and Graphs Student Study Guide Mrs. Robertson May 2012.
Lesson 4-6 Relations. Transparency 6 Click the mouse button or press the Space Bar to display the answers.
“It is impossible to define every concept.” For example a “set” can not be defined. But Here are a list of things we shall simply assume about sets. A.
Functions Section 5.1.
Graphing Trig Functions
EQUATION IN TWO VARIABLES:
Relations and Functions
Chapter 2 Sets and Functions.
One-to-One Functions and Inverse Functions
Introduction to Functions
Introduction to Functions
INTERMEDIATE ALGEBRA CLASS NOTES
Graphing Trig Functions
Section 1.1 Functions and Change
Chapter 1 – Linear Relations and Functions
Function Rules and Tables.
Learning Target 4.3 I can identify domain and range of relations and functions SOL: A.7bf Designed by Skip Tyler, Varina High School.
Functions.
Algebra 1 Section 5.2.
Relations and Functions
Aim: What is the function notation?
Relations for functions.
Formal Definition and Examples
Section 8.1: Sequences.
Relations, Domain and Range
Chapter 1: Linear Functions, Equations, and Inequalities
Exercise Give the domain and range of the following relation.
Functions and Relations
Functions.
Chapter 2 Functions and Linear Functions
Ordered Pair – (11 - 2) CS-708.
Math 0332 Subsets Name ________________________
Objectives The student will be able to:
Presentation transcript:

Relations

Ipoh Kota Bharu Alor Star Seremban Pasir Mas Perak Kelantan Kedah Neg. Sembilan citiesstates isin

Relations Defining isin relation isin == {(Ipoh,Perak), (Kota Bharu, Kelantan), (Alor Star, Kedah), (Seremban, Neg Sembilan), (Pasir Mas, Kelantan)} From the above we that (Ipoh,Perak)  isin but (Ipoh, Kelantan)  isin we can deduce that, the type of isin is ℙ( cities  states)

Notation for Relation

Examples

Declaring Relations Examples isin : cities  states Another example let [Author] and [Title] are given sets, then we will have wrote : ℙ (Author  Title) wrote : Author  Title

Representing pairs that make up a relation (x,y), we can use maplet notation x ↦ y Using maplet notation for isin relation {Ipoh ↦ Perak, Kota Bharu ↦ Kelantan, …} Ipoh ↦ Perak  isin {Ipoh ↦ Perak, Kota Bharu ↦ Kelantan}  isin

Domains and Ranges Domain of a relation is the set of first elements of the pairs (source) in the relation suppose R : X  Y then dom R = { x : X |  y : Y x ↦ y  R} Range of a relation is the set of second elements of the pairs (target) in the relation ran R = {y : Y |  x : X x ↦ y  R}

Example

Exercise Assume that the definition of two relations involving the sets People, and Instruments as follows: plays == {Ash ↦ piano, William ↦ guitar, David ↦ violin, Huw ↦ trumpet, Alice ↦ flute, Alice ↦ piano, Kate ↦ piano} what are the domain and range of plays?

Restriction Domain restriction getting attention to those pairs in relation whose first members are members of some other set of interest Example: to confine the relation wrote to those pair whose first members are in the set female --- female ⊳ wrote An abbreviation of either of the following { a: female; t : Title | a wrote t a ↦ t } (female  Title)  wrote

Restriction Range restriction getting attention to those pairs in relation whose second members are members of some other set of interest Example: restrict on second members as set of novel which is a set of titles --- wrote ▷ novel An abbreviation of either of the following { a: Author; t : Novel | a wrote t a ↦ t } (Author  Novel)  wrote

Subtraction Domain subtraction Getting attention to those pair in a relation whose first members are not members of some other set of interest Example: denote set of ordered pairs in wrote whose first members are not in female

Subtraction Range subtraction Getting attention to those pair in a relation whose second members are not members of some other set of interest Example: denote set of ordered pairs in wrote whose second members are not in novel