Discrete 2.3 Functions

0.0(0)
studied byStudied by 1 person
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/17

flashcard set

Earn XP

Description and Tags

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

18 Terms

1
New cards

function f from set A to B

an assignment of exactly one element of B to each element of A.

2
New cards

Domain

if f:A→B, the domain is A

3
New cards

Codomain

if f:A→B, the codomain is B

4
New cards

Image

if f(a)=b, the image is b

5
New cards

Preimage

if f(a)=b, the preimage is a

6
New cards

Range of f

{b∈B | ∃a∈A(f(a)=b)}

7
New cards

Equal functions

they have the same domain and codomain

8
New cards

Image of the set

if f: A→B is a function, and S⊆A, then the image of the set S is the subset of B consisting of the images of the elements of S.

f(S) = {b∈B | ∃s∈S (f(s)=b)}

9
New cards

Injective

a function f:A→B is injective iff ∀a1,a2∈A (f(a1)=f(a2) → a1=a2)

10
New cards

Surjective

a function f:A→B is surjective iff ∀b∈B ∃a∈A (f(a) = b)

11
New cards

Bijective

a function f:A→B is bijective iff f is both injective and surjective

12
New cards

Inverse function

If a function f:A→B is a bijection, the inverse function, f-1:B→A, assigns to each b∈B the unique a∈A such that f(a)=b.

Thus f-1(b)=a when f(a)=b.

13
New cards

Invertible

If the inverse of a function exists, we say the function is invertible.

14
New cards

Composition

If g:A→B and f:B→C, then the composition of f and g, is a function from A to C, defined by (f∘g)(a) = f(g(a))

15
New cards

Identity function

iA:A→A is defined by iA(a)=a for all a∈A.

The identity function is a bijection.

16
New cards

Graph

The graph of a function f:A→B is {(a,b): a∈A and f(a) = b∈B} and a subset of A×B

17
New cards

Floor function

⌊x⌋ : ℝ → ℤ rounds the real number x down to the greatest integer that is less than or equal to x.

18
New cards

Ceiling function

⌈x⌉ : ℝ → ℤ rounds the real number x up to the smallest integer that is greater than or equal to x.