22.02.2014 Views

Discrete Mathematics University of Kentucky CS 275 Spring ... - MGNet

Discrete Mathematics University of Kentucky CS 275 Spring ... - MGNet

Discrete Mathematics University of Kentucky CS 275 Spring ... - MGNet

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.

Definition: The composition <strong>of</strong> n functions f i : A i %A i+1 is defined by<br />

(f 1 °f 2 °…°f n )(a) = f 1 (f 2 (…(f n (a)…)),<br />

where a,A 1 .<br />

Definition: If f: A%B, then the inverse <strong>of</strong> f, denoted f -1 : B%A exists if and only<br />

if (b,B )a,A (f(a) = b ! f -1 (b) = a).<br />

Examples:<br />

• Let A = [0,1] 1 R, B = [0,2] 1 R.<br />

o f(a) = a 2 and g(a) = a+1. Then f+g: A%B and f*g: A%B.<br />

o f(a) = 2*a and g(a) = a-1. Then neither f+g: A%B nor f*g: A%B.<br />

• Let B = A = [0,1] 1 R.<br />

o f(a) = a 2 and g(a) = 1-a. Then f+g: A%A and f*g: A%A. Both<br />

compound functions are bijections.<br />

o f(a) = a 3 and g(a) = a 1/3 . Then g°f(a): A%A is a bijection.<br />

• Let A = [-1, 1] and B=[0, 1]. Then<br />

o f(a) = a 3 and g(a) = {x>0 | x= a 1/3 }. Then g°f(a): A%B is onto.<br />

33<br />

Definition: The graph <strong>of</strong> a function f is {(a,f(a)) | a,A}.<br />

Example: A = {0, 1, 2, 3, 4, 5} and f(a) = a 2 . Then<br />

(a) graph(f,A)<br />

(b) an approximation to graph(f,[0,5])<br />

34

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

Saved successfully!

Ooh no, something went wrong!