#discrete-math
1 messages · Page 128 of 1
yea, i dont understand this
But that doesn't mean we know anything more about x
yep, i got -3(22x) = -87(mod 67)
Yeah
Now on one side you have -66x; but -66 = 1 mod 67, so that's the same as x mod 67
And the right hand side is -87 mod 67 = 47 mod 67
So as a final result you get x = 47 mod 67
that's the full answer? Or just a simplification of the original question?
In the end that's the answer, yeah
you should check that every x that is equal to 47 mod 67 fulfils the original equation
and then you're done
Now on one side you have -66x; but -66 = 1 mod 67, so that's the same as x mod 67
@spark oyster im a bit confused here, how does -66 = 1 mod 67 help here?
-66 = 1, so -66x = 1x
And the right hand side is -87 mod 67 = 47 mod 67
@spark oyster we still have 1 there, wouldn't the equation here be +-1 ?
OOOH i see
because of mod you can just -66 + 67 and it's still equal
right?
so on the side with x i can do +67x any amount, and on the other side i can do +67 any amount
and it's equal?
okay i think i see it, so on the next question i had 101x=172(mod300) so i multiplied both sides by 101 (one of my numbers) and then did (101)(101x) % 300 = (172)(101) % 300 (mod 300) to get x = 272 (mod 300) which is the right answer
thanks @spark oyster
X~Y means , Food Y is included less than food X in the everyday day menu
letters represent foods
A<B
C <D
E <F
F<G
E<H
I<G
G <K
D< L
L<G
L<B
M<C
A<L
Is this a partial provision relationship? Strict partial provision; Total layout;
im totally lost on this one , anyone has any idea?
how to compute echelon form over ring of integers mod non prime??
ok so this is a bit of a bruh moment
but i don't seem to be able to prove this
Let S be any set. Prove that the law of composition defined by ab = a is associative.
idk i just tried to prove a(bc)=(ab)c but a(bc)=a and (ab)c=ab
If a graph A has a subgraph homeomorphic to graph B and graph B has a subgraph homeomorphic to graph A
Does that necessarily imply graph A= graph B?
knowing the inicial condition, how do i prove the following?
using induction atm, but not being able to prove P(n+1)
why not?
needs me a little help with this following problem for b and c. My top row for c matches the top row for the inverse of b but i cant get it to match up the bottom row.
what are your results
you did c) wrong
also to show that two matrices are inverse of each other you could also multiply them together and show the result is the identity matrix
~~Children in kindergarten arrange towers using colored blocks. They have two types of blocks: blocks of length 1 in three colors (white, red, black) and blocks of length 2 in four colors (yellow, green, blue, brown). Determine, by arranging a recursive relationship, number of towers of height n.~~
Hello, I have a question about this relatively easy problem. Is it possible to arrange recursion with regards to colors? Without colors its easy Fibonacci sequence but I don't know how to count colors in this.
If something is unclear in my explanation let me know, English isn't my first language.
I solved it by myself. I needed to multiply a_n-1 (block of length 1) and a_n-2(block of length 2) by number of colors (3 and 4 respectively)
What do you guys suggest I should review ( pre-uni) to get better with discrete math
I think im abt to fail again
Anyone familiar with Shift Registers for Shift Matrix and Generating Matrix?
for even numbers it's obviously true
for odd numbers, $\ceil{\frac{n}{2}} = \frac{n+1}{2}}$, $\floor{\frac{n}{2}} = \frac{n-1}{2}}$
PorosInMyAshe:
Compile Error! Click the
reaction for details. (You may edit your message)
$\frac{n!}{\left(\frac{n+1}{2}\right)!\left(n-\frac{n+1}{2}\right)!} = \frac{n!}{\left(\frac{2n-n+1}{2}\right)!\left(\frac{2n-n-1}{2}\right)!} = \frac{n!}{\left(n-\frac{n-1}{2}\right)!\left(\frac{n-1}{2}\right)!}$
PorosInMyAshe:
how do i begin to find the probability that five rolled values from a 10-sided die form a weakly increasing sequence?
@weary tiger Observe how many ways a particular distribution of values can appear.
How many ways are there to arrange the letters AABBCDEF (length 8)?
I've thought of two ways
- 8C2 * 8C2 * 4! (choose location for A's, choose location for B's, then choose locations for CDEF)
- 8! / (2! * 2!) (number of permutations, then divide by the overlap?)
But they're different; which one did I mess up on?
@north jewel The first result overcounts by giving too many possible locations for Bs.
oh duh
should be 8C2 * 6C2 * 4!
I guess I'm just blind... they match up now
thanks haha 😅
This was a claim in my graph theory class
but I came up with a counterexample?
k(G) is number of connected components of G
graph means simple graph
@dapper rose How many connected components of G are there?
S is not a vertex cut.
@dapper rose The removal of S decreases the number of connected components present.
yes, which is a counter example to the claim that removal of an arbitrary S increases the number of components?
It is not a counterexample.
It is not the case that k(G-S)>k(G). So, the requirement for {x} to be a vertex cut is not met by the definition.
you aren't making any sense, the definition of a (y,z)-vertex cut is given in definition 5. {x} satisfies:
- {x} is a subset of V(G) - {y, z}
- y and z are in difference components of G - {x}
I'm not saying {x} is a (x,y)-vertex cut
I'm saying {x} is a (y,z) vertex cut
Millenial what you have been saying makes no sense to me. My question still stands for any other ppl reading this
The definition is confusing because it is incomplete.
x and y should be assumed to be connected.
Of course, strictly, it may be plausible that {x} is a (y,z)-vertex cut and yet {x} is not a vertex cut of G, but I am doubtful of this.
here's the definition our professor gave for a vertex cut, which I've been using in this conversation
this seems like a strange proof of the handshaking lemma to me. it essentially relies on counting the rows and collums on the incidence matrix? (modified so loops are 2 instead of 1). hows that any different from counting vertices/edges on a graph by hand?
@dapper rose What kind of professor do you have?
There is no finite graph in which every vertex is a vertex cut.
a cut vertex and vertex cuts are different things
you are looking at https://math.stackexchange.com/questions/2461202 where they are talking about cut vertices? @lyric pumice
this is my class's definition of cut vertex
we didn't use vertex cut definition in our class because we can use a slightly more complicated definition that allows us to say more things. (called a seperation). a seperation is when AUB=V in G(V,E) and no edge from A-B and B-A is connected. A intersect B is the boundary, its size is the order of the seperation
how would one show this concisely
I don't see anything to show
oops
i think i got it anyways
its to show general associativity
i used induction
it's not that they "could" both have a cardinality of 3
they DO both have a cardinality of 3
yes
Hi i need help with fine state acceptor
Is this correct for finding the gcd?
29 = 3(8) + 5
8 = 1(5) + 3
5 = 1(3) + 2
3 = 1(2) + 1
2 = 1(1) + 1 <-- gcd
nah
the last line should be 2 = 2(1)
@lime jolt
for instance
if you had 14,4
14=3(4)+2
4=2(2) <- gcd
oh damn, thank you @weary tiger
Can someone help me with Eulers Theorem with 7^55320486

How do i calculate the last two digits of that huge number using eulers theorem
can you think of a way to transfer "last two digits" into something involving mod?
is it like this
7^55320486 = 7^5532048 + 6 = 7^10(5532048) * 7^6
= (7^10)^5532048 * 117649 = 1^5532048 * 117649
?
honestly im not too sure
uh
following some method my teacher did
I have no clue lol
In all the examples, he gave us a mod
but in this problem he did not provide it to us
so I am not sure how to get it
Well again, like I said
can you think of a way to transfer "last two digits" into something involving mod?
and there you go for odd numbers
@lilac pivot THanks just saw this now
I can't really think of a better place to ask but
can any language be defined as the limit of a sequence of regular languages?
hm, actually the answer is yes because any language can be defined as a limit of finite languages and all finite languages are regular
nevermind
Consider the numbers mod 4 @hidden geyser
You can try to generalize the result afterwards
Are you telling me to use the numbers -3, -2, -1, 0, 1, 2, 3 to formulate the proof or that there's some insight to those numbers?
Consider only positive residues mod 4
0, 1, 2, 3 - Notice we have 4 residues and 5 numbers in our subset. What does the pigeonhole principle tell you now?
we ignore -3 mod 4, since this is equal to 1 mod 4; same reasoning for other negative residues
The difference doesn't hold in the case of a 4 element set is what I'm getting?
Sorry if I'm not getting something obvious I'm a programmer not a mathematician 😄
It's a past exam paper from 2017 for our maths module.
Also, can you restate the pigeonhole principle? Just wanna make sure you understand it
If we have an excess of items from containers at least one container must have more than 1 item is my understanding of it.
Yeah, kinda awkward how you stated it though
So basically we have "boxes" and "objects"
If we have more objects than boxes, then at least one of the boxes will have more than 1 object
Now when using pigeonhole, the tricky part is finding out what our boxes & objects are
0, 1, 2, 3 - Notice we have 4 residues and 5 numbers in our subset. What does the pigeonhole principle tell you now?
Going back to this, what do you think the boxes & objects might be?
@hidden geyser
no clue 
Alright, what do you know about a-b mod 4
will be 0, 1, 2 or 3
No?
oh will be a - (0, 1, 2, 3)?
define residue
Note we have 4 boxes
residues mod 4 are (0, 1, 2, 3)
Every integer mod 4 must be 0, 1, 2, or 3 mod 4
I'm asking what residue means in this context not what they are
residues are the possible remainders after dividing by 4
Why are they the "boxes" in this situation?
They don't seem like they could contain anything
Our "items" will be the elements of your set
You have 5 items now right?
And 4 boxes
So one of the boxes will have 2 elements of the set that are the same residue mod 4
so are the boxes those numbers and the objects are how many times each appear when we mod the numbers in the set by 4?
then what would be correct ?
So we got our 5 element subset {a, b, c, d, e}
And 4 boxes, which are 0 mod 4, 1 mod 4, 2 mod 4, and 3 mod 4
Since every integer is 0, 1, 2, or 3 mod 4
And we have 5 elements
Pigeonhole tells us that one of these boxes contain 2 elements of the set
You following?
ye that's what I said
Could I ask why do you ignore negative numbers? And how this would work in the case where we have 5 numbers that are say something like 8, 12, 16, 20, 24?
those would just go into 0 5 times
Sure that still works
Take 12 - 8
That is a multiple of 4
Infact, notice any combination of the difference of those is a multiple of 4
oh yeah sorry got a bit tunnel visioned there
Reason we can ignore negative numbers mod 4, is that -3 mod 4 is equivalent to 1 mod 4
that's not how I know mod to work 
How do you think mod works 
-3 % 4 = -3
a mod b= a + b mod b
Also
-3 mod 4 = -3 is saying -3 is 3 less than a multiple of 4 (0 - 3)
But
-3 is also one more than a multiple of 4 (-4 + 1)
that's how modulus works in any programing language
I take it for -5 % 4 => -1 % 4 => 3 % 4 = 3?
yeah
-5 is 3 more than a multiple of 4 (-8 is the multiple; -8 + 3 = -5)
Is that clear now?
Sure
Alright, back to the main point at hand
Note that pigeonhole tells you one of the boxes contain at least 2 objects
(this covers the case where all 5 are 0 mod 4)
a and b are those 2 objects is what I'm leaning towards
or
any pair that are in the same box
(4a' + n) - (4b' + n)
n = common residue
a' = (a - n) / 4
b' = (b - n) / 4```
and then simplify?
Thank you so much for being so patient 😄
It established that at least 2 of the elements share the same residue mod 4
Lets call them a and b
We then had to simply show a -b mod 4 = 0, which implies a -b is a multiple of 4
@hidden geyser Using a similar argument, one can show that in any n+1 -element subset of the integers, There exists a and b, such that a-b is a multiple of n
I encourage you to try it for yourself as practice
There are a lot of cool pigeonhole problems out there; recognizing the boxes and objects are usually the toughest part
Anyways, np; good for you for hanging in there!
Until I'm stuck again 
look up what Big-$\Theta$ runtime means
Lochverstärker:
<@&286206848099549185> need help in my math homework, it's sets and functions. anyone can help me?
@solemn cairn Take the dominant term to find Big O when you have a complex term thrown together, usually works.
Looks like you might want to do some distribution first though, hint hint
post it here? or DM I can try @mighty garden
use Bayes' theorem or just work it out directly
@quartz gull
that ain't a good name fam
Would rationals and irrationals be a proper subset of all real numbers?
A proper subset means that one set MUST have some elements of the other, and is not allowed to be equal. So, if that's the case, then all real numbers CAN be represented by rationals and irrationals. Therefore, rationals and irrationals would NOT be a proper subset, as they would be a (regular) subset.
Would this assessment be correct?
Written in equation form,
thereby making this equation incorrect
irrational numbers are by definition real numbers that are not rational
so the union of all rational and all irrational numbers is by definition all real numbers
notice that some some authors use $\subset$ instead of $\subseteq$
Lochverstärker:
ah yeah--so this is one of those things where the definition of subset and subseteq matter based on asker 🤦
but I understand it! thank you!
can someone break this down for me? I understand recursion but I'm having a hard time understanding what all the notations mean
Tell me what ya know about induction.
i have to prove n+1 and n-1 to be true for the induction to be valid
So tell me what you know about the induction step?
(either in general or specific to this problem or both)
usually i take the equations given in the problem and manipulate it to where it is equivalent to the question being asked
but im mainly having trouble understanding what all the math symbols mean
ah okay. (a, b) is a two-coordinate object.
The first line states (1, 5) and (3, 7) are both two-coordinate objects in S.
so theyre just coordinates? not like a range such as 1-5 and 3-7?
Then next line states there's other guaranteed objects.
I am pretty sure they are coordinates in this case
so the recursive step is saying if there is one coord, follow the equation. if there are two coords, plug them together and make them into one coord?
it is better than that, for ANY object you have, then we'll also include the modified object.
for ANY 2 objects, we will include the formula for a new object and that object will be in S.
It's a bit like this: I have two numbers (not coordinates just two separate numbers) 5 and 10 in T.
I tell you whenever you have a number in T I will promise you that half of that number is in T.
Can you show me there are (some property) of elements in T. I could go for:
- there are infintely many elements between 0 and 1.
- infinitely many terminating decimals.
- no repeating decimals. 🙂
I'm trying to provide extra examples
But yes, the second line with (c, d) says exactly that.
If two coordinates are in S combining them in this given way results in an object in S
ok so i assume i will need to use both recursive steps in my proof?
Yes but one at a time.
Like you want to prove every possible new thing as defined by the top must also be in the set.
then you have to prove every possible thing as defined by the bottom will also be in the set.
so what im thinking right now is to start proving two coord, then one. since the example im trying to prove only gave me one coord, ill have to convert it to two coord? does that sound right?
So for the second part it says IF these two things are in S then so is (blah). Can you set up the condition (if part)?
Basically you say if (a, b) is in S and (c, d) is in S, then a + 4 = b and c + 4 = d.
Then show that (2a + d, 2b + c) follows the pattern for S.
ok i believe i proved that above, and reduced (2a+d, 2b+c) to y = x+4. does that mean i proved it for two coord and do i do the same for one coord using (3a + 1, 3b − 7)?
so i was able to get both (2a+d, 2b+c) and (3a+1,3b-7) to equal y= x+4. does that mean i have successfully proven the recursive definition?
Could someone correct me if I'm wrong with this? (Please):
I don't think this is possible, since there's only 5 people there can only be 2 pairs. Like the pigeonhole principle, one of the handshakes will have to repeat which isn't allowed. Therefore, it isn't possible.
There are more values than there are variables, so one of the values (handshake) would have to repeat.
I'm assuming that in order for this to work there would have to be 2*3 people in order for there to be 3 unique handshakes.
Thank you for confirming it by the way, I've fallen for some tricky questions would rather not try to lose a few points
ok, you have the right idea i think
but i dont see how to turn this into a pigeonhole argument
like, the number of handshakes is the pigeons and the boxes are what exactly?
(there is an easier argument if you covered the handshaking lemma)
I was thinking that because there's a repeating value that it could be tied to that principle, I'll just keep it out of the argument since I myself don't even know that. But for some reason it did help me understand it a bit easier.
@proven girder do you understand a solution now?
Because if you want a relatively simple solution
I do understand it, but I'd like to hear the simple solution!
I'm not sure how simple it'll be but
WLOG let A shake B,C,Ds hands
Then E must shake B,C,Ds hands also because if not A has shaken more than 3 hands
So we have 3,2,2,2,3 being the number of hands shaken of A,B,C,D,E respectively
can u gimme the answer someone plz
Then WLOG B shakes Cs hand so you end up with 3,3,3,2,3 and clearly it can't be done
@little matrix angles on a line add up to 180 and angles in a triangle add up to 180
you can do it from there
Is this a good definition?: A walk in a graph is an alternating sequence of vertices and edges v1e1v2e2···en−1vn such that each ei is incident with both vi and vi+1
i feel like it should be specified that vi can equal vi+1 for loops
your definition has some redundancy I guess, unless you're specifically allowing for multiple edges between vertices
the course lecturer has us doing non simple graphs yes (meaning loops and parrell edges)
My Assignment
I missed my classes, what topic do i need to search up and learn to be able to complete this assignment?
Hi, can someone help me to get this?
Z_n is the same as Z/nZ the ring of residue classes mod n
Z*_n is the elements in Z_n where gcd(x,n)=1
what is nZ
Does anyone know how to do mathematical induction like this example
been stuck on this for weeks
i cant seem to grasp it
at least how to start would be greatly appreciated
start by writing out your inductive hypothesis and your goal
can anyone help me with this integral?
been on some olympiad from 2008 and i've no idea how to wrap my head around it
start by writing out your inductive hypothesis and your goal
@stray reef what is that, never taken it
you've never done mathematical induction before?
@robust fog divide top n bottom by x^2
then use u=1/x-x as a sub
also wrong channel
sry for that, but i still cant really work it out
Hi sorry, but what is the difference between an additive group and multiplicative group?
and can't an additive group be a multiplicative group as well, since the adding a value to itself is just multiplying?
I am keeping the discrete log problem and Elliptic curves in mind, when I ask this
additive vs multiplicative out of context just means that the group's operation is called addition or multiplication respectively
often times people will use + to specifically mean a commutative group, but it's not a set in stone convention
Aren't both group commutative? Or are things like matrix multiplication also considered a multiplicative group
the set of all invertible matrices with matrix multiplication is a non-commutative group, yes
also i wouldn't really use the term "additive group"
and "multiplicative group" refers more to the multiplicative group of a field specifically
ultimately the symbol you use to denote the group operation is arbitrary
I see... just have to be aware on how I use them, i guess
Hello, I'm trying to figure something out here. I need to justify if a function is 1-1 and/or onto. I understand 1-1 but not so much onto. In this problem I have where f: Z x Z -> Z defined by f(x,y) = x + y . I know it is not 1-1 because f(1,0) = f(0,1) but (1,0) does not equal (0,1). For onto, I am currently going with it is onto but because f(0,y) = y. I'm not sure I get how to explain/justify how something is onto or not.
it's onto if every element in the codomain has a preimage
like in this case: for every z in Z, you have to find a (x,y) in Z x Z, such that f(x,y) = z
which you did
So technically the explanation that it is onto because f(0,y)=y is correct?
Okay thank you. Now what happens if I explained it f(x,0) = x would that be incorrect?
no
you just have to find any preimage
in this case every element in Z has at least 2 preimages
but finding one is enough to show the function is onto
@mellow girder Look at combinatorics and sets.
When doing inverses of a floor or ceiling function can you end up with something like [sqrt(-10), sqrt(-5)) or is this something considered imaginary and is not included in the final answer of an inverse
To explain more f^-1(s) = [sqrt(-10), sqrt(-5)) U [0, sqrt(5)) . Could the final result be f^-1(s) = [0,sqrt(5))?
@robust fog did u figure it out
Does this look like a correct DFA to you? Reg expression is ab(ab) + c
I kinda used my wits lol
Whoops
That's the reg expression
Sorry if this is against the rules but is there anyone I can pay as a tutor to guide my thinking for an assignment I have due in 10 hours
Yes; Payment is against the rules
understandable
quick question... but what does it mean when a statement says (z/5z)^2 as a finite field
does it mean that exclude all integers which are multiples for 5 and square the remaining?
Sorry if this is the wrong channel
no that's not what that means
Z/5Z is the field of integers modulo 5
ok... so / implies modulo?
it's the notation for quotient groups and rings
oh alright
i think they meant $A\in P(B) \iff A\subset B$
JohnDoeSmith:
I have a question on graphs: Let G be a graph with at least 4 vertices. Suppose that each vertex in G has degree of at least 2. Prove that there is a simple path in G of length 4. For some reason I have no idea how to prove this. Any help?
since all vertices have degree 2, every vertex you enter connects to another vertex, so try constructing a simple graph with only paths of length 3 or less
is & set union
then ye
no idea where the 40 comes from
but ye
this is called the inclusion-exclusion principle
Does anyone know how many connected components this graph would have?
one
Why is that?
this is a connected graph
for any two vertices in the graph there is a path from one to the other
start from one vertex and start coloring edges the same color if they're connected until you run out, that's one simple way to do it
Oh I see. Thank you. I will try out this coloring method too
What I have so far is "the equivalence class for each integer includes every real number with a floor value equal to that integer"
but is there a fancy notation way to write this
write it in terms of an interval
the equivalence classes of this relation are intervals of the form $[n, n+1)$ where $n \in \bZ$
Ann:
I have a problem similar to this on my homework but I would rather know how to do this so can anyone run me through the process of how to solve this? For example: Theres a total of 20 distinct cards. I have 14 distinct cards and my friend has 11 distinct cards. How many do we have in common, at least?
work:
anyway, if $x_i$ denote the indegrees and $y_i$ the outdegrees, then $\sum_{i=1}^n x_i = \sum_{i=1}^n y_i$
Ann:
yes
exactly
you're kinda overthinking it
$ \sum_{i=1}^n (x_i^2 - y_i^2) = (n-1) \sum_{i=1}^n (x_i - y_i) $
Ann:
Ann:
Ann:
this is because each edge contributes 1 to the indegree count via its head and 1 to the outdegree count via its tail
this is true in any directed graph
yeah so that proves $\sum_{i=1}^n x_i = \sum_{i=1}^n y_i$ and hence by a simple algebraic manipulation $\sum_{i=1}^n (x_i-y_i)=0$
Ann:
does anyone here know how to do relations and induction proofs
im a little confused
just ask
Hey could someone else help me pls
whats this question mean by 'G is an odd cycle'? Does that mean all the vertices in G are connected in G to form an odd cycle?
Yeah, to be presice it says that G is isomorphic to C_n for some odd n
In other words, the vertices of G in some order form an odd cycle and there is no edges in G other than edges of that cycle
right, thats what i thought, thanks
seems like i can prove it by showing that any 2 odd cycles joined togethor make an even cycle if i try to colour them. odd+odd length paths=even length.
maybe represent it as a balls into urns problem. set circuit with 6 vertice as 1ball {a}, 7 vertices as 2ball, {a,b}, ect.
you done permutations and combinations before?
i think your on the right track.
circuits are paths that end on same vertex right? you can't use other vertex more than once so i would have thought a length 3 circuit is 10*9 * 8
length 6 would be 10x9x8x7x6x5
ah ok.
Are you sure? The common definition of circuits specifies that the edges can't repeat
all my 3 graph theory courses ive done havnt even mentioned circuits. definitions seem to change from teacher to teacher
Lol yeah, you should check the presice definition that was given to you
Also sometimes the circuit 1-2-3-1 is identified with 2-3-1-2 and 3-1-2-3
mindfucking me haha, my definition of path must be different than yours
yeah dont listen to me. i've been using different definitions to you
A recurrence relation is an equation that expresses each element of a sequence as a function of the preceding ones i know what it is but this is straight from wiki (i do coding so hard to explain)
the sad thing is im in HS and im doing shit covered in Calc III
not for school, but because I decided to torture myself
well
that is ^
im implementing a research paper that discusses topics part of calc 3
such as vector gradients, tangent planes, normals, etc
mainly applied into computer science specifically
and mean squared error
I guess thats more stat then anything tho
lol
theres the main equation
I understand how to find a vector gradient
but how do I find the tangent plane?
dont I need normals for a tangent plane?
and how would I find the pseudo inverse of that function
the paper suggests if there is no solution to just use the pseudo inverse?
oh
the pseudo-inverse of the matrix
im really dumb
sorry guys
Wherein we apply normal vectors to our triangle mesh so that it can be rendered with light and shading.
Find the source code here: https://github.com/BSVino/MathForGameDevelopers/tree/trimesh-normals
New video every Thursday. Question? Leave a comment below, or ask me on Twi...
yay I found something that might help me
if you take a circuit (1,2,3,1) is the same as (1,3,2,1) backwards? in any case maybe your lecturer got the question wrong for not being specific enough with definitions! They are definitely different on weighted and directed graphs but not sure about simple graphs. will have to ask your teacher i think
Hi , this isn't really a help post but im taking Discrete next semester and I was wondering if anyone had any suggestions on books/lectures/videos/practice exams(esp with solutions)
mit ocw is usually good. books are pretty indepth...a lot more problems in them than the course usually covers.
i have no idea what this question wants me to do in my head
could anyone help me with this?
to clarify does $\overline{A}$ mean the complement of $A$ in $U?$
EGA 1:
yes
i cant stop thinking that A has to be Ø, or something
cause in my head it doesnt make sense
okay what it says is that $A \neq U,$ and $B \neq = \emptyset.$
no?
A centernot = U
since when did B have to be empty just because $\overline{A} \cup B = U$?
Ann:
A and B centernot those things lol
what's "centernot"
ye
did you mean the not-equal symbol
not equals
Ann:
anyway $B$ need not be nonempty
what
indeed if A and B are both empty then the equality $\overline{A} \cup B = U$ is true!
Ann:
what you can say is that $A \subseteq B$, which imo is a much stronger statement
Ann:
ok but how did you get to that conclusion
$\overline{A} \cup B = U$, intersect both sides with $A$ to get $(A \cap \overline{A}) \cup (A \cap B) = U \cap A = A$
Ann:
$A \cap \overline{A} = \varnothing$ so the left-hand side is just $A \cap B$
hence $A \cap B = A$, which is equivalent to $A \subseteq B$
oh shit I missed for all x
I though it was there exists x
so I just wanted the thing to be nonempty
so A = Ø?
it means exactly what's written
the intersection of A with its own complement is empty
yes
which should be obvious if you know what a complement is and what an intersection is
All you need is A is contained in B
yeah thats whats cinfusing me, why do you use it
because Everything not in B will then be in the complement of A
ega 1 you're kinda overcomplicating it and at the same time repeating what i said already
i took the condition $\overline{A} \cup B = U$, which is given, and from it derived that $A \cap B = A$
Ann:
fuck
how did you derive that
am i stupid
got it
thank you @stray reef
I was stuck on this one, how do you see that connection so fast?
hey you guys, I'm stuck on a homework question right now
don't they all have the ability to be false?
my professor makes bad homework assignments lmao
which a are you guys talking about, the first one?
lowercase a
some letter will be used more than twice
there's 10 questions
if each letter is used twice or less, that only covers 8 questions at most, which is less than 10
thats the only one thats true
the second b is also true; with only ten questions, there can't be at least 3 answers with all 4 choices
that's fine, then b won't be used more than 3 times
it doesn't say every letter will be used at most 3 times
it just says "some letter" will be used at most 3 times
mb
lol ye
So the only ones that have to happen are the first a, and the second b, @balmy nacelle
wait i seriously cant wrap my head around 3 2nd b
doesnt it say that any letter will be used 3 times max?
no is says some letter will be used at most 3 times
which means: there exists a letter which is used at most three times
it doesn't say: each letter will be used at most 3 times
the second b is not necessarily true, because it's a multiple choice test
i overlooked that
Lol I assumed that only one answer is correct for each question
it's sneaky
the first a is still true; because you have to write down at least 10 letters
and you're choosing from only four of them
so you have to repeat
i think they mean the correct letter
like when you are done with the test you look at wich letter was used, assuming you 100% the test
Oh so you're saying you think that the combination AB as the correct answer does not count as "using an A"
its using a in that case
i mean the test can go:
A : Correct
fuck
wait
q1
A : Correct
B : false
C: False
D : false
q2
A : Correct
B : false
C: False
D : false
and repeating
Sure
that means B C D was never used
that's fine; you used a more than twice
are you guys good at proofs?
it says "some letter" not "each letter" lol
uogtvrae
Depends on what "good" means lol
jesus i swear to god i have dyslexia
I literally hate proofs lol
I'm not top 50 putnam good
so for the base case
The base case just plug in n = 0
0 < 1 checks out
Also check $n = 1,$ $2^1 = 2(1) = 2,$ so it checks out. Suppose that $2n \leq 2^n,$ $n \geq 1$ we w.t.s. $2(n+1) \leq 2^{n+1}$ But then, since $2(n+1) = 2n + 2,$ and $2^{n+1} = 2(2^n) = 2^n + 2^n,$ we apply inductive hypothesis to say $2n \leq 2^n,$ so we've reduced the inequality to showing that $2 \leq 2^n,$ but $n \geq 1,$ so $2^n \geq 2^1 = 2.$
EGA 1:
Can someone check that I have the right idea
so you got
Where exactly can you tell where the internal nodes end?
it's not just B and C right?
what's an internal node
anyone know how to prove that
assume its not and there are 2 numbers that give the same remainder mod M
i don't understand what you mean
Look at the definition of injective

= here means logicall equivalent
try using P <--> Q = P --> Q and Q-->
and using P--->Q = not P or Q
and demorgen
@white monolith the algebra should work out ig
Can I get help with a few homework questions? I’m kinda stuck on them
oki
@neon thorn you said post the questions?
Yeah I tried the problems but I don't know how to finish them
Like for 5 and 6 I can try setting up the problem, but I'm stuck on what to do next
🤔
When you say it like that, it's easier to break down that I managed to solve it. Thxs for the help man I really appreciate it
we have k choices for a, then 100-k choices for b and then 100-k choices for c
which is k(100-k)^2 choices
but the solution says this:
could anyone help me understand this more intuitively
what's X
For 1 i got C(6/1)87*C(5/4)*8^4
Sorry, it's
C(6/1) * 8 * 7 * C(5/4) * 8^4
for 2) i got
C(6/1) * 4 * 3 * C(5/4) * 8^4
Is this right?
@lucid fog I'm sure there is a more elegant solution to this (probably with some theorem like whatever the answer to q3 was) but you could try brute force contradiction for each of $X_k \equiv \pmod{0 ,1,3,4}$
Botnuke:
and q4 implies q5 very quickly
the cases for 1 and 3 mod 5 are easy, and I think I have a contradiction for 0
I will try 4 mod 5 as well
I'm not sure what you mean by brute force each of Xk because they dont give you values for what k is
I was planing to prove num 5 first because every 3^power has a pattern
oops I mistyped
$X_k \equiv 0,1,3,4 \pmod{5}$
rule out these possibilities
and it must be congruent to 2 mod 5
wtf
ye
Botnuke:
proving either of q4 or q5 will give the other
but q5 says more than q4
I don't think it could possibly be easier
I think I've solved it btw but not 100% confident in my proof
I (maybe successfully) used well ordering on the 0 and 4 mod 5 cases to show there is no least X_k which is congruent 0 or 4 mod 5
which also implies q5
oh wait I'm dumb
there is more to it for 1 and 3 cases
ok I used well order for those as well
this does not count the passwords of the kind you are asked for
10 * 36^5 counts the passwords which begin with a digit
i need help ive tried 5 times and still getting wrong
not the right channel
i do wonder why discrete math attracts so many questions which absolutely have nothing to do with discrete math
do people just come here if they want their homework solved discreetly
help please
i do wonder why discrete math attracts so many questions which absolutely have nothing to do with discrete math
@spark oyster it's because classes like "intro proofs" or even just "intro mathematics" are labeled "discrete mathematics"
huh, weird
it's often just math for computer scientists or sth
@steady tendon too vague.
what are we coloring? vertices, edges, perhaps both? how many colors are available? what conditions must the coloring satisfy, if any?
vertex colouring, such that no two adjacents can be of the same colour
how many colors are available?
Well just one, the vertex in the middle has 6 neighbours, so you need a different color for each of them
@pale epoch Maybe it's also because they see the word "math" in the channel name.
And all the other channel names look more specific.

Could I possibly get some help on this problem?
How to preform the function for (1,1)
Like (1,1)G(1,1) = 1-1=1-1?
Would the 5 elements be 1,1,1,1,0?
we say (a,b) R (c,d) iff a-b = c-d
so u want the equivalence class of (1,1)
[(1,1)] = {(a,b) | (1,1) R (a,b)} = {(a,b) | a-b=0}
Is that a modulo?
no
I'm still lost on this problem. I can't find anything online or in my book
Do I want a-b=c-d to be 0=0 or 1=1 for the elements of [(1,1)] ?
imma guess the latter (1=1)
Ya that's what I'm thinking
any1 wanna help me out real quick? try not to give me an answer but give me some methods. I missed the first half of this lecture and my professor doesnt have online notes..... so i missed this "easy " part of lecture 🙂 please and ty 🙂
<@&286206848099549185>
which problem?
problem 1 i think i got problem 2
so for 1a, you have 26 letters and 2 cases so 26*2 = 52 and 10 numbers so 52 + 10 = 62
and you have lengths 9 - 11
so for the first 9 characters, you can choose any of the 62 characters
and for the 10-11 you have the option not to choose any so that is 63 options
but for the 11th characters you only have that choice if you chose a character on character 10
uhhhhhh....
what if one wants to not have case and or numbers and just all letters?
or is that not how it works
or is that possibility ^ included in these options
its included
no idea man.....
any ppl reading discrete math
Yes.
How many possible combinations in 10 character password?
using only small letters
it's 26^10 right?
yes assuming you're allowed to use any letter as many times as you want
ok then it becomes a bit tricky and im stuck
it asks lower case only + no repitition + in alphanumerical order
e.g bdgjkmpqr
well no repetition should be simple
yes
alphanumeric makes hard
exactlly
but the alpha order it's like i need to form a formula
hmm okay
I would go about it the same way as with the no repetition only now include the additional restriction
so say c is the first letter, then for the next position you only have 24 instead of 25 and so on
so if we say we picked the 15 letter of alphabet the second one needs to be in the range [16,26]
hmm I don't think there is a closed formula
so i should go about it with a reference starting point ?
because if you start with q you only have one possible password
qrstuvwxyz
so the amount of possibilities always depends on what letters you place
so u suggest starting from a reference point ?
and that possibiliti always changes tbh
if u start with A then u have 25^10 possibilities but then if u pick Y u have 1^10
look
for the first letter you have only 16 choices
since if you take for exampe w as first letter no password is possible
no, why you always have to preseve 10-k letters that are bigger lexicographically then the k-th letter
i think the solution is 16 * 15* ..... * 7
and let us always thing that k-th letter we take is always the biggest lexicographically
No 16 * 15 * ... * 7 would include illegal strings
because if you place d as the second letter you have less options
so if u pick K as the first letter that takes from [16,26]
ehh im burned.
i think im missing something can't be that hard.
whats the course?
discret math
as in what tools did you get to solve the problem?
or look abcdefgh
yea e.g bdgjkmpqr
that means it is just combinations of 10 elements without repetition out of 26
since {a,b} and {b,a} is in set notation equal
yep
well you can check it in the way you have password "abcdefgh" and you have 17 options
then "abcdefgi" and you have 16
and so on
is the coefficient of x^12 in (1-x)^-7 0?
because I'm getting 7C12 which is a no no 🤔
yes u can have aaaaaaaaa
or bbbbbbbbb
so each time u have 2 options a or b
2^10 * 2^10 .... 2^10 , 10 times
no ?
A and Z?
ye
then yep, 2^10
what if
2^10 * 10
so each
u have 2 options
2^1
for 10 letters
so
2^1 * 2^1 * 2^1 .... * 2^1
oh yea should be correct
what if , use only the letters A and Z but same quantity for each.
so it could be
AA BB AA BB AB
or
aaaaa bbbbb
yep
as my professor tells it is not important which is the letter
it could be even spongebob
this is another one
what if , use only the letters A and Z but same quantity for each.
for 10 char pass
not really
obviously 2 ways
oh i see.
AB AB AB AB AB
why
well, since a and b are equal in quantity then it could be only 5 of each
true
and then you just arrange all of A and B into two "boxes"
wum
like here
10! / 5! * 5! , 10 goes for 10 char long , 5 goes for each A and 5 for each B
hmm ok
2 tricky onesl eft.
but i have no idea what to do
use only small letters + digits , no repitition + take turns one letter one digit or the other way
e.g 1a2b3j8g5l or k3j5s0l1m9
So we have
26 for the first one + 10 for the digits
i stuck on those because how u gonna solve it , it always depends if the first is 36 then if we pick number second is 26 if we pick letter second is 10
actually your logic is right
since multiplication is commutative
you have 36 ways for the first pair
or smthng like that
sec
10*26 for the first
For the first one yes but second one really depends on first.
9*25 for the second pair
yes, but look
we take them by pairs
a1a1a1 for example differs from 1a1a1a only by order
so we can do like that
we count all ways when the first is digit and then multiply by 2
letters are 26 , digits are 10
and?
2610=1026
26x10=10x26
26x10 is the possible outcomes if we pick a digit or ch
char right?
ok yea true makes sense.
look. let us suppose we use order char - digit
so 2610 for first
2510 for second
24*10 for third?
yes
and so on until five pairs are done
then you multiply it by two since order digit-char also allowed
why 10?
that's what i was thinking now
26x10x25x9x....x20x5x2
ok and do u know how to do small letter + no repitition + lexigraphical order?
e.g bdgjkmpqr
thanks for ur help btwi truly appreciate it
ok and do u know how to do small letter + no repitition + lexigraphical order?
amm
we did it just before no?
no we never figured it out
that means it is just combinations of 10 elements without repetition out of 26
@last timber
