#An induction proof
57 messages · Page 1 of 1 (latest)
Yes you can assume that the relationship is true at every inferior level.
If you're not convinced you can replace the induction hypothesis with "for every k from 1 to n, the relation holds"
but specifically here you have 2 base cases
it's P(1), P(2) and P(n-2) and P(n-1) => P(n)
Yeah I realised that for the assumption to hold true for some specific k, it has to hold true for every number upto k anyways bcoz the definition is recursive. Or else, I'll just end up going back in loops of definition from k to k-1 to k-2 and end at the base case again.
FYI recursion is far more general than that, it can be generalized on well-founded spaces, i.e. (to simplify) ordered sets with no infinite strictly decreasing sequences
I do not understand a single thing in that
xD
not important
Hmm
wait I have a better idea
Okay
Let Σ* be the set of words (not just English words, any combination of letters)
You have a natural ordering on this set of words, for example aa < ab
Gotchu
You can perform induction on this set, the base case would be "a" or the empty word, depending on your definition
Okay
This is more general
I get the idea of base definition
I was confused on the idea of how it gets defined for terms lower than k, where we are trying to prove for k+1 using k as our case
But that's just the definition of mathematical induction, where you know it's true for k bcoz it's true for k-1
Right?
Let me just write it properly
Okay
Let P(n) a property.
Induction principle states : if P(0) holds and for any natural number n (including 0), if P(n) holds then P(n+1) holds THEN P(n) holds for any n.
Yeah gotchu
Let H(n) = "for k=0 to n P(k) holds"
it can be proven by basic induction
wait this is stupid
I am not sure how to prove it
Oh wait
Wait but you're proving induction using induction
well there are different kinds of induction
I only know one T-T
- when you prove P(0) and $\forall n \in \bN P(n) \Rightarrow P(n+1)$ \
- when you prove P(0) and $\forall n \in \bN (\forall k < n, P(k) \Rightarrow P(n))$ \
- when you prove P(0) and P(1) and $\forall n \in \bN, (P(n) \wedge P(n+1)) \Rightarrow P(n+2)$
Valentin
but they are all the same fundamentally
Yeah that's what I was thinking
It's a good exercise to deduce the two last ones from the first one
And you can also prove the first ! (from other axioms of course) :
Let P a property such that P(0) holds and forall n, P(n) => P(n+1).
Assume by contradiction there exists a N such that (not P(N)) holds.
Let A = {n in N | not P(n)}.
As it's a subset of N and is non-empty (has N), it has a minimum m. This minimum is not 0 as P(0) holds. However not P(m) holds then not P(m-1) holds, then m-1 is in A, therefore it contradicts the fact that m is the minimum of A.
Omgg
yes it's great
I love IT
you're welcome !
Thanks, you just made my day better xD
What class are you in ?
Completed high school, transitioning to uni
Wish you all the best
Thank you so much
.close