Mathematical-Reasoning ยท Unit 23 ยท Video 4 ยท Interactive Practice
Composing Surjections: Pull c Back Through g, Then f
IKey Formulas
Formula
Name
Meaning
(gโf)(x)=g(f(x))
The composite
For f:AโB and g:BโC, the composite gโf:AโC applies f first, then g
โcโC,โxโA,(gโf)(x)=c
gโf is a surjection
The goal; it begins with โ, so the proof chooses an arbitrary cโC
g(b)=c and f(x)=b
The two pull-backs
g onto C gives some bโB; then f onto B gives some xโA
(gโf)(x)=g(f(x))=g(b)=c
The closing chain
The input x found by the pull-backs lands on c
Key Insight: The composite applies f first and g second, but the proof searches in the opposite order: from c back through g to the middle set, then back through f to the domain.
IIVisualization 1 โ Three Composites, Two Arrows at a Time
In each of the video's three examples, gโf keeps the property that f and g share.
IIIVisualization 2 โ The Proof Runs Backward
To reach an arbitrary c, the proof pulls it back through g to some b, then through f to some x.
1 ยท Hypotheses and goal
Assume f:AโB and g:BโC are surjections. Goal: โcโC,ย โxโA with (gโf)(x)=c.
2 ยท Choose an element
Let cโC be arbitrary. New goal: find xโA with (gโf)(x)=c.
3 ยท Pull back through g
Since g is a surjection, there exists bโB such that g(b)=c.
4 ยท Pull back through f
Since f is a surjection, there exists xโA such that f(x)=b.
5 ยท Evaluate the composite(gโf)(x)=g(f(x))=g(b)=c
6 ยท Conclude
Since c was arbitrary, โcโC,ย โxโA with (gโf)(x)=c, so gโf is a surjection. โ
IVVisualization 3 โ Each Pull-Back Uses One Surjection
The step into B needs an element with g(b)=c; the step into A needs one with f(x)=b.
๐ก Challenge: make f miss an element of B while gโf is still onto C. The theorem's hypotheses are enough to make gโf onto, but f being onto is not necessary for it.
VQuiz Questions
Problem 1 ยท Pull Back on the Real Line
Given: the surjections f:RโR, f(x)=xโ3, and g:RโR, g(y)=5y. Following the proof that gโf is onto, with c=10, which middle element b and input x does it produce?
โ Correct!g(2)=10 and f(5)=2, so (gโf)(5)=g(2)=10.
โ That pulls back through f first. Solving f(b)=10 and then g(x)=13 inverts fโg, not gโf: here (gโf)(513โ)=5(513โโ3)=โ2. The outer function g is undone first.
โ That runs forward from c. Computing g(10)=50 and f(50)=47 applies the functions to c instead of finding an input that lands on c; in fact (gโf)(47)=220.
โ Check the second pull-back.b=2 is right, but f(x)=b means xโ3=2, so x=b+3, not bโ3.
โ Not quite. First solve g(b)=10, then solve f(x)=b.
Show solution
Pull back through g: we need bโR with g(b)=10, that is 5b=10, so b=2.
Pull back through f: we need xโR with f(x)=2, that is xโ3=2, so x=5.
Check:
(gโf)(5)=g(f(5))=g(2)=10=c
So the proof produces b=2 and x=5.
Problem 2 ยท The First Line of the Proof
Given:f:AโB and g:BโC are surjections. Which sentence correctly begins a proof that gโf:AโC is a surjection?
โ Correct! The goal โcโC,ย โxโA,ย (gโf)(x)=c starts with โc, so the proof chooses an arbitrary c and then has an existence statement to prove.
โ That runs forward. Starting from an input only shows that its output lies in C, which is true of every function into C; it never shows that a given c is hit.
โ Wrong quantifier on x. This would prove โxโc,ย (gโf)(x)=c, which says every input lands on every element of C. The input must be found, not chosen: โx.
โ That assumes the conclusion. The hypotheses are that f and g are surjections; that gโf is a surjection is what has to be proved.
โ Not quite. Look at the first quantifier of the goal.
Show solution
Since gโf has codomain C, "gโf is a surjection" means
โcโC,ย โxโAย suchย thatย (gโf)(x)=c.
The statement begins with a universal quantifier, so the choose-an-element method applies: let cโC be arbitrary, and the remaining goal is the existence statement โxโA with (gโf)(x)=c. That is option b.
Option a starts at an input and goes forward, which only shows some elements of C are outputs. Option c fixes x in advance, so it would need every input to land on every c. Option d assumes the very statement being proved.
Problem 3 ยท More Than One Choice
Given:f:{1,2,3,4}โ{p,q,r} with f(1)=p, f(2)=q, f(3)=q, f(4)=r, and g:{p,q,r}โ{u,v} with g(p)=u, g(q)=u, g(r)=v. Both are surjections. The proof pulls c=u back to some b with g(b)=u, then to some x with f(x)=b.
How many choices are there for b?
How many different inputs x can the proof end with?
โ Correct!bโ{p,q} and xโ{1,2,3}; each of 1, 2, 3 satisfies (gโf)(x)=u, and the proof may use any of them.
โ "There exists" is not "there is exactly one". Both g(p)=u and g(q)=u, so g being onto guarantees at least one b, and here there are two.
โ Check b. List the elements of {p,q,r} that g sends to u.
โ That counts the choices of b. The choice b=q has two inputs, since f(2)=q and f(3)=q; add the one input 1 for b=p.
โ Check x. For each possible b, list the inputs with f(x)=b.
Show solution
Through g: the elements with g(b)=u are p and q, so there are 2 choices for b.
Through f: for b=p the only input is 1; for b=q the inputs are 2 and 3. So the proof can end with x=1, 2 or 3: three inputs.
Check:(gโf)(1)=g(p)=u, (gโf)(2)=g(q)=u, (gโf)(3)=g(q)=u. Input 4 is not possible, since (gโf)(4)=g(r)=v.
The proof needs no formula for b or x: any element that the two surjections guarantee will do.
Problem 4 ยท Three Surjections in a Row
Given: surjections f:AโB, g:BโC and h:CโD. A proof that hโgโf:AโD is onto lets dโD be arbitrary. Which sequence of steps should follow?
โ Correct! Pull d back through the outermost function h, then g, then the innermost f; then (hโgโf)(x)=h(g(b))=h(c)=d.
โ The elements appear before they exist. The first step uses b, but b is only produced by the second step, and c only by the third. The search has to start at d and work inward.
โ g does not reach D. The codomain of g is C, so g(b)=d makes no sense; the surjection h is needed first.
โ That runs forward. It only shows the outputs lie in D, never that the given d is one of them.
โ Not quite. Start from d and undo the outermost function first.
Show solution
Let dโD be arbitrary.
h is onto D, so there exists cโC with h(c)=d.
g is onto C, so there exists bโB with g(b)=c.
f is onto B, so there exists xโA with f(x)=b.
(hโgโf)(x)=h(g(f(x)))=h(g(b))=h(c)=d
Since d was arbitrary, hโgโf is a surjection. Equivalently, apply the theorem twice: gโf is onto C, and then hโ(gโf) is onto D.