Skip to main content Accessibility help
×
Hostname: page-component-84b7d79bbc-g78kv Total loading time: 0 Render date: 2024-07-27T11:44:49.760Z Has data issue: false hasContentIssue false

3 - Set theory

Published online by Cambridge University Press:  05 June 2012

Mike Piff
Affiliation:
University of Sheffield
Get access

Summary

Introduction

Suppose that we are using the notations of mathematical logic, as described in Chapter 2. We have some universe of discourse E, and let us suppose that a predicate R(x) is given. We could look at the objects in E in turn, and check for each object whether or not R(x) is true. If we then selected the collection of objects which made R(x) true, we would have what is known as a set.

Although the predicate calculus allows us to do anything we desire, it has been found over the last century or so that set notation is far more convenient and natural. A predicate in one variable is thought of as expressing a property of objects in the universe of discourse; a set is the collection of all those objects with that property. Conversely, given a collection of objects in the universe of discourse, we can form a predicate which expresses the property of being in that collection. Sets and one place predicates are completely interchangeable.

Example 3.1 A username for an Apostrophe computer consists of a string of six letters and digits. The director of computing services is responsible for informing the Apostrophe which strings are valid usernames. This he does by creating a file of valid usernames. If there are 500 users of the Apostrophe, the file will have 500 lines. The 2,176,782,336 possible usernames have been reduced by a factor of around 4 million.

Type
Chapter
Information
Discrete Mathematics
An Introduction for Software Engineers
, pp. 43 - 63
Publisher: Cambridge University Press
Print publication year: 1991

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

Save book to Kindle

To save this book to your Kindle, first ensure coreplatform@cambridge.org is added to your Approved Personal Document E-mail List under your Personal Document Settings on the Manage Your Content and Devices page of your Amazon account. Then enter the ‘name’ part of your Kindle email address below. Find out more about saving to your Kindle.

Note you can select to save to either the @free.kindle.com or @kindle.com variations. ‘@free.kindle.com’ emails are free but can only be saved to your device when it is connected to wi-fi. ‘@kindle.com’ emails can be delivered even when you are not connected to wi-fi, but note that service fees apply.

Find out more about the Kindle Personal Document Service.

  • Set theory
  • Mike Piff, University of Sheffield
  • Book: Discrete Mathematics
  • Online publication: 05 June 2012
  • Chapter DOI: https://doi.org/10.1017/CBO9781139172332.004
Available formats
×

Save book to Dropbox

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Dropbox.

  • Set theory
  • Mike Piff, University of Sheffield
  • Book: Discrete Mathematics
  • Online publication: 05 June 2012
  • Chapter DOI: https://doi.org/10.1017/CBO9781139172332.004
Available formats
×

Save book to Google Drive

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Google Drive.

  • Set theory
  • Mike Piff, University of Sheffield
  • Book: Discrete Mathematics
  • Online publication: 05 June 2012
  • Chapter DOI: https://doi.org/10.1017/CBO9781139172332.004
Available formats
×