Chapter 8: Functions Flashcards

1
Q

How is a function defined?

A

Intuitively, you can think of the domain as the inputs of f, the range as the
outputs of f, and the codomain as a possibly larger set in which all the outputs live.
* But at the end of the day, all three are just sets. They correspond to each other via f, but they are just sets.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

As an overview, what does it mean for a function to exist and be unique?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

When does a function fail existence and uniqueness?

A
  • One line and only one line must emanate from each dot.
  • The first fails existences because b does not map to anywhere on the codomain
  • the second fails uniqueness as it the bee maps to two different places on the codomain
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the vertical line test for testing if a graph is a function?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Example of valid functions?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

When is a function injective?

A
  • the second fails as f(x) and f(y) equal 2. while x cannot equal y as these are clear two different arrows.
  • Interestingly the contrapositive provides another way to think about an injection.
    • The contrapositive turns an implication like F(a1)=F(a2) implies a1=a2 into a logically equivalent implication
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is the contrapositive statement to an injective function?

A
  • Interestingly the contrapositive provides another way to think about an injection.
    • The contrapositive turns an implication like F(a1)=F(a2) implies a1=a2 into a logically equivalent implication
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

When is a function surjective?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is the contrapositive equivalent definition to a subjective function?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What does existence and uniqueness have to do with a function being injective and subjective?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

When is a function bijective?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What does existence and uniqueness have to do with a function being bijective?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is the general outline for an injective proof?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is the general outline for surjection proof?

A
  • It is important to remember that when you choose a b ∈ B (at the start of your
    proof), it must be completely arbitrary. If B = R, make sure you are never assuming
    that b is positive or negative or non-zero or an integer or anything like that.
    Your work must be valid regardless of what the b is. Recall that this is what we mean when we say that we chose an arbitrary b ∈ B
  • The only exception to this is if you divide
    up your work into cases where you have, say, the negative case and the non-negative case, or the zero and the non-zero case.
  • But if you do that, then within each case’s set you must choose an arbitrary b, and collectively the cases must cover all the options in B.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Let R + denote the nonnegative real numbers. Prove the following:

(a) f : R → R where f(x) = <sup<2
is not injective, surjective or bijective.

A

*the injective property is essentially a “horizontal line test.”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Let R + denote the nonnegative real numbers. Prove the following:

(b) g : R+ → R where f(x) = <sup<2
is not injective, surjective or bijective.

A
17
Q

Let R + denote the nonnegative real numbers. Prove the following:

(c) h : R → R+ where f(x) = <sup<2
is not injective, surjective or bijective.

A
18
Q

Let R + denote the nonnegative real numbers. Prove the following:

(d) k : R+ → R+D where f(x) = <sup<2
is not injective, surjective or bijective.

A
19
Q

PROOF (injective part):

The function f : (Z × Z) → (Z × Z) where f(x, y) = (x + 2y, 2x + 3y) is a bijection

A
20
Q

PROOF (Surjective part):

The function f : (Z × Z) → (Z × Z) where f(x, y) = (x + 2y, 2x + 3y) is a bijection

A
21
Q

When does in/surjectiveness fail when looking at domains and codomains of finite size?

A
22
Q

THEOREM: What is the “pigeonhole principle” concerning functions?

A
23
Q

PROOF: What is the “pigeonhole principle” concerning functions?

A
24
Q

What is the definition of a composition function?

A
25
Q

Example of a composite function?

A
26
Q
A
27
Q

What is the multiplicative and additive identity for the reals?

A
27
Q

Corollary: Suppose A, B and C are sets, g : A → B is bijective, and
f : B → C is bijective. Then f ◦ g is bijective.

A
  • By Theorem 8.13, f ◦ g is an injection.
    • Suppose A, B and C are sets, g : A → B is injective, and f : B → C is injective. Then f ◦ g is injective.
  • By Theorem 8.14, f ◦ g is a surjection.
  • Suppose A, B and C are sets, g : A → B is surjective, and f : B → C is surjective. Then f ◦ g is surjective

Thus, by the definition of a bijection (Definition 8.7), f ◦ g is a bijection.

28
Q

What is the definition of the identity function

A
29
Q

Examples of the inverse of functions in set format?

A
30
Q

Further examples of the inverse of functions in written format?

  1. f R –> R and f(x) = x + 1
  2. f R+ –> R+ and f(x) = x^2
  3. tan: (-pi/2,pi/2) –> R
  4. exp: R –> R+
A
31
Q

What property does a function need to have an inverse?

A

needs to be a bijection

32
Q

PROOF:

A function f : A → B is invertible if and only if f is a bijection

A
33
Q

PROOF:

There does not exist a universal lossless compression algorithm.

(an algorithm that can compress the size of any type of file and then invert it without any loss of data)

A
34
Q

PROOF:

Prove that the function f : (0, ∞) → (0, 1) where f(x) = 1/(x + 1) is a bijection.

A
35
Q

PROOF:

Find the inverse of f : R → R where f(x) = 2x + 5.

A