Home
Explore
Exams
Search for anything
Login
Get started
Home
Engineering
Computer Science
relations and functions
0.0
(0)
Rate it
Studied by 3 people
Knowt Play
Learn
Practice Test
Spaced Repetition
Match
Flashcards
Card Sorting
1/23
Earn XP
Description and Tags
Computer Science
University/Undergrad
Add tags
Study Analytics
All Modes
Learn
Practice Test
Matching
Spaced Repetition
Name
Mastery
Learn
Test
Matching
Spaced
No study sessions yet.
24 Terms
View all (24)
Star these 24
1
New cards
relation
a mapping from elements of one set (the
domain) to elements of another (the codomain).
2
New cards
Arrow representation
where you have written out all the elements of both sets and connect them using arrows
3
New cards
A ordered pairs that are a subset of
𝐴 × 𝐵
{(3.-9),(0,-1),(2,16),(3,34),(4,40),(2,99)}
4
New cards
Tabular form
where there are 2 columns with both each set, values can be repeated in each column to show that they have relations with multiple values
5
New cards
Set builder notation
{(a,b)|b \= (+-)a^2, a ∈ R}
6
New cards
Graphically
if the values are numerical you can have one set on the x axis and one on the y
7
New cards
ways to represent a binary relation
Arrow representation,A ordered pairs that are a subset of
𝐴 × 𝐵, Tabular form, Set builder notation, Graphically
8
New cards
If a relation R is a subset of AxB and a relation S is a subset of BxC then
then R and S are composite relations
9
New cards
inverse relations
converse/opposite relation. essentially the arrows go a different direction
10
New cards
identity relation
relates 2 sets that are the same and related them normally {(x,x)|x ∈ A}, composition of a function and its inverse
11
New cards
A function 𝑓 from a set 𝐴 to a set B
an assignment of exactly
one element of b ∈ 𝐵 to each element of a ∈ 𝐴, f(a) \= b
12
New cards
single-valued
must map each input to at most one image b ∈ 𝐵
13
New cards
total
must map each possible input to at least one image b ∈ 𝐵
14
New cards
if a relation is single-values and total
each value 𝑎 ∈ 𝐴 must be mapped to exactly one value 𝑏 ∈
𝐵
15
New cards
If 𝑓: 𝐴→B what is the domain and codomain
𝐴 is the domain of 𝑓 and 𝐵 is the
codomain of f
16
New cards
If 𝑓(𝑎) \= 𝑏 what is the image and pre-image
the element 𝑏 is the image of element 𝑎,
and 𝑎 is a pre-image of 𝑏
17
New cards
range of 𝑓: 𝐴→𝐵
set of all images of elements of 𝐴
18
New cards
If A has size m and B has size n how many functions are there from A to B
n^m
19
New cards
an endorelation on a set A
is a relation from A to A
20
New cards
an endofunction on a set A
is a function from A to A
21
New cards
𝑓 is one-to-one(injective) iff
it does
not map two distinct elements of 𝐴 onto the same
element of B
22
New cards
f is surjective(onto) iff
for all elements of B there is an element in A with f(a) \= b
its range is its entire codomain
23
New cards
bijection or one-to-one correspondence
iff it is one-to-one and onto
24
New cards
(f o g)(x)
f(g(a))
Explore top notes
AP Biology Unit 1- The Chemistry Of Life Review
Updated 347d ago
Note
Preview
Characters for Trojan War
Updated 1004d ago
Note
Preview
Chapter 44: Animal Sensory Systems
Updated 989d ago
Note
Preview
Oral Exam Cheat Sheet
Updated 169d ago
Note
Preview
Unit 1 Biology Test
Updated 1095d ago
Note
Preview
Chapter 7: Poetry Analysis Questions
Updated 887d ago
Note
Preview
AP Government Exam Notes
Updated 130d ago
Note
Preview
Chemical Kinetics
Updated 495d ago
Note
Preview
Explore top flashcards
SAT Vocab #1
Updated 730d ago
Flashcards (25)
Preview
B1+
Updated 239d ago
Flashcards (776)
Preview
Foundations (VMED 5275): Cell Degeneration, Necrosis, Injury, and Death
Updated 31d ago
Flashcards (94)
Preview
anemia in CKD
Updated 270d ago
Flashcards (108)
Preview
ENR Exam 2019
Updated 616d ago
Flashcards (50)
Preview
October 24
Updated 1005d ago
Flashcards (30)
Preview
Biology 30 Diploma
Updated 237d ago
Flashcards (298)
Preview
AP Gov Chapter 3 Vocab
Updated 729d ago
Flashcards (29)
Preview