Abstract
This chapter discusses mathematical induction and recursion. Induction is a common proof technique in mathematics, and there are two parts to a proof by induction (the base case and the inductive step). We discuss strong and weak induction, and we discuss how recursion is used to define sets, sequences, and functions. This leads us to structural induction, which is used to prove properties of recursively defined structures.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
This definition of mathematical induction covers the base case of n = 1 and would need to be adjusted if the number specified in the base case is higher.
- 2.
As before this definition covers the base case of n = 1 and would need to be adjusted if the number specified in the base case is higher.
- 3.
We are taking the Fibonacci sequence as starting at 1, whereas others take it as starting at 0.
- 4.
We will give an alternate definition of a tree in terms of a connected acyclic graph in Chap. 7 on graph theory.
Reference
Meyer B (1990) Introduction to the theory of programming languages. Prentice Hall
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2023 The Author(s), under exclusive license to Springer Nature Switzerland AG
About this chapter
Cite this chapter
O’Regan, G. (2023). Mathematical Induction and Recursion. In: Mathematical Foundations of Software Engineering. Texts in Computer Science. Springer, Cham. https://doi.org/10.1007/978-3-031-26212-8_6
Download citation
DOI: https://doi.org/10.1007/978-3-031-26212-8_6
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-031-26211-1
Online ISBN: 978-3-031-26212-8
eBook Packages: Computer ScienceComputer Science (R0)