Mathematical-Reasoning ยท Unit 23 ยท Video 4 ยท Interactive Practice

Composing Surjections: Pull c Back Through g, Then f

IKey Formulas

FormulaNameMeaning
(gโˆ˜f)(x)=g(f(x))(g \circ f)(x) = g(f(x))The compositeFor fโ€‰โฃ:Aโ†’Bf\colon A \to B and gโ€‰โฃ:Bโ†’Cg\colon B \to C, the composite gโˆ˜fโ€‰โฃ:Aโ†’Cg \circ f\colon A \to C applies ff first, then gg
โˆ€cโˆˆC,โ€…โ€ŠโˆƒxโˆˆA,โ€…โ€Š(gโˆ˜f)(x)=c\forall c \in C,\; \exists x \in A,\; (g \circ f)(x) = cgโˆ˜fg \circ f is a surjectionThe goal; it begins with โˆ€\forall, so the proof chooses an arbitrary cโˆˆCc \in C
g(b)=cg(b) = c and f(x)=bf(x) = bThe two pull-backsgg onto CC gives some bโˆˆBb \in B; then ff onto BB gives some xโˆˆAx \in A
(gโˆ˜f)(x)=g(f(x))=g(b)=c(g \circ f)(x) = g(f(x)) = g(b) = cThe closing chainThe input xx found by the pull-backs lands on cc

Key Insight: The composite applies ff first and gg second, but the proof searches in the opposite order: from cc back through gg to the middle set, then back through ff to the domain.

IIVisualization 1 โ€” Three Composites, Two Arrows at a Time

In each of the video's three examples, gโˆ˜fg \circ f keeps the property that ff and gg share.

IIIVisualization 2 โ€” The Proof Runs Backward

To reach an arbitrary cc, the proof pulls it back through gg to some bb, then through ff to some xx.

1 ยท Hypotheses and goal

Assume fโ€‰โฃ:Aโ†’Bf\colon A \to B and gโ€‰โฃ:Bโ†’Cg\colon B \to C are surjections. Goal: โˆ€cโˆˆC,ย โˆƒxโˆˆA\forall c \in C,\ \exists x \in A with (gโˆ˜f)(x)=c(g \circ f)(x) = c.

2 ยท Choose an element

Let cโˆˆCc \in C be arbitrary. New goal: find xโˆˆAx \in A with (gโˆ˜f)(x)=c(g \circ f)(x) = c.

3 ยท Pull back through gg

Since gg is a surjection, there exists bโˆˆBb \in B such that g(b)=cg(b) = c.

4 ยท Pull back through ff

Since ff is a surjection, there exists xโˆˆAx \in A such that f(x)=bf(x) = b.

5 ยท Evaluate the composite (gโˆ˜f)(x)=g(f(x))=g(b)=c(g \circ f)(x) = g(f(x)) = g(b) = c
6 ยท Conclude

Since cc was arbitrary, โˆ€cโˆˆC,ย โˆƒxโˆˆA\forall c \in C,\ \exists x \in A with (gโˆ˜f)(x)=c(g \circ f)(x) = c, so gโˆ˜fg \circ f is a surjection. โ– \blacksquare

IVVisualization 3 โ€” Each Pull-Back Uses One Surjection

The step into BB needs an element with g(b)=cg(b) = c; the step into AA needs one with f(x)=bf(x) = b.

๐Ÿ’ก Challenge: make ff miss an element of BB while gโˆ˜fg \circ f is still onto CC. The theorem's hypotheses are enough to make gโˆ˜fg \circ f onto, but ff being onto is not necessary for it.

VQuiz Questions

Problem 1 ยท Pull Back on the Real Line

Given: the surjections fโ€‰โฃ:Rโ†’Rf\colon \mathbb{R} \to \mathbb{R}, f(x)=xโˆ’3f(x) = x - 3, and gโ€‰โฃ:Rโ†’Rg\colon \mathbb{R} \to \mathbb{R}, g(y)=5yg(y) = 5y. Following the proof that gโˆ˜fg \circ f is onto, with c=10c = 10, which middle element bb and input xx does it produce?

โœ… Correct! g(2)=10g(2) = 10 and f(5)=2f(5) = 2, so (gโˆ˜f)(5)=g(2)=10(g \circ f)(5) = g(2) = 10.
โŒ That pulls back through ff first. Solving f(b)=10f(b) = 10 and then g(x)=13g(x) = 13 inverts fโˆ˜gf \circ g, not gโˆ˜fg \circ f: here (gโˆ˜f)(135)=5(135โˆ’3)=โˆ’2(g \circ f)(\tfrac{13}{5}) = 5(\tfrac{13}{5} - 3) = -2. The outer function gg is undone first.
โŒ That runs forward from cc. Computing g(10)=50g(10) = 50 and f(50)=47f(50) = 47 applies the functions to cc instead of finding an input that lands on cc; in fact (gโˆ˜f)(47)=220(g \circ f)(47) = 220.
โŒ Check the second pull-back. b=2b = 2 is right, but f(x)=bf(x) = b means xโˆ’3=2x - 3 = 2, so x=b+3x = b + 3, not bโˆ’3b - 3.
โŒ Not quite. First solve g(b)=10g(b) = 10, then solve f(x)=bf(x) = b.
Show solution

Pull back through gg: we need bโˆˆRb \in \mathbb{R} with g(b)=10g(b) = 10, that is 5b=105b = 10, so b=2b = 2.

Pull back through ff: we need xโˆˆRx \in \mathbb{R} with f(x)=2f(x) = 2, that is xโˆ’3=2x - 3 = 2, so x=5x = 5.

Check:

(gโˆ˜f)(5)=g(f(5))=g(2)=10=c(g \circ f)(5) = g(f(5)) = g(2) = 10 = c

So the proof produces b=2b = 2 and x=5x = 5.

Problem 2 ยท The First Line of the Proof

Given: fโ€‰โฃ:Aโ†’Bf\colon A \to B and gโ€‰โฃ:Bโ†’Cg\colon B \to C are surjections. Which sentence correctly begins a proof that gโˆ˜fโ€‰โฃ:Aโ†’Cg \circ f\colon A \to C is a surjection?

โœ… Correct! The goal โˆ€cโˆˆC,ย โˆƒxโˆˆA,ย (gโˆ˜f)(x)=c\forall c \in C,\ \exists x \in A,\ (g \circ f)(x) = c starts with โˆ€c\forall c, so the proof chooses an arbitrary cc and then has an existence statement to prove.
โŒ That runs forward. Starting from an input only shows that its output lies in CC, which is true of every function into CC; it never shows that a given cc is hit.
โŒ Wrong quantifier on xx. This would prove โˆ€xโ€‰โˆ€c,ย (gโˆ˜f)(x)=c\forall x\, \forall c,\ (g \circ f)(x) = c, which says every input lands on every element of CC. The input must be found, not chosen: โˆƒx\exists x.
โŒ That assumes the conclusion. The hypotheses are that ff and gg are surjections; that gโˆ˜fg \circ f is a surjection is what has to be proved.
โŒ Not quite. Look at the first quantifier of the goal.
Show solution

Since gโˆ˜fg \circ f has codomain CC, "gโˆ˜fg \circ f is a surjection" means

โˆ€cโˆˆC,ย โˆƒxโˆˆAย suchย thatย (gโˆ˜f)(x)=c.\forall c \in C,\ \exists x \in A \text{ such that } (g \circ f)(x) = c.

The statement begins with a universal quantifier, so the choose-an-element method applies: let cโˆˆCc \in C be arbitrary, and the remaining goal is the existence statement โˆƒxโˆˆA\exists x \in A with (gโˆ˜f)(x)=c(g \circ f)(x) = c. That is option b.

Option a starts at an input and goes forward, which only shows some elements of CC are outputs. Option c fixes xx in advance, so it would need every input to land on every cc. Option d assumes the very statement being proved.

Problem 3 ยท More Than One Choice

Given: fโ€‰โฃ:{1,2,3,4}โ†’{p,q,r}f\colon \{1, 2, 3, 4\} \to \{p, q, r\} with f(1)=pf(1) = p, f(2)=qf(2) = q, f(3)=qf(3) = q, f(4)=rf(4) = r, and gโ€‰โฃ:{p,q,r}โ†’{u,v}g\colon \{p, q, r\} \to \{u, v\} with g(p)=ug(p) = u, g(q)=ug(q) = u, g(r)=vg(r) = v. Both are surjections. The proof pulls c=uc = u back to some bb with g(b)=ug(b) = u, then to some xx with f(x)=bf(x) = b.

How many choices are there for bb?

How many different inputs xx can the proof end with?

โœ… Correct! bโˆˆ{p,q}b \in \{p, q\} and xโˆˆ{1,2,3}x \in \{1, 2, 3\}; each of 11, 22, 33 satisfies (gโˆ˜f)(x)=u(g \circ f)(x) = u, and the proof may use any of them.
โŒ "There exists" is not "there is exactly one". Both g(p)=ug(p) = u and g(q)=ug(q) = u, so gg being onto guarantees at least one bb, and here there are two.
โŒ Check bb. List the elements of {p,q,r}\{p, q, r\} that gg sends to uu.
โŒ That counts the choices of bb. The choice b=qb = q has two inputs, since f(2)=qf(2) = q and f(3)=qf(3) = q; add the one input 11 for b=pb = p.
โŒ Check xx. For each possible bb, list the inputs with f(x)=bf(x) = b.
Show solution

Through gg: the elements with g(b)=ug(b) = u are pp and qq, so there are 22 choices for bb.

Through ff: for b=pb = p the only input is 11; for b=qb = q the inputs are 22 and 33. So the proof can end with x=1x = 1, 22 or 33: three inputs.

Check: (gโˆ˜f)(1)=g(p)=u(g \circ f)(1) = g(p) = u, (gโˆ˜f)(2)=g(q)=u(g \circ f)(2) = g(q) = u, (gโˆ˜f)(3)=g(q)=u(g \circ f)(3) = g(q) = u. Input 44 is not possible, since (gโˆ˜f)(4)=g(r)=v(g \circ f)(4) = g(r) = v.

The proof needs no formula for bb or xx: any element that the two surjections guarantee will do.

Problem 4 ยท Three Surjections in a Row

Given: surjections fโ€‰โฃ:Aโ†’Bf\colon A \to B, gโ€‰โฃ:Bโ†’Cg\colon B \to C and hโ€‰โฃ:Cโ†’Dh\colon C \to D. A proof that hโˆ˜gโˆ˜fโ€‰โฃ:Aโ†’Dh \circ g \circ f\colon A \to D is onto lets dโˆˆDd \in D be arbitrary. Which sequence of steps should follow?

โœ… Correct! Pull dd back through the outermost function hh, then gg, then the innermost ff; then (hโˆ˜gโˆ˜f)(x)=h(g(b))=h(c)=d(h \circ g \circ f)(x) = h(g(b)) = h(c) = d.
โŒ The elements appear before they exist. The first step uses bb, but bb is only produced by the second step, and cc only by the third. The search has to start at dd and work inward.
โŒ gg does not reach DD. The codomain of gg is CC, so g(b)=dg(b) = d makes no sense; the surjection hh is needed first.
โŒ That runs forward. It only shows the outputs lie in DD, never that the given dd is one of them.
โŒ Not quite. Start from dd and undo the outermost function first.
Show solution

Let dโˆˆDd \in D be arbitrary.

  • hh is onto DD, so there exists cโˆˆCc \in C with h(c)=dh(c) = d.
  • gg is onto CC, so there exists bโˆˆBb \in B with g(b)=cg(b) = c.
  • ff is onto BB, so there exists xโˆˆAx \in A with f(x)=bf(x) = b.
(hโˆ˜gโˆ˜f)(x)=h(g(f(x)))=h(g(b))=h(c)=d(h \circ g \circ f)(x) = h(g(f(x))) = h(g(b)) = h(c) = d

Since dd was arbitrary, hโˆ˜gโˆ˜fh \circ g \circ f is a surjection. Equivalently, apply the theorem twice: gโˆ˜fg \circ f is onto CC, and then hโˆ˜(gโˆ˜f)h \circ (g \circ f) is onto DD.

Solved: 0 / 4