In order to prove the following recurrence
$$\binom{n}{r} = \binom{n-1}{r} + \binom{n-1}{r-1}$$
It is enough to prove induction on only $n$, not needed to do induction on $r$. That is
- $P(0,0)$
- $P(n,r) \implies P(n+1, r)$
But by seeing the equation, $P(n,r)$ appears to be like statement over two variables . That is we need to do induction on two variables as follows
- $P(0,0)$
- $P(n,r) \implies P(n+1,r)$
- $P(n,r) \implies P(n, r+1)$
How to decide univariate or bivariate unambiguously?
There are (at least) four ways to prove a bivariate statement $P(n,r)$:
Which one you use depends on what can be proven in the particular problem, and in many cases more than one method will work.