Free Online Flashcard Deck

05 Induction and Recursion Free Online FlashCards

Study 05 Induction and Recursion with 12 free online flashcards. Review key terms, definitions, and concepts with this interactive flashcard deck.

12 cards
01
Front

What are the two parts of ordinary mathematical induction?

Back

Mathematical induction requires a true base case and a proof that, for every relevant kk, P(k)⇒P(k+1)P(k)\Rightarrow P(k+1).

02
Front

What is the induction hypothesis?

Back

The induction hypothesis is the assumption that P(k)P(k) is true for an arbitrary kk in the induction range.

03
Front

What formula gives the sum 1+2+⋯+n1+2+\cdots+n?

Back

For every n≥1n\geq 1, 1+2+⋯+n=n(n+1)21+2+\cdots+n=\frac{n(n+1)}{2}.

04
Front

Why is assuming P(k+1)P(k+1) a circular induction error?

Back

A circular error is assuming P(k+1)P(k+1) when trying to prove P(k+1)P(k+1); ordinary induction permits assuming only P(k)P(k).

05
Front

What additional assumption does strong induction provide?

Back

Strong induction permits assuming all earlier statements P(n0),P(n0+1),…,P(k)P(n_0),P(n_0+1),\ldots,P(k) when proving P(k+1)P(k+1).

06
Front

When is strong induction especially useful?

Back

Strong induction is useful when the case of size k+1k+1 depends on several smaller cases, not necessarily only the case of size kk.

07
Front

What property of integers greater than 1 is proved by strong induction?

Back

Every integer greater than 1 is either prime or has a prime factor.

08
Front

State the well-ordering principle.

Back

Every nonempty subset of the nonnegative integers has a least element.

09
Front

How does the least-counterexample method work?

Back

Choose the least counterexample, then use the truth of every smaller case to prove the statement for it, creating a contradiction.

10
Front

What three components normally form a recursive definition?

Back

A recursive definition has base clause(s), recursive clause(s), and a closure condition restricting the collection to objects generated by those clauses.

11
Front

What is the recursive definition of factorial?

Back

The factorial recursion is 0!=10!=1 and (n+1)!=(n+1)n!(n+1)!=(n+1)n! for n≥0n\geq 0.

12
Front

What recurrence defines the Fibonacci sequence?

Back

The Fibonacci sequence uses F0=0F_0=0, F1=1F_1=1, and Fn=Fn−1+Fn−2F_n=F_{n-1}+F_{n-2} for n≥2n\geq 2.