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.4 - Page 440: 34

Answer

The map \[ A \;\mapsto\; \chi_A \] is a **bijection** between \(\mathcal{P}(S)\) and the set of all functions \(S \to \{0,1\}\). Consequently, they have the **same cardinality**.

Work Step by Step

A well‐known way to show that the power set \(\mathcal{P}(S)\) (the set of all subsets of \(S\)) has the same cardinality as \(T\) (the set of all functions \(S \to \{0,1\}\)) is to exhibit a natural **bijection** between them: --- ## Defining the Bijection 1. **Given a subset \(A \subseteq S\)**, define its **characteristic function** \(\chi_A\colon S \to \{0,1\}\) by \[ \chi_A(x) \;=\; \begin{cases} 1, & x \in A,\\ 0, & x \notin A. \end{cases} \] Clearly, \(\chi_A\) is a function from \(S\) into \(\{0,1\}\). 2. **Conversely, given a function \(f\colon S \to \{0,1\}\)**, define the subset \[ A_f \;=\;\{\,x \in S : f(x)=1\}. \] That is, you pick out exactly those elements of \(S\) that map to \(1\). --- ## Injectivity (One‐to‐One) - If \(A \neq B\), then there is at least one element \(s \in S\) that belongs to exactly one of the two subsets. - Hence \(\chi_A(s)\neq \chi_B(s)\), so the characteristic functions differ. Therefore, distinct subsets produce distinct characteristic functions. --- ## Surjectivity (Onto) - Every function \(f\colon S \to \{0,1\}\) is exactly the characteristic function of the subset \(A_f\). So for **any** function \(f\) in \(T\), there is a subset \(A_f\in \mathcal{P}(S)\) whose characteristic function is \(f\).
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.