Skip to main content Accessibility help
×
Hostname: page-component-78c5997874-4rdpn Total loading time: 0 Render date: 2024-11-09T07:32:01.608Z Has data issue: false hasContentIssue false

2 - Induction and Recursion

from PART I - PRELIMINARIES

Published online by Cambridge University Press:  05 November 2012

Guy Even
Affiliation:
Tel-Aviv University
Moti Medina
Affiliation:
Tel-Aviv University
Get access

Summary

This chapter presents two very powerful techniques for defining infinite sequences (recursion) and proving properties of infinite sequences (induction). The sequences in which we are interested are not only sequences of numbers (e.g., even positive integers) but also sequences of more elaborate objects (e.g., digital circuits).

Suppose we wish to define the even numbers. Typically, one could write 0, 2, 4, … This informal description assumes that the reader can guess how the sequence continues and how to generate the next number in the sequence. (The next number is 6!) A more systematic way to describe a sequence x0, x1, x2, … is to build a “device” that when input an element xn of the sequence, outputs the next element xn+1. In the case of the sequence of even numbers, this device simply adds +2, that is, xn+1 = xn + 2. Of course, we need to define the first element x0 in the sequence to be zero. Once we have defined x0 and the device for determining xn+1 based on xn, the sequence is well defined. This, in a nutshell, is recursion. In this book, we will use recursion to define sequences of circuits. In the meantime, we establish the topic of recursion on sequences of numbers. Suppose we wish to prove that each number in the sequence defined recursively by x0 = 0 and xn+1 = xn + 2 is divisible by 2.

Type
Chapter
Information
Digital Logic Design
A Rigorous Approach
, pp. 19 - 28
Publisher: Cambridge University Press
Print publication year: 2012

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 [email protected] 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.

  • Induction and Recursion
  • Guy Even, Tel-Aviv University, Moti Medina, Tel-Aviv University
  • Book: Digital Logic Design
  • Online publication: 05 November 2012
  • Chapter DOI: https://doi.org/10.1017/CBO9781139226455.003
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.

  • Induction and Recursion
  • Guy Even, Tel-Aviv University, Moti Medina, Tel-Aviv University
  • Book: Digital Logic Design
  • Online publication: 05 November 2012
  • Chapter DOI: https://doi.org/10.1017/CBO9781139226455.003
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.

  • Induction and Recursion
  • Guy Even, Tel-Aviv University, Moti Medina, Tel-Aviv University
  • Book: Digital Logic Design
  • Online publication: 05 November 2012
  • Chapter DOI: https://doi.org/10.1017/CBO9781139226455.003
Available formats
×