SlideShare a Scribd company logo
1 of 30
JAYCEES MATHEMATICS DEPARTMENT
PRESENT
Cartesian Product of Sets,
Relation and Function
Cartesian Product
of
Sets
Cartesian Product
Definition: Given 2 sets A and B, the
Cartesian Product is the set of all
unique ordered pairs using one
element from Set A and one
element from Set B. The Cartesian
Product is denoted as A x B
Cartesian Product Formula Take 2 sets, A
and B.
The cardinality of a set equals the number of
elements in the set, denoted |A|.
The number of ordered pairs (cardinality) in the
Cartesian Product equal |A x B| = |A| * |B|
Each ordered pair is denote as (ai, bj) where…
it is the ith element in Set A, j is the jth element
in Set B
Cartesian Product Ordered Pair Grid
A = {a1, a2}, B = {b1, b2, b3}
|A x B| = |A| * |B|
|A x B| = 2 * 3 = 6
b1 b2 b3
a1 (a1, b1) (a1, b2) (a1, b3)
a2 (a2, b1) (a2, b2) (a2, b3)
Cartesian Product Ordered Pair Final
AnswerA x B = {(a1, b1), (a1, b2), (a1, b3),
(a2, b1), (a2, b2), (a2, b3)}
A = {a1, a2}, B = {b1, b2, b3}
b1 b2 b3
a1 (a1, b1) (a1, b2) (a1, b3)
a2 (a2, b1) (a2, b2) (a2, b3)
Cartesian Product Example A = {1, 3}, B = {2, 4, 6}
|A| = 2, |B| = 3 → |A x B| = 2 * 3 = 6
The Cartesian Product A x B contains 2 * 3 = 6
ordered pairs
(a1, b1), (a1, b2), (a1, b3) = (1, 2), (1, 4), (1, 6)
(a2, b1), (a2, b2), (a2, b3) = (3, 2), (3, 4), (3, 6)
Cartesian Product Example Ordered Pair Grid
A = {1, 3}, B = {2, 4, 6}
(a1, b1), (a1, b2), (a1, b3) = (1, 2), (1, 4), (1, 6)
(a2, b1), (a2, b2), (a2, b3) = (3, 2), (3, 4), (3, 6)
b1 b2 b3
a1 (1, 2) (1, 4) (1, 6)
a2 (3, 2) (3, 4) (3, 6)
Cartesian Product Example Final
Answer A = {1, 3}, B = {2, 4, 6}
A x B = {(1, 2), (1, 4), (1, 6), (3, 2),
(3, 4), (3, 6)}
b1 b2 b3
a1 (1, 2) (1, 4) (1, 6)
a2 (3, 2) (3, 4) (3, 6)
Relations
And
Functions
A relation is a set of ordered pairs.
This is a
relation{(2,3), (-1,5), (4,-2), (9,9), (0,-6)}
The domain is the set of all x values in the relation
domain = {-1,0,2,4,9}
These are the x values written in a set from smallest to largest
These are the y values written in a set from smallest to largest
range = {-6,-2,3,5,9}
The range is the set of all y values in the relation
Domain (set of all x’s) Range (set of all y’s)
1
2
3
4
5
2
4
6
8
10
A relation assigns
the x’s with y’s
This relation can be written {(1,6), (2,2), (3,4), (4,8), (5,10)}
A function f from set A to set B is a rule of corr.
Set A is the domain
1
2
3
4
5
Set B is the range
2
4
6
8
10
Must use all the x’s
A function f from set A to set B is a rule of
correspondence that assigns to each element x in the
set A exactly one element y in the set B.
The x value can only be assigned to one y
This is a
function
Set A is the domain
1
2
3
4
5
Set B is the range
2
4
6
8
10
Must use all the x’s
Let’s look at another relation and decide if it is a function.
The x value can only be assigned to one y
This is a function
---it meets our conditions
The second condition says each x can have only one y, but it CAN
be the same y as another x gets assigned to.
1
2
3
4
5
2
4
6
8
10
Why not???
2 was assigned both 4 and 10
Is the relation shown above a function?
A good example that you can “relate” to is students in our
maths class this semester are set A. The grade they earn out
of the class is set B. Each student must be assigned a grade
and can only be assigned ONE grade, but more than one
student can get the same grade (we hope so---we want lots of
Set A is the domain
1
2
3
4
5
Set B is the range
2
4
6
8
10
Must use all the x’s
The x value can only be assigned to one y
This is not a function---
it doesn’t assign each
x with a y
Check this relation out to determine if it is a function.
It is not---3 didn’t get assigned to anythingComparing to our example, a
student in maths must receive a grade
Set A is the domain
1
2
3
4
5
Set B is the range
2
4
6
8
10
Must use all the x’s
The x value can only be assigned to one y
This is a function
Check this relation out to determine if it is a function.
This is fine—each student gets only one grade. More than one can
get an A and I don’t have to give any D’s (so all y’s don’t need to be
used).
We commonly call functions by letters. Because function
starts with f, it is a commonly used letter to refer to
functions.
f x 2x2
The left hand side of this equation is the function notation.
It tells us two things. We called the function f and the
variable in the function is x.
This means
the right
hand side is
a function
called f
This means
the right hand
side has the
variable x in it
 3x 6
The left side DOES NOT MEAN
f times x like brackets usually
do, it simply tells us what is on
the right hand side.
Find f (2).
f x 2x2
 3x  6
f 2 222
 32 6
• So we have a function called f that has the variable x in it.
Using function notation we could then ask the following:
• This means to find the function f and instead of having an x in it, put a 2
in it So let’s take the function above and make brackets everywhere the x
was and in its place, put in a 2.
f 2 2432 6  86 6  8
Don’t forget order of operations---powers, then
multiplication, finally addition & subtraction
Remember---this tells you what is on the right
hand side---it is not something you work. It
says that the right hand side is the function f
and it has x in it.
Find f (-2).
f x  2x2
 3x  6
f  2 2 22
3 2 6
f 2 2432 6  8 6  6  20
This means to find the function f and instead of having an x
in it, put a -2 in it. So let’s take the function above and make
brackets everywhere the x was and in its place, put in a -2.
Don’t forget order of operations---powers, then
Find f (k). f x 2x2
 3x 6
f k 2k2
3k 6
f k 2k2
3k 6  2k2
3k  6
This means to find the function f and instead of having an x
in it, put a k in it. So let’s take the function above and make
brackets everywhere the x was and in its place, put in a k.
Don’t forget order of operations---powers, then
multiplication, finally addition & subtraction
Find f (2k). f x 2x2
 3x 6
f 2k 22k2
32k 6
f 2k 24k2
32k 6  8k2
6k  6
This means to find the function f and instead of having an x in
it, put a 2k in it. So let’s take the function above and make
brackets everywhere the x was and in its place, put in a 2k.
Don’t forget order of operations---powers, then
multiplication, finally addition & subtraction
Let's try a new function
gx x2
 2x
Find g(1)+ g(-4).
g1 12
 21 1
g 4  42
 2 416 8  24
So g1 g 4 1 24 23
The last thing we need to learn about functions for this
section is something about their domain.Recall domain
meant "Set A" which is the set of values you plug in for x.
For the functions we will be dealing with, there are two
"illegals":
1. You can't divide by zero (denominator (bottom) of a fraction
can't be zero)
2. You can't take the square root (or even root) of a negative
number
When you are asked to find the domain of a function, you can use any
value for x as long as the value won't create an "illegal" situation.
Find the domain for the following functions:
Since no matter what value you
choose for x, you won't be dividing
by zero or square rooting a negative
number, you can use anything you
want so we say the answer is:
All real numbers x.
x 2
x 3
If you choose x = 2, the denominator will be 2 – 2 =
0 which is illegal because you can't divide by zero.
The answer then is:
All real numbers x such that x ≠ 2.
means does not equal
gx
illegal if this is zero
f x 2x 1
Note: There is
nothing wrong with
the top = 0 just means
the fraction = 0
Let's find the domain of another one:
hx x 4
We have to be careful what x's we use so that the second "illegal" of
square rooting a negative doesn't happen. This means the "stuff"
under the square root must be greater than or equal to zero (maths
way of saying "not negative").
Can't be negative so must be ≥ 0
x  4  0 solve
this
x  4
So the answer is:
All real numbers x such that x ≠ 4
Summary of How to Find the Domain of a Function
•Look for any fractions or square roots that could cause one of the two "illegals"
to happen. If there aren't any, then the domain is
All real numbers x.
•If there are fractions, figure out what values would make the bottom equal zero
and those are the values you can't use. The answer would be: All real numbers x
such that x ≠ those values.
•If there is a square root, the "stuff" under the square root cannot be negative
so set the stuff ≥ 0 and solve. Then
answer would be: All real numbers x such that x ≠ whatever you got
when you solved.
NOTE: Of course your variable doesn't have to be x, can be whatever is in
the problem.
Relation and function pdf

More Related Content

What's hot

POWERPOINT (SETS & FUNCTIONS).pdf
POWERPOINT (SETS & FUNCTIONS).pdfPOWERPOINT (SETS & FUNCTIONS).pdf
POWERPOINT (SETS & FUNCTIONS).pdfMaryAnnBatac1
 
Relations & functions.pps
Relations  &  functions.ppsRelations  &  functions.pps
Relations & functions.ppsindu psthakur
 
Inverse Function.pptx
Inverse Function.pptxInverse Function.pptx
Inverse Function.pptxSerGeo5
 
Relations and functions
Relations and functions Relations and functions
Relations and functions Leslie Amoguis
 
application of partial differentiation
application of partial differentiationapplication of partial differentiation
application of partial differentiationeteaching
 
Graphing trigonometric functions
Graphing trigonometric functionsGraphing trigonometric functions
Graphing trigonometric functionsLeo Crisologo
 
2.4 Linear Functions
2.4 Linear Functions2.4 Linear Functions
2.4 Linear Functionssmiller5
 
2 1 relationsfunctions
2 1 relationsfunctions2 1 relationsfunctions
2 1 relationsfunctionsFendi Ard
 
Module 1 Lesson 1 Remediation Notes
Module 1 Lesson 1 Remediation NotesModule 1 Lesson 1 Remediation Notes
Module 1 Lesson 1 Remediation Notestoni dimella
 
5.5 Injective and surjective functions. Dynamic slides.
5.5 Injective and surjective functions. Dynamic slides.5.5 Injective and surjective functions. Dynamic slides.
5.5 Injective and surjective functions. Dynamic slides.Jan Plaza
 
PPt on Functions
PPt on FunctionsPPt on Functions
PPt on Functionscoolhanddav
 
Section 10: Lagrange's Theorem
Section 10: Lagrange's TheoremSection 10: Lagrange's Theorem
Section 10: Lagrange's TheoremKevin Johnson
 
The Algebric Functions
The Algebric FunctionsThe Algebric Functions
The Algebric Functionsitutor
 
Differential calculus maxima minima
Differential calculus  maxima minimaDifferential calculus  maxima minima
Differential calculus maxima minimaSanthanam Krishnan
 
27 power series x
27 power series x27 power series x
27 power series xmath266
 
Relations and Functions
Relations and FunctionsRelations and Functions
Relations and Functionstoni dimella
 

What's hot (20)

POWERPOINT (SETS & FUNCTIONS).pdf
POWERPOINT (SETS & FUNCTIONS).pdfPOWERPOINT (SETS & FUNCTIONS).pdf
POWERPOINT (SETS & FUNCTIONS).pdf
 
Relations & functions.pps
Relations  &  functions.ppsRelations  &  functions.pps
Relations & functions.pps
 
Inverse Function.pptx
Inverse Function.pptxInverse Function.pptx
Inverse Function.pptx
 
Relations and functions
Relations and functions Relations and functions
Relations and functions
 
application of partial differentiation
application of partial differentiationapplication of partial differentiation
application of partial differentiation
 
Graphing trigonometric functions
Graphing trigonometric functionsGraphing trigonometric functions
Graphing trigonometric functions
 
2.4 Linear Functions
2.4 Linear Functions2.4 Linear Functions
2.4 Linear Functions
 
Functions
FunctionsFunctions
Functions
 
2 1 relationsfunctions
2 1 relationsfunctions2 1 relationsfunctions
2 1 relationsfunctions
 
Module 1 Lesson 1 Remediation Notes
Module 1 Lesson 1 Remediation NotesModule 1 Lesson 1 Remediation Notes
Module 1 Lesson 1 Remediation Notes
 
5.5 Injective and surjective functions. Dynamic slides.
5.5 Injective and surjective functions. Dynamic slides.5.5 Injective and surjective functions. Dynamic slides.
5.5 Injective and surjective functions. Dynamic slides.
 
PPt on Functions
PPt on FunctionsPPt on Functions
PPt on Functions
 
Section 10: Lagrange's Theorem
Section 10: Lagrange's TheoremSection 10: Lagrange's Theorem
Section 10: Lagrange's Theorem
 
Jacobians new
Jacobians newJacobians new
Jacobians new
 
The Algebric Functions
The Algebric FunctionsThe Algebric Functions
The Algebric Functions
 
Differential calculus maxima minima
Differential calculus  maxima minimaDifferential calculus  maxima minima
Differential calculus maxima minima
 
27 power series x
27 power series x27 power series x
27 power series x
 
Functions
FunctionsFunctions
Functions
 
Relations and Functions
Relations and FunctionsRelations and Functions
Relations and Functions
 
1551 limits and continuity
1551 limits and continuity1551 limits and continuity
1551 limits and continuity
 

Similar to Relation and function pdf

Relations and functions
Relations and functions Relations and functions
Relations and functions Nabeel Simair
 
Relations and functions
Relations and functionsRelations and functions
Relations and functionscannout
 
Presentation1
Presentation1Presentation1
Presentation1Eko Adi
 
Relations and functions
Relations and functionsRelations and functions
Relations and functionsDreams4school
 
Lesson 2 - Functions and their Graphs - NOTES.ppt
Lesson 2 - Functions and their Graphs - NOTES.pptLesson 2 - Functions and their Graphs - NOTES.ppt
Lesson 2 - Functions and their Graphs - NOTES.pptJaysonMagalong
 
Calculus - 1 Functions, domain and range
Calculus - 1 Functions, domain and rangeCalculus - 1 Functions, domain and range
Calculus - 1 Functions, domain and rangeIdrisJeffreyManguera
 
Mathematics - Functions.pdf
Mathematics - Functions.pdfMathematics - Functions.pdf
Mathematics - Functions.pdfJihudumie.Com
 
Module 1 quadratic functions
Module 1   quadratic functionsModule 1   quadratic functions
Module 1 quadratic functionsdionesioable
 
Introduction to functions
Introduction to functionsIntroduction to functions
Introduction to functionsElkin Guillen
 
Mathematics 9 Quadratic Functions (Module 1)
Mathematics 9 Quadratic Functions (Module 1)Mathematics 9 Quadratic Functions (Module 1)
Mathematics 9 Quadratic Functions (Module 1)Juan Miguel Palero
 
Calculus - Functions Review
Calculus - Functions ReviewCalculus - Functions Review
Calculus - Functions Reviewhassaanciit
 
Math for 800 09 functions
Math for 800   09 functionsMath for 800   09 functions
Math for 800 09 functionsEdwin Lapuerta
 

Similar to Relation and function pdf (20)

Relations and functions
Relations and functions Relations and functions
Relations and functions
 
Relations and functions
Relations and functionsRelations and functions
Relations and functions
 
Presentation1
Presentation1Presentation1
Presentation1
 
Algebra 4
Algebra 4Algebra 4
Algebra 4
 
Relations and functions
Relations and functionsRelations and functions
Relations and functions
 
.
..
.
 
Lesson 2 - Functions and their Graphs - NOTES.ppt
Lesson 2 - Functions and their Graphs - NOTES.pptLesson 2 - Functions and their Graphs - NOTES.ppt
Lesson 2 - Functions and their Graphs - NOTES.ppt
 
Functions
FunctionsFunctions
Functions
 
Calculus - 1 Functions, domain and range
Calculus - 1 Functions, domain and rangeCalculus - 1 Functions, domain and range
Calculus - 1 Functions, domain and range
 
Mathematics - Functions.pdf
Mathematics - Functions.pdfMathematics - Functions.pdf
Mathematics - Functions.pdf
 
Module 1 quadratic functions
Module 1   quadratic functionsModule 1   quadratic functions
Module 1 quadratic functions
 
Functions & graphs
Functions & graphsFunctions & graphs
Functions & graphs
 
Note introductions of functions
Note introductions of functionsNote introductions of functions
Note introductions of functions
 
Introduction to functions
Introduction to functionsIntroduction to functions
Introduction to functions
 
Functions
FunctionsFunctions
Functions
 
Differential calculus
Differential calculus  Differential calculus
Differential calculus
 
Mathematics 9 Quadratic Functions (Module 1)
Mathematics 9 Quadratic Functions (Module 1)Mathematics 9 Quadratic Functions (Module 1)
Mathematics 9 Quadratic Functions (Module 1)
 
7 functions
7   functions7   functions
7 functions
 
Calculus - Functions Review
Calculus - Functions ReviewCalculus - Functions Review
Calculus - Functions Review
 
Math for 800 09 functions
Math for 800   09 functionsMath for 800   09 functions
Math for 800 09 functions
 

More from BRIJESH UPADHYAY

More from BRIJESH UPADHYAY (6)

Mean
MeanMean
Mean
 
More than ogive Curves
More than ogive CurvesMore than ogive Curves
More than ogive Curves
 
Relations
RelationsRelations
Relations
 
More than ogive
More than ogiveMore than ogive
More than ogive
 
Cumulative Frequency Curve
Cumulative Frequency CurveCumulative Frequency Curve
Cumulative Frequency Curve
 
Function
FunctionFunction
Function
 

Recently uploaded

Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxGas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxDr.Ibrahim Hassaan
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
Atmosphere science 7 quarter 4 .........
Atmosphere science 7 quarter 4 .........Atmosphere science 7 quarter 4 .........
Atmosphere science 7 quarter 4 .........LeaCamillePacle
 
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfAMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfphamnguyenenglishnb
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomnelietumpap1
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Jisc
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPCeline George
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Mark Reed
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxAnupkumar Sharma
 
ROOT CAUSE ANALYSIS PowerPoint Presentation
ROOT CAUSE ANALYSIS PowerPoint PresentationROOT CAUSE ANALYSIS PowerPoint Presentation
ROOT CAUSE ANALYSIS PowerPoint PresentationAadityaSharma884161
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxGrade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxChelloAnnAsuncion2
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Celine George
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersSabitha Banu
 

Recently uploaded (20)

Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxGas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptx
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
Atmosphere science 7 quarter 4 .........
Atmosphere science 7 quarter 4 .........Atmosphere science 7 quarter 4 .........
Atmosphere science 7 quarter 4 .........
 
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfAMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choom
 
Rapple "Scholarly Communications and the Sustainable Development Goals"
Rapple "Scholarly Communications and the Sustainable Development Goals"Rapple "Scholarly Communications and the Sustainable Development Goals"
Rapple "Scholarly Communications and the Sustainable Development Goals"
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...
 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERP
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
 
ROOT CAUSE ANALYSIS PowerPoint Presentation
ROOT CAUSE ANALYSIS PowerPoint PresentationROOT CAUSE ANALYSIS PowerPoint Presentation
ROOT CAUSE ANALYSIS PowerPoint Presentation
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxGrade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginners
 

Relation and function pdf

  • 1.
  • 2.
  • 3. JAYCEES MATHEMATICS DEPARTMENT PRESENT Cartesian Product of Sets, Relation and Function
  • 5. Cartesian Product Definition: Given 2 sets A and B, the Cartesian Product is the set of all unique ordered pairs using one element from Set A and one element from Set B. The Cartesian Product is denoted as A x B
  • 6. Cartesian Product Formula Take 2 sets, A and B. The cardinality of a set equals the number of elements in the set, denoted |A|. The number of ordered pairs (cardinality) in the Cartesian Product equal |A x B| = |A| * |B| Each ordered pair is denote as (ai, bj) where… it is the ith element in Set A, j is the jth element in Set B
  • 7. Cartesian Product Ordered Pair Grid A = {a1, a2}, B = {b1, b2, b3} |A x B| = |A| * |B| |A x B| = 2 * 3 = 6 b1 b2 b3 a1 (a1, b1) (a1, b2) (a1, b3) a2 (a2, b1) (a2, b2) (a2, b3)
  • 8. Cartesian Product Ordered Pair Final AnswerA x B = {(a1, b1), (a1, b2), (a1, b3), (a2, b1), (a2, b2), (a2, b3)} A = {a1, a2}, B = {b1, b2, b3} b1 b2 b3 a1 (a1, b1) (a1, b2) (a1, b3) a2 (a2, b1) (a2, b2) (a2, b3)
  • 9. Cartesian Product Example A = {1, 3}, B = {2, 4, 6} |A| = 2, |B| = 3 → |A x B| = 2 * 3 = 6 The Cartesian Product A x B contains 2 * 3 = 6 ordered pairs (a1, b1), (a1, b2), (a1, b3) = (1, 2), (1, 4), (1, 6) (a2, b1), (a2, b2), (a2, b3) = (3, 2), (3, 4), (3, 6)
  • 10. Cartesian Product Example Ordered Pair Grid A = {1, 3}, B = {2, 4, 6} (a1, b1), (a1, b2), (a1, b3) = (1, 2), (1, 4), (1, 6) (a2, b1), (a2, b2), (a2, b3) = (3, 2), (3, 4), (3, 6) b1 b2 b3 a1 (1, 2) (1, 4) (1, 6) a2 (3, 2) (3, 4) (3, 6)
  • 11. Cartesian Product Example Final Answer A = {1, 3}, B = {2, 4, 6} A x B = {(1, 2), (1, 4), (1, 6), (3, 2), (3, 4), (3, 6)} b1 b2 b3 a1 (1, 2) (1, 4) (1, 6) a2 (3, 2) (3, 4) (3, 6)
  • 13. A relation is a set of ordered pairs. This is a relation{(2,3), (-1,5), (4,-2), (9,9), (0,-6)} The domain is the set of all x values in the relation domain = {-1,0,2,4,9} These are the x values written in a set from smallest to largest These are the y values written in a set from smallest to largest range = {-6,-2,3,5,9} The range is the set of all y values in the relation
  • 14. Domain (set of all x’s) Range (set of all y’s) 1 2 3 4 5 2 4 6 8 10 A relation assigns the x’s with y’s This relation can be written {(1,6), (2,2), (3,4), (4,8), (5,10)}
  • 15. A function f from set A to set B is a rule of corr. Set A is the domain 1 2 3 4 5 Set B is the range 2 4 6 8 10 Must use all the x’s A function f from set A to set B is a rule of correspondence that assigns to each element x in the set A exactly one element y in the set B. The x value can only be assigned to one y This is a function
  • 16. Set A is the domain 1 2 3 4 5 Set B is the range 2 4 6 8 10 Must use all the x’s Let’s look at another relation and decide if it is a function. The x value can only be assigned to one y This is a function ---it meets our conditions The second condition says each x can have only one y, but it CAN be the same y as another x gets assigned to.
  • 17. 1 2 3 4 5 2 4 6 8 10 Why not??? 2 was assigned both 4 and 10 Is the relation shown above a function? A good example that you can “relate” to is students in our maths class this semester are set A. The grade they earn out of the class is set B. Each student must be assigned a grade and can only be assigned ONE grade, but more than one student can get the same grade (we hope so---we want lots of
  • 18. Set A is the domain 1 2 3 4 5 Set B is the range 2 4 6 8 10 Must use all the x’s The x value can only be assigned to one y This is not a function--- it doesn’t assign each x with a y Check this relation out to determine if it is a function. It is not---3 didn’t get assigned to anythingComparing to our example, a student in maths must receive a grade
  • 19. Set A is the domain 1 2 3 4 5 Set B is the range 2 4 6 8 10 Must use all the x’s The x value can only be assigned to one y This is a function Check this relation out to determine if it is a function. This is fine—each student gets only one grade. More than one can get an A and I don’t have to give any D’s (so all y’s don’t need to be used).
  • 20. We commonly call functions by letters. Because function starts with f, it is a commonly used letter to refer to functions. f x 2x2 The left hand side of this equation is the function notation. It tells us two things. We called the function f and the variable in the function is x. This means the right hand side is a function called f This means the right hand side has the variable x in it  3x 6 The left side DOES NOT MEAN f times x like brackets usually do, it simply tells us what is on the right hand side.
  • 21. Find f (2). f x 2x2  3x  6 f 2 222  32 6 • So we have a function called f that has the variable x in it. Using function notation we could then ask the following: • This means to find the function f and instead of having an x in it, put a 2 in it So let’s take the function above and make brackets everywhere the x was and in its place, put in a 2. f 2 2432 6  86 6  8 Don’t forget order of operations---powers, then multiplication, finally addition & subtraction Remember---this tells you what is on the right hand side---it is not something you work. It says that the right hand side is the function f and it has x in it.
  • 22. Find f (-2). f x  2x2  3x  6 f  2 2 22 3 2 6 f 2 2432 6  8 6  6  20 This means to find the function f and instead of having an x in it, put a -2 in it. So let’s take the function above and make brackets everywhere the x was and in its place, put in a -2. Don’t forget order of operations---powers, then
  • 23. Find f (k). f x 2x2  3x 6 f k 2k2 3k 6 f k 2k2 3k 6  2k2 3k  6 This means to find the function f and instead of having an x in it, put a k in it. So let’s take the function above and make brackets everywhere the x was and in its place, put in a k. Don’t forget order of operations---powers, then multiplication, finally addition & subtraction
  • 24. Find f (2k). f x 2x2  3x 6 f 2k 22k2 32k 6 f 2k 24k2 32k 6  8k2 6k  6 This means to find the function f and instead of having an x in it, put a 2k in it. So let’s take the function above and make brackets everywhere the x was and in its place, put in a 2k. Don’t forget order of operations---powers, then multiplication, finally addition & subtraction
  • 25. Let's try a new function gx x2  2x Find g(1)+ g(-4). g1 12  21 1 g 4  42  2 416 8  24 So g1 g 4 1 24 23
  • 26. The last thing we need to learn about functions for this section is something about their domain.Recall domain meant "Set A" which is the set of values you plug in for x. For the functions we will be dealing with, there are two "illegals": 1. You can't divide by zero (denominator (bottom) of a fraction can't be zero) 2. You can't take the square root (or even root) of a negative number When you are asked to find the domain of a function, you can use any value for x as long as the value won't create an "illegal" situation.
  • 27. Find the domain for the following functions: Since no matter what value you choose for x, you won't be dividing by zero or square rooting a negative number, you can use anything you want so we say the answer is: All real numbers x. x 2 x 3 If you choose x = 2, the denominator will be 2 – 2 = 0 which is illegal because you can't divide by zero. The answer then is: All real numbers x such that x ≠ 2. means does not equal gx illegal if this is zero f x 2x 1 Note: There is nothing wrong with the top = 0 just means the fraction = 0
  • 28. Let's find the domain of another one: hx x 4 We have to be careful what x's we use so that the second "illegal" of square rooting a negative doesn't happen. This means the "stuff" under the square root must be greater than or equal to zero (maths way of saying "not negative"). Can't be negative so must be ≥ 0 x  4  0 solve this x  4 So the answer is: All real numbers x such that x ≠ 4
  • 29. Summary of How to Find the Domain of a Function •Look for any fractions or square roots that could cause one of the two "illegals" to happen. If there aren't any, then the domain is All real numbers x. •If there are fractions, figure out what values would make the bottom equal zero and those are the values you can't use. The answer would be: All real numbers x such that x ≠ those values. •If there is a square root, the "stuff" under the square root cannot be negative so set the stuff ≥ 0 and solve. Then answer would be: All real numbers x such that x ≠ whatever you got when you solved. NOTE: Of course your variable doesn't have to be x, can be whatever is in the problem.