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 439: 2

Answer

See explanation

Work Step by Step

A concise way to see that the set of all positive squares \(S = \{1^2, 2^2, 3^2, \dots\}\) has the same cardinality as the set of all positive integers \(\mathbb{Z}^+\) is to exhibit an explicit bijection between them. One simple choice is the function \[ f:\mathbb{Z}^+ \;\to\; S, \quad f(n) \;=\; n^2. \] **Why this works**: 1. **Injective (one-to-one):** If \(f(n_1) = f(n_2)\), then \(n_1^2 = n_2^2\). Because both \(n_1\) and \(n_2\) are positive integers, we must have \(n_1 = n_2\). Hence, \(f\) is injective. 2. **Surjective (onto):** Any element of \(S\) is of the form \(k^2\) for some \(k \in \mathbb{Z}^+\). But \(f(k) = k^2\), so every square in \(S\) is hit by the function. Thus, \(f\) is surjective. Since \(f\) is both injective and surjective, it is a **bijection**. Therefore, \(\mathbb{Z}^+\) and \(S\) have the same cardinality. Informally, “there are as many squares as there are positive integers,” even though squares are a proper subset of all positive integers. This is a classic illustration that infinite sets can behave counterintuitively with respect to size (cardinality).
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.