MAT102 Tutorial W11
-
1: Show if
, then - Assuming
. Then we inherit associativity and commutativity. - As well as if
then
- By the inverse property
- We know
- We know
- Take this and multiply by
on both sides - Take the additive inverse of this term
- Assuming
-
2: Define a sequence as follows:
, show that - Strong Induction
- Base Cases:
- Defined above
- All True
- It suffices to show that
hold. - Note that
- Induction Step:
- Assume that
for for - We want to show that
- Notice by recursion definition, that
can be re-expressed (by Induction Hypothesis) - So we can see that
- And we wanted to prove that this is less that the
term right.
- Assume that
-
3: Let
be defined as: - If
then - Prove
is the set of all positive integer multiples of - Let
be the set of all positive integers divisible by . - Prove this
- Let
- So then
- Done
- Automatically we know that
because all multiples of - are divisible by . - Show that
- We proceed by induction
- Base Case:
- Induction Step:
- Assume
for some - This also means
- This also means
- We want to show that
so is - We don't know anything else.
- Let
- Assume
-
Consider a set of formal strings, define
as: - The empty string
- If
then - Prove
the number of and is the same - Proof
- Let
be functions to count the number of . - Base Case:
- Consider
- No hearts or diamonds, because there's nothing in the string. It's
str = ''
- Consider
- Induction Step:
- Let
and - We know that
- So
Because . - So
- Let
- Let
- The empty string