DOC PREVIEW
UCF COT 3100 - Lecture Notes

This preview shows page 1-2-3-4-5-6 out of 19 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 19 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 19 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 19 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 19 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 19 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 19 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 19 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

Slide 1Slide 2Slide 3Slide 4Slide 5Slide 6Slide 7Slide 8Slide 9Slide 10Slide 11Slide 12Slide 13Slide 14Slide 15Slide 16Slide 17Slide 18Slide 191Today’s topics:• Proof that a given function is injective or surjective. • Composite functions • Properties of the composite functions. • Inverse functions. • Proofs with functions.211)(xxxfLet A =R{1} and f : A A be defined by the formula:Prove that f is injective and surjective. 1) injective: Let x and y be arbitrary elements of A such that f (x) = f (y ), (1). We must show that (1) implies x = y yxyxxyyxyxxyxyxyyxyyxx111)1)((1)1)((1111by assumptionsince (x 1)0 and (y 1)0 by algebra32) surjective: for any y there exists x A , such that f (x)=y .Take arbitrary y A and find x A from f (x)=y 11xxy11)(  xxy1 xyyx11)(  yyxAyyx 114Composition of functions---a A f B f (a)=b gCg (b)=cgf (Note, that in the context of function composition, the order in which the functions appear is backward, i. e. the rightmost function is applied first)Theorem. Let f : AB and g: BC be two functions. The composition of f and g as relations defines a function gf : A C, such that gf (a)= g(f(a)).5Proof. We need to prove that composite relation gf is a function. For this we must prove two things: 1) the composition gf relates each element aA to some c C. 2) an element c C assigned to a by gf is unique, so we can denote it c= g(f (a)). 1) existence: Let b=f (a) B. Let c=g(b) C. So, by the definition of composition of relations, (a, c)gf . Thus, cC [(a, c)gf ]-a A- gCg (b)=c- f B f (a)=bgf62) uniqueness: Suppose (a, c1)gf and (a, c2)gf . Then by the definition of composition, b1B, such that (a, b1)f and (b1, c1)g,and b2B, such that (a, b2)f and (b2, c2)g. Since f is a function, there may be only one b B, such that (a, b)f, so b1= b2. Since g is a function, (b, c1)g and (b, c2)g imply that c1= c2.Thus, (gf )(a)= c= g (b) = g (f (a)). a c1c2b1 f gb27Properties of the composite function• How the injective (surjective) property of gf depends on properties of f and g f g g f • g f • f g8Theorem. Consider functions f : AB and g: B C, and the composition gf : AC. a) If both f and g are injective, then gf is injective. b) If both f and g are surjective, then gf is surjective. c) If both f and g are bijective, then gf is bijective.Proof. a) Let a1 and a2 be arbitrary elements of A such that (gf )(a1) = (gf )(a2). By the previous Theorem, it implies that g (f (a1)) = g (f (a2)). Since g is injective it implies that f (a1) = f (a2), and since f is injective by assumption, a1 = a2. a1a2g(f (a1))=g(f (a2)). f g f (a1) f (a2) A BC9b) Take an arbitrary element cC. Since g is surjective, there exists bB such that g(b)=c. Similarly, since f is surjective,there exists aA such that f (a)=b. Then (gf )(a) = g(f(a)) = g(b) = c. So, gf is surjective. g surjective: c, b (g(b)=c) f surjective: b, a (f (a)=b)Cc- gB-b f Aa- gf10c) If both f and g are bijective, then both f and g are injective andsurjective. By parts a) and b) gf is injective and surjective, so gf is bijective. So, injective (surjective) properties of two functions, f and g are sufficient condition for injective (surjective) property of the composite function. The question arises whether both conditions are necessary as well. Let f : AB and g: B C be two functions and the composition gf : AC is injective. What properties of of f and g can be implied? What properties of f and g can be implied if gf is surjective?11Example. Let f : AB and g: B  C be two functions such thatthe composite function gf : AC is injective. Prove or disprove that both f and g are injective. Injective property of gf : AC impliesif (gf )(x)=(gf )(y), then x = y. Let’s prove by contradiction that f must be injective. For this assume that gf is injective, but f is not injective. Then we can find x, y A such that x y and f (x)=f (y). By taking composite function for these x and y we have that g(f (x)) = g(f (y)) while x y. But this results to contradiction with injective property of composite function. gf injective  f injective g( f (x))= g( f (y)) x y f gx y(gf )(y)(gf )(x)12What about gf injective  g injective ? This implication can be disproved by the followingcounterexample: f g g is not injective, but gf is! If f was surjective, then we would not be able to disprove that gf injective  g injective!13Example: f : [0, ]  [0, ], f (x)=x/2. g : [0, ]  [0, 1], g (y)=sin(y), not injective gf =sin(x/2): [0, ]  [0, 1], is injective, but g is not. g(y) = sin(y): [0, ]  [0, 1] gf =sin(x/2): [0, ]  [0, 1]14Let’s prove that if gf is surjective then g is surjective. Surjective property of gf implies that for any zC there exists x A such that (gf )(x)=z. It means that g(f (x))=z. Since f is a function, there exists a unique element y B such that y=f (x). But g(f (x))= g(y)= z. zx gf -- y=f (x)Thus, for any zC there exists y B such that g(y)= z.Than means that g is surjective. Example. Let f : AB and g: B  C be two functions such thatthe composite function gf : AC is surjective. Prove or disprove that both f and g are surjective.15The following example shows that gf is surjective  f is surjective/ f gIf we knew that g were injective, we could prove thatgf is surjective  f is surjective !16Example. Let f : RR, and g : RR denote two functions, where R is the set of real numbers. Suppose gf (x)=2x+1 forall x R ( i. e. the composite function is both surjective and injective).a) Prove that the function f is injection. Let f (x)= f (y), we need to show that x = y. Since g is a function on a set of real numbers, f (x)= f (y) implies g(f (x))= g (f (y)), i. e. 2x+1 = 2y+1 (by assumption gf (x)=2x+1).So, it yields x = y . QED.b) Prove the function g is a surjection. Take arbitrary z R, we need to show that y R such that g(y)=z.But for any z R there always exist x, y R, x = (z1)/2 and y=f (x), so that g(y) = g (f


View Full Document

UCF COT 3100 - Lecture Notes

Documents in this Course
Lab 1

Lab 1

11 pages

Functions

Functions

10 pages

Load more
Download Lecture Notes
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Lecture Notes and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Lecture Notes 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?