Skip to main content Accessibility help
×
Hostname: page-component-848d4c4894-2xdlg Total loading time: 0 Render date: 2024-06-14T09:41:14.824Z Has data issue: false hasContentIssue false

4 - Functions

Published online by Cambridge University Press:  05 July 2014

Philip N. Klein
Affiliation:
Brown University, Rhode Island
Get access

Summary

The basics

A two-place relation is a way of pairing up members of one set with members of another set. We can use a diagram to represent a relation; there is an arrow for each pair, going from the first item in the pair to the second. Thus all the figures in this chapter, starting with Figure 4.1, represent two-place relations.

If there is an arrow xy in the relation, we say that “x maps to y” and that “y is the image of x” under the relation. Thus in the relation depicted by Figure 4.1, the elements 1, 4, and 5 all map to 96, 1 also maps to 94, the element 2 maps to 100, and finally 3 maps to 99. Another way to say the same thing is that 96 is the image of 1 and is also the image of 4 and of 5, and so forth.

A one-input function is a special kind of two-place relation, one for which each item in the first set has exactly one outgoing arrow, that is, each such item maps to exactly one element of the second set. Thus Figure 4.2 represents a one-input function, but Figure 4.1 does not. In fact, there are two ways in which the relation depicted in Figure 4.1 fails to be a function. There are elements of the first set (namely 1) that maps to two things, and there are elements (namely 6) that map to no elements.

Type
Chapter
Information
A Cryptography Primer
Secrets and Promises
, pp. 32 - 48
Publisher: Cambridge University Press
Print publication year: 2014

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.

  • Functions
  • Philip N. Klein, Brown University, Rhode Island
  • Book: A Cryptography Primer
  • Online publication: 05 July 2014
  • Chapter DOI: https://doi.org/10.1017/CBO9781139084772.005
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.

  • Functions
  • Philip N. Klein, Brown University, Rhode Island
  • Book: A Cryptography Primer
  • Online publication: 05 July 2014
  • Chapter DOI: https://doi.org/10.1017/CBO9781139084772.005
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.

  • Functions
  • Philip N. Klein, Brown University, Rhode Island
  • Book: A Cryptography Primer
  • Online publication: 05 July 2014
  • Chapter DOI: https://doi.org/10.1017/CBO9781139084772.005
Available formats
×