MAT102 Lecture 20B
10InductionIExercises_Students.pdf
is the fibonacci sequence for - Prove that
- Base Cases:
- Induction Hypothesis:
- For an arbitrary
- For an arbitrary
- Induction Step:
- Want to show that
- See that we can break the
term into something which appears in our assumed hypothesis. - Lemma:
- Since
, and - So let
- Which proves that
meaning .
- By the lemma
- Let
and - So this is true
- Let
- Want to show that
- Solution:
- Claim:
- Proof: We will proceed by induction
- Base Case:
- Induction Hypothesis:
- Assume for some
that
- Assume for some
- Induction Step:
- We want to show that
- See that
- This is
- Done
- We want to show that
- Claim:
- Base Cases:
- Base Case:
- Induction Hypothesis:
- For arbitrary
assume that
- For arbitrary
- Induction Step:
- Want to show that
- By IH
- See that
here is
- Want to show that
- Solution:
- Claim:
- Proof: We will proceed by induction
- Base Case:
- LHS
- RHS
- Induction Hypothesis:
- Assume for some
that
- Assume for some
- Induction Step:
- Want to show
- Indeed,
- By IH:
- Done
- Want to show
- Claim:
- Base Case:
- Base Case:
- Induction Hypothesis:
- Assume for some
that
- Assume for some
- Induction Step:
- Want to show that
- By IH:
- Done
- Want to show that
- Base Case:
- Consider
the set of formal strings defined as: - All strings will only consist of
- Basis:
: If then - You can double the last string after
- You can double the last string after
If then - You can add a
to any string ending with
- You can add a
If then - Wherever there are two U as
, you can delete it.
- Wherever there are two U as
If then - Wherever there are three I as
you can replace it with a
- Wherever there are three I as
- Try to determine whether the following strings are in
- Basis:
- Apply
- Apply
- Apply
- Basis:
- Basis:
- Apply
- Basis:
- By question 3, we need to show nothing can produce this
- For an element
, define to be the number of 's in . Prove for all - Let's list constructors dealing with
can double the amount of 's. We start with basis , and we get - Defined as
- Base Case:
- Induction Hypothesis:
- Assume for some
that
- Assume for some
- Induction Step:
we double the last string - Lemma:
for any - Base Case:
- Induction Hypothesis:
- Assume for some
that
- Assume for some
- Induction Step:
- Want to show that
- The only way we get
is if , but we assume it doesn't so we've shown it won't divide it for all .
- Want to show that
- By the lemma, since
the basis, then any multiple in the form won't be divided either.
doesn't change the number of 's, so nothing needs to be proven. doesn't change the number of 's Just removes instances of 's, since we've proven that for any multiple in the form it won't work at all. - Reducing a number not resulting in
will not result in something
- Reducing a number not resulting in
- Defined as
- Solutions:
- Base Case:
and - Induction Hypothesis:
- Suppose
and
- Suppose
- Induction Step:
- Let
for denote the constructors. - See that
, it doesn't change the number of 's - If
, then and
- If
- Note that
- You double the number of
's - If
, then - If
, then - Neither of these are divisible by
. - So then
- Note that
- Note that
- Claim: If
then #tk exercise - Therefore,
- Note that
- Let
- Base Case:
- Let's list constructors dealing with
- Show that
- All strings will only consist of
- Show that for all
we have that - Base Case:
- Induction Hypothesis:
- Assume for some
that
- Assume for some
- Base Case: