Lesson 2: Recursive Operations

Entry conditions

Use recursive definitions only when you have a successor structure and a base element.

Definitions

Define addition and multiplication on recursively:

Vocabulary (plain language)

  • Recursion: define a function by a base case and a step rule.
  • Base case: the value at .
  • Step rule: how to compute at using the value at .

Symbols used

  • : addition.
  • : multiplication.

Intuition

Arithmetic operations are not assumed; they are defined. Addition is repeated successor, and multiplication is repeated addition. These definitions make arithmetic part of the axiomatic system.

Worked example

Compute using recursion:

  • .

How to recognize the structure

  • You can define a function using a base case at .
  • You can define the step in terms of the previous value.

Common mistakes

  • Using recursion without a clear base case.
  • Defining an operation by intuition without a formal rule.