Discrete Mathematics and Its Applications, Seventh Edition

Published by McGraw-Hill Education
ISBN 10: 0073383090
ISBN 13: 978-0-07338-309-5

Chapter 2 - Section 2.1 - Sets - Exercises - Page 126: 47

Answer

We can do this recursively.

Work Step by Step

We can do this recursively, which means reducing a problem to a smaller instance of the same problem. Suppose that the elements of the set in question are listed: A= { a1, a2, a3, ... , a,,}. First we will write down all the subsets that do not involve a,,. This is just the same problem we are talking about all over again, but with a smaller set---one with just n - 1 elements. We do this by the process we are currently describing. Then we write these same subsets down again, but this time adjoin a,, to each one. Each subset of A will have been written down, then-first all those that do not include a,,, and then all those that do. For example, using this procedure the subsets of {p, d, q} would be listed in the order 0, {p} , { d} , {p,d}, {q}, {p,q}, {d,q}, {p,d,q}.
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.