Induction works on numeric arguments as well as lists:

Define exponentiation in terms of multiplication:

exp(X,N) means XN

Basis:

exp(X,0) Þ 1;

Induction:

exp(X,N+1) Þ X*exp(X,N);


X0 Þ 1;

XN+1 Þ X*XN;

 

To Next Slide To Previous Slide To Contents