#discrete-math
1 messages · Page 1 of 1 (latest)
one would think that k-edge-connectedness is a property of a GRAPH, and not of an individual vertex or a pair of vertices.
The textbook I'm using has defined k-edge connectedness for graphs in terms of k-edge connectedness of vertices
ah.
right. that seems to make sense
we say two vertices are k-edge-connected if you can find a path between them in the graph even if some k-1 of its edges are cut
But that does not necessarily translate into the existence of k paths between the aforementioned two vertices, right?
I think it does
i also think it does
iirc mengers theorem says something like that
and there might even be an elementary proof
sort of algorithmic
let our vertices be u and v
find a path, any path, from u to v. call this P_1.
forbid an edge in P_1. there will still exist a different path from u to v. call that P_2.
forbid an edge each in P_1 and P_2, and find a third path P_3 and so on...
just looked up mengers theorem. it says that there are k edge-disjoint paths iff it is k edge connecteds. so even stronger
Right
Then why not just define it as the existence of k paths? Seems like a more straightforward definition to me 😄
Theorem: In every simple graph, there are an even number of
vertices of odd degree.
Proof: The proof is by induction.
Inductive Hypothesis: The inductive hypothesis, P(n), states that in every simple graph with n vertices, there are an even number of vertices of odd degree.
Base Case: The base case, P(1), is trivially true. Since a graph with one vertex has no edges, therefore, it has an even number of (zero) vertices of odd degree.
Inductive Step: Assume that P(n) is true. Now consider a simple graph G = (V, E) with n + 1 vertices and eliminate an arbitrary vertex v (along with the edges incident to v) to obtain G' = (V', E'). Since G' has n vertices, then by P(n), it has an even number of vertices of odd degree. The rest of the argument is by cases:
Case 1: v had zero neighbors.
Then, the addition of v to V' in order to obtain the original graph G, does not affect the degree of any vertices in G', and v has an even degree (zero), so the number of vertices of odd degree in G is still an even number. Therefore, P(n + 1) follows in this case.
Case 2: v had s > 0 neighbors, where s is an odd number.
Then, the addition of v to V', and the addition to E' of the edges incident to v in G, affects the degree of an odd number of vertices. There are now two subcases:
Case 2.1: v had an odd number (2k + 1) of neighbors of odd degree, and an even number (2m) of neighbors of even degree.
Then, since v itself has an odd degree, the addition of v (and the edges incident to it in G) to G', increases the number of vertices of odd degree by (2k + 1) + 1, and decreases the number of vertices of odd degree by 2m. Therefore, the number of vertices of odd degree in G' is changed by 2k + 2 - 2m = 2(k + 1 - m) = 2p, in order to obtain G. Since there was an even number of (2n) vertices of odd degree in G', the number of vertices of odd degree in G is equal to 2(n + p), which is an even number. So P(n + 1) follows in this case.
Case 2.2: v had an even number (2k) of neighbors of odd degree, and an odd number (2m + 1) of neighbors of even degree.
Then, since v itself has an odd degree, the addition of v (and the edges incident to it in G) to G', increases the number of odd vertices by (2k) + 1, and decreases the number of vertices of odd degree by 2m + 1. Therefore, the number of vertices of odd degree in G' is changed by 2k + 1 -2m -1 = 2(k - m) = 2p, in order to obtain G. Since G' had an even number (2n) of vertices of odd degree, therefore, the number of vertices of odd degree in G is equal to 2(n + p), which is an even number. So P(n + 1) follows in this case, as well. This concludes the proof of Case 2.
Case 3: v had s > 0 neighbors, where s is an even number.
Since v had an even number of neighbors, this means that v had an even number (2k) of neighbors of odd degree, and an even number of neighbors (2m) of even degree. Since the degree of v itself is even, the addition of v (and the edges incident to it in G) to G', increases the number of vertices of odd degree by 2k and decreases the number of vertices of odd degree by 2m. This means that the number of vertices of odd degree in G' is changed by 2k - 2m = 2(k - m) = 2p, in order to obtain G. Since G' had an even number (2n) of vertices of odd degree, therefore, the number of vertices of odd degree in G is equal to 2(n + p), which is an even number. Therefore, P(n + 1) follows in this case as well. This concludes the proof of the whole theorem.
This is my proof of the aforementioned theorem. I'd appreciate it if someone can verify the proof.
seems legit but were you required to do it by induction
handshake lemma tho
This was only the first part of a problem, the result of which is then used to prove the handshake lemma.
just to be clear im referring to the formula $\sum_{v \in V} \deg(v) = 2|E|$
Ann
which strikes me as almost self-evident
How does one answer a question like this? " I'm thinking of two natural numbers a and b, i reveal that a * b is a prime number and that a^2+b^2 is also a prime number, can you with certainty guess which numbers** a and b** are?"
I would reason like this, if a*b is a prime then it means that either a or b must be 1 since primes are divisible with either 1 or themselves. So we can let either a or b equal 1, then we can try some values for b or a and see if we can' find a value. So if a = 1, then b could be 2 since 2 is the smallest prime, this leads to 1·2 = 2, which is a prime, but also 1^2+2^2=5 which also is a prime. So the only solution is 1 and 2. Does reasoning make sense? Or is there another way of approaching a problem like this?
right right
You have to justify why if b is prime > 2 then b^2+1 cant be prime to have the unicity
||Look at the parity of b and b^2+1 if b is prime > 2||
im thinking
Sorry for the spoiler
if b is a odd number, then the result would be a even number which is divisible by 2.
if b is a even number, then a · b is not prime but a^2+b^2 would be a prime
for example b = 5, then 5^2+1 = 26, first statement is true but the second one is not true
b = 6, first statement is false but the second statement is true.
so the only solution is 1 and 2
is this reasoning good? 🙂
You just need the first sentence to conclude
If b is even b^2+1 is not necesseraly a prime
For instance 8^2+1=65=13.5
Alright, thanks 🙂
Hi, I tried doing this problem and I came up with the following answer:
Let set A_1 be the set of all prime numbers including 1.
Let every subsequent set A_n be the set of the multiples of the nth element in A_1 excluding elements which have appeared in previous sets.
Is it correct? I feel as though it might be a bit wrong or cheat-y--
(P.S.: Sorry if I posted this under the wrong subchannel;;;)
should work
they are disjoint by construction, you only need to convince yourself that every set is infinite
and that every natural number appears in one
I see, thank you!
you should do this if you think its wrong
not sure why you think its cheat-y
this is more or less the same idea i would've come up with immediately
oh, it just felt weird to just say that one should exclude elements which have already been mentioned in previous ones-- felt as if there was a more-- non-self-referential solution, should I say?
oh ok
well, its fine
but it makes it harder maybe to verify that each set is infinite
obviously there are infinitely many multiples of p
but you now also have to show that there are infinitely many multiples of p that arent multiples of some q_1, ..., q_k
thanks for the tip!
True, but that sum was not used in the proof.
I mean, not explicitly, at least
yeah but you could've used it. and the proof would've become much less of a hassle that way
Hmm would you please write the overall sketch of the proof idea you have in mind?
the parity of \sum_{v \in V} deg(v) depends only on how many odd-degree vertices there are
if there are an odd number of such vertices, then the sum is odd; if there are even number of such vertices, then the sum is even
but since the sum is equal to 2|E|, it is even
Fair
When people say these 2 compound propositions are logically equivalent, do they simply mean they have the same truth value?
E.g.
(¬P ∨ R) ∧ (¬Q ∨ R) =
[Truth value TTTF ]
(P -> R)∧ (Q -> R)
[also has truth value TTTF ]
Yeah
Another way is to say that A <-> B is valid (where A is one of the propositions and B is the other)
That can only be valid if the two propositions get the same truth value all the time
Thanks
IDK why it took me so long to understand Logical Equivalence.
It's ok, understanding math properly can (and often will) take time, as I am experiencing it too.
But it's a really good feeling when you grasp things or discover things for yourself.
Yeah, especially when few days ago you couldn't even wrap your head around it.
Theorem: In every tree, there is a unique path between every pair of vertices.
Proof: The proof is by induction on the number of vertices.
Inductive Hypothesis: The inductive hypothesis, P(n), states that in every tree with n vertices, there is a unique path between every pair of vertices.
Base Case: Since trees must be connected and acyclic, then the base case is P(1). The base case is trivially true, since it only consists of one vertex v, which is connected to itself by a unique path of zero length, by definition.
Inductive Step: Assume that P(n) is true for some n > 1. Consider a tree T with n + 1 vertices. Remove a leaf node e from T, along with the edge incident to e, to obtain the tree T'. Since T' has n vertices, then by the inductive hypothesis, there is a unique path between every pair of vertices in T'. Assume that the node adjacent to e in T is d. Now, add node e and edge {d, e} to T', in order to obtain T. The only thing left to show is that there is a unique path between e and every other node in T, since there is a unique path between every other pair of nodes, by the inductive hypothesis. Since d and e are adjacent by a single edge, there is a unique path between d and e. For every other vertex v in T, since there is a unique path between v and d, by the inductive hypothesis, and since there is a unique path between d and e, therefore, there is a unique path between v and e. This concludes the inductive step. Therefore, the theorem follows by induction.
Is this proof of mine correct?
the last step could be UM ACKSHUALLY'd along the lines of "this shows that there exists a unique path from v to e passing through d, not that there exists a unique path from v to e. why does every path from v to e have to go through d?"
Yeah I agree
Maybe I could write "Since e is only adjacent to d (by the definition of e being a leaf), then the path from any vertex v to e must contain the vertex d."?
And the rest would just follow
To be really detailed, this last claim can also be argued by contradiction. Though I guess the claim itself clear enough and perhaps doesn't need that much detail?
"How many 3-digit hexadecimals start with a letter (A-F) or end with a numeral (0-9) (or both)? Explain".
We can divide the Hexidecimal set into three:
H = {0,1,...,9,A,...,F}
N = {0,...,9}
L = {A,..,F}
We then create the two aggregate sets for 3-digit hex starting with a letter and 3-digit hex ending with a numeral:
|3L| = |LXHXH| = 6 * 16^2
|3N| =|H-1XHXN| = 10 * 15^2
In 3N we have to remember that if the first digit is 0 it is insignificant, i.g 052 = 52.
I interpret the question asking us for
|3LU3N| = |3L|+|3N| - |intersection(3L,3N)|
For the sake of writing it easier, I rewrite and rename:
|intersection(3L,3N)| = M.
|3L|+|3N| = 16^2 * 6 + 15 * 16 * 10
|3LU3N| = 16^3 - M
Now M must then be all those 3-digit hexes that start with a letter and end with a digit, so
M = |LXHXN| = 6 * 16 * 10
Meaning
|3LU3N| = 16^2 * 6 + 15 * 16 * 10 - 960
But this is the wrong answer?
Looks right to me
What’s it saying the right answer is?
Nothing, it just says mine is wrong, lol
3136 right?
Yeah
Maybe the problem is asking for starting with a letter or ending with a numeral but not both
That's typically how the word "or" is used in English
only thing I can think of
unless ofc it explicitly says "or both"
Your logic looks right to me
Try reading the question again, if you haven't noticed (or both)
Oh so it explicitly says that
I see
I thought the words in parentheses were your annotation to the problem 
I am also laughing, because this is indeed something I would do. But in this case, it is just copy + paste.
So, my logic still holds right?
Yeah it holds
maybe for the ending with the numeral case the number of possibilities is 15 * 16 * 10
15 in the front because we exclude 0. that would be a leading 0
so it would be a 2-digit hex instead of 3
try it with 15 * 16 * 10 for |3N|
What?
I doth noteth followeth thine logic
But 151610 + 16^2*6 - 960
Suppose I were to ask you for a 3-digit decimal number. And you gave me 056
056 = 56
See what I mean?
Oh no
I'm applying that same logic to hex
Also be careful with how you're using *
You are italicizing a lot of stuff lol
2976, right?
yes
It was not the right answer.
Don't think so
Bruh, it might just be broken 
Probably
Oh no sh1t you're right
Yeah
2976 was right?
ah okay
wait
No... Nvm
THe other two sets do not contain 0 at the beginning.
I'm gonna be honest, I don't even know how the "divide" symbol works anymore.
But I suppose it is
8/2 * 4
Could you write single words into one message? I am trying to get help with my own question, and this is sending it wayyy back in teh chat.
Which is here: #discrete-math message
Thanks 🙂
@shadow grove edit your message btw to make spaces in between the *
it's hard to read
E.g. Here it looks like it is $(1016)^{2}$ while it actually is $10 \cdot 16^{2}$
ALPH2H
Alright done
Hello, I need help finding the closed form of a sequence.
1,7,15,25,37,51
How would I go about that?
No lol
what
He was using that as an example
what 3
This is wrong
yeah my bad, that was an exmaple. I wasn't saying that was the answer
in the scenario of this question a_1 = 1
Huh
the question on my hw does not give me a_0
it just gives me a_1
i think im supposed to use polynomial fitting
yah me too
Cool beans
but in the question I am being asked. it just gives me 1,7,15,25,37,51 and says a_1 is 1. Find the closed form
ive always had a_0 so im lost 😦
Honestly there probably should be a 3 in between 1 And 7
Otherwise that would be a super tough problme
yeah i find it annoying
Note that the sequence of differences in between the terms is arithmetic 6, 8, 10, 12...
I found that the difference is 6,8,10,12
so the second difference is 2,2,2,2
oh lol nice @unique abyss
a_n=a_n-1+2
Just say that
a_n-a_n-1=2 so it shows difference is 2
But not including the 3 as the 2nd term is probably a mistake
Unless it's a very hard math sequence
if the 3 was there then the arithmetic sequence wouldn't be there would it ?
It wouldn't be existing wym?
Do you know what that tells you in the context of polynomial fitting?
I do not
new to polynomial fitting, only learned it in lecture last class
It tells you the closed-form formula is quadratic
a_n = an^2+bn+C
because it is an arithmetic sequence and I am using polynomial fitting
oh i see what you're doing, you're going through n=1, n=2,n=3
Best approximattion
im there rn, how do i solve for a_n? that's the tough part
I knew something was t right when I saw the 3 missing..I was like it's probably going to be some sort of approximated sequence
Ok
To solve for a_n
You have to find a b and C
You have 3 equations and 3 unknows
You can do it I believe you can
Yes ok goodluck
Last time I felt like someone tried to kick me out of here because I was giving answer jajaja
usually when I solve equations like this, i have a_0 and that one gives me C
so then all i would have to solve for is A and B
Ignore the a_0
That's my notation
Let's instead do a_1
For the sake of your classs
a+b+c = 7
Let us know how it goes
7*
oops typo
I solved for C in all 3 equations and now
I have hit a wall
there is still A and B in all 3 equations
wtf
Yes
If you have 3 unknows
You need 3 equations to solve all of them
So you have enough equations
You can do it I know you can your pfp is the probably the strongest in their anime
You should be able to do it with the power of anime
[Entering flashbacks of all the training I've done]
im going to use the augment strat
Huh
How do I compute $$\sum_{n_1+...+n_k = n} \binom{n}{n_1, ..., n_k}^2$$
Blitz
First define n_1,n_2,...n_k ? Do you mean to multiply them?
they are using the multinomial coefficients
VincentBH
Not sure there’s a closed form:
https://mathoverflow.net/questions/407305/sum-of-squares-of-multinomial-coefficients
If this does not interrupt the current chat, can I ask for a verification of my solution to a problem?
Fair 😄
This is my solution to this problem:
(a) Consider two sets L and R, where R is the set of so-called eligible clubs and L is the set of students who are members of those clubs. Define the graph G = (V, E) where V = L U R and E is the set of all edges {u, v} such that u is in set L, v is in set R, and the student represented by vertex u is a member of the club represented by vertex v. Since no two vertices in L are adjacent, and no two vertices in R are adjacent, then the graph G is bipartite by definition. The problem now consists of finding a matching M in G such that every vertex in R is incident to an edge in M.
(b) Since no student is a member of more than 9 clubs, and since $\sum_{v \in L} deg(v) = |E|$, therefore $|E| \leq 9|L|$. Similarly, since for each club to be eligible, that club must have at least 13 members, then $|E| \geq 13|R|$.
alijfri99
Therefore, $13|R| \leq |E| \leq 9|L|$. It follows that $|L| > |R|$.
alijfri99
Since there are more members in eligible clubs than there are eligible clubs, therefore, the matching formulated in part (a) exists.
Is this solution correct? Especially, is this much detail enough for part (b)?
I guess that last bit could probably be followed by an inductive argument, not sure if it's necessary though.
Oh. Thanks. I've started to think I'm missing something obvious here
I think I've found recursive formula for even n and k = 4
Hi, I’m taking discrete math for computer science this upcoming semester. Any tips or resources that can help me prepare? A lot of people have told me this is one of the hardest math classes because it’s “different” from typical math
its still best to just practice practice practice. also if your lecturer sucks find a youtuber that works for you and watch their stuff as well, I like TrevTutor on yt
weird they say that, usually people find it the easiest of the engineering math courses
Schaum's outlines: discrete math
@coral parcel
Don't randomly ping people, please.
just wanted to say hi
that doesnt justify pinging random ppl
Discrete Math and its Applications by Kenneth Rosen is a pretty good discrete textbook.
The "Mathematics for Computer Science" course by MIT is also pretty good. I'm currently going through it too and I really like it. You can access their assignments and exams, as well.
<@&286206848099549185> looking for a few 1hour private sessions up until my august 13th final, Discrete Maths 1... PM me if any credible tutors are available
I got a different answer
5*4*8*7*26^2=757120
oh wait nvm I see it
it is 26x25
is the author wrong here? I am pretty sure A is the correct option. even his explanation at bottom doesn't make sense.
Negation Of Propositions - Chapter 1
Yeah I think the author is wrong here
Define predicate P(x) as 'x is present today'
The original statement is saying that ~P(Bill) ^ ~P(Rob)
therefore, negating it results in P(Bill) or P(Rob), which is what choice A is saying.
Hey so what are the edges and leaves in a tree graph?
This is probably the most silly question
The edges are the same thing as in any other graph : links between two vertices
So like if it’s A-B-C does this mean there are 2 leaves and 1 edges?
Where A and C are leaves and B is an edge
You're mixing up edges and nodes
The edges in bold : A**->B->**C
The nodes in bold : A->B->C (i'll get back to this)
Trees are usually seen as a directed graph meaning that links between two vertices have a direction : every vertex has arrows pointed towards each of its vertices
Like so
As you can see, the root has no arrow pointing to it
no
Leaves are then just the vertices that don't have children
The bottom 4, in the example I gave
(I had to make the graph directed, otherwise you could also go up the tree instead of just down)
Edges : the arrows
Nodes : vertices that have children
Leaves : vertices that don't have children
Root : the vertex that doesn't have a parent
So the children start from top?
Because if the bottom four are roots with no parents then are they childrens on top?
Why would the bottom four be roots?
Indeed
Bottom 4 are the leaves?
yeah
(i should mention that parents pointing towards their children is just a convention, and you might see it reversed sometimes)
Yes
A tree with at most two children per any given node is called a binary tree.
But there are other kinds of trees besides binary trees ofc
Just to make sure with my understand, is this a tree with 5 edges and 3 leaves?
Oh right
yes you got it
Yay
Also one more q
Is eulerian walk basically drawing the graph with one stroke?
That's an intuitive way of thinking about it yeah
To find an isomorphism between two graphs. Do they need to have same number of vertices?
Ummm nice pfp?
Yes
A graph isomorphism is just a bijective function between the vertices, with some additional properties
For there to be a bijection between the vertices, they must be equal in number
@quick pebble alright
isn't it just, any difference in the original array is the sum of differences in the sorted array
therefore the sorted array must also have bounded difference
am I missing something here
Bounded by the same number
yes since the max difference of the sorted array must be smaller than the max difference of the original array
And it can go up or down (trying to contribute)
right, but we care about is the absolute value right
[1,3,2] -> [1,2,3] then you can see that 2-1 + 3-2 = 3-1
Discovery process
filtered a Cartesian product of sets with themselves and was showing my grandma and saw that for all sequences, the sorted sequence also obeyed the bounding and went "well shit"
At least now I can look at combinations instead of Cartesian sets, but I won't get all such orderings of a multiset that obey the bounded difference
thus each difference in the sorted array is bounded by a difference in the original array
and we're done
Syst3ms
writing this formally is fairly straightforward, as long as you know about telescoping sums
it's just a matter of using indices and permutations of indices rather than explicit numbers
I do not, but is this result noot not worthy because of how simple it looks to prove? NGL a lot of other sequence types get their own term lol
It sounds like the kind of problem where it becomes very annoying once you try to write it formally, even though it's plainly obvious intuitively
Oh yeah
If the n+1-th element should be ordered somewhere else, that can only reduce (or leave unchanged) the difference between consecutive numbers
A different problem is to find the sequence of a multiset that is bounded to a difference but has a centered sort. So it goes down to a minimum then back up.
So like [1 2 2 3 4 4 5] has a few orderings, but this one is symmetric about center
[4 3 2 1 2 4 5]
Edit: This is more like an algorithm than math so maybe wrong place
OK friends, off to take a shower, but I hope the questions got you interested
It is really intuitive, yet I was also incredibly suspicious of my intuition. I thought for sure the differences would want to be spread out.
Need help with (c) already completed a,b lmk @ me if you want to help ty ty
@plucky island @craggy flax Hey guys, I've been playing around with this and I think that I found another solution that can turn the floor function into an inequality which is easier to work with
If $\lfloor \frac{n}{2} \rfloor = b$, Then $ n \geq 2b$
ALPH2H
And if $\lfloor \frac{2n}{3} \rfloor = c$, then $ n \geq \frac{3}{2}c$
ALPH2H
This gives us a lower-bound for n. We’ll use this later on
I’ll pick off from where you guys applied the induction hypothesis
$a_{k+1}>4{\lfloor\frac{k+1}{2}\rfloor}+4\lfloor\frac{2(k+1)}{3}\rfloor+(k+1)$
ALPH2H
Let’s define $\lfloor \frac{k+1}{2} \rfloor$ as p and $\lfloor \frac{2(k+1)}{3} \rfloor$ as q. Let’s rewrite the above with this substitution
ALPH2H
$a_{k+1} > 4p + 4q + (k + 1)$
ALPH2H
Now we know $k+1 \geq 2p$ and $k + 1 \geq \frac{3}{2}q$ because of this.
ALPH2H
ALPH2H
$a_{k+1} > 4p + 4q + (k + 1) = 2(2p) + \frac{8}{3}(\frac{3}{2}q) + (k+1)$
ALPH2H
Now applying this
$a_{k+1} > 4p + 4q + (k + 1) = 2(k+1) + \frac{8}{3}(k+1) + (k+1) = \ \frac{17}{3}(k+1)$
ALPH2H
And: $\frac{17}{3}(k+1) > 4(k+1)$
ALPH2H
Now what about cases where k+1 is not at its absolute lowest
Well if it’s true for the lower-bound of k+1, the inequality should hold for cases where $k+1 > 2p$ and $k+1 = \frac{3}{2}q$
ALPH2H
Or if $k+1 = 2p$ and $k+1 > \frac{3}{2}q$
ALPH2H
Just mapped this out in my head so there may be some mistakes
Huh yeah this looks great clever change for the floor function
This is pretty hand-wavy 
Yeah I’m not sure I entirely understand the last half and the assumptions but the floor function replacement seems intuitive and clever
Does the fact that k>4 help with anything ?
That was used in the base-case/inductive hypothesis step
the idea behind the assumptions is that once we get here:
$2(2p) + \frac{8}{3}(\frac{3}{2}q) + (k+1)$
ALPH2H
Oh I can actually bring in @craggy flax 's proof
$k + 1 = 2p = \frac{3}{2}q$ if k+1 is a multiple of 6
ALPH2H
Well it’s definitely interesting to see multiple ways
Pretty sure you could proceed with a proof by cases
so I proved when $k+1 = 2p = \frac{3}{2}q$
ALPH2H
next you'd do $k+1 > 2p$ and $k+1 = \frac{3}{2}q$
ALPH2H
and then $k+1 = 2p$ and $k+1 > \frac{3}{2}q$
ALPH2H
I don't know if the last case is possbile
this one $k+1 > 2p$ and $k+1 > \frac{3}{2}q$
ALPH2H
I don’t believe it is
Hi, this is an interesting alternative you have. I like this substitution step you are doing
I have a slight issue tho, maybe you check this
I agree that
$k+1 \geq 2p$
Social Capital Gainer
However my issue is that in the inequality
$a_{k+1}>4{\lfloor\frac{k+1}{2}\rfloor}+4\lfloor\frac{2(k+1)}{3}\rfloor+(k+1)$
Social Capital Gainer
We can only construct lower or equal numbers to the right hand side
Since k+1 is bigger than or equal to 2p, then the right hand side of
$a_{k+1} > 2(k+1) + \frac{8}{3}(k+1) + (k+1)$
Social Capital Gainer
Social Capital Gainer
Social Capital Gainer
As we cannot justify that assumption
Instead I will add on a little bit to what you wrote initially
If
,,\lfloor x \rfloor =p
Social Capital Gainer
Social Capital Gainer
We now use the other inequality, the one that lets us construct a smaller number than p
Therefore
,,\left\lfloor \frac{k+1}{2} \right\rfloor =p
Social Capital Gainer
Social Capital Gainer
Social Capital Gainer
From this point, the proof actually goes in the same way as the second part of what we discussed yesterday
@unique abyss do let me know what you think if you get a chance to look at this, thanks
I think what you're saying works yeah
My idea was that if we've proven that $4p + 4q + (k+1) > 4(k+1)$ is true in the lowest case, then $2(k+1) + \frac{8}{3}(k+1) + (k+1) > 4p + 4q + (k+1) > 4(k+1)$
ALPH2H
with the $4p + 4q + (k+1)$ in the middle being the low-bound of k+1
ALPH2H
and yes, I agree with this
I think proof by cases could work
#discrete-math message so basically proving these two cases, as I've proved the low-bound case
couldn't you also say that if the inequality holds when $p = \frac{k + 1}{2} - 1$ then the inequality holds when $p > \frac{k+1}{2} - 1$
ALPH2H
It holds if p is at an impossible low-bound, so it should hold when p is greater than that for this case
hand-wavy ik 😂
I like your method as well btw
The underpinning idea is that you can write all positive integers $\geq 3$ in the form $6(q) + r$
ALPH2H
and the reason to pick 6 is that it guarantees a integer coefficient for $q$ after going through the fractions and floor
ALPH2H
I can't help but think that there's a simpler way then what both of us proposed as @plucky island said this was an intro course
For this problem actually the step from 4(7k/6)+(k+1) which works into 4(k+1) it’s only true for k>4 I’ve calculated I think it’s 3.7> makes it > 4(k+1) is thag a problem because we state n>3
Yeah
That uses the same principle as what I’m doing
Converting the floor to an inequality
For the above example actually is it fine that 4(7k-5/6)+(k+1) has to be greater than 4 for it to be > 4(k+1) as we state it is for all integers >3 ? Or because we prove the base case it’s fine?
Both
It’s used in the base case
And In the last step
I think another prove or at least some justification should be provided as to why (7k -5 / 6) Is greater than 3/4(K +1)
For this question, I just need a hint on how to get started on the proof. Since it's a direct proof, I assumed that 0<a<x and 0<b<y but I'm just stuck on what to do after that step
I have a feeling it has to do with some sort of order and multiplication axiom but I don't know how to apply them in this proposition
you'll need some properties of < or the definition of < given in your class
would transitivity work in this case or is it a different property that is used?
because here x isnt compared to y thats the problem
Okay okay
transitivity alone is not enough
you need to have some property at hand that says how ordering interacts with multiplication
and it really depends on how R was constructed in your class and whether, for example, a < b => a+c < b+c is part of the definition of <, or a theorem
What is a "set of sequences"? I've seen sequences of sets, sure, but I think I'm confusing myself with sets of sequences. does anyone have an example/explanation?
Is it just a set A={a,b,c,d,...} where a,b,c,d,... are all sequences?
yeah 👍
When you see “set of sequences” you think in your head “set made up of sequences”
I have a question about Coxeter diagrams
can you represent any graph with them or only those that represent vertex figures of uniform polytopes?
if (n+1)^2 is odd, then n is even. I am trying to prove this directly. for a number to be odd, it can be 2n+1 . for it to be even, it can be 2n.
can an ambiguous grammar G have a regular expression for L(G) - the language derived from the grammar?
im not just copy pasting a hw question in btw, im actually curious, a question is asking me to give a regular expression for L(G) but an earlier question allowed me to discover G was ambiguous
just say only odd times odd is odd
then n is even
?
cases: either m is even or odd. m^2 similarly even or odd. their parity is the same.
since (2p+1)^2 = 4p^2+4p+1 = 2(2p^2+2p)+1 = 2q+1 is odd
etc
hello
Could anyone consider this statement as a set The collection of ten most worst singers of USA ?
isnt this based on opinion?
does that matter 
depends on if its an attempt at a gotcha or not i guess
if its opinion based its not clearly defined
just like uhh
the 10 coolest numbers
If your grammar G has only the following productions: S->aS, S->aaS, S->epsilon then L(G)=a^* but G is also ambiguous because there are two different leftmost derivations of the string aa.
yes the conditions are not satisfied adjective is miissing??
idk wym, i would say it depends on the context of the question
a common thing in proofs/discrete math afaik is asking students whether something is a statement or not
and then opinions are a gotcha since they lack falsifiability
well idk thats not really relevant
ok
but a sentiment carries
do you see the problem
like the 10 shortest songs
very clear, time doesnt have ambiguity
idk 
its not clear how the set is being constructed so its hard to say
oh i see, the grammar they've given is a bit more complex, but its good to know that regular expressions of ambiguous grammars exist, now I just gotta figure it out 😭 cheers for the explanation!
Also i believe there are many ways to express a set in set builder form.
For example, {5, 10, 15, 20 } Can be expressed as A ={ x:x is a sequence of addition of 5 and 5 <= x <= 20 }
or A = {x:x = 5n, n ∈ N and 1<=n<=4 }
which is more intuitive and expressive ?
the latter, but you've got some style issues
taking the x in x = 5n and gluing it to the x: at the beginning looks odd
however, if you replace "sequence of addition" with "multiple" (and fix the issue i mentioned) then both become equally intuitive/expressive ways of talking about the same set
so {x : 5 ≤ x ≤ 20 and x is a multiple of 5}
and {x : x = 5n, where n ∈ N and 1 ≤ n ≤ 4}
can you say that again but with less word salad?
okay thanks, i understand your point. And it's appreciatable.
Im having trouble figuring out if a or b are even or odd, can someone give me a tip/hint?
nevermind the question was worded badly
@digital latch I think I may have an explanation for that problem you posted a day or so ago
I can post if it might be useful
The only workable way I could find is this. This has two parts, the second uses strong induction and I have slight doubts about it which I'll explain after I show you
In fact i got this in the end of a long proof by induction too
Oh ok, can I ask how you did it roughly, just an outline
We may have the same way is what I'm thinking
oh no I mean that I was on a proof by induction and for it to be true this equality had to be true
Ah I see
,,\displaystyle\sum_{j=0}^{i-1} (-1)^j \binom{i}{j} (n-(j+1))^{i-1} \stackrel{?}{=} (i+1-n)^{i-1}
Anoma
Just out of curiosity, what was that problem
Just for fun, the probability distribution of the coupon's collector problem
Haven't heard of that distribution
There is this sequence, and the distribution, according to my results, is $$S_{n-1}(k-1) $$
Anoma
Hhmmm, that's interesting, will need to look at it closer tbh. Anyways, I'll show you what I did, and you can judge how you feel about it
So if we evaluate the sum you have stated up to i instead of i-1, the final term will be
,,(-1)^i\binom{i}{i}(n-(i+1))^{i-1}
Social Capital Gainer
Social Capital Gainer
Social Capital Gainer
Notice that this is the negative of what the sum up to i-1 is supposed to be
Therefore what we want to show is
Hoooo i see
,,\sum_{j=0}^{i} (-1)^j \binom{i}{j} (n-(j+1))^{i-1} \stackrel{?}{=} 0
Social Capital Gainer
And this will imply the result we want
Now using binomial expansion on the bracket in the sum, we get
,,\sum_{j=0}^{i} (-1)^j \binom{i}{j} \sum_{k=0}^{i-1} \binom{i-1}{k} n^{i-1-k} (-(j+1))^k
Social Capital Gainer
Or
,,\sum_{j=0}^{i} (-1)^j \binom{i}{j} \sum_{k=0}^{i-1} \binom{i-1}{k} n^{i-1-k}(-1)^k (j+1)^k
Social Capital Gainer
Now the principle here will be, for this to equal 0 for all n, we need to consider this as a polynomial in n and each of its coefficients need to be 0
To obtain a polynomial in n, we will swap the order of summation
,,\sum_{k=0}^{i-1} (-1)^k \binom{i-1}{k} n^{i-1-k}\left(\sum_{j=0}^{i-1} \binom{i}{j} (-1)^j (j+1)^k\right)
Social Capital Gainer
The coeficient of n is comprised of several pieces
However the only piece which can equal 0 is in the brackets so we will focus on that
Specifically, we need to prove that
,,\sum_{j=0}^{i-1} \binom{i}{j} (-1)^j (j+1)^k =0
Social Capital Gainer
I see for the moment, you have very nice little tips that I didn't have at all, I'm learning a lot thank you
For all k that are in the range 0<=k<=i-1
No problem at all! Glad it's useful
So to prove this we will need stong induction on k
However, in doing so, the upper limit of the sum advances by 1
Since k is limited by he value of i
Still not sure how to feel about this but here it is
Begin with the k=0 case
We need to prove that
,,\sum_{j=0}^{i-1} \binom{i}{j} (-1)^j =0
Social Capital Gainer
Social Capital Gainer
That is exactly that sum
Yes I see that it's almost trivial
And it is clearly equal to 0 and true for all i
Now we will consider the case for K and prove K+1, but we will assume the K case to be true for all i just as the K=0 case
We will prove these summed up to i, but let's briefly consider the sum up to i-1
Sorry, I have made a mistake above
I forgot to swap the upper limits on the sums
We want to prove
,,\sum_{j=0}^{i} \binom{i}{j} (-1)^j (j+1)^k
Social Capital Gainer
as long as i understand everything is fine
Since we have assumed this for all i, consider the sum up to i-1
,,\sum_{j=0}^{i-1} \binom{i}{j} (-1)^j (j+1)^k=0
Social Capital Gainer
Writing the binomial coefficient in full
,,\sum_{j=0}^{i-1} \frac{(i-1)!}{j!(i-1-j)!} (-1)^j (j+1)^k=0
Social Capital Gainer
That should be an i-1 in the binomial above
Not i
Because we only go up to i-1 in the sum
Yes ok
Social Capital Gainer
Social Capital Gainer
I put in an extra (j+1) on the top and divided it off again so that I don't change anything
The division by j+1 was put with j! to make (j+1)!
Is that ok?
Yes it's ok, so we have nCr(i, j+1)
Social Capital Gainer
Now we make the substitution j'=j+1
Multiply both sides by -1 first
,,\sum_{j=0}^{i-1} \binom{i}{j+1} (-1)^{j+1} (j+1)^{k+1}=0
Social Capital Gainer
Social Capital Gainer
Is that ok?
Yes
So if we start the sum at j'=0, we don't change anything
Since that term wil be 0
,,\sum_{j'=0}^{i} \binom{i}{j'} (-1)^{j'} j'^{k+1}=0
Social Capital Gainer
But j' is just a dummy summation variable, so I can relabel it back to j
I've just never seen strong induction before I think that's what I was missing so I'll probably re-read all of this later to fully understand everything, but everything that is calculus it's fine
,,\sum_{j=0}^{i} \binom{i}{j} (-1)^{j} j^{k+1}=0
Social Capital Gainer
Strong induction just means you assume all cases upto and including k are true instead of just the k case
So you can use all of them
As we are about to do
Ok i think i see
So because we assume all cases up to and including k are true, then in addition to the above sum
I have all of these to use
,,\sum_{j=0}^{i} \binom{i}{j} (-1)^{j} j^{l}=0
Social Capital Gainer
Ok ?
Now multiply the above like this
,,\sum_{j=0}^{i} \binom{i}{j} (-1)^{j} \binom{k+1}{l} j^{l} 1^{k+1-l} =0
Social Capital Gainer
I can do that because it is equal to 0 and the pieces I added do not depend on j
Now remember that I have lots of those equations, L can go from 0 to k+1
I will now add them all up
,,\sum_{l=0}^{k+1}\sum_{j=0}^{i} \binom{i}{j} (-1)^{j} \binom{k+1}{l} j^{l} 1^{k+1-l} =0
Anoma
equal 0
Social Capital Gainer
Yep, we are just about to
Now rearrange the sums a bit
,,\sum_{j=0}^{i} \binom{i}{j} (-1)^{j} \sum_{l=0}^{k+1}\binom{k+1}{l} j^{l} 1^{k+1-l} =0
Social Capital Gainer
Notice that the second sum is just (j+1)^(k+1)
,,\sum_{j=0}^{i} \binom{i}{j} (-1)^{j} (j+1)^{k+1}=0
Social Capital Gainer
I learned a lot thank you very much
I will still have to read again to fully understand the goal with the strong induction (and check if this is right), i tried a a lot of things and each time i was stuck after using binomial expansion in the sum because I didn't think about induction at all
Oke sure no problem
I mean I tried a bunch of other tricks, and honestly there might be an easier way but I can't spot it atm
I definitely think you need to go to the first part tho, just because of how neatly it fits in
But proving the second part, who knows there might be another
Way
Using some polynomial maybe with specifically chosen roots, I dunno
By first part I mean
,,\sum_{j=0}^{i} (-1)^j \binom{i}{j} (n-(j+1))^{i-1} \stackrel{?}{=} 0
Social Capital Gainer
Ok yes the goal is always to find the zero polynomial
Something like that I guess
But yeah, that's all I've got really
Thanks for posting that problem, it was very interesting
Btw, let me know if you would like me to elaborate on anything
I was a bit quick with how I brought L in I feel
I'm going to sleep now but as soon as I work on it again I won't hesitate !
Ok, no problem, good night too!
For 2b, are all of the following valid answers:
- aa
- bbaa
- (ab)*
- (bb)*
- aa(ba)*bbab
- (aa(ab)*)*
Yep, okay, thought so. Would ((ab)|(ba)|(aa)|(bb))* be a valid answer then?
With the extensional definition being something like: {E (empty str), ab, ba, aa, bb, abba, abaa, abbb, baab, baba, baaa, babb, aaab, aaba, aaaa, aabb, bbab, bbba, bbaa, bbbb, ...}
theyre not polynomials, but you have to show that the zeroes of these exponential functions are the integers:
ok so there is no way to have some sort of telescopic sum, everything has to be zero ?
umm.. i dont know about that, i just found it interesting that the zeroes of these polynomial-likes are integers :p
this is what i don't understand. how do we know that THIS sum is zero? it seems different than what we assume to be zero from induction..
ahh there is an edit later, i didnt see
What could be the roster form of this expression A = { x:x is an integer, -1/2 <x<9/2 }
well, what are the integers which fall between -1/2 and 9/2 on the number line?
Is there a good reason to ever use master theorem? Like I feel like I would rather unravel the reccurence and find the solution that way instead of memorizing a weird and unintuitive list of conditions.
For simple recurrences, unraveling the recurrence may be all you need, but as they get more complex, the master theorem provides a easy to apply formula
Consider a problem with 10 subproblems
that would take some time to unravel
ultimately, it is a generalization for many different common recurrences and generalizations are always of interest in mathematics
Does master theorem even work in that case
I thought master theorem became useless as you soon as you have more than one subproblem
Yes it does
The requirement is that the number of sub-problems remains constant
Can you give an example of what you mean?
Take Merge sort for instance
It divides an array of size n into two arrays of size $\frac{n}{2}$ and then proceeds with recursive calls on both of those smaller arrays. Hence it has two sub-problems
ALPH2H
Well I can solve the merge sort reccurence without master theorem pretty easily
Yeah You can solve it with master theorem easily as well
T(n)=2*T(n/2)+\theta(n)
So T(n)=theta(n+2*(n/2)+...2^k(n/2^k))=theta(n log n)
Well handwaving a bit but it is not to fill in the details at all
If I were to use master theorem,I have to look up the weird conditions think about them for a couple minutes
And then somehow convince myself that is better than what I just did here
How about maximum sub array problem
Well there's a O(n) algorithm so why even bother with D&C
Which conditions are weird?
Tell me you think this is not weird
I just don't see the point of memorizing a bunch of results when the results can be derived very easily
Yeah you can use Kadane’s but it’s nontrivial (most people are not able to come up with it themselves)
And my example is just to illustrate a case where it may be useful
Ok so we are going with
T(n)=2T(n/2)+(n/2)?
You’re right that the results can be derived easily for these problems we are discussing
But that doesn’t mean that manual unraveling will always work well
Well what does that look like
Each with say size 1/1000
So T(n)=1000T(n/1000)+f(n)?
No the a term will be 10
T(n)=10T(n/1000)+f(n)?
Now try to manually unravel
Well you get
f(n)+10 f(n/1000) + 100 f(n/1000^2)...
Which doesn't seem very different from the cases we did earlier
Just substitute a f,bound by a appropriate function and you have your thetha or O bound
This answer is a series
Which is typically not useful
It’s like saying the Sieve of Erasthosnes time complexity is O(sum of reciprocal of the primes * n)
Sum of reciprocal of the primes diverges
But it grows on the order log(log(n))
Hence the time complexity is O(n * log(log(n)))
In this form, the answer has less meaning
An even better example would when the subproblems have different sizes (technically you’d need Akra-bazzi) but much of the master theorem is included in Akra-Bazzi
I found the answer here https://math.stackexchange.com/questions/4247900/prove-the-roots-of-these-exponential-functions-are-integers
I am having trouble understanding this answer
if I plug f(g)(x)
I get x2 + 2x + 4
I must be missing something weird here
that's incorrect, $f(g(x)) = (x+2)^2 + 1 = x^2 + 4x + 4 + 1 = x^2 + 4x + 5$
Transparent_Elemental
man my algebra is messed up...
what is really confusing me is the g(f(x)) - because if I plugin X^2 +1 for X then I get: (X^2+1)+2 right? - so I am just getting X^2+3 - like how are they doing the g(f(x)) ?
yes, and probably should move it to like #prealg-and-algebra
Well these are the only ones like this, the entire course is discrete math but the last math course I did was Cal over a decade ago, so I remember most things but a couple of these kinda trip me up a little bit. like I realized my mistake immediately, but on the g(f(x)) I am wondering what they're actually doing because plugging in f(x) in place of g is not seeming to getting me there
nvm the answer is zero so I had it right, the qeustion is just set up really stupid
So notice that if you have a sequence of length $n-1$, you can add black or white to it to get to a valid sequence of length n. (So to get a sequence of length n which doesn’t end in orange, you have $2a_{n-1}$ choices)
To get a sequence of length n which ends in orange, the color before it must not be orange so you take any sequence of length $n-2$, add a black or white square and and then add an orange square. So there are $2a_{n-2}$ choices for this.
So you should have:
[ a_n = 2a_{n-1} + 2a_{n-2} ]
And notice:
\begin{align*}
a_0&=1 & \text{(the empty sequence)} \
a_1&=3 \
a_2&=8 \
a_3&=3^3 - 4 - 1 = 22 & \text{($3^3$ total sequences, then 4 sequences with two orange and 1 with three consecutive orange)}
\end{align*}
Thank you so much ! I understand better now

does anybody have any idea where I should start? This is my second time taking discrete mathematics and it is still not making any sense
hint: sum of rationals is rational
so, using contrapositive, I will Assume x-y is rational and prove that x is rational?
yes
oh ok. I finally got it by thinking of x-y as x+(-y)!
I am also having trouble trying to prove by induction that (1 + x)^n ≥ 1 + nx. I end up trying to show that (1 +k+1)^j+1 ≥ 1 +(j+1)(k+1) and I have no idea what to do from there
Supposing (1+x)^n >= 1+nx, you need to show (1+x)^(n+1) >= 1 + (n+1)x. It seems you've inducted on x (which needn't be an integer!) instead of just letting it be an arbitrary real >= -1
'ands' & 'ors' of propositions
cc @olive wraith
more precisely 'ands' of 'ands' of 'ors' of propositions
I noticed that but never seen it like a sum or product type thnig
where you have some sort "bounds"
ok so u know 'and' & 'or' associate
so u can define 'and' & 'or' of a collection of statements
People sometimes do $\bigvee x P(x)$ instead of $\exists x P(x)$, it's kinda old and not common any more.
DootDooter
so like $\bigvee_{i=1}^3p(i)$ instead of $p(1)\lor p(2)\lor p(3)$
\bigvee
RokettoJanpu
same for 'and'
Because if you had a finite domain like {1,2,3}, then for some x, P(x) is equivalent to P(1)vP(2)vP(3).
Conjunction and forall has a similar relationship.
But when your domain of discourse is not finite I think some things don't work right?
Idk like infinite conjunctions/disjunctions aren't really wffs in most logics I think? 
FOL doesnt allow infinite formulas, in particular infinite conjunctions/disjunctions
Yah I said that lol
Also, kinda convenient sometimes to view things this way because often your quantifier laws act like your normal propositional formula laws.
Like quantifier negation ends up looking very similar to demorgans law from this pov
Like, if $D={1,2,3}$, then $\lnot(\exists x \in D)P(x) \iff \lnot\bigvee_{x\in D} P(x) \iff \bigwedge_{x\in D} \lnot P(x) \iff (\forall x \in D)\lnot P(x)$ or something.
DootDooter
hello, sorry if it's not the right channel, I had struggle finding the correct theme for that question:
I'd like to consider a collection of equi-distributed points in the plane. To fix ideas, we can consider the collection of all those points that are corners of squares of side-length 1/n, paving the plane. (so I pave the plane with such small squares, and I check the corners: that's my collection)
if I write $c(S)$ the number of points in my collection intersecting a shape $S$, it is roughly clear to me that for all translation vector $t$ and for all scaling parameter $\alpha$, I'll get $\lim c(\alpha S + t)/c(S) = \alpha^2$, where $S$ is any open square and where the limit is taken as the equi-distance between my points is getting smaller (say $n\to\infty$ in the initial construction)
I'd like to get an elementary proof of the fact that such an asymptotic remains correct for any affine transform: $\lim c(L S + t)/c(S) = |\textrm{det}(L)|$ .
While I find the result quite trivial intuitively, I cann't really get my head around how to formalise it. If possible I don't want to use any kind of integral, unless it can be explicitly written as a series (I'm looking for a proof based on geometric/summation arguments instead of an entire ergodicity theory)
I don't know if anyone could give some clue?
Expert Symbiont
Anyone know a grammar that can produce this language? It's been a long day and I'm not getting anywhere with this question, as all the grammars I produce have slight problems.
NOTE: The notation na(w) is read as "the number of b's in string w." So, the specification is that there are strictly more a's than b's in any string, w, in that language.
How do i prove this statement?
All whole numbers greater than 1, which are not divisible by 2 or 3 are primes.
I tried to break it down into two different cases, case 1: k is even and case 2: k is odd.
case 1: k is even, then it means that 2 divides k, which means k is not a prime.
case 2: k is odd, then we can represent k as 2m + 1, m is not a multiple of 2 or 3 which would mean that k must be a prime. But i don't know if case 2 makes any sense?
well for one it's wrong
since 49 exists, is not divisible by both
and is not prime (7*7)
other primes than 2 and 3 exist and their very existence disproves this
sorry if I came off as harsh btw
its not harsh at all 🙂
and of course i forgot you can just use a number and disprove the statement. oufff

lol
happens
Thank you for the help!
np
@stoic cedar are you sure thats even true
The equation you posted
Step 1 to proving something is to make sure it’s true
it's gone to competition maff
Hint: Try generating the language of all strings with the same number of a's and b's first then use this cfg to produce the grammar for the language you want. To produce this new language every production that emits an a must also emit a b.
Preferably you would emit your a and b at the same time.
Notice ab is one such string. So, consider the derivation S->ab
We could have also emitted _ab, a_b, ab_ and so on where _ represents strings containing equal numbers of a's and b's.
Can you generalize this sort of reasoning to build your grammar for this new language?
Now imagine you have this new grammar in hand. Notice if we restrict your given language to the language of all strings with exactly one more a than b there are only the following cases: _a, _a_, a_.
I really don't understand what this hint is trying to say. Would anyone be able to help?
consider (x+1)^n, use binomial theorem, differentiate. something like that
I wonder if there's a good combinatorical interpretation for this tbh, think there is
i think if possible, staying away from combinatorics is preferable
well sometimes combinatorial proofs can be easier
I'm sure that's true, but personally i've found it difficult to make rigorous historically
yeah that's true
Actually yes it's very cute, ||what's the average size of a subset of {1,...,n}? Clearly it's n/2, but you can also find the probability it has size k and weight it by the size||
But the above hint is how to do it analytically sure
ah yeah that's actually a very nice combinatorial proof
it's a good idea to be able to do both. sometimes just bashing through the calculations is easier, but other times a combinatorial proof is easier
why would be consider (x+1)^n?
because I think that works
don't wanna go through all details but I think it does
have you seen the proof that sum choose(n, k) = 2^n using binomial theorem on (1+1)^n ?
if we run the sum from k=1 to n, it is equal to running the sum from k=0 to n
idk how useful that observation is
oh wait
another idea
Basically you can rewrite the sum in another way
$\sum_{k=0}^{n} {n\choose k} x^k$
swifteeee
swifteeee
$\sum_{k=0}^{n} {n\choose k} k$
swifteeee
ok so that's the LHS
so we do the same to RHS?
now lets start again at (x+1)^n, but this time differentiate immediately
i dont understand partial differentiation but im guessing it'll be n(x+1)^n-1
setting x =1
well either way, thank you so much Dena
just one thing
i still don't understand the motivation for (x+1)^n
is it taking the anti-derivative of n * 2^(n-1) and generalising it for any x?
,w binomial expansion
no
you just notice that you have these factors k on the LHS and n on the RHS
factors like these often come from differentiating powers x^k and x^n
so we kind of want to use that
hmm I'm actually not sure how exactly to motivate that we take (x+1)^n. just seems very natural to me
because using binomial theorem we get exactly what we want on the LHS
and then we just apply that to RHS and we get the starting point of (x+1)^n
which is weird to me because it seems to be supposing our conclusion first, then finding a way of getting there second
but if it works, and it's fine logic. i might have to start doing it myself
well yeah sometimes you start where you want and then go backwards
and then when you present the proof you start at the correct start and work forwards
difference between finding a proof and writing it down
i was super interested in philosophy before math so my intuition tells me that working backwards from the conclusion is evil
it depends on how you do it
or trying to justify your conclusion ad hoc
you need to check that all your arguments hold in the correct direction
but especially for stuff like rewriting equations etc it's often easier to start at the end
Hello, This is a MIT learning material graph theory matching problem. The mating ritual is on 1:05.
Why he could come up with "girl's favorite tomorrow will be at lease as desirable to her as today's "? but boy's list of girl is getting worse day by day?
I guess the "favorite" boy from the list of a girl would be married in some cycle so the girl will lose her favorite too. But the professor said "the rank of a girl's is weakly increasing".
Thank you
https://www.youtube.com/watch?v=6vgHIImFwHo&list=PLUl4u3cNGP60UlabZBeeqOuoLuj_KNphQ&index=63
yeah idk it just pains me haha
don't consider it as proving anything yet
at that point you are just looking for an idea for a proof
hm. maybe
the boy that the girl didn't reject will try again the next day. so the girl will have this boy that was her favourite so far and other boys that might be even better
oh, I see. so that lemma is just based on boy only chase 1 girl at a time. If the game setting is different then the girl might also lose her suitor too isn't it.
yes
Is that the stable marriage theorem?
for this question part e is it even possible?
i dont see a combination that isnt transitive
while still not being symetric
Yeah it is possible
isn't that just called a "total order"?
we havent learned so idk
ok let me try
Strict orders are transitive
Me too, but I always thought working backwards was still okay, I just thought it was highly unintuitive.
Welp
is there a name for a relation that is irreflexive, asymmetric, and not transitive?
let's say you have a set A, is the set {A} a partition of A?
I feel like it should be
it is, trivially
so it's called "the trivial partition"?
dunno if that name is actually in use
You can re-write a = b mod m as m | a - b, is it allowed to add/subtract from m |a - b?
For example if i want to transform m | a -b to m + b | a, is this allowed?
no
a | b does not imply a+x | b+x generally
otherwise you could prove that 5 is even
Oh okay, thats good to know
I assumed you were allowed to add and subtract from it.
It will help you if you don't think in terms of "is it allowed?", but "does it work?"
Trying some examples will quickly show you that it doesn't work.
For example, 3 | 9. If we write 9 as 10-1, we have 3 | (10-1), but do we also have (3+1) | 10? No.
i kind of already suggested something like that
albeit indirectly and only as the goal
that's a another approach. I was trying to solve this " we have a = b mod m n, do we also have a = b mod m & a = b mod n", in the solution they solve it like this a = b + (k *m)n, i assumed maybe you should add them together and let like a equal k or something. Ig they using the Chinese rest theorem ?
no
chinese remainder theorem is the converse of that
a = b mod mn means a - b is divisible by mn, which obviously implies it is divisible by m and by n
but where does a = b + (k*m)n come from?
I understand that a = b mod mn => a = b mod m & a = b mod n, but i don't understand the solution
Do you understand that "a = b mod mn" means "there is some k such that a = b + kmn"?
aha so that if we add b to kmn we get a