Question
A two-dimensional function f, whose domain in N x N is defined by,
i) Can for a 1 be established using induction?
ii) Evaluate and ?
Solution
==================================================================================================
Ans i: Proof by Induction
To be proven: for
Let’s use structural induction to prove this result as it is a recursion problem.
Basis Step:
- (from f(a, b)).
- is P(1).
Thus, P(1) holds and basis step proved.
Recursive Step:
If we assume that P(k) holds for all numbers till k & ; this means that .
We need to prove if P(k+1) holds.
P(k+1) => F(k+1, 2) = 4
Thus, the proof holds for P(k+1).
Ans ii: Evaluate and
Thus,
This will go on till b becomes 1. The term will be .
Thus,