Mathematical-Reasoning Β· Unit 22 Β· Video 1 Β· Interactive Practice

Shared and Missed Outputs: Why 5x + 3 Has Neither

IKey Formulas

FormulaNameMeaning
βˆ€x,y∈A,β€…β€Šxβ‰ yβ‡’f(x)β‰ f(y)\forall x, y \in A,\; x \neq y \Rightarrow f(x) \neq f(y)Different inputs, different outputsFor f ⁣:Aβ†’Bf\colon A \to B: no two different inputs share an output (a function with this property is an injection)
βˆ€x,y∈A,β€…β€Šf(x)=f(y)β‡’x=y\forall x, y \in A,\; f(x) = f(y) \Rightarrow x = yContrapositive formLogically equivalent to the row above; a proof of it starts from the equation f(x)=f(y)f(x) = f(y)
βˆ€y∈B,β€…β€Šβˆƒx∈AΒ withΒ f(x)=y\forall y \in B,\; \exists x \in A \text{ with } f(x) = yEvery element of the codomain is an outputFor f ⁣:Aβ†’Bf\colon A \to B: the same as range⁑(f)=B\operatorname{range}(f) = B (a function with this property is a surjection)
βˆƒx,y∈A,β€…β€Šxβ‰ y∧f(x)=f(y)\exists x, y \in A,\; x \neq y \wedge f(x) = f(y)
βˆƒy∈B,β€…β€Šβˆ€x∈A,β€…β€Šf(x)β‰ y\exists y \in B,\; \forall x \in A,\; f(x) \neq y
The two negationsFor nonempty AA and BB: two different inputs share an output; some element of BB is never an output

Key Insight: The definition of a function only demands that each input have exactly one output. It allows two inputs to share an output and allows elements of the codomain to be missed; the two properties above are extra conditions a function may or may not meet.

IIVisualization 1 β€” Shared Outputs and Missed Outputs

Each input has exactly one arrow, yet two arrows may land together and some elements of the codomain may receive none.

πŸ’‘ Challenge: make both lines under the diagram hold at once. Only one of the three codomains allows it.

IIIVisualization 2 β€” Negating the Two Properties

A negation turns βˆ€\forall into βˆƒ\exists, βˆƒ\exists into βˆ€\forall, and Pβ‡’QP \Rightarrow Q into P∧¬QP \wedge \neg Q.

Statement βˆ€x,y∈A,β€…β€Šxβ‰ yβ‡’f(x)β‰ f(y)\forall x, y \in A,\; x \neq y \Rightarrow f(x) \neq f(y)
Negate the whole statement Β¬(βˆ€x,y∈A,β€…β€Šxβ‰ yβ‡’f(x)β‰ f(y))\neg\big(\forall x, y \in A,\; x \neq y \Rightarrow f(x) \neq f(y)\big)
Rule Β¬βˆ€β‰‘βˆƒΒ¬\neg\forall \equiv \exists\neg βˆƒx,y∈A,β€…β€ŠΒ¬(xβ‰ yβ‡’f(x)β‰ f(y))\exists x, y \in A,\; \neg\big(x \neq y \Rightarrow f(x) \neq f(y)\big)
Rule Β¬(Pβ‡’Q)≑P∧¬Q\neg(P \Rightarrow Q) \equiv P \wedge \neg Q βˆƒx,y∈A,β€…β€Šxβ‰ y∧¬(f(x)β‰ f(y))\exists x, y \in A,\; x \neq y \wedge \neg\big(f(x) \neq f(y)\big)
Simplify, then find a witness βˆƒx,y∈A,β€…β€Šxβ‰ y∧f(x)=f(y)\exists x, y \in A,\; x \neq y \wedge f(x) = f(y)

For gg (with g(1)=ag(1) = a, g(2)=bg(2) = b, g(3)=ag(3) = a): x=1x = 1 and y=3y = 3 give 1β‰ 31 \neq 3 and g(1)=g(3)=ag(1) = g(3) = a, so the negation is true for gg.

Statement βˆ€y∈B,β€…β€Šβˆƒx∈AΒ withΒ f(x)=y\forall y \in B,\; \exists x \in A \text{ with } f(x) = y
Negate the whole statement Β¬(βˆ€y∈B,β€…β€Šβˆƒx∈AΒ withΒ f(x)=y)\neg\big(\forall y \in B,\; \exists x \in A \text{ with } f(x) = y\big)
Rule Β¬βˆ€β‰‘βˆƒΒ¬\neg\forall \equiv \exists\neg βˆƒy∈B,β€…β€ŠΒ¬(βˆƒx∈AΒ withΒ f(x)=y)\exists y \in B,\; \neg\big(\exists x \in A \text{ with } f(x) = y\big)
Rule Β¬βˆƒβ‰‘βˆ€Β¬\neg\exists \equiv \forall\neg βˆƒy∈B,β€…β€Šβˆ€x∈A,β€…β€ŠΒ¬(f(x)=y)\exists y \in B,\; \forall x \in A,\; \neg\big(f(x) = y\big)
Simplify, then find a witness βˆƒy∈B,β€…β€Šβˆ€x∈A,β€…β€Šf(x)β‰ y\exists y \in B,\; \forall x \in A,\; f(x) \neq y

For ff (with f(1)=af(1) = a, f(2)=bf(2) = b, f(3)=cf(3) = c): y=dy = d works, since f(1)f(1), f(2)f(2) and f(3)f(3) all lie in {a,b,c}\{a, b, c\}, so the negation is true for ff.

πŸ’‘ Negating only the conclusion of the first statement gives βˆ€x,y∈A,β€…β€Šxβ‰ yβ‡’f(x)=f(y)\forall x, y \in A,\; x \neq y \Rightarrow f(x) = f(y), which says every two different inputs share an output: that forces ff to be constant, and it is not the negation.

IVVisualization 3 β€” Why 5x+35x + 3 Has Neither a Shared nor a Missed Output

For g(x)=5x+3g(x) = 5x + 3 from R\mathbb{R} to R\mathbb{R}, no two inputs share an output and no real number is missed.

VQuiz Questions

Problem 1 Β· Read the Table

Given: f ⁣:{1,2,3,4}β†’{p,q,r,s,t}f\colon \{1, 2, 3, 4\} \to \{p, q, r, s, t\} with f(1)=qf(1) = q, f(2)=sf(2) = s, f(3)=pf(3) = p, f(4)=sf(4) = s β€” find a pair of different inputs that share an output, and the range of ff.

Which pair of different inputs shares an output?

What is range⁑(f)\operatorname{range}(f)?

βœ… Correct! 2β‰ 42 \neq 4 but f(2)=f(4)=sf(2) = f(4) = s, and the outputs actually produced are pp, qq and ss. So ff fails both properties: two inputs share an output, and rr and tt are missed.
❌ Not quite. Look at the outputs again: ss appears twice in the table.
❌ Not quite. f(1)=qf(1) = q and f(3)=pf(3) = p are different outputs, so this pair does not share one.
❌ Not quite. The two inputs must be different. f(4)=f(4)f(4) = f(4) holds for every function and says nothing.
❌ Not quite. That is the domain. The range is a subset of the codomain: the outputs f(x)f(x) actually produced.
❌ Not quite. That is the codomain. The range contains only the letters that some input is sent to, and nothing is sent to rr or tt.
❌ Not quite. Those are the letters that are missed. The range is the set of letters that are reached.
Show solution

Shared output. The outputs in order are q,s,p,sq, s, p, s. The letter ss appears for the inputs 22 and 44, so x=2x = 2, y=4y = 4 satisfy x≠yx \neq y and f(x)=f(y)f(x) = f(y). No other pair shares an output.

Range. The outputs produced are qq, ss, pp, so range⁑(f)={p,q,s}\operatorname{range}(f) = \{p, q, s\}. It is a proper subset of the codomain: rr and tt are never outputs.

Answers: (b) and (d).

Problem 2 Β· Negate the Contrapositive Form

Given: nonempty sets AA, BB and f ⁣:Aβ†’Bf\colon A \to B, and the statement βˆ€x,y∈A,β€…β€Šf(x)=f(y)β‡’x=y\forall x, y \in A,\; f(x) = f(y) \Rightarrow x = y β€” which is its negation?

βœ… Correct! Β¬βˆ€\neg\forall becomes βˆƒ\exists, and Β¬(Pβ‡’Q)\neg(P \Rightarrow Q) becomes P∧¬QP \wedge \neg Q with PP: f(x)=f(y)f(x) = f(y) and QQ: x=yx = y. It is the same condition as the negation of the first form: two different inputs share an output.
❌ Not quite. This negates only the conclusion and keeps βˆ€\forall. It can never be true: taking y=xy = x gives f(x)=f(x)f(x) = f(x) but not xβ‰ xx \neq x.
❌ Not quite. The negation of Pβ‡’QP \Rightarrow Q is P∧¬QP \wedge \neg Q: the hypothesis f(x)=f(y)f(x) = f(y) stays as it is. Here it was negated too.
❌ Not quite. The quantifier is right, but the negation of a conditional is not a conditional: Β¬(Pβ‡’Q)≑P∧¬Q\neg(P \Rightarrow Q) \equiv P \wedge \neg Q.
Show solution

Write the statement as βˆ€x,y∈A,β€…β€ŠP(x,y)β‡’Q(x,y)\forall x, y \in A,\; P(x, y) \Rightarrow Q(x, y) with PP: f(x)=f(y)f(x) = f(y) and QQ: x=yx = y.

Β¬(βˆ€x,y∈A,β€…β€ŠPβ‡’Q)β‰‘βˆƒx,y∈A,β€…β€ŠΒ¬(Pβ‡’Q)β‰‘βˆƒx,y∈A,β€…β€ŠP∧¬Q\neg\big(\forall x, y \in A,\; P \Rightarrow Q\big) \equiv \exists x, y \in A,\; \neg(P \Rightarrow Q) \equiv \exists x, y \in A,\; P \wedge \neg Q

Substituting: βˆƒx,y∈A\exists x, y \in A such that f(x)=f(y)f(x) = f(y) and xβ‰ yx \neq y. This is the same condition as the negation of βˆ€x,y∈A,β€…β€Šxβ‰ yβ‡’f(x)β‰ f(y)\forall x, y \in A,\; x \neq y \Rightarrow f(x) \neq f(y), as it must be, since the two statements are contrapositives of each other.

Answer: (c).

Problem 3 Β· A Missed Output, Written and Found

Given: nonempty sets AA, BB and f ⁣:Aβ†’Bf\colon A \to B, and the function k ⁣:{1,2,3,4,5}β†’{p,q,r,s}k\colon \{1, 2, 3, 4, 5\} \to \{p, q, r, s\} with k(1)=sk(1) = s, k(2)=qk(2) = q, k(3)=sk(3) = s, k(4)=pk(4) = p, k(5)=qk(5) = q β€” negate the statement βˆ€y∈B,β€…β€Šβˆƒx∈AΒ withΒ f(x)=y\forall y \in B,\; \exists x \in A \text{ with } f(x) = y, then find a witness for kk.

Which is the negation?

Which yy makes the negation true for kk?

βœ… Correct! Both quantifiers flip and the equation is negated. For kk the outputs are s,q,s,p,qs, q, s, p, q, so k(x)β‰ rk(x) \neq r for every xx: rr is never an output.
❌ Not quite. Only the equation was negated; neither quantifier was flipped. Negating "for all yy" gives "there exists yy", and the inner βˆƒx\exists x must then become βˆ€x\forall x.
❌ Not quite. The βˆƒx\exists x must flip to βˆ€x\forall x. "Some input misses yy" is true for every ff as soon as BB has two elements, even when every element of BB is reached; the negation needs every input to miss yy.
❌ Not quite. The inner βˆƒx\exists x correctly became βˆ€x\forall x, but the leading βˆ€y\forall y must also flip to βˆƒy\exists y; here it stayed βˆ€\forall. This version says no element of BB is an output at all, which is false whenever AA is nonempty.
❌ Not quite. ss is an output twice (k(1)=k(3)=sk(1) = k(3) = s). That is a shared output, which is the other property; a witness here must be an element no input reaches.
❌ Not quite. 55 is an input, not an element of the codomain {p,q,r,s}\{p, q, r, s\}. The witness yy must come from the codomain.
❌ Not quite. List the outputs: s,q,s,p,qs, q, s, p, q. The letter rr never appears.
Show solution

Negation. Β¬βˆ€y\neg\forall y becomes βˆƒy\exists y, then Β¬βˆƒx\neg\exists x becomes βˆ€x\forall x, and Β¬(f(x)=y)\neg(f(x) = y) becomes f(x)β‰ yf(x) \neq y:

βˆƒy∈B,β€…β€Šβˆ€x∈A,β€…β€Šf(x)β‰ y.\exists y \in B,\; \forall x \in A,\; f(x) \neq y.

Witness for kk. The outputs are k(1)=sk(1) = s, k(2)=qk(2) = q, k(3)=sk(3) = s, k(4)=pk(4) = p, k(5)=qk(5) = q, so range⁑(k)={p,q,s}\operatorname{range}(k) = \{p, q, s\}. For y=ry = r, k(x)β‰ rk(x) \neq r for all five inputs, so the negation is true for kk: not every element of the codomain is an output.

Answers: (d) and (a).

Problem 4 Β· Changing the Codomain

Given: the rule F(1)=pF(1) = p, F(2)=qF(2) = q, F(3)=rF(3) = r, F(4)=pF(4) = p on the domain {1,2,3,4}\{1, 2, 3, 4\} β€” choose a codomain CC so that F ⁣:{1,2,3,4}β†’CF\colon \{1, 2, 3, 4\} \to C is a function with every element of CC an output, then decide whether different inputs give different outputs.

Which codomain CC works?

With that codomain, do different inputs give different outputs?

βœ… Correct! Shrinking the codomain to the range {p,q,r}\{p, q, r\} removes the missed outputs, but it cannot separate 11 and 44: they share the output pp for every choice of codomain.
❌ Not quite. No input is sent to ss, so ss is a missed output.
❌ Not quite. F(3)=rF(3) = r is not in {p,q}\{p, q\}, so FF is not even a function from {1,2,3,4}\{1, 2, 3, 4\} to this set: the codomain must contain every output.
❌ Not quite. No input is sent to ss or tt, so both are missed outputs.
❌ Not quite. The two properties are independent. Every element of CC being an output says nothing about whether two inputs share one.
❌ Not quite. The condition is about all pairs of different inputs, including the pair 11 and 44.
❌ Not quite. The conclusion is right but the reason is not: an output reached once causes no failure. The failure is the pair 1β‰ 41 \neq 4 with F(1)=F(4)F(1) = F(4).
Show solution

Codomain. The outputs are p,q,r,pp, q, r, p, so the range is {p,q,r}\{p, q, r\}. A codomain must contain every output, which rules out {p,q}\{p, q\}. Every element of CC is an output exactly when C=range⁑(F)={p,q,r}C = \operatorname{range}(F) = \{p, q, r\}; the larger sets contain the missed letters ss (and tt).

Different inputs. The negation βˆƒx,y,β€…β€Šxβ‰ y∧F(x)=F(y)\exists x, y,\; x \neq y \wedge F(x) = F(y) is witnessed by x=1x = 1, y=4y = 4: 1β‰ 41 \neq 4 and F(1)=F(4)=pF(1) = F(4) = p. This pair does not depend on the codomain, so no choice of CC gives FF the first property.

Answers: (a) and (c).

Solved: 0 / 4