#discrete-math
1 messages ยท Page 155 of 1
probably #prealg-and-algebra
found this from a chapter on algorithms : Show the useful rule that if $f_1(n) << g_1(n)$ and $f_2(n) << g_2(n),$ then $f_1(n)f_2(n) << g_1(n)g_2(n)$ holds as well.
Doesn't this just hold from the properties of limits?
Fredrikpiano:
What exactly would I have to prove?
what's the double-less-than sign here
Its referring to the rate of growth for the function (asymptotic growth) from best I can understand.
I.E $logn << n^c$ for example
Fredrikpiano:
so $f(n) \ll g(n)$ whenever $\lim \frac{f(n)}{g(n)} = 0$, yes?
Ann:
Fredrikpiano:
o perfect! lol i just forgot the name of it ty
is this as easy as it looks?
can I just use one of the properties of symmetric difference?
But is that sufficient?
clueless on where to start with this problem
then gcd(x,y) = 1```
Just reduce it to mx+ny=1 gcd(m,n)=1, and then use gcd(x,y) divides 1
@static ivy divide both sides by gcd(a,b)
gcd(a,b) = ax + by
=> 1 = a'x + b'y where a' = a/gcd(a,b) and b' = b/gcd(a,b)
=> gcd(x,y) =1
doesnt gcd definition require the form a'x + b'y to be > 0 and minimal?
i undestand what u suggested but why is it true that its the mininal equation that satisfies this
Because 1 is the smallest positive integer
If you can Represent 1 you're Gcd 1
hint: 100 is divisible by 4.
think about my hint
think about some small but not too small numbers like 653 or 1432
would you like me to take you through some examples or specifically a pointer towards the proof
more towards the proof
use the definition of modular congruence: $a \equiv b \pmod{m}$ iff $a - b$ is divisible by $m$ (or is a multiple of $m$, if you're more familiar with that term)
Ann:
oh
so lets say
n is
21343
then i can say
they are congruent if
21343 - 43 is divisible by m
divisible by what?
4
21343 - 43 is divisible by m
hmmmmmmmmmmm
no?
the thonk was at your use of m specifically
oh
which i tried to hint at, but too obscurely
whatever
you've rephrased "21343 = 43 mod 4" into "21343-43 is divisible by 4"
21300
and is this divisible by 4?
yes
if i wanted to say you were wrong, i would've either said you were wrong explicitly or pointed out exactly where you went wrong with some remark like "how'd this happen now"
but i did not
you did not say anything wrong, you just went down a path of reasoning which bears little resemblance to the proof you're asked for
i humored you because i thought it'd help you get some ideas for the general proof
oh
sorry i am just still learning everything
so its hard for me to understnad stuff
ah great. we have an interruption don't we
Oh, sorry, haha
,w 41340 / 4
Yes
41343 - 43 is not 41340
ok so then
im thinking
i want anthonyvid to come to this on their own
i mean, you can say anything you want
you can say "DFJHLSGJKL JSDFKLHe()^())wT306924306 V2490562#($^)#$^()90Y940Y + +$^+#^+%$+^ #+$^43^" for example
whether or not it'lll make sense is another question
whether or not it'll help you complete the proof is another question still
you can certainly talk about the number $n - a_1a_0$ --- there is no higher force forbidding you from writing down this string of symbols in particular --- and you can, for instance, notice how it's either just 0 (when $n \leq 99$) or ends in 00 (otherwise)...
Ann:
ok so if i assume n is some positive integer with decimal expansion am,am-1 ... a2a1a0
then cant i just say
n = a1a0(mod4) iff n - a1a0 is divisible by 4
wait
did i just restate the question
yeah, you can say that. i thought we went over this.
ok
maybe it does
but it's your job to make that clear to the reader
if you want i'll put on my hard-to-convince hat and have you arrive at your proof through a dialogue with me, where i think the statement you're proving is false and you're trying to convince me otherwise
neither, it means i'm playing a role here and i want to make clear when i am speaking in character and when i'm speaking out of character
well, you can try
because what?
by the definition of modular congruence
n - a1a0 is divisible by 4 for every value of n
and why should n - a1a0 always be divisible by 4 no matter what n is?
i don't believe you when you say that. how do you know there isn't a value of n where this fails?
ok ill prove it
maybe it's something big like somewhere in the millions.
to you
go ahead, i'm listening.
because when you subtract n by a1a0 (last two digits of n)
OH
Because
ok
actually
a number is divisible by 4 if the last two digis of it is divisible by 4, so a1a0 has to be divisible by 4, and n - a1a0 will always make n last two digits result in 0, and 0 is divisible by every number
so the last two digits(always 0) is divisible by 4, which means the number is divisible by 4
a number is divisible by 4 if the last two digis of it is divisible by 4
isn't that what we're proving here, in some sense
so you're being kinda circular right now
i am saying exactly what i intend to say and no more.
i do believe you when you say n - a1a0 will end in 00 no matter the value of n (at least for n greater than ninety-nine!)
how does that mean n - a1a0 will always be divisible by 4?
because if n is less then 99
it will just be
0
and 0 is divisible by 4
and then
if its greater
if n โค 99 it is equal to its last two digits
and any number's congruent to itself mod anything
so the point is kind of moot
my doubt has now been reduced to: why's a number ending in 00 always divisible by 4?

ok
common sense, you say
lol
ok then let me finish
that string of symbols is kind of nonsensical
you told me 0 is divisible by 4, but that doesn't really convince me.
ok but
why are numbers like 600 or 34500 or 293385204203500 divisible by 4?
ahhhh
cus 100 divides them and 4 and 25 divide 100 
i am too smart for my own good dang
i wanted anthonyvid to come to the realization of "numbers ending in 00 are divisible by 100" by themself.
and this all ties in to my hint that i gave at the very beginning:
100 is divisible by 4.
so since n - a1a0 will end in 00
100 is divisible by all numbers ending in 00
and 4 is divisible by 100
4 divides 100? i think it is
omg i am so confused now
'is divisible by' and 'divides' are inverse relations to each other but they arent the same
and 100 divides by 4
yeah, divides is the opposite of divides by/divisible by
i think
just because you have a name for the inverse of a relation doesnt make the original relation symmetric all of a sudden
ofc
anyway, how about we cut the nonsense
n - a1a0 will always end in 00, and hence be divisible by 100.
100 is divisible by 4.
therefore n - a1a0 will always be divisible by 4.
so since n - a1a0 is divisible by 100
and 100 is divisible by 4
then n - a1a0 is divisible by 4
i know
i wanted you to say yes
ok and since its always divisible by 4
that means
n = a1a0(mod4) is true
because n = a1a0(mod4) iff n - a1a0 is divisible by 4
i think
actually
i know
thats hard
now you're going in circles.
you're done.
the proof is complete.
our little exercise with me playing hard to convince has paid off.
99
Any idea on how to convert this argument into a expression? I already did the first one
well considering they dont know the difference between rotate and revolve
Revolve and rotate is the same according to the teacher
I know, it's weird
But how can I make that expression?
let y be an arbitrary satellite
Alright
This is what I got so far
But don't know if I'm good
can you explain why you are using there exists
I think I got confused
Since there's no planet
Let me fix it
think of it as
since there does not exist a planet that satisfies
every planet must not satisfy
um i forgot the name of the law lol
I get the idea, the thing is I don't know how to express it in functions and quantifiers
using characteristic equation, is the second equation:
An-1= An-2 + 2n-1 + 1?
or do I leave the 2n as it is?
Hi, which axioms formula this statement uses: n+k=0 , it's AA6?
what
what's the dimension of a graph?
@iron crescent
no
what's the definition of "dimension" in the context of graphs?
what
wait ok so you're dealing with partial orders here
what's the dim of a partial order
10 is not comp to 3
anyway yeah no definitions no go
and she never gives a defn of dimension?
and what's a linear extension again
uh huh
okay
i'm not sure i'm following your prof's line of reasoning as you explained it
i mean, now you have me briefed on the defns at least
that means 2,3,5 and 5,3,2 have to show up in this order.
why so
i'm not yet convinced
yeah but why does 3 have to show up between 5 and 2
or does she mean that 2, 3 and 5 have to appear together in both linear extensions with nothing inbetween?
ah wait
i think i see her point
yeah, cause any other two permutations would result in two among 2, 3 and 5 being positioned the same under both linear extensions
which we can't have
and 10 will have to come after 2 and 5 since 2 < 10 and 5 < 10 under R
so we have 2 < 3 < 5 < 10 in one linear order and 5 < 3 < 2 < 10 in the other
thus 3 < 10 in both, thus 3 < 10 under R, contradiction.
if a pair of elements is incomparable in your partial order, then they have to not appear the same way in all LEs
what does R^(-1) mean?
does it have the same meaning with the one in linear algebra?
okay thanks ๐
does there exist a graph on 5 vertices in which there are no triangles nor trios of unconnected vertices?
@burnt herald
yes
drawing a 5 sided polygon and labelling them from a to e
but a can never be connected to c
but the question writes {a,c}
in the question, a, b and c are under a universal quantifier
for every three pairwise-distinct vertices...
but i mean yeah, there you have it: draw a pentagon
Thanks @stray reef
@iron crescent yes
as ann would say all terms after 5-th are 19 identically
but looks like numerator of i-th term is i^2 and denumerator is 2^i
thank you @near prawn
lol
How do I find the sum of minterms if the function F(x,y,z) = 1 iff yz = 1
@round geyser there is a lot of research on algorithmic graph theory, but that is more CS than math
in general a lot of interesting questions about graphs are algorithmic in nature (at least in my opinion)
there is also some overlap with combinatorics
oh nice
Is there any research going in graph Thoery itself
without any CS applications
?
no idea
i just know a single phd student in math-related graph theory
but that doesn't say much
why is the distribution of prime numbers significant?
@deft dock
Its not. Ita only of interest as a fundamental basic question to be interested in just as a question that can be asked. What's interesting about it is that the way we approach answering the question involve many tools and methods from other branches of math, and also motivates those tools and methods.
If I choose 5 cards from a deck of 52 cards, what would be the probability that the first card is a heart?
My reasoning was, there are (13 choose 1) ways of choosing the first card as heart, and there are (51 choose 4) ways of choosing the rest, so
13(51 choose 4) / (52 choose 5)
but this resulted in a probability over 1, what went wrong in my logic up there?
B ?
order matters :)
i mean you could also just do #hearts/#total = 13/52 = 1/4
Unsure about this question. Would "B" be the correct answer?
f(x, y) = 2x - 4y how do i check if this is onto or one to one
how does one tackle this
Thanks!!
There are $n$ students in a school who are preparing for a party to be held. Some pairs of students of the opposite gender have some degree of attraction to each other; there is no pair of students of the same gender that are attracted to each other. The principal of the school, Shourya, hates parties and plans to sabotage their attempt at a good time.
The students have to come up with a natural number $k$. Then, the principal assigns a set $X_e$ of code-words to a pair of students $e = {s_1, s_2}$ attracted to each other, where $|X_e|=k$.
Each such pair of students who like each other now has to choose one of the $k$ code-words from the set assigned to the pair. The main condition, called the Law of Non-interference, is that no student should have the same code-word with two different people that student is attracted to.
Abhay, the Don Juan of the school, is preferred by the highest number of people in the school; Exactly $\Delta$ girls in the school are attracted to him.
Find the least integer $k$, in terms of $n$ and $\Delta$, which guarantees that no matter what sets of code-word sets the principal assigns, the students can agree upon a coding scheme so as to not violate the Law of Non-interference.
Note; that attraction is mutual in this school. Unfortunately, that's not true in real life...
TwilightWings_52
check the definitions
Anyone please give me its solution
The domain of relation P is {2, 4, 6, 8}
For x, y in the domain, xPy if โ๐ฅ/๐ฆโ โฅ 1
anyone able to help me figure out how to build the relation set for this I dont understand what I need to do in order to get outputs.
I can't figure out how to make this into something like R = { (1, 1), (1, 3), (2, 1), (3, 2), (3, 3), (4, 1), (4, 4)} so that I can make a arrow diagram and do the matrix representation
you take all the elements $(x, y) \in P \times P$ and check if $\floor{\frac{x}{y}} \geq 1$
Lochverstรคrker
can someone please explain how that sum has changed
how did they turn 2^(n-k-1) into 2^k
its basically summing up the other way
so change of variables to n-1-k
@weary tiger
@proven shard so there is no practical use of finding the distribution of prime numbers using reimann's hypothesis? its only a matter of just finding it?
yep
it may be the case that the journey towards an answer leads us through lots on interesting mathematics which may have a practical application, but I wouldn't say that the distribution of prime numbers is of practical importance. Its just a really fundamental, basic human question, so we investigate it.
@pale epoch yeah i just dont understand how they did this change of variables
There are $n$ students in a school who are preparing for a party to be held. Some pairs of students of the opposite gender have some degree of attraction to each other; there is no pair of students of the same gender that are attracted to each other. The principal of the school, Shourya, hates parties and plans to sabotage their attempt at a good time.
The students have to come up with a natural number $k$. Then, the principal assigns a set $X_e$ of code-words to a pair of students $e = {s_1, s_2}$ attracted to each other, where $|X_e|=k$.
Each such pair of students who like each other now has to choose one of the $k$ code-words from the set assigned to the pair. The main condition, called the Law of Non-interference, is that no student should have the same code-word with two different people that student is attracted to.
Abhay, the Don Juan of the school, is preferred by the highest number of people in the school; Exactly $\Delta$ girls in the school are attracted to him.
Find the least integer $k$, in terms of $n$ and $\Delta$, which guarantees that no matter what sets of code-word sets the principal assigns, the students can agree upon a coding scheme so as to not violate the Law of Non-interference.
Note; that attraction is mutual in this school. Unfortunately, that's not true in real life... [Please anyone solve this problem]
TwilightWings_52
Need help with this
<@&286206848099549185>
7310=72*101+38
The Duke of Ankh
The Duke of Ankh
Why anyone is not answering my problem?
why do you keep posting problems demanding answers when you havent said what you've tried etc
This is what I got
Is it correct ?
Hey bud kinda occupied ^
why mod 100
sorry igtg, but you kinda unreasonably got 100
as for me
but i may be wrong
oh wait i got your idea
wait a couple of mins
Okay
Hmmm
Did that to know which remainders to multiply at the end
Oh wow
Noob mistake ๐ญ๐ญ
Sorryyyyy
I see where I went wrong
I have the correct computation tho
Just need do 58*76
Those 2 remainders
And whatever the result from that is divide by 101 and the result of that multiply with 101 then subtract it with the result of 58*76
Haha sorrry if it donโt make sense just a chain of thoughts @last timber
what do you mean how? they just did
as i said this is equivalent to doing the sum the other way, just think about what the first and last term of the original and the new sum are
hi
can i send some1 some graph theory
questions and check with him/her
the answers?
in dms
๐
B'C' + A'B'D + AB'D' + A'BCD' + ABCD
B'C'+A'B'D+AB'D'+BC(A'D'+AD)
B'C+A'B'D+AB'D'+BC(AxD)
B'C+B'(AxD)+BC(AxD)
what
should I do with
A'B'D+AB'D'
I haven't checked the rest of the function but the one you put in the code block is as simplified as it can get
if you use a k-map you can see the two squares are not adjacent
sure it can be made $B'(A \oplus D)$
bitter
The reason I didn't bring it up is because in the context of digital design XOR is not simpler than A'D + AD' and factoring out the B only means you're going to use more gate-levels which increases propagation time
B'C' + A'B'D + AB'D' + A'BCD' + ABCD
B'C'+A'B'D+AB'D'+BC(A'D'+AD)
B'C'+A'B'D+AB'D'+BC(AxD)
B'C'+B'(AxD)+BC(AxD)
this is the simpliest we will get
are you using x here to refer to XOR?
yeyeyyee
oh I see
then yeah I'd say that's as simple as it gets depending on how you define simple
but why isn't xor simple?
because when implemented in hardware it's not one gate IIRC, you need 3 gates and 2 inverters.
and factoring out the B' in the first place means you're increasing your gate-levels by one which is usually avoided
and judging by the notation you're using I'm guessing you're doing digital design?
yes
how far in are you?
idk, this is my first course, but we have talked about state machine, AD, VHDL
this is what I was talking about
I think there are logic families that have XOR gates but I'm not entirely sure
I'm also a beginner in this
I think it is incorrect
because when I did truth table it didn't match up with the original form
can you give me the original function
I can try to simplify it
I'm actually studying for my digital design midterm right now :D
B'C' + A'B'D + AB'D' + A'BCD' + ABCD
I got $B'C' + C(B \oplus D)$
bitter
@topaz tendon
I think it is wrong because the truth table is now shorter ๐ฆ
Yes because A is no longer in it
if you look back at the original function you can see that A is irrelevant
do you know k-maps
yes
the thing is
00, 11, 10, 01, 00, 11 ...
01, 00, 01, 10, 11, 00, 01 ...
10 ,11, 10, 01, 11, 10
we have a counter,
when the code is 00 then it should count 11, 10, 01, 00, 11
when the code is 01, 00, 01, 10, 11, 00, 01
when the code is 10, 11, 10, 01, 11, 10
It removed that
you mean greycode?
yes
yeah
this truth table does not represent the counter anymore
It's just the upper half of it
but I now see I made a mistake
it should be $B'C' + C(A \oplus B \oplus D)$
bitter
I should have caught that my bad
I gotta say though I find it odd they're making you simplify functions with XORs
correct
well my teacher said, that We can only use two OR grind
but why is it odd ?
oh you exlpained it already
the pun with "odd" and "XOR" is not intentional :D
np
sorry for the mistake
I should have been able to see that it's A xor B xor D from the checkerboard pattern on the k-map
wait let me draw it for you
this looks like an algebra problem
which channel do i go to?
This is the K-map
On the left half we have B'C', I think that part is clear
on the left side we have a checkerboard pattern
when you have that it means you either have an odd function (XOR) or an even function (equivalence)
We can verify that it's an odd function by inspecting one of the squares
at that point it's as easy as seeing that C is the only constant
so you get $C(A \oplus B \oplus D)$
bitter
I hope that makes it clear
XOR and equivalence gates are the hardest to implement in hardware because of this checkerboard pattern, there are no adjacent squares.
but I dont understand
what is it that it makes difficult
that you need more grinds or ?
the logic is just more complex
compare it to an AND gate or an OR gate
for an AND gate there is only one combination of inputs that gives 1
and for OR gates there is only one combination of inputs that gives 0
for odd or even functions there is an equal amount of input combinations that give 0 or 1
what do you mean by combinatino
00 01 10 11
those are the four combinations of 2 inputs
for $n$ inputs there are $2^n$ combinations
bitter
so this is especially true as your scale up your inputs
how many combination if you have xor grinds?
I'm guessing by grind you mean gate?
the number of combinations is dependent on the number of inputs, not the operation
but this is what I meant
take the case of 2 inputs, 00 01 10 11
For AND, only 11 gives output 1, others give 0
for OR, only 00 gives output 0, the rest give 1
for XOR, 01 and 10 give 1, that's twice as many
and it only becomes worse as you increase the inputs
is this symmetric or anti symmetric
x^n = y
from Z+ to Z+, for some positive int n
Alright I'm sorta losing it on this problem
Specifically part e
I'm not sure what to even do, I could do the other ones fairly easily but n4^n is like blowing my mind and not in a nice way
just try it
Yeaaaaah so I got
and consider that 4^n = 4(4^n-1)
32n^(n-1)-32^(n-1)-64n^(n-2)-128^(n-2)
And I know that is so very wrong
But every time I would attempt it I would circle back to that somehow
$8(n - 1)4^{n - 1} - 16(n - 2)4^{n-2}$
bitter
Now we distribute
$8n4^{n - 1} - 8 \cdot 4^{n - 1} - 16n4^{n - 2} + 32 \cdot 4^{n - 2}$
bitter
Now we recognize that 8 = 4 * 2; 16 = 4^2; and 32 = 2 * 4^2
$= 2n4^n - 2\cdot 4^n - n4^n + 2\cdot 4^n$
bitter
bitter
how would i do part b?
Does anyone have a source that provides a full proof for the integer partition identity that the number of partitions of $n$ into parts of the form $5k + 1$ and $5k + 4$ equals the number of partitions of $n$ whose consecutive parts differ by at least 2.
I believe that this is one of the Rogers-Ramanujan identities.
I have reduced the problem down to $\prod_{n \geq 0}\frac{1}{(1 - x^{5n + 1})(1 - x^{5n + 4})} = {{\sum_{k \geq 0}} \frac{x^{k^2}}{(1 - x)(1 - x^2) \dots (1 - x^k)}}$, so if you provide a proof of this sum to product identity that would also be very helpful.
Additionally, if there is a combinatorial interpretation of the above identity that would again be very helpful.
Thank you very much in advance!
hendrix
please ping me if do you, thanks
@agile lava what about this exactly?
which one?
are there multiple different possible DFA equivalents ?
i have got one, but its not the same as the model solution
hm
@karmic nymph is epsilon empty string?
its a jump
ive found another method of finding the DFA equivalent but they look different
so just wandering if its fine
what is "a jump"
yeah i think it's the same as empty string
if the input is empty then you can make that transition
so basically empty string
yeah my bad lol
@agile lava can't we reduce vertex cover to the first problem?
@karmic nymph
you probably had 4 states
one {s,p}
but if you look
it is the same as {s} actually
indistinguishable
wdym
like for (6) they just defined the problem, but are you actually supposed to find an algorithm?
i see
which program did u use to make that? i can show u mine
jflap
what is this
wot happend
wym
Can I ask a basic algebra 2 question
not in here
Im really lost and need help
use algebra or q channel
where do I find that?
its not a DFA if theres no option for b at q1
oh wait i got em
ye they just added trap state
otherwise it is the same as jflap's
How would you factor this?
this isnt discrete math this is a question for #prealg-and-algebra
what is descrete math anyways?
its math in discrete quanitity
its secret math
di-secret math?
booo
in proving a) and b) here, my solution is to rewrite bc/a as (b sub 1 + b sub 2 + ... + b sub c)/a and then separate that into individual fractions, then use contradiction saying if a doesnt divide bc then that implies it a doesnt divide b, so it must divide bc
is this a valid proof
b) being a variation of that ofc
oh...yeah, just misunderstood the problem
just definition is ok
wdym? they defined it for you. what does the problem say, exactly?
the definition of the optimization algorithm
is the statement $f(x)$ is $O(g(x))$ different from the statement $g(x)$ is $\Omega(f(x))$?
bitter
If not then why does the big omega notation exist?
From what I can tell it seems like it's there to set up big theta but we can describe the idea "f(x) and g(x) are of the same order" using only the big-O notation.
Idk if this counts as discrete math or calculus. Anyways, in this discrete math book, it said some definition of the derivative which I didn't understand it said something like
$f(x+\epsilon) = f(x) + M\epsilon + o(\epsilon)$
Neophiliatic
@fast temple depends on your definition of big omega
if you come from algorithmic complexity, what you said is correct
and i think Knuth defined big omega that way
the tl;dr is that hardy and littlewood defined it differently (in terms of limsup) and that is (slightly) weaker than what knuth did
in fact landau introduced two more symbols
landau, hardy and littlewood didn't care about complexity of algorithms though
they did this to describe bounds in analytic number theory
I see, I'm studying it in the context of complexity of algorithms
I guess I'll take it as a more convenient way of expressing that g(x) is the best case for f(x)
then your observation is (probably) correct
i have never used big omega
other than in some exam
in fact i rarely use big theta now, so there is that
@sterile otter what part do you not understand?
The o part.
thank you for the help!
So like I know what it is.
it is some term that is asymptotically bounded by epsilon
But I don't understand it completely.
(strictly)
So can I compute a derivative using that definition?
what is M?
f'(x):
this implies that you already have the derivative
but in theory, yes
if M is a linear function
so the idea here is
that close to x, f(x) is "almost linear"
Yeah.
and the o(epsilon) makes sure that the error is not too big
Oh. I think I'm starting to get it now.
Okay.
weird that this is in a discrete math book though
you would need this in analysis in more dimension
because this is the correct way to define the derivative in higher dimensions
Oh okay.
in the single variable case, M will be some number
i.e. f'(x)
in multivariable case it's some matrix
which then plays the role of the derivative
How can I work out o(h) if its even possible?
it's the error you make when approximating the function close to x by it's derivative
So you can only work it out knowing the derivative?
yes
you can define it by r(epsilon) = f(x+epsilon) - (f(x) + M*epsilon)
where now r(epsilon) is the error you make when you approximate the function at x+epsilon by it's derivative
and the o(epsilon) part means
$\lim_{\varepsilon\to 0}\frac{r(\varepsilon)}{\varepsilon} = 0$
Lochverstรคrker
or in words: the error converges to 0 faster than linear
Ok.
So for part d, I got to 14^(n-1) - n + 28^(n-2) + 8, is that right so far?
Yeah I've hit a wall. I can't do anything with that equation
yeah but what does it ask you to find
Is there an easy way to find the hamiltonian path through the cayley diagram of a symmetric group?
Given two generators, such as an n-cycle and a transposition.
for 9 take away 6. The answer key is saying it is 84, but I keep getting 168. Can someone help?
Ohh shit I get it now I feel so stupid
@versed summit I donโt think you are supposed to get 14 or 28
u cant combine 7 * 2^n-1
Hello
May I have help with this question please?
I was thinking to utilise even parity on part a), but that only detects errors.
You only need 2 bits to code the four directions
Hey, does anyone know how to calculate how many relations that are both antisymmetric and symmetric exist on a finite set with n-elements.
what have you tried
well in my head the only relations that can both be symmetric and antisymmetric are ones were both elements of the relation are the same so the number of relations that are both antisymmetric and symmetric would be equal to the number of elements in the set.
I'm not sure if this is the right way to think about, the only relation i can think of that is both symmetric and antisymmetric is = and that's where my thinking is coming from.
seems to be mostly correct thinking
in a relation that is both symmetric and antisymmetric, each element will be of the form (a, a)
but then for every element a in the set you have a choice of whether or not to include (a, a) in the relation
so your conclusion is not quite right
like, for example on the set {1, 2} the relations that satisfy that are {}, {(1, 1)}, {(2, 2)} and {(1, 1), (2, 2)}, right?
maybe you can generalize that
the set of relations seems similar to a power set
indeed
notice that for every element in the set you have exactly two choices
include or not include (a, a)
i think i understand it now, thanks a lot!
um nobody answered in the question channel and i was told that i could try posting here!
Modulo question:
If we're solving for x and we are given the values of all other variables (A B), how do we deal with the 2 in an equation such as: 5x + 2 โก A(mod B)??
Ive searched online and everything and theres just examples without an addition.
hey guys I have a question related to graph theory how would I go about solving this?
dijkstra's algorithm?
yeah are you familiar with it by any chance?@coral raven
dijkstras algorithm is literally instructions on what to do
i think you can combine the nCk and the (-1)^k/(z+k) after using the factorial definition
how
what's the factorial definition of nCk
okay imo
try expanding the sum so you can see it more easily
and try to put everything over the common denominator (z+n)!
yes i will try again
i think
New in the server
i said that n!/z*...z+n = 1/z*(z+n)Cn
n!/(z*...(z+n)) = 1/(z((z+n)Cn))
no, i didn't mean for you to collapse the RHS
i think you should expand the sum on the left hand side, write out the first few terms
the LHS won't directly be (z+n)!
but you can combine all the fractions into one with (z+n)! denominator
and i think that should simplify
Modulo question:
If we're solving for x and we are given the values of all other variables (A B), how do we deal with the 2 in an equation such as: 5x + 2 โก A(mod B)??
idk how can i add the left side
what do you have now
okay
so now you can multiply each fraction's tops and bottoms so that the bottoms are (z+n)! i think
it fits perfekt but the upper side its suck
okay right
yea
oh wait
it goes + - + - + -
so try method of differences
consider each pair of the things
?
i'm trying it rn, there's a little cancelling going on, unclear whether it's enough
@hoary dock okay i was trying the induction
so if it works then z = 1 should work
so inducting over n:
for n = 0, we get 1 = 1 and it works
but assuming n
and z = 1
i get the sum is n!(z-1)!/(z+n)!, just a different way of writing it
so n!/(n+1)! = 1/(n+1) when z is 1
now firstly if n+1 is even, then sum from 0 to n+1 = sum from 0 to n + the n+1 case, by the LHS
so 1/(n+1) + 1/(n+1) = 2/(n+1) =/= 1/(n+2)
so it doesn't work? idk what i've done wrong
it should work ๐
idk
hahaha ๐
what are u studying
haha ๐
i was trying induction for z = 1
okay z = -1 then and let's go down ig
and then i'll also have to do z = n+1 and go upwards??
ya probably :
?
hahaha ๐
okay let's try this again
wait
okay well i'm not doing (-2)!
that's not a thing
so just need to do z = n+1
what ๐
i'll explain if it works
okey


