06.09.2021 Views

Discrete Mathematics- An Open Introduction - 3rd Edition, 2016a

Discrete Mathematics- An Open Introduction - 3rd Edition, 2016a

Discrete Mathematics- An Open Introduction - 3rd Edition, 2016a

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

48 0. <strong>Introduction</strong> and Preliminaries<br />

or might not have repeats. The bijective functions are those that do not<br />

have repeats and do not miss elements.<br />

Image and Inverse Image<br />

When discussing functions, we have notation for talking about an element<br />

of the domain (say x) and its corresponding element in the codomain (we<br />

write f (x), which is the image of x). Sometimes we will want to talk about<br />

all the elements that are images of some subset of the domain. It would<br />

also be nice to start with some element of the codomain (say y) and talk<br />

about which element or elements (if any) from the domain it is the image<br />

of. We could write “those x in the domain such that f (x) y,” but this is<br />

a lot of writing. Here is some notation to make our lives easier.<br />

To address the first situation, what we are after is a way to describe<br />

the set of images of elements in some subset of the domain. Suppose<br />

f : X → Y is a function and that A ⊆ X is some subset of the domain<br />

(possibly all of it). We will use the notation f (A) to denote the image of A<br />

under f , namely the set of elements in Y that are the image of elements<br />

from A. That is, f (A) { f (a) ∈ Y : a ∈ A}.<br />

We can do this in the other direction as well. We might ask which<br />

elements of the domain get mapped to a particular set in the codomain. Let<br />

f : X → Y be a function and suppose B ⊆ Y is a subset of the codomain.<br />

Then we will write f −1 (B) for the inverse image of B under f , namely<br />

the set of elements in X whose image are elements in B. In other words,<br />

f −1 (B) {x ∈ X : f (x) ∈ B}.<br />

Often we are interested in the element(s) whose image is a particular<br />

element y of in the codomain. The notation above works: f −1 ({y}) is the<br />

set of all elements in the domain that f sends to y. It makes sense to think<br />

of this as a set: there might not be anything sent to y (if y is not in the<br />

range), in which case f −1 ({y}) ∅. Or f might send multiple elements to<br />

y (if f is not injective). As a notational convenience, we usually drop the<br />

set braces around the y and write f −1 (y) instead for this set.<br />

WARNING: f −1 (y) is not an inverse function! Inverse functions only<br />

exist for bijections, but f −1 (y) is defined for any function f . The point:<br />

f −1 (y) is a set, not an element of the domain. This is just sloppy notation<br />

for f −1 ({y}). To help make this distinction, we would call f −1 (y) the<br />

complete inverse image of y under f . It is not the image of y under f −1<br />

(since the function f −1 might not exist).

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!