Discrete study---B.
Hey, what's up man
Hey. So I am having trouble understanding what type of "..." notation he is talking about?
I think it means something like \[x _{1}+x_{2}+...+x_{n}\]
so I'm just going with 1+3+5+(2n-1)
Okay. I think I may leave it as just X1 + X2 + ... + Xn and leave it generic.
sorry: 1+3+5+...+(2n-1)
How about P(n) on next one is P(n) = "Sum of first n odd numbers is n^2.)
so: P(n) = 1+3+5+...+2n-1 = n^2?
Looks good to me.
Proof by induction?
Like this? 1+3+5+...+2k-1 + 2(k+1)-1 = n^2 + 2(k+1)-1
Just a sec...
I am going to write it out and I will post a pic.
What do you think?
very nice!
Have you done number 3?
No. Not sure how to approach it. You?
I tried looking up some info last night. Basically I think each element of set x has as many choices to be mapped to in y as there are elements in y.
X=3 elements, y = 5 elements. so each x will have 5 choices, and there are 3 elements in x.
So in this scenario 5 X 5 X 5 choices. or 5^3
so each x will get m number of choices, and there are n number of x's. So m^n
Are you just making up the 3 and 5?
yes.
Ok. I see
Did you read the book to help with this? It's completely unfamiliar compared to what we've done in class
google search. Not at all like class.
Search for how many functions from x to y.
Did you do 4 already?
Not yet. Trying out 5 first....have you done that one?
All but part D
IS the strategy to never leave an even amount left after first move?
Multiples of 4. But evens would work, too
My c might be wrong. Seems too simple: P(n) = 4n
Nevermind, evens wouldn't work. You would lose if you left 6
Let me check my notes I thought we got part c in class. Yours looks good, but I am not too sure myself how to describe it...
Cant find them...
Assuming it's right, how would we apply induction to it?
Maybe by just showing tat 4(k+1) is also divisible by 4?
that cant be it...
All that takes is writing it down. The 4 is already factored out :p
I think we also need to include a variable that can only be 1,2,or 3 somehow.
I am going to try to look this problem up/.....
I am reading this right now... http://www.cs.cmu.edu/~anupamg/251-notes/games.pdf
Good find
Still havent made sense of it though lol
Do you have your notes? And did we get this part in class/?
I have them, but we only got as far as c; which was also seemingly incomplete.
Well how about one of us repost the question and get some help on it? I am prteyy unsure anout c and d.
Or do you want to mess with the other problem?
I think I'm on track with it. I'll share in a bit and see what you think
Thanks.
Game starts with 4k + (4-m) pennies where m = {1,2,3} Basis: k = 1. P(1) = 4 + (4-m) You take m. -> 4 remain. Opponent takes m -> 4-m remain. You take 4-m and win. Induction: Assume P(k) = 4k + (4-m) is a winning strategy. P(k+1) = 4(k+1) + (4-m) You take m. -> 4(k+1) remain = 4k +4 Opponent takes m. -> 4k + (4-m) = P(k)
Good?
Not really sure. Better than what I got which is nothing.....want to mess with the last one?
4?
yes.
a is P(n) = 2^n -1
from class notes
thanks.
So is b just an if then statement saying in n=5 takes 2^5 -1 moves then n=6 takes 2^6 - 1 moves?
Wow, yeah. I was over-thinking it.
I am not too sure though if he just means for us to translate it...I think that is all I did.
from notes for c: suppose a tower of 5 rings takes 31 moves to solve. Now suppose that our tower has 6 rings. Then the top 5 rings may be moved to the "non-destination" tower in 31 moves. Then the 6th ring can be moved to the "destination" tower in 1 move, and the top 5 may be moved to the "destination" tower in 31 moves. 31+1+31 = 63
ok....
Should that suffice for an answer, or was he just trying to help us think about it?
I think this works and is enough.
Then how that 31+31+1 which is what you described is equal to P(6) which is (2^6) - 1
So part d will be induction and the basis step is proving n=1 -> n=2 ?
That I a not so sure about how to finish.
I think we use Mk= 2^k - 1
number of moves.
\[Basis: n=1: 2^1 -> 2^2 -1\] 1st ring moved to non in 1 move, 2nd ring moved to dest in 1, 1st moved to dest in 1. \[1+1+1 = 3 = 2^2 -2\] \[Induction: n=k: 2^k -> 2^{k+1} -1\]
k rings moved to non in 2^k, 1 ring moved to dest in 1, k rings moved to dest in 2^k
how do we relate 2^k +1+2^k to 2^(k+1) -1?
not sure...
my whole induction part was missing the -1 part of 2^k -1
So \[ Induction: n=k: 2^k -1 -> 2^{k+1} -1\] \[2^{k+1}-1 = 2*2^k -1 = 2^k +2^k -1\] k rings move to non in 2^k -1 1 ring moved to dest in 1 k rings moved to dest in 2^k -1 \[2^k -1 +1 +2^k -1 = 2^k +2^k -1\]
I looked it up online and it seems most are starting from Mn=2^n -1 and proving base case then somehow doing this induction..I a still trying to work it out though....
Gotcha...looks good. I am going to re write some stuff and see what you think of what I am thinking.
I am going to eat some dinner. We can keep messing with number 5 in a bit or we can call it good for now and finish that problem in class?
I'm gonna eat too. I think I'm good with number 5. Part e is "second" btw. Would you be done with the worksheet then?
I gotta get down part c and d....Ill mess with what you wrote earlier (; See you in the morning. Glad we got most of everything worked out fairy quickly.
How far are you with the book work?
I didnt know there was any ??
Crap lol. I swear I checked it yesterday and there was not book work....
Ok, I'm back
k
Have you done bookwork yet?
none
So for 6a would the domain be called N since we only have positive integers we can say natural numbers, and the range would be natural numbers as well?
Oh, yeah. I missed the concept of it. I was getting tripped up on the pairs part, and it's not even really relevant.
b is a little wierder but there is somewhat similiar example in book.
D: natural R: rational?
For b? I think the domain in b is all bit strings, and integers>0
integers great or equal to 0
Join our real-time social learning platform and learn together with your friends!