#discrete-math
1 messages · Page 65 of 1
And R^(3)(a, b - 1) + 1 <= n so K^(3)(n) contains a red K^(3)(a)
You don't need to extend anything in the red case. You have R^3(a, b-1) vertexes.
If you have a red 3-hyperclique with a vertexes then you're done, whether you extend to include v again or not.
Oh so I'm doing extra work
I have a question regarding Adjacency Matrixes in Graph Theory. Is it safe to assume that there exists an isomorphism between 2 graphs if the row echelon form of their 2 corresponding adjacency matrixes are the same? And what if they correspond to the identity matrix, is there any theorem that proves/ supports any conclusions regarding that aswell?
No.
So let's assume i have two graphs , each one with 10000 vertices. To prove there's an isomorphism I have to map each indivual vertex from Graph 1 into Graph 2, thus taking 10000 mapping operations?
the question is how do you map them ? you can't just take any old bijective function from the vertices of graph 1 to the vertices of graph 2 and hope it's an isomorphism, there's just too many of them
factorial of 10000 is a stupidly huge number
I was looking for an easy way to prove theres an isomorphism between 2 graphs without having to individually map a pair of vertices 10000 times, is there anything that can help me with that?
Is there some online tool where I can input a truth table and it spits out a simple logical formula?
you're looking for software ?
can any one recommend any yt channel to learn full DM?
trevtutor, dr.Trefor, and kimberly brehm have pretty good videos for DM
i recommend going through a textbook though because you wanna practice proofs and exercises
very very stupid question ahead warning
could there be a 'universe' in which the cardinality of an infinite set could be smaller than countable?
If a weaker version of AoC holds (namely, unsurprisingly, the axiom of countable choice) then the countable cardinality is the smallest cardinality.
No not really, I was just wondering how it was done computationally when dealing with very big graphs
the computational complexity of graph isomorphism is still an open problem, so we don’t know whether deciding if two graphs are isomorphic is a computationally easy problem or not. You might want to look at some invariants under isomorphisms and see if they hold for your two graphs
The best we can do is a quasipolynomial-time algorithm due to Babai (https://arxiv.org/abs/1512.03547)
We show that the Graph Isomorphism (GI) problem and the related problems of String Isomorphism (under group action) (SI) and Coset Intersection (CI) can be solved in quasipolynomial ($\exp((\log n)^{O(1)})$) time. The best previous bound for GI was $\exp(O(\sqrt{n\log n}))$, where $n$ is the number of vertices (Luks, 1983); for the other two pro...
Not sure if the right channel, but quite confused by this part in Halmos' Naive set theory. Why are we assuming B equivalent A and why B E B or B E' B , not and please
i don't see where it "assumes B equivalent A"?
Also confused as to why B E B is so unlikely, so far seen the 'hat in a box is not a hat argument', but confused as to why that means it is possible
Pardon me, is contained in
the reason to assume that either B e B or B e' B is that every statement is either true or false
if we assumed that B e B and B e' B then that would be a contradiction immediately
(if i'm guessing correctly that x e' y means x isn't an element of y)
This is correct
Oh ok, so they're saying if it is contained in A then by definition it is contained in A? e.g. we are ignoring the second part for the time being?
Oh i see, thank you so much
to complete a bit on opengang's answer https://arxiv.org/pdf/1301.1493, here's a paper by the maintainers of one of the fastest packages for graph isomorphism there is (nauty/Traces), where they explain their global approach + some specific techniques they used [this paper is cited in the Babai paper also]
thank you again
yo can someone pls help with prop logic man
send ill have a look and see if i can solve it
It’s not a question
I have an exam on Friday I just need sum guidance on how to study
just prop logic?
Prop logic, Boolean algebra and first order logic
i remember i kept asking chatgpt for short quizzes and was able ace it
also yt helped
alot
What did you major in?
im in cs
same
my discrete math final is coming i think im doomed 😭
but the thing is my uni has its own book for prop logic
So finding vids is kinda hard
What year are you in
im still in first year
I’m sorry but what are notations
damn same
basically symbols for operations
nah the symbols r same
whats diff abt the book then
Holon I’ll send you the contents
okayy
Am I allowed to send pictures here?
our book is weird asf too
i think so
send in dm just to be safe ig
ye here
that’s not coming
yea
wait let me get my book
i have last year's paper and the prof said the format would be pretty much the same so that would help a lot understanding it
ill send that holon
Thanks, this helped me get it 🙂
i cant take a ss of the contents the quality sucks
i got a 0 on sets
do you know how to construct truth tables?
yea so
the first question i can solve except e
idk abt e
and i can do 2nd question a
we didnt take that
we stopped before that
and started taking random stuff
i hate the way my instructor is handling the course
i se e
its all over the place
saem
you can do it simply by taking the conjunction of a proposition that is true only in every row
it is called disjunctive normal form
so pAqAr?
what is A?
in my topic the topic is named as truth function
conjunction sign
and
or wait p and q and negation r ?
i tried studying but idek man
basically you want a formula that is only true in two cases; p F, q F, r T and when all false
so 2nd and last row
only the last two rows
yea i dont get it man
so i have an exam on friday and the whole book is coming
nd i need help regarding how to finish the book
in the truth table can you see that it is only true for the last two rows?
yea
so can you also see that if you make some formula that is true for one of them and another that is only true for the other then take their disjunctionit will be what you want?
disjunction i mean
disjunction means OR
ive no clue bro i havent gotten to that topic yet
yea ik that much
should i send u the pdf of the book in ur dms man if u can help
you should read the book
the exam has 80% weigthage of my grdae
if you have questions send them
i tried its too confusin g
but read the book first
i did read the book
you can send what you find confusing
sure
alr
this is the book btw
This
Basically for each of the three variables think about how you would chain them together
Don't forget the use of brackets either
yea so (~p and ~q and r) V (~p and ~q and ~r)
~ is negation
[ \lnot ]
qiuzlm
😎
yea i dont have that sign on my keyboard so used the other
$\neg$
Dilly
guys discrete math or calculus for my second semester of freshman year
calculus is solid, can't talk about discrete 
you need both
I'd say calc since you'll probably need it more for upcoming classes. But yeah discrete math is also important. Both have some big foundational topics
What major
hi, ive just had a lecture with induction hypothesis strengthening, my question might be irrelevant to the whole concept because i understand it, but what i do no understand is how 2-(1/2^k+1) becomes 2-(2/2^k+1) for context the question asked to prove the formula in the image using these steps
$\frac{1}{2^k}=\frac{2}{2\cdot2^{k}}=\frac{2}{2^{k+1}}$
Dilly
yeah i figured its maybe * it by 2 but why exactly?
Because $$\frac{a}{a^n} = \frac{1}{a^{n-1}}$$ for any positive real number $a$ and any natural number $n$.
Cufflink
i dont get that, so we are trying to make the fraction a natural number?
Either you're confused about the basic rules for exponents or you're not recogizing those rules as being applicable here. There's nothing tricky going on. You have $$\frac{2^i}{2^j} = 2^i \cdot 2^{-j} = 2^{i-j} = \frac{1}{2^{j-i}}$$ Here you have $i=1$ and $j=k+1$.
Cufflink
You can replace 2 with any positive real number a.
maybe i am confused about that rule, where could i read up on this
i got into a bachelors cs degree at uni level with no previous math knowledge than highschool so theres my problem with these ideas
If you write out what $2^i$ means it will make sense. Do it first with specific numbers, like $$\frac{2^5}{2^3} = \frac{2 \cdot 2 \cdot 2 \cdot 2 \cdot 2}{2 \cdot 2 \cdot 2} = \frac{2 \cdot 2 \cdot 2}{2 \cdot 2 \cdot 2} \cdot 2 \cdot 2 = 2 \cdot 2 = 2^{2}$$
Cufflink
There's nothing special about 2 there. It could be any real number.
And there's no problem if the power in the denominator is larger, either: $$\frac{2^3}{2^5} = \frac{2 \cdot 2 \cdot 2}{2 \cdot 2 \cdot 2 \cdot 2 \cdot 2} = \frac{1}{2^2}$$
Cufflink
That makes more sense ig thx
Yeah I don't understand nun

Could someone explain the difference between if then, and if and only if
The first goes one way and the other goes both ways
Let P and Q be statements.
P ==> Q is “if P then Q”
Q ==> P is “if Q then P”
P <==> Q is “P if and only if Q”
, i.e. (P ==> Q) ∧ (Q ==> P)
Maybe I’m not understanding this correctly, but isn’t P ==> Q only true if P and Q are both true or both false
So if they’re both true or both false, won’t they be the same backwards
if P is false then the implication is always true
Just have a look at truth tables
i have a trick to remember it which my professor taught me
umm...
Assume that
P = You study
Q = You Graduate
NOTE THE LOGIC:
UNDERSTAND THAT IF YOU STUDY THEN YOU'LL SURELY GRADUATE, IF YOU DON'T STUDY THEN YOU MAY OR MAY NOT GRADUATE.
Case 1:
if you study then you graduate
P is True, Q is True
cuz u study the u will surely graduate so True
Case 2:
If you don't study, you don't graduate
P is False, Q is False
cuz you don't study you'll not graduate => true hence P -> Q is true
Case 3:
If you don't study, you graduate
P is False, Q us True.
cuz you don't study still you may graduate somehow
so P-> Q is True
Case 4:
If you study, you don't graduate.
P is True, Q is False
this would never happen that your hard work would never pay off
So, P -> Q is False
✨️P <-> Q
take it as
( P -> Q ) And ( Q -> P )
Apply above logic, apply and operation and you are there.
Hope it helped
guys 😭
You should identify the assumptions and conclusions in the proof and how they connect them together
Yh ik but tf is this question 😂
I'm sure they had fun making it
It's from an episode of rick and Morty where they show how this dildo looking thing is made too
That's why it's so out of place lmao
Mah Gawddd
So i hade my exam yesterday that of Dicrete Strcutures and syllabus was fineee
Thanks for this

depends on what you're going into tbh. they're both very essential for a lot of fields
i'd say both
(Regarding recursive functions) Is there a mistake in the powerpoint? It doesn't make sense to me
Why, if teacher says we start with 1 pair, then at zero months we have no rabbits?
I thought maybe she meant zero "older than 2 months" pair, but then why is there a pair at f(1) if they become mature after 2 months??
maybe the problem is supposed to say "at 1 month, you will have a newborn pair of rabbits"?
so starting at 1 instead of starting at 0, kind of
maybe yeah
but it makes it more confusing since, in most other examples I saw on the internet, the "base condition" is always f(0)
Could anyone give me a hint for approaching this problem?
a and d are obviously not vector subspaces, since they're not sets of vectors, right?
I have my EggJam
After That I'll surely reply
I just love Graphs and Trees!
Dicrete Structures Yaaayy
Both of them can be interpreted as sets of vectors
by unique do they mean that if f and g are both isomorphisms then f(a) = g(a) for all a in A?
if f(a) =/= g(a), then f(a) < g(a) WLOG, but I can't seem to derive a contradiction (tried applying inverses, etc.)
This isn't true for total orders in general. For example, the integers are totally ordered and x ↦ x + 1 is an order-preserving isomorphism. Indeed, x ↦ x + a is a distinct isomorphism for any integer a.
So will have to use the fact that they're well-orders.
We defined well ordered to be every nonempty subset has a minimum
Indeed it does
So we can consider the set f(a) g(a)
Which is non empty
If they’re distinct one is the min and hence one is less than the other
Yep. More generally, if a statement about well-orders has a counter example then it has a least counter example. That's often the crux of proving things about well-orders.
It can help to think of a concrete example and see what goes wrong there then try to generalize that to the abstract setting.
You don't need to do a proof by contradiction. Show the contrapositive: if f and g differ anywhere then at least one isn't an order-preserving isomorphism.
It does hold for well-orders, but not all total orders.
That tells you that if it's true then the well-ordered property will feature prominently in the proof.
Does anyone have some good resources for learning bigO. I have the idea but struggle with questions on how to prove it like the attached problem. like I just dont know where to start and seemingly everything I find online is just talking about applications of bigO
What definition are you using for O(h)?
What's your definition of Big-O? Here's one: We say that $f \in O(g)$ if $$\limsup_{x \to \infty} \frac{|f(x)|}{|g(x)|} < \infty$$
ohhhh
Cufflink
both of these are in my course notes
The latter isn't a definition. It's technically stronger than the former. The latter is "Big Theta" or Big-Θ.
The definition of f ∈ Θ(g) is that f ∈ O(g) and g ∈ O(f)
Actually, never mind. I got my letters mixed up. Anyhow, it's still stronger.
So the limit one I attached isn't bigO?
Consider the function isPrime(n) which checks every number k from 2 up to n to see whether k divides n. (Yes, this could be improved.)
If n is even then it has to check one number, i.e.,2. And if n is prime then has to check n numbers.
okay, I'm still just alittle confused on the original question you had about my definiton of O(h)
It's ok. You answered it. You can use the latter definition. It makes it easier, even if it's technically stonger.
If f(x)/h(x) goes to L and g(x)/k(x) goes to R as x goes to infinity
but could I still use it in the problem/proof if I have no way to tell what the limit would be. or does somehow knowing that since O(h) exists that is enough
The definition says it's some finite number.
The basic fact is that: $$\left|f(x) + g(x)\right| \le \left|\max{f(x), g(x)} + \max{f(x), g(x)}\right| \le 2 \cdot \left|\max{f(x), g(x)}\right|$$
Cufflink
okay thank you
I think I see now
do you happen to know any good videos or resources for this kind of stuff, I'm trying to prep for my final on tuesday
TBH the Wikipedia page has a very nice table: https://en.wikipedia.org/wiki/Big_O_notation#Family_of_Bachmann–Landau_notations
Proving things about Big-O, generically, boils down to calculus.
what does the sup in lim(sup) mean? sorry this is the first time ive seen it
Think of something like $1 + \sin(x)$, which oscillates between $0$ and $2$. The limit $$\lim_{x \to \infty} \frac{\sin(x)}{1}$$ doesn't exist, right?
Cufflink
But it's certainly true that sin(x) is eventually bounded above by some constant multiple of 1.
The limsup is whatever it's eventually bounded above by and it always exists.
The liminf is whatever it's eventually bounded below by and it always exists.
The lim might not exist at all.
The limit exists if and only if the limsup and liminf are equal (allowing $\infty$ to be a possible value for the limit).
\\
So your first definition, quite literally, is saying $f \in O(g)$ if $$\limsup_{x \to \infty} \frac{|f(x)|}{|g(x)|} < \infty$$ Your second definition is saying something stronger.
Cufflink
Compile Error! Click the
reaction for more information.
(You may edit your message to recompile.)
ohhhhh okay that makes sense
Some images:
So the time complexity of an algorithm like isPrime(n) like I described is eventually bounded above by some constant multiple of n, but it's eventually bounded below by some constant multiple of 1.
Why? Because I can always find a still-larger input that checks n numbers (the next prime) and a still-larger number that checks exactly 1 number (the next even number).
What is the recurrence relation for the number of n-digit ternary sequences with no consecutive 1 or 2? https://math.stackexchange.com/questions/338417/recurrence-relation-for-the-number-of-n-digit-ternary-sequences-with-no-consec
Why does a_n = a_n-1 + 4a_n-2 not work?
my logic is:
with 0, any number can go before so a_n-1
with 1, you can only have 0 and 2 that leaves you with (n-2) digits so 2a_n-2
same with 2 as with 1.
probability kicking my ass
not every sequence from a(n−2) would allow adding 21
i just found a short proof, i think it's not anywhere in the answers
So how would I not count those? Subtract a_n-3?
i don't know
you just add a digit that's 1 more than the last or a digit that's one less, wrapping around
and then only 00 is missing
wdym by wrapping around?
i mean 2 is one less than 0
or in other words the last two digit are always consecutive
nvm that's not clear at all
So how would you count it?
if 0 then you would add 2 or 1 infront
if 1 then you would add 0 or 2
if 2 then you would add 1 or 0
then I'm confused on how you write out the recurrence relation? would it be a_n-1 or a_n-2 because you need to know what the previous digit is?
i'm still confused on how you would do it.
like you just said
for 0 it is 3a_n-1?
i can add the +1 digit, and i can add the −1
they don't intersect
and it covers everything, except 00
00 is a_n−2
that could be what that answer actually meant
it just says "Add up" i have no idea what it means
why is 00 a_n-2? Is it because you are forcing 2 numbers to be 0 and the rest n-2 of them can be anything that is valid?
-
Eulerian cycle in Km,n
Both m and n must be even -
Hamiltonian cycle in Km,n
Both m >= 2 and n >= 2
are these the correct conditions for a eulerian and hamiltonian cycle in Km,n?
for Eulerian Cycle it's correct!
Well true for Hamiltonian Cycle as well
Okay cool thanks
This is where I am confused. For problems that are have a forbidden subsequence like sequence that doesn't contain "013" you have to subtract? a_n = a_n-1 - a_n-3(fixing 013 and the other n-3-digits that allow this? But if it's consecutive like consecutive 4s then you can't subtract?
I thought you also need m = n
umm it is Complete Bipartite graph so no need to check whether m = n 🙂
i think the problem comes from alternating between each side.
lemme visulaize 🥹
thats true it will be Hamiltonian Path and Not Cycle
Please correct it that for Hamiltonian Cycle M = N >=2
so both equal and >= 2? cool
thanks
Assume that universe of discourse consists of all the adults 18 or above living in Patiala, India.
All credit union employees must know C++. All credit union employees who write loan applications must know Excel. Aman works for credit union but he doesn't know Excel. Akshay knows Excel but doesn't know C++. Therefore, Aman doesn't write loan applications and Akshay doesn't work for credit union.
Write arguments in symbolic form and tell if the conclusions given are true or false!
Start giving names to sets, like:
D = {adults 18 or above living in Patiala, India}
U = {p ∈ D : p works at a credit union}
C = {p ∈ D : p knows C++}
E = {p ∈ D : p knows Excel}
L = {p ∈ D : p writes loan applications}
If I have a bipartite graph with two parts A and B, the degree sum of verticies in A is x, and the degree sum of verticies in B is y, how do I tell if this is a valid graph or not?
ummm see;
let us say sum of the degrees in part A is X the sum of the degrees in part B will also be X
and number of edges will be X+X = 2*E (E-> number of edges)
=> X
so we can put the condition there that it necessary to that the sum of degree of vertices in part A must be Equal to Part B
Also this is not a sufficient condition but necessary !
any discrete mathers available to help me
don't ask to ask, just ask
what are the odds of drawing a royal flush in poker? I see conflicting answers about this online
Yes (if they mean induced subgraphs). You just need to count the number of ways to choose 3 vertices.
it's probably 5-card vs. holdem
0.00308% that only you get royal flush and 0.00015% that everyone gets it
Hello I am learning the multiplication principle along with permutations and combinations, how would I know what the questions means if they ask “with replacement" and "without replacement" ?
I think "without replacement" means that, once a permutation is used/account for, it is no longer possible to use or choose that permutation again. When it is "with replacement," none of the permutations are removed as possibilities once found or chosen.
Hope that was an intelligible explanation.
You have a box full of balls. You pick them at random.
With replacement means after you randomly pick you out that ball back in the box before you pick again, i.e., you replace the ball.
Without replacement means you toss the ball away before you pick again, i.e., you don't replace the ball.
So without replacement would be more associated with the multiplication principle and with replacement would be permutations and combinations?
With and without replacement both have to do with permutations. There are different formulas for finding the number of permutations with and without replacement.
Like if I had to choose 4 letters at random with replacement, it would be 26^4, while without replacement is 26•25•24•23
anyone know where i can learn discrete math topics related to algorithms (both iterative and recursive), counting and induction?
both mathematical and strong induction
im screwed
also proving correctness for algorithms and finding their time complexity and running time
and using a recursive tree
Correct.
tysm youre a lifesaver
No problem. I’ll circle back and share more later.
deal
that would help alot
yes
a similar problem is the number of rearrangements of a given string, ignoring spaces
since we might introduce repeated chars, we have to divide by the num ways we can arrange those
could anybody solve this pigeonhole problem "show that if any 30 people are selected, then we may choose a subset of 5 so that all 5 were born"
I feel like theres more to the problem than that
"all 5 were born"
i felt that too
yea doesnt make sense
Is there any graph where if you remove an edge it removes two or more cycles? Or is the max always one
Well I think I formulated my question wrongly
What I mean is
if you have a graph which is basically two or more cycles, if by removing an edge you can make it acyclic
Maybe this?
which single edge can you remove that makes it acyclic?
Remove diagonal edge
Dw
you can definitely destroy two cycles by removing an edge but I don't think you can make it acyclic
it should be like
Btw the graph is undirected and simple
Two cycles that depend on one same edge
but then I'm pretty sure this would form an external third cycle
and if you try to break that one, one of the two cycles is still intact
Already solved
Yeah, it's this. If two cycles share an edge, then there exists a third cycle which does not include that edge (so removing the edge won't affect that cycle)
test question i just had: prove that if a graph at most 34 odd cycles, it is 6-colorable.
what results can i use to approach this? the only upper bound on chromatic number i know of is brookes
just say all graphs are five colorable then add one extra color 😎
nvm that's for planar
sorry guys I should stop yapping about graph theory 😔
If I'm assuming that A > B and I deduce that A >= B, is that a contradiction
Interesting. My first thoughts were Brooks theorem and the theorem about colorings and a cyclic orientations. Gallai’s theorem? I forget.
One thing to think about is removing all the odd cycles, which leaves you with a bipartite and therefore a 2-colorable graph. So if you can prove that the subgraph consisting of just the odd cycles is 4-colorable then you’re done.
No, because A>B already implies A>=B
No
oh right lol
Like, P implies P or Q for any Q
roight htanks
how do you remove all odd cycles? consider k5. removing all odd cycles would remove the entire k5, but that includes even cycles, no?
maybe there's a planarity argument to be made? G = B U P where B is bipartite and P is planar
Oh, yes. Well...let's think about what's going on there.
No two odd cycles are disjoint. That means if you remove any odd cycle, you remove all odd cycles and what remains is bipartite.
Any graph with that property is therefore 5-colorable.
No two odd cycles are disjoint
how so? consider two triangles joined by one vertex
Sorry, I mean any two have a vertex in common, not that they share an edge.
why is that a condition? there's no limit on even cycles, so odd cycles may share arbitary edges, so long the total is less than 34
i'm trying to figure out why 34 is important here. i assume something to do with cliques. k5 has 22 odd cycles, k6 has more than 34
Say I start with an unlabeled k-regular graph. Then how many non isomorphic graphs can I reach by removing vertices from that graph? What is this problem called?
I need some parameter for amplitude of b(x) regardless of b(0) and c(0).
(using only basic operators)
The amplitude seems to be b(0), not sure how you would define it without b(0)?
I can change the amplitude if I add +a.
But b(0) still affects the amplitude. I want to get rid of that effect somehow.
Idk, about adding more parameters, but in your first plot. b(0) is your amplitude.
So do you want the slider a to directly set the amplitude?
I think it would be helpful to first get rid of c(x) and just have b(x).
But from the definition of b(x) you have b(0) is the amplitude.
how to just get b(x)
You can write b(x) as b(x) = b(x-1) - floor(C + Sum_{i=1..x-1} b(i)/100)
Where C is c(0) a constant, this makes it easier to see what is happening as you iterate through x
I've not used desmose
The i=1 is off maybe
But this should just be equal to what you had, you start with b(0) and begin subtracting terms until the running sum also becomes negative then you are adding to the next b term.
Can you make the slider b(0) that should adjust the amplitude
it does
And it can help to work out some terms by hand to get a feel of how each initial condition effects the function
is it possible to change the amplitude not based on the inital condition?
like an increasing amplitude over time
Probably I'm not sure how
Are there non recursive ways to give a sine function ?
This being a recursive function makes it confusing
has to be discrete, and only use basic operators, but can have multiple variables
So as n grows you want the amplitude to grow....
i want a parameter that can adjust amplitude regardless of b(0)
Is this an assignment, I don't get what you mean by that?
like if b(0) was randomized
Why
i want amp despite previous points
Yea idk, my thought would be to look up other discrete approximations of sine waves that are not recursive. Those will probably be easier to work with
i was hoping something like this.
where the amplitude would tend towards a parameter. despite the inital value big
Oh and you want the parameter to be the amplitude it tends to
yes
Dang Idk
i legit dont know what to google to find info
Try to find out what the above curve is called
Maybe someone else knows
Damped sine wave
Try that
could someone share their notes for Chinese remainder theorem having a hard time understanding it
Maybe instead you could talk about what is confusing you about it and someone could explain that specifically. That way, people can adapt their explanations to what you already know.
Could someone explain the difference between weak and strong mathematical induction
They kinda look the same to me
More base cases I think.
Not necessarily, nothing about the structure of the proof has to change necessarily, strong induction just means that you have a stronger induction hypothesis. Normally if you want to prove some property of natural numbers for example you prove that it holds for 0 or 1 or whatever, then assuming it holds for k you show it holds for k+1. Using strong induction, the induction hypothesis says that it holds for all natural numbers less than or equal to k instead. Imagine if you could show that some property holds of k+1 assuming that it holds of k but simultaneously assuming that it doesn't hold of k-1, have you then shown that it holds of all natural numbers? If it didn't hold for all previous values less than k too then being able to prove the statement by induction would be a serious problem. You only need more than one base case if you are inducting over a structure that has more than one "lowest level" or in the case of natural numbers if you are proving a statement that is recursive and depends on more than one previous term (e.g. a recurrence relation where the k'th term is defined in terms of k-1 previous terms). only proving that it holds of the first term would either give you an induction hypothesis that's too weak or else you might be able to prove something that's false
They are logically equivalent and the equivalence is relatively clear, yes.
Say I start with an unlabeled k-regular graph. Then how many non isomorphic graphs can I reach by removing vertices from that graph? What is this problem called?
Is this just the number of subgraphs?
No, you should be able to easily think of example graphs where removing different vertices and edges can yield isomorphic subgraphs
Ok, I see that
I don't know if this number has a name but upon some quick research it seems like this number (unsurprisingly) is quite hard to compute in general
Nooo
I wanted to know this number for the graphs with vertices being subsets of size 2 of [n] with edges if two subsets have non empty intersection.
Not sure if these graphs have a name
Looking at all subgraphs may still be useful, but I'm also interested in how many elements of [n] are covered by the vertices of each subgraph
For graphs with vertices being all subsets of [n] of size k <=n, and edges if two subsets have non empty intersection, do these graphs have a name. They are regular
For [4] and k =2
Actually it's strongly regular I bet
If that's of any interest
@true venture https://link.springer.com/article/10.1007/BF02773686
we can't just define it like this, right? (this is baby Jeck)
under the hood it takes intersection of all inductive sets
but that might not be a set, right?
seems like constructing N := {S' ⊆ S | S' is inductive}, where S is some inductive set, guaranteed to exist by the Axiom of Infinity, is the way to go, right?
oh, we can consider that as x in S AND x in every other inductive set
so that it uses axiom of separation
Try thinking about what it would look like when they do attack each other. You’ll basically either form a 2 x 3 board or a 3 x 2 board
So now you basically want to count the number of ways you can form either a 2 x 3 board or a 3 x 2 board from a k x k board
How do I find the recurrence relation?
You can think of all ternary words with length n and first part 0,1, or 2. Starting with w(0) = 1 and w(1) = 3. How can you make the words of length 2 in terms of the words of length 1?
Assume what you want is (0,1,2), (00, 01, 02, 10, 11,...), ...
You can put 0, 1, or 2 in front of those numbers
but you can't have 21 or 012 so I would consider the complement
@lethal linden a friend figured out solution to the 34 odd cycle problem if you are curious.
suppose, for contradiction, G has chromatic color at least 7. consider color classes 3 at a time. there are 7 choose 3 = 35 ways to choose a set to consider. each subgraph induced from 3 color classes must have an odd cycle since it is not bipartite. therefore, a chromatic color at least 7 implies at least 35 odd cycles. this is the contrapositive to the original statement.
i believe there's a bit of nuance in that odd cycles between induced subgraphs are currently assumed to be unique, but that should be pretty easy to prove.
To get a length of n from n-1, I can put a 0, 1, or 2.
If I put 0, I can't have 012, so I consider the previous possible ways to get n-1 character subtracted from n-3 assuming that I have 12 before putting the 0?
Yea, except like you said ones that will create a forbidden pattern
Neat! I had realized the contrapositive was more suggestive and asked another server about it, but never dug into it more (or got an answer there).
It was definitely trickier than I thought at first glance haha.
What inwas thinking is let w(n) be the number of ternary words of length n avoiding the given patterns. Then w(n) = w_0(n) + w_1(n) + w_2(n), where w_0(n) is the number of words of length n with first letter 0 ect.
I tried doing but I think the answer involves using a subtraction somewhere.
Find w_i(n) interms of the others, will give you a system of equations for the a recurrence
Yea maybe there is a better way
for sure. it's a pretty clever solution.
For that way first find a recurrence for all ternary words then find a recurrence for words matching at least one of those patterns and subtract
But in my initial digging I learned a new set of theorems which are pretty cool, owing to Gyarfas: https://users.renyi.hu/~gyarfas/Cikkek/57_Gyarfas_GraphsWithKOddCycleLengths.pdf
The theorems in there revolve around the number of distinct lengths of odd cycles. In particular, if a graph has k different odd cycle lengths then the chromatic number is less than or equal to 2k+2
for this, is it:
w0(n) = w0(n-1) + w1(n-1) + w2(n-1) - w2(n-2)
w1(n) = w0(n-1) + w1(n-1) + w2(n-1)
w2(n) = w0(n-1) + w2(n-1)?
I'm not sure how to use subtraction here.
if it's 0 then I have (an-1 - an-3) since 012 is forbidden
if it's 1 then I have (an-1)
if it's 2 then I have (an-1 - an-2) since I subtract the fordden 21...(n-2) characters?
For w_0(n) you can add zero to words unless they have prefix 12.
How do I check for that?
I'm assuming I'm adding letter to the left of a word
You only need to think which words when you add a 0 to the front will match one of the forbidden patterns
that's why i'm subtracting by w2(n-2)
or is that wrong
Idk I'm trying to think it through
We want to subtract words that have first letters 12
Those letters are fixed, what's left is a valid word either with first part 0 or 2 since we also avoid 21
Or the empty word for just 12 itself
w_0(n) = w_0(n-1) + w_2(n-1) + w_1(n-1) - w_0(n-3) - w_2(n-3)
w_1(n) is easy since adding 1 doesn't create any patterns. And w_2(n) you cannot have words with first letter 1
Think that is correct
Why are you subtracting by w0(n-3) and w2(n-3)?
Those represent words with first two letters 12
I'm confused how does that represent first two letter 12?
You fix the first two letters, then what can come after?
Or rather what kind of word can come after the 12: (12)(word)
why is 12(0...) a problem?
so if I fix 12 then I have n-3 words left right?
Yes
Because this is within w_0(n) and adding 0 to 120 gives 0120
Yes
What about if you have 1 before 12, like 0121
or is that not counted by w2(n-1) already excluded that option?
21 is a forbidden pattern
So it's assumed that w1(n-1) does not include any words with 21 so we don't need to subtract them
why w1(n-1)? 1 is fine with anything number
That what we are subtracting from
w1(n-1) can only add a 0 if the word does not start with 12
w1(n-1) includes words that do start with 12, so those are what we are subtracting
Like the word 1201 is fine by itself but adding 0 gives 01201 which is a pattern to avoid
since w2(n-2) doesn't allow to number that start with 1 before
so what if I also included the sequence "0121" then it wouldn't change anything because we are already accounting for this case.
Because we technically haven't added the 0 yet we don't want to count it
but if we also included the sequence "011", then we would to fix 11 and consider all valid ways that form 11?
so the new w0(n) = w0(n-1) + w2(n-1) + w1(n-1) - w1(n-3) - 2w0(n-3) - 2w2(n-3)
since 111, 110, 112 are valid?
011 doesn't match any of the patterns we're trying to avoid
Idk why would you include 011
I'm just trying to understand your approach. Am I right or wrong?
What does include 011 mean? 011 is counted under w1(n-1)
oh I meant as a forbidden sequence
so "011" is also forbidden
Oh that may change many things ...
Yea, I think that's right. You would subtract all words with first letters 11
but what if no "22" also.
so the recurrences for my original problem are:
w0(n) = w0(n-1) + w2(n-1) + w1(n-2) - w2(n-3) - w0(n-3)
w1(n) = w0(n-1) + w1(n-1) + w2(n-1)
w2(n) = w0(n-1) + w2(n-1)?
there is only 4 squares that they can sit on
i'm assuming that you're only placing knights
and this makes sense for the outputs given
Oh damn I can't seem to get a way to simplify the recurrences. I know an = w0(n) + w1(n) + w2(n). Do I just keep going until I reach the base?
yeah so given a 2x3 board, there are two combinations for which a pair of knights attack each other
you place them at (1, 4) or (2, 3)
Idk how much it can be simplified. Just add the three cases
and by symmetry, there are two combinations for which a pair of knights attack each other given a 3x2 board
Is what I was thinking and combine like terms
I dont want to clutter the chat, but let say we have two knights, lets call them k1, k2,
if k1 sits on 1 then k2 sits on 4
if k2 sits on 1 then k1 sits on 4
if k1 sits on 2 then k2 sits on 3
if k2 sits on 2 then k1 sits on 3
how to extrapolate to a nxn board btw
the assumption here is that two knights are identical so you just obtain two unique combinations
but it's not hard to extend it so that you lift the assumption
so the idea is that you basically want to find the number of ways for which you can fit a 2x3 board inside of an nxn board
and this can be done purely combinatorially
there are n rows, so there are (n - 1) ways of selecting two consecutive rows. Once you choose the two rows, you choose the columns; there are n columns so there are (n - 2) ways of selecting three consecutive columns
this gives you (n - 1)(n - 2) total 2x3 boards that you can fit inside of an nxn board. Each such board gives you two ways of placing knights such that they attack each other
a similar argument can be made for the 3x2 board case; the question now is to determine whether we've overcounted by counting these boards separately (convince yourself that we don't)
I checked my professor's answers but I can't seem to get any -an terms the w0, w1, w2 equations, it's always just been addition.
That's much simpler lel
it's basically inclusion-exclusion principle
you naively extend any (n - 1) valid string by some character to form a string of length n
Even with w1(1) = 1? I'd hope what ever I was doing would still give the same terms
the only way you can get invalid strings is if you get something like
__________012
___________21
so each valid string of length (n - 3) can be "invalidated" by naively appending the string 012; similarly, each valid string of length (n - 2) can be "invalidated" by naively appending the string 21
there are n rows so there are n-1 ways of selecting two consecutive rows? why?
you mean n rows right
yeah
you can think of it as you’re keeping track of where the bottom row is
you can’t have the bottom row as the first row
so your set of potential bottom rows are rows 2, …, n
yeah
once you pick the bottom row, the top row is automatically picked
so there are (n - 1) total ways
Choose a row, choose a column
hmm wdym for example 100x100
there are 100 rows and you choose 1 of them
there are 100 columns and you choose 1 of them
each selection of (row, column) gives you a unique square
so there are, in general, n^2 many possible squares on an nxn board
n^2 - (n-1)(n-2)
something like that? sorry I dont get the combinatoric aspect, is hard
not quite
so (n - 1)(n - 2) is the number of 2x3 (or 3x2) boards you can fit on an nxn board
right
what you want to think about is the number of ways for which two knights can attack each other
this is not quite (n - 1)(n - 2)
remember that each 2x3 board gives you two unique ways of placing a pair of knights so that they do attack each other
and similarly, each 3x2 board gives you two unique ways of placing a pair of knights so that they do attack each other
so how many different ways can you place a pair of knights so that they attack each other
like for example for a 2x2 chess boards, there are multiple ways to place two knights but they never attack each other
wait but why are we only considering 3x2 and 2x3 situations
what if the board is squared I dont get it
the only situation where you can get two knights attacking each other is on opposite corners of a 2x3 or 3x2 board
like in the case of 2x3 and 3x2 boards, is only two ways
we need to count the number of 2x3 boards in a nxn and multiply that by 2?
yup!
I dont get it tbh
the reason we do this is because we know that when two knights attack each other, they can only do so in an L shape
and this L shape is 2 units in one direction and 3 units in another direction
this gives you that 2x3 or 3x2 subboard
so we want to figure out how many ways we can get a 2x3 subboard inside of an nxn board
how do I do I figure the number of 2x3 sub boards in a nxn
^
and an ordering. a photograph of C is a graph
yeah, I don't know
i just found this discord and my discrete exam is at 8:30 am i'm so cooked
is there like tutoring in here
The C graph?
i'm stuck on this problem i know to use burnside's lemma but it feels so daunting here
Exercise 12. Consider the colorings of vertices of a regular dodecahedron with 8 colors such that a face cannot have more than 3 vertices of the same color.
(a) How many such colorings exist?
(b) Consider two colorings equivalent if one can be obtained from the other through an action of an element of the group of symmetries of a regular dodecahedron. How many unique colorings exist?
(Hint: This group is isomorphic to the alternating group on 5 elements)
(also posted to #groups-rings-fields , wasnt sure if here is also okay)
Can I receive some help for this. I began it but I am unsure how to calculate the cost of an edge, would it be multiplication of d x p(v_i) ?
are you refilling at every gas station?
I am not sure, I believe so because in the dijkstra's algorithm all nodes have to be visited
so since nodes represent gas stations I think it would be yes
you should ask your instructor. And how much are you refilling at each gas station?
I think they will likely say that that is for me to figure out
I think perhaps it is until V_n has been reached
Then I don't why you won't just make the price the edge weight.
This is what I ended up doing. I am not sure about it though.
The edge has to be related to the distance I think. since that is defined in the question
I set the edge weight to the distance x price
to find out the cost for that distance but idk
ok i am a bit confused on this question. i know how to show that it is an equivalence relation (i need to show it is reflexive, symmetric, and transitive, right?) but i don't know how to complete the second part of the question referring to prime factorization.
i need to show it is reflexive, symmetric, and transitive, right?
yes, that's correct
i don't know how to complete the second part of the question referring to prime factorizatio
the equivalence class [n] consists of all positive integers m such that nm is a perfect square.
so, ifn = p_1^{e_1} \cdots p_n^{e_n}, what do you know aboutm? ||Hint: what does the prime factorization of m need to be like in order for nm to be a perfect square?||
the exponents of m need to balance out the exponents of n in order to be a perf sq? idk
yeah exactly, namely, the exponents need to be... ?
does m in [n] have the same prime factors as n?
ok why
if p_1^{e_1} is a prime factor of n and e_1 is odd, then m needs to have at least one factor of p_1
take for example:
n = 2^2 * 5^2
m = 9^2
we know m is in [n] because mn=2^2*5^2*9^2 = (2*5*9)^2
maybe try an example where n has a prime factor with an odd exponent
ok
does the exp for n need to be greater than 1 or can i use 1
just as an easier example
however you want
ok
so n = 2^1 * 5^1
do n and m's exponents always need to have the same parity ig is what i am asking
well
the goal is that when you multiply them
the exponents of the prime factors of nm have odd or even parity?
yeah exactly
ok
so if n = p_1^{e_1} \cdots p_n^{e_n}, you can desrcibe exactly which integers multiply with n to beocme a square
i can? Ok I think I'm just over complicating the answer then
i'm stuck on this counting problem on my discrete math hw, i need to find the number of ways to color the interior edges (none on the boundary) such that around each interior vertex there's either 2 blue and 4 red edges or 2 red and 4 blue edges
i did it for a few smaller cases ill send that
i can find my work if needed
the 30 case it's just 6 choose 2
*2
for 450 it's 5 choose 1 * 5 choose 1 if both vertices are majority blue and the center edge is red, 5 choose 2 * 5 choose 2 if the center edge isn't red (still both majority blue), then if one vertex is majority blue and 1 is majority red its 5 choose 2 * 5 choose 1 if the center edge is red, and 5 choose 1 5 choose 2 if the center edge isn't red, for 225 total, but we multiply by 2 for the symmetries so it's 450
for the 3374 case consider ordered 6-tuples $(K_1,K_2,K_3,c_1,c_2,c_3)$ where $K_n$ is 0 when the vertex labeled $K_n$ has majority blue edges around it and 1 for majority red and $c_n$ is 0 when the edge opposite the vertex labeled $K_n$ is blue and 1 when it's red
Emma
(sending diagram 1 sec)
Consider actions of the group $\mathbb{Z}_2\times D_3$ on the set of these 64 6-tuples where $(0,x\in D_3)$ just moves the graph around like it would and $(1,e)\cdot(K_1,K_2,K_3,c_1,c_2,c_3)=(1-K_1,1-K_2,1-K_3,1-c_1,1-c_2,1-c_3)$
Emma
then we have 10 orbits and for each we can pick a representative 6-tuple and count the number of colorings that it would result in, then multiply by the size of the orbit, and sum all of these
and that gives us 3374
im not sure what to do in the next higher case with 4 vertices though
i meant H not K
@low hare do you know what i should do
sorry that took so long
some of these orbits give the same count so i think there might be a different group i can use thatd make it less orbits but this was the intuitive one
Emma can u do with 1 point and red and blue pencil cuz i confused what was u asking
Ok
examples of valid vs invalid colorings of the edges around a vertex
Thx
also turquoise if you say use a generating function i have not learned that so i probably wont be able to because i dont really know what they are
but i can try to learn
that is not a valid one
because they're all red
you can only have 4 red and 2 blue or 4 blue and 2 red around a vertex
I want ti say its ur shape u need to think of
Hmmm
Yeah I'm not sure. I can see how complex this gets after you solve the permutation for one hexagon
yeah i had to move away from trying to just do one hexagon at a time and use the symmetries thing instead
considering assignments of the central triangle and what the majority around each vertex is
the 64 cases of that have 10 orbits under the group action (maybe can optimize this to 6 if i find a better group but i cant quite express one of the symmetries as an element of some other group in a nice way)
and you can count for each orbit instead of each of the 64 cases
theres no book just the professor's lectures
she said we dont need generating functions for this class though
and we learn that in the graduate combinatorics
That was kinda brilliant q of discrete math
Emma I'm afraid I won't be able to help you. But one thing I would suggest is for you to repost your question in a better prepared manner, because it was too long after reading the prompt you gave that I finally understood. Also yes a little diagram with true-false cases. (so that others who read this won't have to scroll and lose the train of thought!)
i would go to office hours but they're different depending on your grade in the class so the ones for my grade are during my other class that i cant skip
Yellow one is ez but red one need to think
Not only ^, but the question asks for EVERY POSSIBLE way
are any of you good at logic? im stuck on a problem about translating into predicate logic w/ identity
the really interesting thing to me is 3374 is exactly (450*(6 choose 2))/2 - 1
and 450 is the previous case
and 6 choose 2 is what you would do for one vertex
i dont know if there's anything meaningful there or if its just a coincidence
I cant find any solution but i will ask my teacher
can you give me their email after you ask too
What if you don't have all 6 hexagons and consider a case with only two? The more hexagons you add I suspect the amount of viable permutations decrease
Or well you looked at that yes
I will ask him if he accept i will glad to
Denascite
thats the same meaning
Check dm
trying my luck here, i want to know if im doing the convelution operation correctly in this exercsise:
here are my functions: $$\begin{cases}
x\left(t\right)=u\left(t\right)-2u\left(t-2\right)+u\left(t-5\right)\
h\left(t\right)=e^{-2t}\cdot u\left(1-t\right)
\end{cases}$$
where the convolution is defined as following:
$$x\left(t\right)*h\left(t\right)=\intop_{-\infty}^{\infty}x\left(\tau\right)h\left(t-\tau\right)d\tau$$
horizon2.0
this is what i've done
938c2cc0dcc05f2b68c4287040cfcf71
I saw you were about to type something but the conversation was way out of topic for calculus
or if anyone can help me understand what the heck does the symbol $\not\subseteq$ tranalates in venn diagrams
938c2cc0dcc05f2b68c4287040cfcf71
because I was told in calculus it does not mean the two sets are disjoint
they can have intersection but is not entirely contained I pressume
so $\not\subseteq$ means $\subsetneq$?
938c2cc0dcc05f2b68c4287040cfcf71
It is very odd to ping someone just because they were typing in a channel.
desperation
because I see conflicting venn diagrams online
some people mean something and others mean other things with the same symbol?
I hope you get the answers you need
Not a subset vs. proper subset
$A \subsetneq B$ means that A is a subset of B, but A is not equal to B, usually we say A is a strict/proper subset of B. $A \not\subseteq B$ just means that A is not a subset of B, ie. there is an element of A that is not in B
sheddow
ohh ok, so $A \subsetneq B$ can be used to refer to a $A$ being a proper subset of $B$
but in the case $A \not\subseteq B$ means A is not a subset of B, meaning than all of it its not included (disjoint) or that some of A is included in B but not in its entirety
938c2cc0dcc05f2b68c4287040cfcf71
hopefully I understood what you guys mean, now
Sheddow phrased it best; $A \not\subseteq B$ is equivalent to "there exists an $x\in A$ such that $x\notin B$"
Outsider
I.e. "A is not a subset of B, proper or otherwise"
I see, thank you for the clarification, sorry for bothering with the pinging
when showing surjectivity of an algebraic function that is already shown to be injective, i get that we can solve for the input in terms of the output and show that f(input) = f(input), correct?
if the function is not injective, is this method inconclusive?
if anyone decides to reply to my question, ping me as well
I am not quite sure what you mean by that. f(input)=f(input) is always true. can you give an example of what you mean?
for any given output y you can try to compute some input x and then show that indeed f(x)=y. thats how you usually show surjective
and it has nothing to do with injective
oh
sorry i meant this
i was confused because i thought that f(x)=y where we found x in terms of y would only be valid if the function itself is invertible; so surjectivity can be inferred if we know that the function is injective and invertible
I'm poor at combinatorics and probability related to it.
Any way to improve it?
You can't infer surjectivity from injectivity. Take f(x) = e^x. It is injective, but you can't find an x where e^x = 0, so its not surjective. You can also have a surjective function where you can find multiple x values where f(x) = y for some y, this type of function is surjective but not injective. Take f(x) = tan(x). Notice that f(pi) = 0 and f(2pi) = 0 (and in general, tan(x) = 0 for x = pi*n where n is in a integer).
I edited my last phrase sorry
Oh I see
in that case you're right
invertible functions are injective and surjective
and vise versa
injective + surjective <-> invertible
Is it fine to ask questions about set theory on here?
It's better sometimes to ask forgiveness rather than permission
Just ask, and if it's not appropriate, people will direct you elsewhere
Could anyone help me draw this graph?
I know the steps to it but I have no idea how to draw it
My finals are soon and i've been studying
Draw vertices labelled 1 to 5. If (a, b) is in R, there is an arrow from a to b.
for all the points like (1,1), (2,2), (3,3) and (4,4) this means you'll have a loop in the digraph
and (5,5) sorry oml
Does anyone here understand the binomial theorem?
plenty of people do, it would be easier if you just ask your question
It’s kinda broad but when I took discrete math, I didn’t understand it at all but it seems to have a lot of implications not just with polynomial expansion but also derivatives, integrals, etc. How does that work?
Please be more specific
situations where you add two things and then take a power just occur quite frequently. so its no surprise that you encountered the binomial theorem in different contexts
hello, can i ask about
why does strong induction work
like i get how to do a proof by strong induction
its more of
i dont get why we're allowed to assume the inductive hypothesis
or that it's true for all numbers less than the one we're doing induction on
Strong induction consist of 2 steps.
- Prove that base case is true. (I use P(1) for base case in this message)
- If P(1), P(2), ..., P(k) are true, then P(k + 1) also true.
By step 1, P(1) is true
Then we are using step 2 over and over again.
P(1) true ⇒ P(2) true
P(1) and P(2) true ⇒ P(3) true
P(1), P(2), and P(3) true ⇒ P(4) true
P(1), P(2), P(3), and P(4) true ⇒ P(5) true
P(1), P(2), P(3), P(4), and P(5) true ⇒ P(6) true
and so on
And ultimately, P(n) is true for all positive integer n
By your base case, you show P(1) is true (or some other initial value). So you have shown that P(k) is true for some k, specifically k=1.
Then assuming P(k) is true works, because you showed it works, and this lets you show P(k+1) in generality, instead of case by case.
this is correct, right?
asking because our lecturer used a too complicated proof, that uses the smallest elements etc
so wondering if this is as simple as that, or if there are some subtleties I didn't notice
So one of my classmates was solving this basic triple integral and he was too busy to actually do it himself and one of my coworkers rewrite it as a the series on the right (I could be mistaken on the exact series that he wrote though) and I’m trying to understand how he rewrote it
Just looking at it, it seems to make sense to me except for why he multiples the series by 4
This is a generalized form that he wrote it in
can anyone look at help 13 to help me with this problem
does conditional mean something like “student plays trumpet given that they also play clarinet”?
either way yes
yes it's 6/40
Hello I have a question regarding modulo
This is a true or false
but invertibility of a modulo is not part of my notes so idk I just wasn't listening during that time or whatever but can someone explain?
true, f(0) = 3 and f(2) = 3 so the function is not invertible
isn't f(0) = 1 ? or maybe I didn't understand the question
f(0)= (5(0) + 3) mod 10 = 3 mod 10 = 3
oh yeah mb
thank you
you're welcome
guys?
I don't really understand it, is n an integer? But you write n U {n}, and m ∈ n
that's how integers are defined in ZFC
Sweet Tea 🧋🥥🍍🥭
Ah, I see 👍 I don't quite see how you get the last two lines, could you elaborate on what assumptions you are referring to?
Nvm, it's just the inductive hypothesis. Looks correct 
i need to determine the number of ways to color the cayley graph of $A_6$ with 8 colors such that each vertex is adjacent to exactly 4 vertices of the same colors
Emma
vertices of it
If C is a partition of X then how can we use X/C? Doesn’t the second term after the / have to be a relation, and C can’t be one because it’s not made up with ordered pairs? What am I missing?
Oops yeah you're right, so would this be correct: Given a relation, we can define a partition such that: Each partition contains elements that are related to each other under the relation. Elements in different subsets are not related to each other.
Given a partition, we can define a relation such that: Two elements are related if and only if they belong to the same subset of the partition.
yes, exactly
Thanks alot 
Hey guys
I need someone to help me
Quickly
In discrete math
Please tell me so I can dm.
I can
For part a, S means student ID, N means name, C means course
Why is it that for SC circle (SN)^-1, it is a direct relation from N to C?
Won’t it evaluate to SC circle NS. Is SC circle NS equivalent to NS circle SC?
Anyone?
!justask
@lethal linden how to approach 1.3?
Take part a for example
Should I substitute value of x first?
Or y?
How should I approach this?
Somewhere that syntax is defined in your textbook. What is the definition?
Seems like the syntax takes an expression and a substitution rule and gives a new expression, so the only way for expression[rule][rule] to make sense is interpret it as
(expression[rule])[rule]
So first I gotta put x = y + 2 and then put y = y.x ?
Ok that makes sense.
Chatgpt and copilot suggest the opposite lol.
The power of reading the definitions
So in short, first I'll evaluate or solve the innermost rule and then the outter rule?
True.
Seems like it. I don't even know what it would mean to do it right-to-left.
Do you replace it everywhere, including in other rules? Or just the expression?
If just the expression, you may as well commit to doing it left-to-right and reordering the rules.
This is basically textual substitution. Let me clarify it further
This should help
Click on the image to view it in full size.
I understand what is happening. I'm saying if you were deciding how your syntax was supposed to work, you'd have no good reason to make it work like expression([rule1][rule2]).
Oh. Yea you are right.
It's what I said originally.
It's E[rule] gives you a new expression E'
So the syntax is only defined when it's an expression and a rule.
So E[R1][R2] has to be
E[R1][R2] = (E[R1])[R2]
= E'[R2]
= E''
Where ' just means an expression after some rule has been applied.
(I think the textbook would've done well to spell this out.)
I see. It's very clear now. Thank you sooo much.
Cheers
Well either I am too stupid or the book is kind of vague.
There's a certain style of mathematical writing that assumes the reader is always taking everything very literally and never over-interprets. Of course that is never the case, at which point a successful interpretation depends on a reader's ability to self-correct.
Because here the very literal statement is you're given expressions E and R and told what E[x := R] means.
So if you took the minimal possible grammar consistent with that then the alternative would look unintelligible to you.
But we're humans and that's not how humans work, so a silly thing for the textbook author not to mention, or at least give an example of.
Any nice discrete math book for non-math students?
Hmm
True.
I'd like to thank you once again for taking out your time to help.
Kenneth Rosen has a pretty common one for CS
Will this be 0.6 or 0.0?
Given the following Markov Chain. What is P(A|E)?
are you starting at A or E?
can someone explain handshake lemma
Twenty switches in an office computer network are to be connected so that each switch has a direct connection to exactly three other switches. How many connections will be necessary?
handshake lemma is most easily explained through a graph theory representation but the gist is like
Say you have a switch A with three connections c_1 with switch X, c_2 with switch Y, and c_3 with switch Z
If you count up all of switch A's connections, you get 3 connections
But those 3 connections will also be counted in X Y and Z's connections to
That is to say when you count X's connections, it will also count c_1
when you count Y's connections, it will also count c_2
when you count Z's connections, it will also count c_3
So essentially when you add up the number of connections for each switch
You would be counting each connection exactly twice (for all connections)
I guess I get it
is just hard to think of
maybe more practice is needed from my part
here we have a graph with vertices and edges (in your case these are switches and connections)
the degree of each vertex is the number of edges on each vertex
deg(a) = 2, deg(b) = 2, ...., deg(f) = 1
when we add up all the degrees we get 2+2+3+5+2+1+1 = 16
But notice each edge has two vertices that are counting it
the edge shared by a and b is counted in both deg(a) and deg(b)
yeah
similarly, the edge shared by a and c is counted in both deg(a) and deg(c)
so each edge is counted twice (once for each vertex) in the sum of degrees
count the number of edges and tell me what you get
8
8 edges
yeah
and each edge has how many tick marks on it
2
so basically when you add up all the number of edges incident for each vertex (tick marks around each vertex)
you count each edge twice (2 tick marks on each edge)
in your case
I know the duality principle
for each switch there is 3 connections, 20 switches for a sum of 20*3 = 60
In this sum, you count every actual physical connection twice
so how many actual connections do you have
which is what
is that still iffy or do you get it conceptually
I get it fr, ty
ofc, good luck with what you are doing!
Nothin much tbh. I know + becomes * but I cant seem to do anything with this question
How do I convert the whole thing?
Will it be
a.(b.ā) + b (complement) <-> 0
work outward to inward
the biconditional is the most outward boolean operation
what is the dual of the biconditional
you get that by finding the and/or representation of the biconditional and flipping them
Nothing
Oh wait
Wow this is very confusing
I thought it would be something simple for 2 marks
@buoyant raven
Can you solve this
Is my definition correct: The canonical map maps each element to its own equivalence class which is the set that contains all the elements the element is related to in an equivalence relation. Thanks
find the primitive and/or representation of the biconditional
then flip it all
there are two equivalent such representations
conjunction of conditionals along with material implication
And you can easily make the other one by looking at the truth table of the bicondiitonal
guys................. i made a problem someone pls try solving it
You have n identical objects arranged in a straight line. First, you choose a positive integer k (where 1 ≤ k ≤ n). Then, you can repeatedly perform the following operation:
Select k consecutive objects that have not been chosen before and add k to a total sum S.
What is the maximum possible value of S?
Example
Suppose n = 4 and you choose k = 2.
The line of objects looks like:
1, 1, 1, 1
You can select the following consecutive groups of size k = 2:
The first 2 objects → Add 2 to the sum (S = 2).
The next 2 objects starting from position 2 → Add 2 to the sum (S = 4).
The next 2 objects starting from position 3 → Add 2 to the sum (S = 6).
After this, you cannot choose any more groups of 2 that have not already been chosen.
Maximum possible sum S = 6.
Im still confused
Can you guide me about part c?
I know negation of For all turns into there exists at least one and vice versa
How to solve 1.9?
@solemn mortar
je suis la
j'ai eu cet conclusion
ah si je peux je veux additionner qlq chose que je crois peu nous aider
t'as l'union de deux gars qui vaut 6Z, a minima faut que les deux gars en question soient inclus dans 6Z
i.e. t'as $2 \mathbb Z \setminus X \subseteq 6 \mathbb Z$ et $X \setminus 2\mathbb Z \subseteq 6 \mathbb Z$
aPlatypus
oui..
je ne sais pas beaucoup les loi ou application des ensemble mais est ce qu'on peut prendre 6Z = 2Z * 3Z ?
ok mais tu veux faire quoi avec ça ?
la question c'est jamais est-ce que je peux, c'est est-ce que c'est utile pour moi maintenant
n'auras pas une route pour savoir X comme ca non?
faudra m'expliquer dans ce cas, là je vois pas où tu veux en venir
faut que j'y aille qq minutes, tu peux prendre ton temps
et X dois avoir les elemnt de 2Z qui ne sont pas dans 6Z
uhh...