#discrete-math
1 messages · Page 24 of 1
It is impossible to know without context.
Clearly they have been defined previously.
Maybe you should read their definitions.
After getting the truth values I determined that the logical connective ? is also not associative. So this connective is not commutative and associative? Just want to make sure I looked at this right
Your answer is correct
Be careful about the way you're phrasing your answer though
it is not correct to say that it is ((not commutative) and assocative) and it is incomplete to say that it is (not (commutative and associative))
Well it is not associative and not commutative. The way I phrased it sounds like it is not both but could be one right?
V1 is a abelsche group
V2 is a body
this is exactly what I was going to say, yes
you could also say it is neither, nor :)
We say "Abelian group" and "field" in English.
$\oplus$ and $+$ in this case are defined on entirely different sets. If $v,\ w \in V$ then it is meaningless to write $v + w$ but it is meaningful to write $v \oplus w$.
Boytjie
Does that make sense?
You will see later that there is a requirement that + and \oplus be 'compatible' in some way.
i dont rly get it.
Isnt it addition ?
No.
A field and Abelian group alone defines what 'addition' is. Internally, this 'addition' could look very wild, and not be the addition that we think of for real numbers
how is the "addiiton in circles" called?
i think i need to read something about it to udnerstand
Do you mean addition in modular arithmetic?
i mean the symbol
It does not mean anything
We are saying that it is some operation – and it could be a lot of different things – such that along with V it forms an Abelian group.
Are you familiar with the concept of an Abelian group?
i know the condition of abelian group
OK, so \oplus is just the operation of some Abelian group V. So you should know that it does not refer to one particular thing.
Is that clear?
I made a slight typo, I meant to write V instead of K.
i think yes
Boyt is this a way to solve the 500 integer age people problem
it doesn't make sense to me I'm afraid.
Your first solution was the one I had in mind.
This is the method I saw for a similar problem but I couldn’t see how it relates to the matrix thing
I’m using the formula for compositions in the second one
You find two things with the same value, rather than the value you want, then combine them in some way to get the value you want.
Saying there’s a finite amount of compositions mod 500 that aren’t 0 and we must repeat some
Is there a logical equivalence rule that i can use to simplify the inner those in parenthesis:
(¬p ∨ r) ∧ (¬q ∨ r)
what is the rule to simplify ¬p ∨ r to p --> r and ¬q ∨ r to q --> r
yes, I can't remember the name though. maybe a form of DeMorgan's laws or something?
"p --> r" is equivalent to "~p v r". I don't remember if it's a "rule" or is true by definition or what
actually just look up distributivity
I found this online
I have to name each step during simplification
What could I name it
I’m looking for metrics that could be useful for quantifying the "connectedness" (I'm using this word informally) of graphs. I don’t know a lot about graph theory but the problem I am working on can be translated into a comparison of simple undirected graphs that can be either connected or disconnected, where the number of nodes is always the same. The only metric I've looked at so far is the total number of edges.
sorry I don't remember all the names
Oh I’m just talking about the first one
If you know
not sure, but see these: https://math.libretexts.org/Courses/Monroe_Community_College/MTH_220_Discrete_Math/2%3A_Logic/2.5%3A_Logical_Equivalences#Properties
I am trying to figure out how to simplify using logical equivalences: (¬p ∨ q) ^ (¬r ∨ s) is logically equivalent to (pVr)-->(qVs)
What would be the next step for simplification using logical equivlances I dont see how any of the laws I know apply to this next step
Try applying the distributive law twice
can you show an operation with oplus ?
It's maybe not clear to you, so before I give you examples of Abelian groups, I will stress again that \oplus does not refer to any particular operation.
Anyway, here is an example of an Abelian group.
Boytjie
Here is another example.
Boytjie
Here is a final, general example.
Boytjie
so \oplus is a placeholder for a operation that has to be defined ?
it can be anything ?
Anything commutative
and this circle with a dot ?
couldnt find it here
https://en.wikipedia.org/wiki/Glossary_of_mathematical_symbols
A mathematical symbol is a figure or a combination of figures that is used to represent a mathematical object, an action on mathematical objects, a relation between mathematical objects, or for structuring the other symbols that occur in a formula. As formulas are entirely constituted with symbols of various types, many symbols are needed for ex...
In latex it is \odot
It is, again, not referring to anything specific.
An approach to simplify finding LaTeX symbols.
is it possible to ask question about graph theory here?
yes, look at the channel description
Just ask. If you end up posting in the wrong channel, people will just tell you where to post.
I was wondering how do I know the first two are isomorphic
I know hte definition but I meant like how do I see it so fast
seeing whether two graphs are isomorphic is hard
ahh but my teacher saw it
I guess he knew the answer beforehand
It is not at all easy to see which of these are isomorphic
As Dena suggests, it's very hard in general
NP-complete iirc
what is np-complete
"hard problem"
I just looked it up and wikipedia at least says it's unkown whether or not it's np-complete
But I think it's still fair to say: it's very hard
ok then I'm misremembering. but yeah, hard problem
I have another question I have to draw every non isomporphic graphs with 4 points
but isn't that alot of graphs?
Not too many
You think of a systematic way to check
ye so u mean smth like first u do all 4 dots beside eachother then the squares?
but isn't there a formula to check the amount of possible non isomorphic graphs for a given amount of vertices
There isn't one that I'm aware of.
I think you should try and come up with your reasoning independently.
I tried I think I got all them
does anyone know what is meant by incident?
"incident" means "occurs on"
it's a term borrowed from geometry
we might say that "the point x is incident on the line L"
Here they give three synonyms for the terminology, so it should be clear what they mean.
I see thanks
he says that the amount of edges are nC(2) or (n * (n-1)) / 2 I understand the second one but I don't see how u can come up with nC(2)
the picture was just an example
An edge is uniquely determined by the vertices it connects, so an edge corresponds to a choice of two vertices
You're in desperate need of some parentheses there.
ahh I see so there are n vertices and every vertice has 2 connection so nC(2) gives the amount of edges?
No, but every edge has two ends, and every choice of two (different) ends gives you an edge because the graph is specified to be complete.
oh ye I said it wrong but I see it now
since there are four terms in (¬p ∨ q) ^ (¬r ∨ s). Would I make r = (¬r ∨ s) so i can do the distrubutive law
Yep
yes^
I am attempting to prove this formula to be a tautology using logical equivalences: [ (p-->q)^(r-->s) ] -->[ (pVr)-->(qVs) ]
So far I have gotten this in steps for my proof:
[ (p-->q)^(r-->s) ] -->[ (pVr)-->(qVs) ]
x = (p-->q)^(r-->s)
y = (pVr)-->(qVs)
x -> y
~x V y. Conditional rule. Substitute back in
~ ((p-->q)^(r-->s)) V (pVr)-->(qVs)). De Morgan's Law
((p ^ ~q) V (r ^ ~s)) V (pVr)-->(qVs))
z = (r ^ ~s) Substitution
(p ^ ~q) ^ z V (pVr)-->(qVs) Distribution
I am wondering if I am on the right track at all and if my steps make sense
It would make more sense if you used different letters instead of reusing p and q
What about now? I edited it.
You messed up here
Why is it still ^ between the two larger parentheses groups? (ignore everything outside the red circle)
<@&268886789983436800> sus link
Believe I fixed it now
When proving a tautology we’re looking to simplify to the point where we can use the negation law right?
until we get r V ~r for instance to get T or r ^ ~r to get F etc… until our result is static
Simplify until it’s just T in this case
Imagine the sequence of the tree at each layer is 1, 2, 3, 4 ... n. Then it's clear that it has height n. If the sequence is 2, 4, 6, 8 ... n there are half as many entries, so n/2. Adding a 0 does nothing to overall time complexity as it's a constant for any n
Each 5 element subset of {0,1,...,9} corresponds to a unique strictly increasing function, and each strictly increasing function corresponds to a unique 5 element subset.
How to intuitively think about composition of relations?
Some examples:
Then what is:
$S\circ R$
MyFavoriteAccount
maybe something like:
coordinates where the first coordinate is the first coordinate of a coordinate in R, and the second coordinate is the second coordinate in a coordinate in S, AND the second coordinate in R, and the first coordinate in S are both in the same set
Here's an illustrative example
Imagine you're looking at a set of points, some of which are connected by lines. We will write a R b if points a and b are connected by a line.
a R b iff a, b are one line apart
a (R o R) b iff a, b are two lines apart
a (R o R o R) b iff a, b are three lines apart
Savvy?
so R o R means that there is something connecting them
for example here the 8 in C connects the coordinates
guys can i discuss graph theory in here?
Yes, see the channel description.
a = a + b .. what is a?
not 0?
a is 0
it's actually solvable i think, if you try to solve for a with b
a = b * infinity^2
a = a + b sole for a + b
((((a + b) + b) + b) + b) + b ... (b * infinity) + a
(b * infinity) + ((((a + b) + b) + b) + b...) = (b * infinity) + ((b * infinity) + a)
C = C + M
or rather E = E + M
Hey, I found these resources...seem very useful!
on discrete math 👆🏻
guys
- G is a Tree (every 2 vertices are connected with exactly 1 way)
- G is a cohesive graph without circles
- If you take away any Edge G breaks into 2
- There is always 1 vertice(n) more than edges(m). n = m + 1
does this look familiar to you
why is this channel so empty
why does graph theory not have it's own channel
isn't it an important topic? 
@coral parcel
The channel selection is not intended to encode which topics are "important", but more (though very roughly and approximately) which topics have lots of conversation about them.
'zusammenhängend' is connected.
I am given the recursive equation $a_n = 4a_{n-1} - 3a_{n-2}$ and that $a_1 = 2$ and $a_2 = 5$. how am I to find a general formula for $a_n$?
MaiTheLord
You may want to look into generating functions
I am sorry but I can't understand how it helps me here
Generating functions are one way of finding closed forms for recurrence relations.
I don't really get what this is representing
You could spend a while worrying about what exactly that represents, or you could just use the technique.
To be frank I don't think that even experts in generating functions know what they 'represent' directly
well I don't even understand why we represent this sequence (a_n = 3a_{n-1} - 1) like that... I'd have no idea how to actually apply the technique to my problem
Example 8.3.2 is almost exactly your problem.
This webpage explains things in fair detail. Perhaps you could spend some time with it
egfs are perfect for this
A^2 - 4A + 3 = 0 gives a solution to this almost instantly
Well egfs are all about advancement operators smh
yeah but they are scary looking ngl
i havent heard about egfs and advancement operator
but in the textbook im reading they call it characteristic equation
$a_n=\frac123^n+\frac12$
play
how do you actually get to that point?
now you have to show that the thing in the brackets is divisible by 2 and 3
you can go through the options of n odd/even and n congruent to 0,1,2 mod 3
oh
yeah i tried the n odd/even path. I havent been taught the congruent part. My term hasnt started yet
can i do this without the congruent part because idk what that is
for this question, is this the correct reasoning why (p+1) is divisible by 6. Because in every 2 consecutive numbers, one must be divisible by 2 and in every 3 consecutive numbers, one must be divisible by 3
so the first thing is that their sum is even, why is that?
the congruent part means that every number has one of the forms 3k, 3k+1 or 3k+2
so you can use that instead
i added p and p + 2 and factorise 2 out
2k, 2k+1 corresponds to even/odd
3k, 3k+1, 3k+2 is the "3-version" of being even/odd which is based on divisibility by 2
so the idea is to use 2k, 2k + 1 to show that (2n^3 + 3n^2 + n) is divisible by 2. And then use 3k, 3k+1, 3k+2 to show that it is divisble by 3?
yes
oh
that's a lot of work lol
i got this from 3k
so theres no easy way of showing that the bracket part is divisible by 2?
the whole modulo framework speeds up the work
well you can use stuff like odd*odd=odd and even*anything=even. but the proofs of these things are also based on 2k, 2k+1
im guessing modulo stuff is extension for the 3k, 3k+1, 3k+2 thing that you are talking about
yes
ok thx for showing me this former stuff first. Should make it easier for me when i learn modulo
you will notice that the parts that the 3k goes into dont really matter for the argument except that they include a factor of 3
which means you don't really have to calculate everything perfectly as long as you know whether it includes a factor of 3 or not. and when you formalize that you end up with modulo
yeah i couldve just done that, i see and just mindlessly expand. Cant really do that for 3k+1 tho
even for the 3k+1. track explicitly in which of the final terms it appears. and then see that for none of them you care about the explicit form, just that they include a factor of 3
damn ok. Yeah i will need a lot of algebraic practice to have insight such as yours, but i see what you mean. thx
this isn't stuff that you see before doing it
it's stuff that you see after and wonder why it is. and whether you can exploit it to reduce future work
which, as mentioned, leads to modulo stuff
in some way it is insight, like how after figuring that 3k part is divisible by 3, then you can kind of see that you only need to focus on the expansion from the '1' in 3k+1, since you already know 3k has factor 3. probably
exactly
modulo is the remainder stuff, right
exactly this. only the remainder 1 matters. the 3k doesn't matter
ok i'll get this eventually LMAO
Would someone here be willing to help me with a graph theory problem 🫠
just ask
I am given $\frac{1}{(1-x^2-x^3+x^5)^n}$, and I need to find the coefficient of $x^{13}$.
Let me know if I did this correctly: I'll start by factoring the denominator to $(1-x^2)^n(1-x^3)^n$. now, I'll use the binomial theorem to represent the factors:
$(1-x^2)^n = \binom{n}{0} - \binom{n}{1}x^2 + \binom{n}{2}x^4 -\binom{n}{3}x^6 + ...$ and
$(1-x^3)^n = \binom{n}{0} - \binom{n}{1}x^3 + \binom{n}{2}x^6 -\binom{n}{3}x^9 + ...$
Now, I'll find the products which equal $x^{13}$. these are $x^4x^9$ and $x^{10}x^3$. so we have $\binom{n}{2}x^4(-\binom{n}{3}x^9) + (-\binom{n}{5}x^{10}(-\binom{n}{1}x^3))$, and the coefficient of $x^{13}$ is $\binom{n}{5}\binom{n}{1} - \binom{n}{2}\binom{n}{3}$. is that right?
MaiTheLord
Feels like a pigeonhole principle problem ngl
I'm trying to solve it probabilistically but I have no idea what variable I need to randomly choose
I thought of randomly choosing an edge but that didn't get me far
What if you did contradiction?
Take a graph on n vertices with less than 8n - 36 vertices
yeah that's what I tried 😭
And maybe show that the number of complete subgraphs stays the same
I tried randomly choosing an edge but that didn't get me very far
mostly since someone who hates you can choose the graph so you have no idea of what it might look like
Randomly choosing an edge is tricky
yeah but idk what else I can randomly vary
How many vertices would be need if every vertex was part of a K3 subgraph?
Cuz if we can find that the we may be able to use this somehow
no idea, technically this doesn't even mean that 8n-36 is enough
Yeah no but we get some sort of lower bound
I could try but 8n-36 is a lower bound on "enough" edges not the actual cutoff value
I thought of randomly attaching a label to each vertex but I have no idea how I could use that either
The reason I ask this is cuz it’s most likely to make a new K3
True, but for a K3 I'm still running into the issue of what to probabilistically vary
I think direct counting is better
wdym direct counting
Actually idk
So given the sequence $1,1,0,0,1,0,0,1,0,1,1,0,2...$
Starting at n=0,1,2,3...
with generationg function $\frac{1}{G(0)}$
with $G(k) = 1- \frac{q^{k+1}}{1+\frac{q^{k+1}}{G(k+1)}}$
Expands into $G(0) = 1-\frac{q^1}{1+\frac{q^1}{1-\frac{q^2}{1+\frac{q^2}{...}}}}$
Then using the generalized continued fraction formula I get
$x_0 = 1$
$x_1 = 1 - q^1$
$x_2 = \frac{1}{1+q^1}$
$x_3 = \frac{1-q^2}{1+q^1-q^2}$
$x_4 = \frac{1}{1+q^1+q^3}$
$x_5 = \frac{1-q^3+q^5}{1+q^1-q^4+q^5}$
$x_6 = \frac{1+q^5}{1+q^1+q^3-q^5+q^6}$
jo_fish
As you continue to expand the fraction and find x_6,7,8...the terms of the sequence should be the coefficients of q in the denominator of x right?
How does $\frac{1}{(1-x^2)^n(1-x^3)^n}$ expand to $\newline (x^0 + x^2 + x^4 + ...)^n(x^0 + x^3 + x^6 + ...)^n$?
MaiTheLord
That's the neat part: it doesn't 
wdym by "it doesn't"?
my book says it does because of
$\frac{1}{(1-x)^n} = (1+x+x^2+...)^n$
MaiTheLord
but I don't get why this is true either
Because it isn't?
What book is that 
Absolutely.... u can check it on a computer. Heck, 2nd one ain't even convergent
What kinda book is that ngl...
Hopefully that's a type
Typo
How do you check that
We can rewrite the sum on the 2nd part as $(\sum^i_{k=0} x^k)^n$
Kiameimon | Welt Rene (glomed)
And... this clearly is not the same as the LHS. Try plotting it on desmos for any n
Unless n = 0, this isn't true
What book is that BTW? I'd srsly recommend switching books if that ain't a typo 💀
It's one of the books of the course I am taking...
it's just mentioned as a fact in some point, I might've missed its explanation
💀it's very obviously not a fact unless x = 0, bruh that book 💀
So basically what this is trying to say is that the geometric sum converges to provided all terms in the sum is < 1 (that being said, it isn't equivalent to your expression? Since yours is raised to the power of n)
Yknow the geometric series formula?
$a + ar + ar^2 + ar^3 \dots ar^n = a \cdot \frac{1-r^n}{1-r}$
Kiameimon | Welt Rene (glomed)
not sure
You should look up a proof on that tbh. It allows u to compute the n-th term of any series that follows this pattern
For example 1 + 2 + 4 + 8 ....
In this case a = 1, r = 2
So plug in the values into the formula and boom, gives u the suk
Sum
Now, the thing is that if the common ratio (r) is less than 1, we can determine where it'll converge to by taking a limit
(Try evaluating it yourself @inner marsh)
Just take the formula I gave above and take the limit as it approaches infty assuming |r| < 1
(Note that we must assume |r| <1, else as the sum approaches infinity our series will not converge)
how does the proof work then if x must be less than 1?
That's the thing, it doesn't.
This is similar to the argument 1+2+3.... = -1/12
It's false as the sum doesn't converge
Heard of it?
no
It goes around the lines of
but this seems to work always (except x = 1)
... tbh its a really hard thing to explain in 1 message. Most videos on it that I find are like 30 mins long
The Mathologer sets out to make sense of 1+2+3+ ... = -1/12 and some of those other notorious, crazy-looking infinite sum identities. The starting point for this video is the famous letter that led to the discovery of self-taught mathematical genius Srinivasa Ramanujan in 1913 (Ramanujan is the subject of the movie "The man who knew infinity" th...
Have a look at it at your own time
alright
Is this being used in the context of generating functions? If so it is often assumed x<1. And whenever or not it converges is ignored.
ok
I get this, obviously the first assumption that 1-1+1-1+... = 1/2 is wrong.
however
this seems to make sense
It doesn't converge. You cannot apply these recursive arguments to non-convergent series
Hm, never knew that
Conventions brr
wdym? what wrong manipulation is there in the proof?
If the sum doesn't converge, you cannot manipulate it as such. It is not equivalent.
so saying $1 + x + x^2 + ... = x(1 + x + x^2 + ...)$ is illegal
MaiTheLord
There is a book, generatingfunctionology I recommend looking at chap 2. It explains the assumptions of using series in this way.
If x >= 1 yes
You can find the pdf
Oh, I've heard thst book before. What prerequisites do they assume?
Doesn't it cover stuff abt recursive functions and counting?
was considering having a look at it
Not sure, it's pretty accessible.
how do I get rid of the exponents in $(x^0+x^2+x^4+⋯)^n (x^0+x^3+x^6+⋯)^n$ to find the coefficient of $x^{13}$?
MaiTheLord
is E(X^2) the same as X bar ^2
no, the latter is the average of X squared, I assume
and the first one?
btw I meant X^2 bar
I found online the answer that X^2bar is basically the estimator of E(X^2) and that means that X^2 bar is quite accurate if the sample size is big but it's not exactly the same unless the sample size is as big as the population size
idk if this is correct
What's the best way to self study discrete math type of problems? I want to take this course at my university: https://cs170.org/ but I want to self-study before since people tend to have much more discrete math experience than I do.
yo ik you’ve taken this class then how do you prove a stable pairing exists if we allow unmatched entities
If you want to get up to speed specifically to be comfortable with studying algorithms, my recommendation is to familiarise yourself with basic set theory (mostly for notation purposes; you just need to be comfortable with the notation that is often used in naive set theory) and proofs (you’ll come across a lot of proofs, especially when proving the correctness of greedy algorithms). Then it’s just a matter of applying and practice; break down the problem into smaller portions that are much more manageable and then combine your insights together to form a cohesive argument/solution
Is this in the context of Gale-Shapley? You don’t require every entity to be matched
Just that, if two entities prefer each other, they should not match with other entities
yes it is
how do i show that it’s stable tho?
the hint says to use imaginary entities that match w a job/candidate if they prefer to be unmatched
I guess my question is how do I practice proofs? In my experience they're not like computational type of problems where there is a definitive and concise answer.
basic calc
Yes, it is

i have this so far. I equate the equation to 1 or 0 so i could find gcd easily. Idk how to simplify the x, but its an integer when i compute it. Is gcd = 1 correct from my working
probably the most efficient GCD algorithm
yeah it's a cool property
yeah
side question, how do i simplify that expression
you can just tell me what tools i need, and i'll give it a try
what do you want to simplify?
the x i found here
Any book recommendation to learn lobster graph?
I'm having problems with generatingfunctionology chapter 1 exercise 10g, pastebin: https://mathb.in/75444. I got the required pgf $\frac {t^n(1-t^m)^n} {m^n(1-t)^{n+1}}$ but I'm not sure how to expand it to get the jth coefficient, to get the CDF
bostock
if i have a hash function that has uniformity. if i mod the output of the hash function will it still be uniform?
depends on uniform in what
Can someone explain how these two quantifiers are different?
aren't they both the same quantifier?
"For all n E N"
oh
what are the two quantifiers in that example?
They are both forall
what do you mean by this?
uniform in what set
if the cardinality of the range isnt evenly divisible by n, it cant possibly be uniform mod n
could help me with this by any chance?
so far i have only done simple induction examples with sums
this is the first one with a real problem
unsure why this question suggests to use induction
there is a simple direct solution and induction is just rewriting
anyways, just look at the first few examples
there is only one of those trees of height h
and the "rule" to go from height h to h+1 is not hard to figure out
yeah it's just n number of leaves multiplied by 3 for h+1
stuck on part f and g
I know that 1/(1-x) = 1 + x + x^2 + ...
1/(1-x)^2 = 1 + 2x + 3x^2 + ...
what would the generating function be for the sequence in f without the zeros
1/(1-5x) = 1 + 5x + 25x^2 + 125x^3 + ...
1/(1-x^2) = 1 + x^2 + x^4 + ...
i think it's starting to make sense to me after staring at the author's solution
i do 1 / (1 - (√5 * x )^2 ) and then the sequence work
and then for g i use 1/(1-x)^2 = 1 + 2x + 3x^2 + ... and replace x->x^3 and then multiply by x to shift right
I'm looking for free discrete math exercise with answer sheet if anyone know where to get those please let me know.
thanks a lot!
Do I need to understand logic and set theory in order to understand graph theory. I have knowledge in linear algebra but wanna learn graph theory since it seems useful. Atleast more useful than set theory and basic logic since I’m programming a lot and I don’t feel like I need more knowledge in those areas atm.
What is logic and set theory?
If you learned linear algebra, the logic and set theory you know would be enough
Those are two areas within discrete maths
I’m pretty sure we didn’t touch either of those areas in my linear algebra course.
There are some basics with it that should be known to understand most undergraduate math
So if you multiply a function by x^n, it shifts each number in the sequence down. If you replace f(x) with f(x^n), it puts zeros In between numbers in the sequence
What are those basics?
Proofs?
The basics are like what the symbols mean so that you can read math.
Ok thanks 👍🏻
is the cardinality of the subset of a power set always equal to 1?
What do you mean by 'the' subset? Also, power set of what?
To be clear, set theory refers to something which most people do not do
Same with logic
If you are referring to the introduction to sets and logic which is found in so called discrete math classes (a better name would probably be introduction to proof), then yes you would need to know it to learn anything in mathematics
Yeah I think this is accurate, lots of very serious individuals in math who would be hard pressed to express all the axioms of ZFC let alone tell you about forcing, the most seminal technique of modern set theory
Does anyone know how to find the combinations of playing computer games?
Rule is that you cannot play two days in a row. You have 9 days of gaming and want to distribute it in 31 days.
Divide 32 days into some combination of 9 × "game followed by non-game" and 14 "non-game", then discard the last day (which is always a non-game day).
$${32 - 9 \choose 9} $$
Jonathan!
?
Yes.
Hey does anyone have practice questions for sets , functions n relations , logic??
How many four-digit codes with the digits 1, 2, 3, 4 exist in which at least one digit is not repeated?
Try counting the codes in which all digits that appear are repeated.
hm didnt know latex has infix operators
Hey, I was trying to understand How The following Cn coeficient was obtained. Someone could explain me? Thanks for listen
I've an Analysis book for such questions, It is from a Brazilian writer Elon Lages Lima. I don't know if its interest you
Its alright. I will take anything at this point
im on iii
and my first path f
was
6,1 then along 3,2 then along 5,5 then along 4,0
which gave a flow value of 2
so i added that to the flows of the path i used
and now i cant find a possible way to get f'
like its actually just impossible?
The infix \choose comes from plain TeX; there's also an infix \over for factions. LaTeX strongly discourages them in favor of its own \binom and \frac, which take their arguments in the same way as macros do.
you did it. here's your f', with a flow value of 7 vs the original 5
what is the difference between arrangement and permtation?
@coral parcelare you German by any chance?
i really need a German to check this
this example or something similar has a high probability to come in my exam tomorrow
hello
could anyone explain me what does B^A mean?
as i understood that its the elements that belong to a and b
A,B are sets
He only knows some. I have yet to identify his country.
Hello i have a alot of questions to ask
Where am i going wrong?
Its a pretty basic question
Is c the correct option?
Notice they're both equal to the product of all the entries in the matrix
How many are there six-digits numbers with the digits {1, 2, 3, 4} where every digit appear at least 2 times?
I tried counting:
Since there are no multiples of a positive integer between 0 and n, we know that n cannot be a divisor of any integer between 0 and n. This means that when hunting for the positive proper divisors of a positive integer m, we must only test the integers between 0 and m. What exactly does this mean?
sieht für mich vernünftig aus looks reasonable
Any web recommedation to learn graceful coloring (graph theory)?
it's saying that, for example, 11 can't be a divisor of 8, because it's larger than 8
all of the divisors of a number must be smaller than that number
so if we want to find the divisors, we only have to check up to the number we're finding the divisors of, since there won't be any above that
Greetings Discrete, I am currently working on finding sources for applications of Graph Theory and Combinatorics in particle physics, quantum mechanics, or any other related engineering concept. This has proven to be difficult so far. Please, @ me if you have any general information or good ideas for sourced information. All is welcome.
Best,
Can someone please provide a step-by-step explanation for the answer? I would really appreciate it.
!show
Show your work, and if possible, explain where you are stuck.
does anyone know what they mean by components?
this is what i've come up with so far:
No. Edges must have endpoints.
but it said edge has either one or two endpoints
The reason they say "one or two" is that an edge may connect a vertex to itself.
If you would like to see it set-theoretically...
There is a map from the set of edges to the power set of the set of vertices
and we require everything this map outputs to have at least one and at most two elements
This is complicated though. It's easier if we require directed graphs
true XD
Then we have a set $V$ of vertices and $E$ of edges, together with two functions $E \to V$ which define the source and target
Boytjie (never-to-be-glomed)
Now if you want to force this to be non-directed you have to think a bit, so I'll just point this out and leave it at that.
To find f(n) when n = 3^k, given f(n) = 2f(n/3) + 4 and f(1) = 1, let's evaluate f(n) assuming f is an increasing function.
anyone knows the solution and explanation?
Hint: we can also say f(3n)=2f(n) +4.
is the written part a good explanation or does it not make sense?
S = {n E Z | n = (-1)^k, for some intger k}.
S, consists of all integers (n) such that there exists an integer for which the expression n = (-1)^k holds true.
Well you should mention an integer k
Hi does anyone have any good resources to learn discrete? I swear I have no clue whats going on in my homework
scheinerman
i really like this problem
There's two C
||I believe it's correct ✅ ||
hey i had a question about ordered fields
can we ever say that the subset of elements is equal to the field of elements?
from this definition it sounds like all elements of F are in a subset (lets call it A) except 0
since the three conditions are 'or' based
No because then 1 and -1 are in that subset and then 0 is
im not sure this definition suffices to get ordered fields?
I think it works if you define x < y iff y - x is in that subset right
That second paragraph is in bad english
i think you'd also need to require that 0 isn't in the subset
Yeah you need that "or" to be a trichotomy
x \leq y iff y-x is “positive” is fine though
The subset closed under addition and multiplication guarantees the thing’s compatibly partially ordered, and if you make it where P u -P covers the whole thing you should get a total order, since either x-y or y-x is in there. (You want P n -P disjoint except maybe 0 tho)
sure, if they are disjoint
you can also force -1 to be negative
and/or squares to be positive 
then 1 is positive and ...
Well forcing squares positive and such gives a more restrictive notion ofc
Idk how well behaved those ones area, but lattice ordered rings and f-rings have some structure theorems proven about them
(f-rings being a more “nice” looking one that doesn’t have silly pathological behavior, like 1 not positive despite being square)
Guys does anybody know a regular grammar for this language L={w:|w| mod 3=0} over {a,b}
Is it possible to construct a junction tree from a 4 node clique?
pikachupikachu
is this a valid "combinatorial proof" of the binomial theorem?
ngl something about this proof gives off weird vibes
why its so long
^

i think you have a working proof here
i thought this was the more sane way of doing it, i actually am working on a more crazy soln lmao
actually
what's off or weird about it?
suppose x and y dont commute
then what is (x+y)^n
you cannot group terms
so for example (x+y)(x+y)=x^2+xy+yx+y^2
its just the same proof i've seen but it gives bad vibes
i think it's correct
you can simplify it a lot
we're assuming you can
pikachupikachu
yeah
pikachupikachu
i mean you got the idea I sps, but its very wordy 
so i can remove the filler "from the alphabet {x,y}"
yes
i can also remove the line "to prove the theorem" because the proof wouldn't change without that
ehhhhhhhhhh
tbh
leave it be
you got the idea
that's all that matters
go work on the new crazy soln and show it to meee
pikachupikachu
looks correct enough to me
how about now?
yeah guess its good
maybe I overexaggerated the wordiness, like if you want to make it rigorous, you have to write words lol
I meant that this is already rigorous
have you done this one? its in Bona too
this is a fun one, and not difficult (here you are supposed to give a combi proof ofc)
haven't will work on it later fs
don't even know if the lemma holds tho 
Hm, I see similarities between it and whatever is shown on wiki had to resort to wiki cuz I prefer induction proofs
hmmm
well it's doable by induction but ig the challenging part is by combi
I think it's quite literally reiterating what a power set is + then getting you to show that binom expansion is equivalent to no. of elements 
it definitely does, since the number of elements in the power set is 2^n (each element in the original set is either in a subset (which as a result makes it part of the power set), or is not)
but as to showing a direct correlation between binom and this? Hm.... The numbers add up, but showing this "combinatorically" may be a challenge
isnt this statement just purely false?
for any a in Q, there exists m and n that are integers where they have no common factors in the form a = m/n
but integers are a subset of Q
and all integers must share common factors in the form a = m/n
am i misunderstanding this?
it's false because n cannot just be any integer, it must be nonzero
that as well
if there are any common factors you just cancel them
then it becomes an integer
and any integer will have a common factor
in the form m/n
what? 4/6=2/3 is 2/3 an integer?
if you assume that it does then you're practically saying any given pair of numbers have a common factor. is that even a meaningful thing anymore?
thats my question
im asking the validity of whether its well defined or not
and yes my premise should have been since all pairs of numbers share a lcf of 1, can we state that the statement is false
1 divides every integer, if you wanna be more precise just say m and n have no common factor except 1
cool, thanks!
"it's quite literally reiterating what a power set is" isn't helping me go anywhere. if you're simply stating the fact that for a set of n elements there are 2^n subsets then that can be shown simply by observing that to each subset there corresponds a unique n-binary string and there are 2^n such strings, about how you go from this elementary fact to saying that the claim i maid in said lemma holds is i think jumping through hoops
first proof i presented was supposed to be the typical way of doing it so unsurprisingly wiki has the same idea
it is, but well, numerically it does add up
it's gonna be hard to establish a direct combinatorial correlation though, as I mentioned.
Hm.
isomorphic graphs need to have same |V| and same |E|
@vital hedge you still working on this?
I figured it out, and this one is actually kind of tricky
I'll just give you a hint until you get back. Pick any vertex in the first graph (the graph is symmetric, so it doesn't matter which one you pick), and pay attention to how its neighbors connect with each other. Now do it with the 2nd graph.
How might this idea be useful?
don't mind anything i have written here, i didn't even notice they had the same no of edges lol mb
Well, first, let's assume we choose the vertex u_1. Then in has neighbors {u2,u4,u5,u6,u8}.
Now which of these vertices connects to u2? u4? Do this all the way up to u8.
If only it was that easy 😛
haha, the one on the left look more cluttered so i just assumed along
For a more visual representation. Draw a graph that only has the vertices of u1's neighbors: u2, u4,u5,u6,u9. The edges for the graph are the same edges in the original graph.
This is known as the linked graph for u1.
Now try to convince yourself that for the left graph to be isomorphic to another, the linked graphs must be isomorphic to each other.
Note: this is not enough to say it is isomorphic, but it is a consequence of graph isomorphisms.
Based on the last thing I said, you should be able to deduce whether this thing I want you to do will show if there is a graph isomorphism or not.
If you're having a hard time understanding the linked graphs, this should help.
I made a random graph and I put the linked graph for each vertex in purple next to them. Hopefully this will help
yes i understand linked graphs now
Good, I'm glad this was useful.
Now, find the linked graph for one of the vertices in the first graph and do the same for the second.
Again, the linked graph is the same for every vertex in each graph here, so it doesnt matter which one you choose
finding corresponding linked graphs for each graph is not sufficient to show two graphs are isomorphic, but it is a necessary condition if they are isomorphic.
So if what we are doing is not enough to prove they are isomorphic, then why would I be asking you to do this?
I have no idea XD
If a graph is isomorphic, we need to construct a function that preserves vertices and its corresponding edges, correct?
yeah
This function is called a graph isomorphism. However, if the linked graphs do not match, no graph isomorphism exists, because it is absolutely necessary that they do for two graphs to be isomorphic.
If you do not believe me, try to convince yourself as to why this is true
so, your idea is to list all linked graphs of G1 and G2, and each one will have eight
So draw the linked graph for u1 and v1. Are they the same (isomorphic to each other)
You only need to look at an individual vertex here since all linked graphs in each graph will be the same in this case
yes
What on earth are you talking about
wwwwwwwww
No, that is not what a linked graph is
A linked graph of u1 only has the vertices that connect to u1. It does not contain u1 itself
oh~~
In this example: the middle vertex is connected to the upper left, upper right, and bottom right. Those 3 vertices are the vertices in our linked graph for the middle vertex.
Since the top left and top right connect to each other in the original graph, we connect them in the linked graph.
Notice that the bottom right vertex connects to neither of them, so it has no connections.
I've highlighted the neighbors and their connections for the middle vertex in red
The purple graph next to the middle vertex is the same as that. that is the linked graph for the middle vertex
Perfect! Now, they look a little different. Are these graphs isomorphic to each other (this is a much easier problem to solve)
no
why is that?
That's not a bad observation. I didn't think about that.
oh~ so they are not isomorphic
The thing I noticed was that one of the vertices in the first graph, u5, connects to all the neighbors. But there is no such vertex that does that in the 2nd linked graph
The linked graphs are not isomorphic, so what does that tell us about the original graphs?
I have no idea ww
Remember, graph isomorphisms must preserve linked graphs (up to isomorphisms), but the linked graphs are not isomorphic.
So what conclusion can we draw?
oh I don't know this
I think I said it like 3 times at this point 😛
G1 and G2 are not isomorphic
Precisely!
sorry
All good. You're learning a new topic, so things like that can be easy to miss
Now, let me ask you a follow up question.
since I only know if two graphs are isomophic , then their subgraphs by removing a vertex must be isomorphic?
We were in a very special case where the linked graphs for every single vertex is the same in each graph. But, that won't always happen (and we see that in my example).
If we were trying to show two graphs aren't isomorphic by looking at their linked graphs, how would we do that?
we removed more than just a vertex. Remember we only looked at the neighbors of a vertex.
ok
by observing their vertex with same degree?
and it is the largest
the largest? How do you mean?
The same degree is important, but many regular graphs (all vertices have same degree) can have different linked graphs in each vertex.
It's relatively simple: draw the linked graph for each vertex in both graphs, and see if you can find isomorphisms between them.
This seems like an undertaking, but what you may have noticed is that linked graphs are a lot simpler than the original graphs, so finding isomorphisms between linked graphs shouldnt be too terribly difficult.
It becomes a matching puzzle where you have to match linked graphs in graph 1 to linked graphs in graph 2.
oh~~~~~~
i seee~~~~~
thank u so much!!!!!
is that a theorem?
or just a method
since my teacher didn't teach me that way
It should be mentioned that we don't know how difficult the graph isomorphism problem is exactly, but we have not found any polynomial time algorithms for it. This is just to say that it's a hard problem in general, and you're going to have to be creative.
Consider two graphs X and Y that are isomorphic to each other:
Then there is an isomorphism f that sends vertices in X to vertices in Y. For f(x)=y, prove that the linked graphs of x and y are isomorphic.
Finding graph isomorphisms is not particularly easy, and it's even harder to show that there is no such function. You have to find some special property between two graphs that should be preserved in an isomorphism (but isnt).
oh it's not enough to prove
It is not sufficient to prove it they are isomorphic, but it is a consequence of isomorphisms. So if it doesn't hold, we know the graphs are not isomorphic.
Have you tried anything yet?
You should try and be creative on your own first.
but my method sycks
sucks
so there's no particular way to do this
?
the last question
or any technique ?
Hint: turns out what we did last time will help a lot
You could try the method of linked graphs again.
Actually, this is actually where it gets tricky. The Petersen graph on the left has linked graphs that are completely disconnected
hmm....
I said that wrong. It is edited now
Same thing for the 2nd, so all the linked graphs are the same
then how do u write the mapping function
First, you definitely shouldn't assume there is one.
ok
So the petersen graph on the left has diameter of 2 (largest distance between vertices) and girth of 5 (smallest possible cycle)
This properties should be preserved in an isomorphism.
Looks like they do. Although there are no guarantees, there is some potential on it being isomorphic.
Yep, I got it
@vital hedge you said you are going to bed, so I'll leave you with this for when you wake up.
I saw v1->v2->v3->v7->v6 makes a cycle of 5, so I decided to let that be the boundary of our graph, and then shove all the points inside. Mess around with the interior a bit, and you will get exactly what you need.
hi, I am confused a little here
it says:
A Hamilton Path is a path that goes through every Vertex of a graph exactly once.
A Hamilton Circuit is a Hamilton Path that begins and ends at the same vertex.
I understand hamilton path, but the hamilton circuit its weird because now u will visit the starting vertex twice ?
and also I am not sure why the example of Hamilton path is not a hamilton circuit I think I can start from the node at center and end at it
I have an exam tommorow 
I think it can have both ?
right hamilton path and circuit
The definition of a Hamiltonian circuit is a bit bad. A Hamiltonian circuit is a circuit that goes through each vertex exactly once (of course starting and ending at the same one).
A graph can have:
- no hamiltonian path and no hamiltonian circuit
- a hamiltonian path but no hamiltonian circuit
- a hamiltonian path and a hamiltonian circuit
@elder berry thank u
I'm trying to find chromatic number using graceful, i still don't know how to conclude the number from the step 'i've done.
@weary tiger what is graceful?
One of algorithm used to find chromatic number i think
Oh, I'm not familiar with the algorithm, but finding the chromatic number is pretty easy in this example
I have a question , is there only a isomorphism of G1 and G2 when they are isomorphic?
Yes
Two graphs are defined to be isomorphic if there exists an isomorphism between them.
thanks a lot
don't ask to ask, just ask
or just nohello.net
if you have two sets A and B, and you know there exists an injection from A to B, and you know there exists a surjection from A to B, is that enough to guarantee there exists a bijection from A to B?
specifically there’s no guarantee that the injection and the surjection are the same function
using axiom of choice, from the surjection you can get an injection B->A and then you can use schröder bernstein. no clue what happens without AoC
Took me a while, but I have an answer to this
Consider the unit circle and R.
There is an obvious surjection x-> (sin(x),cos(x)), and if you are familiar with the projection map from the sphere to the reals, that is injective (but it misses a point on the sphere).
However, there is no bijection from the reals to the unit circle
...wait what
At least I'm pretty sure
aren't they both the cardinality of the continuum
I'm sorry, but I dont know what that means
hmm
the unit circle is basically [0,1] right? so the question is whether there's a bijection between [0,1] and R
oh wait there is
if you take a number in (0,1] and take its reciprocal, you can get any real number > 1
so get two copies of [0,1], leave one of them as it is, and take the reciprocal of the other, now you have all positive real numbers
ok so we actually want four copies of it to get the negatives as well
and then to show that having four copies of [0,1] is the same as having one, join them together into [0,4] and divide by 4
No, because if we think of it as an interval, the ends connect at the same place.
alright well [0,1) then?
But thinking it as [0,1) would be fine
Or, just [0,2pi) to make life easier
Okay, maybe there is one 🤔
adding one thing to an interval of real numbers doesn't matter
you can take a list of all the rational numbers in the interval, shift them all "forwards" in the list by 1, and put the extra point in the empty space at the start of the list you just freed
No continuous bijection, but that's not the question we care about
Is there a bijection from [0,1) to the reals?
yes
Really? How does it deal with 0? 🤔
a single point is pretty irrelevant when you're dealing with infinite quantities
Okay, so this wasnt actually a counter to the problem. Damn
if you can find a copy of the natural numbers inside a set, then adding an extra element to the set doesn't change its size
Fair point
you can map that element to 0, 0 to 1, 1 to 2, 2 to 3, etc.
So really we can just shift the naturals by 1 and keep everything else in R the same
yep
Do you have an idea for this problem bee? I'm honestly not sure.
or you could shift the reciprocals of the natural numbers, since there are countably many of those too
didnt sm1 already answer it 😭
here
im a big fan of AoC tbh
I guess I dont wht Schroder Bernstein is to realize it was an answer :p

dackid im not young like that anymore im not caught up w the slang
js got out of hs and already feeling old fr
That was me forgetting to put the a in what.
...i'm 3 and i don't get it either so i think you're fine
there's a homeomorphism from (0,1) to R
I feel like this was a bit, but you also genuinely looked it up so I'm not sure
not a bit i was so confused 😭
there is no counterexample constructible, since choice says it's enough
schroder bernstein is the thm which says "if u have injection a --> b and b --> a then |a| = |b|
Yea, I've pieced together that I was wrong here
Really? Woah!
the proofs are surprisingly complicated for what seems like such a simple statement
That is definitely not an obvious claim
really?? i thought it felt obvious and then i tried to work it out and failed miserably
that was my first intro to somewhat srs math
it was awful
Well, it kinda falls out from the idea where |X| <= |Y| iff injection X->Y
so depending on your definition this might be trivial
Does the 2nd part mean there exists an injection that sends x to y?
Ohhh, so |X| is referring to the order of the set
|X| is cardinality
Yeah, I gotcha now
the reason i thought it was obvious was bc if there's one to one for a-->b then you're mapping each element of a onto an element of b, and if there's one b-->a then you're mapping each element of b onto an element of a, and i couldn't see how it would be true if |a| wasn't equal to |b|
|X| = |im X| <= |Y|
fwiw i could never have figured this out a year ago
the injection + surjection claim implying existence of a bijection might very much so depend on choice though
? yea there is
It's already been addressed
ah alright
I've started learning discrete math and ran across this statement that the set of rational numbers is in fact countable but doesn't elaborate at least not here and I was wondering the proof for that statement
unfold the line
alternatively
Thanks
hello
is chat gpt correct
P: ¬(a ∧ c) → (b ⊕ a)
Let's construct a truth table for P:
a b c (a ∧ c) ¬(a ∧ c) b ⊕ a ¬(a ∧ c) → (b ⊕ a)
T T T T F F T
T T F F T T T
T F T T F T T
T F F F T F F
F T T F T T T
F T F F T T T
F F T F T F F
F F F F T F F
Therefore, P is a contingency.
Moving on to Q: c → ((a ∧ b) ↔ c)
a b c a ∧ b (a ∧ b) ↔ c c → ((a ∧ b) ↔ c)
T T T T T T
T T F T F T
T F T F T T
T F F F T T
F T T F T T
F T F F T T
F F T F T T
F F F F T T
Therefore, Q is a tautology.
Based on the analysis, the correct answer is:
A. P and Q are both tautologies
is this correct
im not breaking any rules i believe please tell me the rules im breaking
responses as in answers from chat gpt to questions askeb by users. Im asking if chat gpt is wrong here
<@&268886789983436800> am i wrong for this?
also, GPT is wrong ._.
posting "is GPT wrong" isn't explicitly against the rules, no
though we discourage phrasing it like that
we'd rather you just ask a specific question about what's confusing you
(as in, not post GPT at all)
Is it the truth table thats wrong?
oh he was referring to his GPT message above
here
that isnt a response
oh wait
so it isnt against the rules
yes
its just very hard to respond to it in a useful way
yeah
tbh you shouldn't be asking GPT if you're stuck
chances are it will give you a wrong response
and if it does you may not be able to identify it's mistake
and build wrong concepts
- you should try the qn yourself if you haven't
i dont have an answer i just have truth tables
ah, then show it
wait i think if i ask you what wach one means i might be able to do it better
(a ∧ c): and and c are the same. ¬(a ∧ c) not and c. b ⊕ a b and a are the same?
ah, I see what you're trying to do. Sure, let's do it that way (personally I prefer this method of evaluating such expressions too)
that circle with crosses inside... it's xor (or, but not both)... right?
yes
or is it nand?
ah
then b xor a is true if b or a is true, but is not if both a and b are true
well, perhaps it's easier to break down these expressions
before evaluating their truth values with reasoning?
let's break down teh first one
ok
$\neg (a \wedge c) \implies (b \oplus a)$
Kiameimon | Welt Rene (glomed)
so how can I simplify it? Are you familiar with this: $P \implies Q \equiv \neg P \vee Q$
Kiameimon | Welt Rene (glomed)
what are the three lines again?
it just means to say that they're loigically equivalent
P implies Q is the same as not P or Q
so we can use that to simplfy the first expression
is this right?
$\neg (a \wedge c) \implies (b \oplus a) \equiv (a \wedge c) \vee ((b \vee a) \wedge \neg (a \wedge b))$
Kiameimon | Welt Rene (glomed)
notice that all I did expand the conditional
and translate the meaning of xor
into more elementary expressions
(b or a, but not both a and b)
following so far?
wait why did you include c in the expansion
look here
now, just take P to be not(a and c)
and Q to be (b xor a)
i see
from here, it's quite clear that this isn't a tautology. This statement is false if A and B are both true, and C is false
since not (a and b) will evaluate to false
and (a or c) will also be false
but at the same time, it is clearly not a contradiction
can you find some truth values for a, b and C to prov that?
am I going too fast for u? let me know

yeah sorry about the slow responses on my end just tryna comprehend some stuff
let's see what you've got here...
yep, looking great 
quite frankly though, why do a truth table for it?
is there a way to think about it that wouldnt need a truth table?
how I'd do it is see if I can eyeball some truth values for A, B and C which will make it false (that is to say, intentionally make our statement false)
for the a+b part only
and then eyeball to see if we can pick some values of A B and C where it is true
if I can find such values then I can conclude that it's neither a tautology nor a contradiction, but if I can't, only then would I resort to a truthg table
as for the a + b part
this is clearly true when a or b is true, but not when they are both true
so, if a and b are both false, this is false
if a is true, b is false, this is true, same for if b is true, a is false
but if a and b = true, then our statement is false
lemme tell you how I usually look through these kinda propositions to find this
so, basically, we know that a proposition $P \wedge Q$ is definitely false so long as one of them are false
bruh
latex
Kiameimon | Welt Rene (glomed)
right
so looking at $((b \vee a) \wedge \neg (a \wedge b))$ specifically, I notice that if a and b are both false, or if a and b are both true, then we have this statement to be false
Kiameimon | Welt Rene (glomed)
now, what about the (a and c) part?
for this entire proposition to be false, I need that to be false too
so if I were to assert that a and b are both true, or a and b are both false (so that the 2nd part is definitely false. Remember, I'm trying to test if this is a tautology or not, so I'm seeing if there is a case where our expression here can be false), is there a way which I can make (a and c) false too, so that I can conclude that the entire statement is false?
tautaulgy must mean that the final column everything is true correct?
yep
so thing is
if I can find just 1 value where it is false
I can be certain that it is not a tautology
i get it I luv u
