Discrete Mathematics with Applications 4th Edition

Published by Cengage Learning
ISBN 10: 0-49539-132-8
ISBN 13: 978-0-49539-132-6

Chapter 7 - Functions - Exercise Set 7.3 - Page 427: 17

Answer

**No**, \(f\) need not be onto even if \(g \circ f\) is onto.

Work Step by Step

## Counterexample Let’s define three sets and two functions: - **Sets**: - \(X = \{\,1,2\}\) - \(Y = \{\,a,b,c\}\) - \(Z = \{\,p,q\}\) - **Function** \(f : X \to Y\): \[ f(1) = a,\quad f(2) = b. \] Notice \(f\)’s image is \(\{a,b\}\subset Y\). Since \(c\) is never used, \(f\) is **not** onto \(Y\). - **Function** \(g : Y \to Z\): \[ g(a) = p,\quad g(b) = q,\quad g(c) = p \;(\text{for example}). \] Observe that \(\{a,b\}\) (the image of \(f\)) maps onto all of \(Z\). Specifically, \(g(a)=p\) and \(g(b)=q\). ### Check that \(g \circ f\) is onto \(Z\) 1. \((g \circ f)(1) = g\bigl(f(1)\bigr) = g(a) = p.\) 2. \((g \circ f)(2) = g\bigl(f(2)\bigr) = g(b) = q.\) Hence the range of \((g \circ f)\) is \(\{p,q\}\), which is exactly all of \(Z\). Therefore, **\(g \circ f\) is onto** \(Z\). ### But \(f\) is Not Onto \(Y\) We see \(f\) never takes the value \(c\). Thus \(\operatorname{Im}(f)=\{a,b\}\neq Y\). So \(f\) is **not** onto \(Y\). --- ## Conclusion This example proves that even if \((g \circ f)\) is onto \(Z\), the intermediate function \(f\) itself need **not** be onto \(Y\).
Update this answer!

You can help us out by revising, improving and updating this answer.

Update this answer

After you claim an answer you’ll have 24 hours to send in a draft. An editor will review the submission and either publish your submission or provide feedback.