SlideShare a Scribd company logo
Working with composition of functions and onto.
Tyler Murphy
March 12, 2014
Working with composition of functions and onto.
Let’s consider an example problem that was in the book. Problem 3.2.24.
3.2.24
(a) Prove that the composition of onto functions is onto.
(b) Show, by example, that the converse of (a) is not true.
(c) Show that if g ◦ f is onto, then g must be onto.
3.2.24.a
(a) Prove that the composition of onto functions is onto.
Proof. Let f and g be onto functions, and A, B, C are sets. Define f : A → B and
g : B → C.
WTS: g ◦ f is onto. This means we want to show that for every element in the target
of g, there is an element in the domain of g ◦ f that goes to it.
So we want to show that for any element, say z ∈ C, there is an element, say x ∈ A
that get moved over to it.
Let z ∈ C. Since g is onto, then every element in C can be written to as g(y) for some
element y in B.
So, z = g(y).
Since f is onto, then every element in B can be written as f(x) for some element x ∈ A.
So y = f(x).
By subsitution, we have that z = g(f(x)) which is (g ◦ f)(x) = z.
So, every element in C gets hit by some element in A by g ◦ f.
So, g ◦ f is onto.
1
3.2.24.b
Here, we just want to find a counterexample to the claim that if g ◦ f is onto, then f is
onto AND g is onto.
Consider the sets:
A = {0, 1}.
B = {3, 4, 5}.
C = {6, 7}.
Define g ◦ f = {(0, 6), (1, 7)}, which is onto.
Define g = {(3, 6), (4, 6), (5, 7)} is onto.
But f = {(0, 3), (1, 4)} is not onto.
BAM. DONE.
3.2.24.c
Prove that if g ◦ f is onto, then g must be onto.
First, let’s consider some incorrect thought processes.
Define some sets A, B, C.
A = {0, 1, 2}.
B = {3, 4}.
C = {6, 7, 8}.
Define f : A → B as f = {(0, 3), (1, 3), (2, 4)}. Note that f is onto.
Define g : B → C as g = {(3, 6), (4, 7)}. Note that g is not onto.
Now here’s where you have to be careful. You cannot define g◦f as {(0, 6), (1, 7), (2, 8)}.
Now, this set does represent some onto function from A → C, but this function is not g ◦f.
Consider what it means to be in g ◦ f. This is g(f(x)) for some x in the dom(f).
So g ◦ f is {(x, g(f(x))) | x ∈ A. So g ◦ f = {(0, g(f(0)), (1, g(f(1)), (2, g(f(2))}. So,
g ◦ f is {(0, g(3)), (1, g(3)), (2, g(4))} So, g ◦ f is {(0, 6), (1, 6), (2, 7)}.
Now you can see that g◦f is not onto Be careful when you are composing your functions
that you don’t just go from the domain of f directly to the range of g. You have to stop
in the middle at the ran(f) which is the dom(g).
Now, let’s get to the proof.
Claim: if g ◦ f is onto, then g must be onto.
Proof. Let f and g be functions and g ◦ f be an onto function.
Let A, B, C be sets such that f : A → B and g : B → C.
Now, since g ◦ f is onto, we know that every element in C gets hit by some element in
f mapped through g.
Suppose g is not onto.
Then there is some element, say z ∈ C such that g(y) = z, y ∈ B.
Now we need to consider what happens when f is onto and when f is not onto.
2
Case1: Suppose f is onto.
If f is onto, then we have every element in B can be written as f(x) for some x ∈ A.
So y = f(x). So, g(f(x) = z. So g ◦ f is not onto, a contradiction.
So, if f is onto, and g ◦ f is onto, then g must be onto.
Case2: Suppose f is not onto.
So there is some element in B, say y, such that f(x) = y for any element x ∈ A.
Since g is not onto, then there is some element, say z ∈ C such that g(y) = z, y ∈ B.
So, then for some element x ∈ A, f(x) = y and g(y) = z, so not everything in C gets
hit. So g ◦ f is not onto, a contradiction.
So, If g ◦ f is onto, then g must be onto.
3

More Related Content

PDF
Functions 2
PDF
2.8A Function Operations
PPT
More Multiplication Properties Exponents
PDF
Functions
PPT
Composite functions
Functions 2
2.8A Function Operations
More Multiplication Properties Exponents
Functions
Composite functions

What's hot (20)

PPT
Composite functions
PPT
Algebra 1 Item No 06
PDF
19 bcs2241 daa_3.3
PPT
Tma2033 chap2.1(binary op)handout
PPTX
Deriving the inverse of a function1
PPT
Functions by mstfdemirdag
PDF
Day 8b examples
PDF
The Fundamental Theorem of Calculus
PPT
4. symbolic logic
PPTX
The passive power point : The present continuous and The present perfect
KEY
DiffCalculus: September 10, 2012
PPTX
Asymptotic notations
PDF
Let G = (V, E) be a graph. Probe that if delta (G) and delta (G) represent th...
PPTX
Function presentation
PDF
Day 5 examples
PDF
The bog oh notation
PPT
Per4 function1
PPTX
String matching Algorithm by Foysal
PDF
11 - Programming languages
Composite functions
Algebra 1 Item No 06
19 bcs2241 daa_3.3
Tma2033 chap2.1(binary op)handout
Deriving the inverse of a function1
Functions by mstfdemirdag
Day 8b examples
The Fundamental Theorem of Calculus
4. symbolic logic
The passive power point : The present continuous and The present perfect
DiffCalculus: September 10, 2012
Asymptotic notations
Let G = (V, E) be a graph. Probe that if delta (G) and delta (G) represent th...
Function presentation
Day 5 examples
The bog oh notation
Per4 function1
String matching Algorithm by Foysal
11 - Programming languages
Ad

Similar to Composition of functions (20)

PPTX
Relations & functions
PPTX
9-Functions.pptx
PDF
Introduction to Real Analysis 4th Edition Bartle Solutions Manual
PDF
Functionsandpigeonholeprinciple
PPS
Functions and graphs
PPTX
CMSC 56 | Lecture 9: Functions Representations
PDF
R. Bartle, D. Sherbert - Instructors Manual - Introduction to Real Analysis-J...
PDF
R. Bartle, D. Sherbert - Instructors Manual - Introduction to Real Analysis-J...
PDF
R. Bartle, D. Sherbert - Instructors Manual - Introduction to Real Analysis-J...
PPTX
my math on calculus mathematics for college
PPT
Functions
PPTX
Functions, one to one, onto function, inverse function
DOCX
Limits and continuity[1]
PPT
Functions1111111111111111111111111111.ppt
PDF
CBSE - Grade 12 - Mathematics - Ch 1 - Relations and Function (PDF Format)
PDF
8functions
PDF
Inverse function
PPT
Functions ppt comprehensive and easy to u
PPTX
Functions
PPT
Functions and Relations Technique: Math Basic
Relations & functions
9-Functions.pptx
Introduction to Real Analysis 4th Edition Bartle Solutions Manual
Functionsandpigeonholeprinciple
Functions and graphs
CMSC 56 | Lecture 9: Functions Representations
R. Bartle, D. Sherbert - Instructors Manual - Introduction to Real Analysis-J...
R. Bartle, D. Sherbert - Instructors Manual - Introduction to Real Analysis-J...
R. Bartle, D. Sherbert - Instructors Manual - Introduction to Real Analysis-J...
my math on calculus mathematics for college
Functions
Functions, one to one, onto function, inverse function
Limits and continuity[1]
Functions1111111111111111111111111111.ppt
CBSE - Grade 12 - Mathematics - Ch 1 - Relations and Function (PDF Format)
8functions
Inverse function
Functions ppt comprehensive and easy to u
Functions
Functions and Relations Technique: Math Basic
Ad

More from Tyler Murphy (20)

PDF
Job application 2020
PDF
The Table Method for Derivatives
PDF
Math 170 notation
PDF
intro to Implicit differentiation
PDF
Tower of hanoi problem
PDF
Intro to derivatives
PDF
One sided limits
PDF
Limits as x approaches infinity
PDF
Computing limits
PDF
Introduction to limits
PDF
Solving a trig equation
PDF
solving a trig problem and sketching a graph example problems
PDF
Finding a polyomial from data
PDF
functions review
PDF
Jason format preferences m170
PDF
Final exam review
PDF
Inclusion exclusion principle
PDF
Oral exam structure M189
DOCX
Class mods
DOCX
Drop trow game rules
Job application 2020
The Table Method for Derivatives
Math 170 notation
intro to Implicit differentiation
Tower of hanoi problem
Intro to derivatives
One sided limits
Limits as x approaches infinity
Computing limits
Introduction to limits
Solving a trig equation
solving a trig problem and sketching a graph example problems
Finding a polyomial from data
functions review
Jason format preferences m170
Final exam review
Inclusion exclusion principle
Oral exam structure M189
Class mods
Drop trow game rules

Recently uploaded (20)

PPTX
Onco Emergencies - Spinal cord compression Superior vena cava syndrome Febr...
PDF
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
PPTX
Unit 4 Skeletal System.ppt.pptxopresentatiom
PDF
LNK 2025 (2).pdf MWEHEHEHEHEHEHEHEHEHEHE
PPTX
Chinmaya Tiranga Azadi Quiz (Class 7-8 )
PDF
RTP_AR_KS1_Tutor's Guide_English [FOR REPRODUCTION].pdf
PDF
Weekly quiz Compilation Jan -July 25.pdf
PDF
medical_surgical_nursing_10th_edition_ignatavicius_TEST_BANK_pdf.pdf
PPTX
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PDF
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
PPTX
Introduction to Building Materials
PPTX
Orientation - ARALprogram of Deped to the Parents.pptx
PDF
1_English_Language_Set_2.pdf probationary
PDF
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
PDF
Trump Administration's workforce development strategy
PDF
SOIL: Factor, Horizon, Process, Classification, Degradation, Conservation
PDF
IGGE1 Understanding the Self1234567891011
PDF
advance database management system book.pdf
PPTX
Final Presentation General Medicine 03-08-2024.pptx
Onco Emergencies - Spinal cord compression Superior vena cava syndrome Febr...
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
Unit 4 Skeletal System.ppt.pptxopresentatiom
LNK 2025 (2).pdf MWEHEHEHEHEHEHEHEHEHEHE
Chinmaya Tiranga Azadi Quiz (Class 7-8 )
RTP_AR_KS1_Tutor's Guide_English [FOR REPRODUCTION].pdf
Weekly quiz Compilation Jan -July 25.pdf
medical_surgical_nursing_10th_edition_ignatavicius_TEST_BANK_pdf.pdf
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
Supply Chain Operations Speaking Notes -ICLT Program
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
Introduction to Building Materials
Orientation - ARALprogram of Deped to the Parents.pptx
1_English_Language_Set_2.pdf probationary
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
Trump Administration's workforce development strategy
SOIL: Factor, Horizon, Process, Classification, Degradation, Conservation
IGGE1 Understanding the Self1234567891011
advance database management system book.pdf
Final Presentation General Medicine 03-08-2024.pptx

Composition of functions

  • 1. Working with composition of functions and onto. Tyler Murphy March 12, 2014 Working with composition of functions and onto. Let’s consider an example problem that was in the book. Problem 3.2.24. 3.2.24 (a) Prove that the composition of onto functions is onto. (b) Show, by example, that the converse of (a) is not true. (c) Show that if g ◦ f is onto, then g must be onto. 3.2.24.a (a) Prove that the composition of onto functions is onto. Proof. Let f and g be onto functions, and A, B, C are sets. Define f : A → B and g : B → C. WTS: g ◦ f is onto. This means we want to show that for every element in the target of g, there is an element in the domain of g ◦ f that goes to it. So we want to show that for any element, say z ∈ C, there is an element, say x ∈ A that get moved over to it. Let z ∈ C. Since g is onto, then every element in C can be written to as g(y) for some element y in B. So, z = g(y). Since f is onto, then every element in B can be written as f(x) for some element x ∈ A. So y = f(x). By subsitution, we have that z = g(f(x)) which is (g ◦ f)(x) = z. So, every element in C gets hit by some element in A by g ◦ f. So, g ◦ f is onto. 1
  • 2. 3.2.24.b Here, we just want to find a counterexample to the claim that if g ◦ f is onto, then f is onto AND g is onto. Consider the sets: A = {0, 1}. B = {3, 4, 5}. C = {6, 7}. Define g ◦ f = {(0, 6), (1, 7)}, which is onto. Define g = {(3, 6), (4, 6), (5, 7)} is onto. But f = {(0, 3), (1, 4)} is not onto. BAM. DONE. 3.2.24.c Prove that if g ◦ f is onto, then g must be onto. First, let’s consider some incorrect thought processes. Define some sets A, B, C. A = {0, 1, 2}. B = {3, 4}. C = {6, 7, 8}. Define f : A → B as f = {(0, 3), (1, 3), (2, 4)}. Note that f is onto. Define g : B → C as g = {(3, 6), (4, 7)}. Note that g is not onto. Now here’s where you have to be careful. You cannot define g◦f as {(0, 6), (1, 7), (2, 8)}. Now, this set does represent some onto function from A → C, but this function is not g ◦f. Consider what it means to be in g ◦ f. This is g(f(x)) for some x in the dom(f). So g ◦ f is {(x, g(f(x))) | x ∈ A. So g ◦ f = {(0, g(f(0)), (1, g(f(1)), (2, g(f(2))}. So, g ◦ f is {(0, g(3)), (1, g(3)), (2, g(4))} So, g ◦ f is {(0, 6), (1, 6), (2, 7)}. Now you can see that g◦f is not onto Be careful when you are composing your functions that you don’t just go from the domain of f directly to the range of g. You have to stop in the middle at the ran(f) which is the dom(g). Now, let’s get to the proof. Claim: if g ◦ f is onto, then g must be onto. Proof. Let f and g be functions and g ◦ f be an onto function. Let A, B, C be sets such that f : A → B and g : B → C. Now, since g ◦ f is onto, we know that every element in C gets hit by some element in f mapped through g. Suppose g is not onto. Then there is some element, say z ∈ C such that g(y) = z, y ∈ B. Now we need to consider what happens when f is onto and when f is not onto. 2
  • 3. Case1: Suppose f is onto. If f is onto, then we have every element in B can be written as f(x) for some x ∈ A. So y = f(x). So, g(f(x) = z. So g ◦ f is not onto, a contradiction. So, if f is onto, and g ◦ f is onto, then g must be onto. Case2: Suppose f is not onto. So there is some element in B, say y, such that f(x) = y for any element x ∈ A. Since g is not onto, then there is some element, say z ∈ C such that g(y) = z, y ∈ B. So, then for some element x ∈ A, f(x) = y and g(y) = z, so not everything in C gets hit. So g ◦ f is not onto, a contradiction. So, If g ◦ f is onto, then g must be onto. 3