#discrete-math
1 messages · Page 210 of 1
k ty
book ask to find gcd of 6,4 and their prime factors and also find the gcd of 30,42 and their prime factors and then ask what i notice between the two problems and ask how i can use it to compute nZ intersect mZ
i have:
gcd(6,4) = 2
prime factors of 6: 2 * 3, so 2 & 3
prime factors of 4: 2^2, so 2
gcd(30,42)= 6
prime factors of 42: 2 * 3 * 7, so 2,3,7
prime factors of 30: 2 * 3 * 5, so 2,3,5
i don’t notice anything and don’t see how to use this to compute nZ intersect mZ
what am i missing in insight here
Im confused on how 2 and 3 are different if we have the same variable x
they later explained that they could have used and x and y a but it just seems weird as it is currently
like why ever right it like x,x
instead of something like x,y
$\exists {x} \lnot R(x) \land \exists {y} V(y)$
The precise choice of variable is not even visible outside the \exists x(...) formula.
$\exists$
Alter
The only task of the variable name is to help link up the place where you mention the variable to which quantifier tells you how the value come about.
Brandon7716
so you probably wouldn't see it ever like this?
as it is redundant?
where x and y are really talking about the same thing (people in this case)
I almost always see it with only x
Sometimes you do. Since it makes no difference for the meaning, it's not common to think all that much about the choice of variable names.
can i get any help with this
try computing 2Z intersect 3Z and 5Z intersect 7Z
are 6 and 4 in the first intersection? are 30 and 42 in the second intersection?
Is this right? Th question mark part
is the triangle the symbol for difference?
Is that statement true? The one with difference distributed over intersection? 
oh
Feels like it should be ||union|| instead
Alter is saying your original statement is false and the middle intersection should be ||union||
Yes that’s what I’m trying to prove
That’s false
But I cannot draw the second statement
by the drawing?
Yes
well what is your final drawing
without multiple colors overlapping
I would draw out
(A difference B) (still keep c in the picture)
(A difference C) (still keep b in the picture)
and then see where the 2 pictures have an intersection
How is this true
@cerulean wind wouldnt 2z n 3z = {..,0,6,12,18,..} and 30z n 42z = {...,0,210, 420,..} ?
if so i dont see a pattern
here is a tool that you can use if you want to see if your diagrams are correct. https://www.wolframalpha.com/widgets/view.jsp?id=eb7ef0469ad23a2c5782e8770da04529
Get the free "Venn Diagrams for Sets" widget for your website, blog, Wordpress, Blogger, or iGoogle. Find more Mathematics widgets in Wolfram|Alpha.
just use (union, difference, intersection) and type your sets as (A,B,C,etc)
or in boolean form
symmetric difference also works
Do you undersatand why
the C and B ciurcles are shadded here ?
thats all I need to know
in which picture
no clue
What book are you using?
can anyone help with this
not sure what to do here:
let's focus on part a, try to describe what you think the symbols are saying as best you can
well I think it's asking for the union of the ith sets in N? not sure how to compute that though...
so I guess i $\in \mbb{N}$ is ${1,2,3,4,5...}$
Renegade
Compile Error! Click the
reaction for more information.
(You may edit your message to recompile.)
idk
sorry
so to clarify
I mean
wait how do I latex union lmfao
I only know intersection
$\cap$
Renegade
\cup haha
$A_1 \cup A_2 \cup A_3 \cup . . .$
Renegade
yeah, try just doing a few of them, just $A_1 \cup A_2$ and see if you can pick up a pattern
Merosity
im just not really sure, $A_1 \cup A_2$... isn't that just gonna be ${0,1} \cup {0,1,2}$?
uhh, one sec
\ before {
Renegade
man I am confused
start with A_0
there is no A_0
0 is clearly in N here
there is A_1 = {0,1}
but there's no A_0 by their definition of N here
so then how do you justify the subscript on the union
the subscript is i in N
oh
ok back to this
yeah that will be right
which must mean that we take into account the definition of A_1
all the A_n have 0 in them
no, I think you're confused about what the union means
when you put this, can you simplify this further?
the intersection will only yield {0,1}
{0,1} U {0,1,2} is there a simpler way to write this set
for B I believe this is the answer
as with each consecutive term as n tends to infinity we just get additional terms which dont intersect
okok
thank you so much
Merosity
so it kind of might be nice to think in these terms if possible cause unions of sets where one contains the other will always be the larger set, and similarly for intersections the smaller set
yeah you're welcome
sorry for being stupid, but I've another Q
A_1 U A_2 for example will yield {-2,0,2} U {-4,0,4} so is it like {2n | n in Z} ?
ye
does 3Z include 0
yes
k that makes sense
im so confused in my discrete math class and idk what to do and idk what im even looking at 🙃
the form of k + (k + 1) + ... + n is really close to 1 + 2 + ... + n
can you figure out how they are related
that they both end in n?
thats good to notice
but focus on the beginning of each expression
how can you maybe break up 1 + 2 + ... + n to make one part of it look like k + (k + 1) + ... + n
i visually see it but i cant think of anything
im straight up lost in this section of math and idk what its called so i can learn it
1 + 2 + ... + n = 1 + 2 + ... + (k - 1) + k + (k + 1) + ... + n
does that, make things look more clear?
1 + 2 + ... + n = [1 + 2 + ... + (k - 1)] + [k + (k + 1) + ... + n]
where are you getting (k-1) from?
you can rewrite k + (k + 1) + ... + n as the difference of two things you know how to calculate
k is some number between 0 and n
if k = 0, then can u see how the problem is already solved?
not at all ;-;
um. i dont know how else to break this down then
what is this stuff even called
combinatorics
@frozen haven going from 1 to n is the same as going from 1 to k-1 and k to n then adding the results
its written as
1 + 2 + ... + n = [1 + 2 + ... + (k - 1)] + [k + (k + 1) + ... + n]
How do I read this
It is not true for all x, P(x) is true?
and this one reads
There exist an x such that p(x) is not true?
Correct.
right so I just wanted to clarify then:
for a) the answer will be ${2n | n \in \mbb{Z}}$
Renegade
and for b), won't it just be ${0}$?
Renegade
@weary tiger yes
thank you!
Renegade
is that correcpt?
as for 6b i got [0]
and 7a) I got $\mbb{R} \times \mbb{N}$ but idk
Renegade
how can I fix this then?
I'm confused
for 6 a) we have ${0,2} \cup {0,3} \cup {0,4} \cup . . .$
Renegade
right?
<@&286206848099549185>
For 6a) you have $[0,2] \cup [0,3] \cup [0,4] \cup \dots$
ScapeProf
{} are used for singletons, [] are used for inclusive intervals
And again wdym with [0]?
Can you say what x in [0,2] means for example?
What values of x are in that?
ah so it's just all natural numbers U [0] right?
No, can you answer this?
And stop typing this
some of these depend on if 0 is a natural number right
Hey everyone, I just joined the server because of this problem
I know it's simple but I'm just not exactly sure how to write it
hi, I hv a small doubt
If I hv a number x, then how to find the highest no of different factors of it such that their pairwise lcm is x
I know answer is the no of distinct primes in its prime factorisation
bt I'm not able to digest it, can someone give a valid point or some proof why this is the only way plz
also I wasnt sure if I should put this doubt here or in #elementary-number-theory so posted it here
What have you tried?
I wrote P(1,0) ∧ P(1,1) ∧ P(1,2)
y=0 is not in your given domain
I meant to put 1 2 and 3
With 1 2 and 3 replacing the y in the proposition, would it be correct?
Given an N-sided convex polygon with more than three sides. Consider all the triangles, whose vertices coincide with vertices of this polygon, but none of these triangles' sides coincides with any side of a given polygon. How many of these triangles exist?
Where can I find more of these types of problems ? Any source which digs deeper into a thinking required to solve it?
im trying to understand notation below with a concrete example
the notation trying to understand is:
[Product i in I] S_i = {(x_i)_{i in I} }
let’s say i have sets
S_1 = {1,2}
S_2 = {3,4}
I = {1,2} (ordered)
then would this be a correct interpretation of the notation below to these sets?
[Product i in I] S_i = S_1xS_2 = { (1,3), (1,4), (2,3), (2,4)}
?
Not a single word makes sense to you?
(This is more #geometry-and-trigonometry than it is #discrete-math, by the way).
does that seem correct to anyone
can someone help me on this
How can I prove this?
contrapositive
ok
so
thats what I did
but I'm struggling a little bit
@weary tiger
I'm having hard time undrstanding the logic here
it almost feels like it was written by a 12 years old
So
they turned the statement into its contrapositive and proved it
By demorgans law we assume that a|b or a|c
therefore we have two cases
In the solution they proved that in the case where a|b then a|bc
and let the reader figure out the other case a|c
ok
so
I get that they
rewritten
b = ak
but how does ak = b implies (ak)c =...
would u mind explaining it?
because they simply multiplied c onto both sides
if ak=b
then (ak)c=bc
ok
and
thats it?
and from there
they moved the brackets
a(kc)=bc
since kc is an integer
then a|bc
thats it
ah okay
that makes sense thanks a lot
quick thing
if I'm proving something
a bi condiotnal st.
do I have to prove it twice
when it's right and when its wrong?
You have to prove both directions
ok
?
nah nah I get it
just suppose 1 side is true
and then derive the proof
then do the oppsite
yep
ok thanks
What base gives us this answer
@weary tiger do you still need help with this?
No
so you are not even familiar with decimal positional notation?
do the words "units place", "tens place", "hundreds place" etc. ring any bells to you?
Yes
are you able to, say, write down the number 623 in terms of its place values?
(decimal 623)
Just positional notation term isn’t familiar
would appreciate an answer to this
"Ba"?
Sorry I’m typing on my iPad
6 2a 3a^2
what's a?
Base a
.
i said the base was ten
are you trying to say that the answer should be 6 * 2a * 3a^2?
Plus
if you mean plus then write plus
I m tryinh
but also, i asked you to do it for the number 623 in base 10
Incorrect ?
okay now you got it right finally
would be better as a new message and not as an edit, but yes...
I knew I’m just struggling with typing on this keyboard it sucks 😦
okay, so now are you able to write the number 251 (base b) in terms of its place values?
Yes
okay, so do it
this is correct, though it could do with some simplification. but whatever.
are you able to write down the whole equation in terms of b?
okay so do it
Ok
in particular also check your handwriting as you managed to make 0b^3 (presumably) look like 0^3 b somehow
I can try
1 sec
Wait am I supposed
To get this
@stray reef ok
I think 8m wrong
Is it just solve for b.
I guess
double check your algebra
also, to answer your question:
yes, if i ask you to solve for b, it means i want you to solve for b.
you are not done, obviously
you still have to solve for b
which involves performing the insurmountable, nigh impossible task of solving a quadratic equation
where did the letter x come from? and how come you keep mixing up "write" and "right"?
write is what you do with a pen
right is the opposite of wrong
if you mean b then write b
Oh where I come from we spell it write in northern Canada
i do not believe that
Are u northern Canadian
no
Well
however it does strike me as odd at the very least
are you saying that you spell both "put words on a page with a pen" and "the opposite of wrong" as write?
Write
I hope you're not mad at me 
😒
not mad, just annoyed
more so now that i know you were deliberate in your attempts to annoy me
I promise iPad corrected it to write like 2-3 times and I didn't even notice until you mentioned it LOL
Anyway I gotta go to bed thanks a again
What if there is no intersection between A ^ B?
Is it null?
and answer will be null symbol
if there is no element in $A \cap B$, then $A \cap B = \varnothing$
Lochverstärker
What method would you guys use to prove this identities?
$A \cap A = \emptyset$ is not an identity
Im planning on using tables
Ann
but any equality between sets can be proved via an element-chasing argument
take an arbitrary element in one set and show that it belongs to the other, and vice versa
Is this correct? ^_^
@stray reef
I dont know what I would with the second one though...
this is nonsense at best
i mean exactly what i say
this is nonsense
perhaps this could be read as a truth table that is missing two rows and has multiple redundant copies of the other two
So I should add two more rows?
you should add two rows and remove the ones that are repeated.
the repeated one is the 4th column right?
Thank you
It is (both)
Because the criteria are true vacuously
I see, thanks(:
This means that the empty set has both these properties as well, right?
Yeah
Niceee
It’s also symmetric for the same reason
Oh nice
I wanted to say it has every property but not every property is true vacuously
I think
Didn’t check
Yeah it’s not reflexive
Oh right
Unless it’s a relation between $\varnothing\times\varnothing$
Isn’t that relation equal to the empty set?
In which case it is reflexive and has all the basic properties (I’d assume, it probably varies depending on what you mean by “basic”)
Yeah
So how is it reflexive?
Like the empty set is reflexive if it’s a relation between the empty set and itself
That’s what I meant to say, I just didn’t say it well
Oh damn
Reflexivity requires that given a relation $R\subseteq A\times A$, for every $a\in A$, $(a,a)\in R$.
Since there are no elements in $\varnothing$, this is true vacuously
Yeah that’s pretty nice, didn’t realize that at first
Didn’t realize there could be different types of empty set
If I’m thinking about it right
Well it’s the same empty set
But in one instance it is reflexive and in the other it isn’t
So there is a distinction
It’s just that the criteria are dependent on the set that the relation is defined between
Lol it’s not really an issue
Could you help me out with an exercise then? I need to prove that if R is transitive, R squared and cubed and so forth are transitive as well
By R^2 you mean RxR?
I understand how to prove it for every R independently but couldn’t generalize it to every power
Yeah
Is that notation normal?
Yeah
I just wanted to make sure I understood the question correctly
But what do you mean by R^n being transitive? What’s it a relation between?
Oh wait I’m not sure, does RxR multiplying relations?
I meant it as R being a relation
Over some set A
Not 2 sets
Right
But what is like R^3 a relation between?
Because the elements of R^3 are in the form ((a, b), (c, d), (e, f))
R and R squared
Not sure what you mean
Or did you mean what sets does it relate between
Okay, suppose A={1, 2} and R={(1, 2)} then R^2 = {((1, 2), (1, 2))} and R^3 = {((1, 2), (1, 2), (1, 2))}
So perhaps R^2 is a relation over A^2, but what is R^3 a relation over?
Yeah
I don’t know if this question falls under discrete math but:
I need to find all 5 letter lists such that the letters fall in alphabetical order. Some examples ABCXY would be one such list or BDMNQ would be one, but BAXYZ would not be one
Can the letters be repeated?
nope
I honestly don’t even know where to start
I’ve thought about getting the permutation of all 5 letter lists then subtracting it from all lists that don’t fall i. Alphabetical order
but then it’s the same problem of not knowing how to find every list that doesn’t fall in alphabetical order
I’ve also thought about it like maybe if I choose B for my first letter I have 26 - B letters left
and so on
but how do I incorporate that process into a list with only 5 letters
I’ll admit that I don’t know combinatorics
But I found this
https://math.stackexchange.com/questions/2324420/different-possible-arrangements-in-alphabetic-order
thanks I’ll look at that
Oh yeah
Doi
If you can’t repeat any
It’s just the number of ways to choose 5 distinct letters where order doesn’t matter
Because if you choose 5 letters, there’s only one way to put them in alphabetical order
R squared is the empty case in this case, and so is R cubed
The relation R squared is empty because Domain(R)=1
Sorry I’m a little confused what you’re trying to show here
Is this a question from homework? If so, could you send it perhaps? Thanks!
Like my issue is that R^3 is a tuple with 3 elements in it, so it can’t be between a set and itself, so it can’t be transitive (because to be a transitive relation, it must be a subset of AxA, not AxB)
can someone please check this
I’ve never seen notation for the Cartesian product of an indexing of sets, but unless it’s defined really unintuitively, this looks right
Np
What do you mean by this?
Also, I believe you're talking about this:
A relation to some power is represented through compositions. $\ R^1=R$ and $R^{n+1}=R^n\circ R, \forall n \in \mathbb{N}^+$
Alter
Or something else?
Would someone help me with how to build intuition to approach these kinds of proofs
the answer says try x=1 and y =1 and x=1 and y=-1
but why? I really can't tell how they come up with these numbers
for something like this to hold, a+b and a-b must be related in some way, so you can start about thinking how
then you notice that their sum is 2a and their difference is 2b
and then you write down the definition of gcd, and somehow use this
I didn't learn about compositions but that seems about right
I can prove that if a relation R over some set A is transitive then R^2 is transitive by using the property of transitive sets, that R^2 is always a subset of R (not sure how to use the mathematical notation) and the identity that if a relation A is a subset of a relation C and a relation B is a subset of C, then
AB is a subset of C^2
This is proof of the property of transitive relations
This is the proof that if R is transitive then R^2 is transitive
A similar proof could be done for R^3 and so on
So I could prove this for every independent power of R but I can’t figure out how to generalize this to every power. I thought that using induction here, if that is even possible, should work but I couldn’t figure it out
The book I’m studying from has a “solutions” manual in which they just proved these results for R^2 and R^3, when the question asks to prove for every power😐 but maybe I’m missing something there
why would 2a and 2b help us at all?
like I can think of why would the relation be
2a and 2b
write down the definition of gcd
or just
the gcd will divide a+b and a-b, so also their sum and difference
maybe this is the better approach
thats what I did
I said
gcd= C=[ (a-b)x + (a+b)y] and the idea is that for all a and b c=1 or 2
is this correct? thats what i have written down
what is [ (a-b)x + (a+b)y]
by properties of division
no, what kind of object is this
is it a number?
yes
what are the square brackets
[ (a-b)x + (a+b)y]
yeah
I know
there is nothing wrong
ok
i have no idea what you are saying
i just don't know what kind of object "[ (a-b)x + (a+b)y]" is supposed to be
c = gcd(a+b, a-b) is a number
"[ (a-b)x + (a+b)y]" to me is just a bunch of symbols
it certainly isnt a number
ok
if c divides
both
how do you write it down?
and c=1 or 2
right?
we wanna prove that for any a or b
$c \mid (a+b)$ and $c \mid (a-b)$
c= 1 or 2
Lochverstärker
ok
thats why i write
ok
you can say that if c is the gcd
it will also divide x(a+b) + y(a-b) for all x, y
i mean i think this is already overkill
well I have to
prove that it's =1 or 2
in generality yes
u are right
but I think 1 is by def since they are relatively prime
right?
then I just need to prove that for some a or b it will be =2
but that is not correct, both cases occur
yeah, but as i said
you collect some facts
so if c divides a+b and a-b
it also divides their sum and difference
which is 2a and 2b
ok and gcd of (2b,2a) = 2 or 1
its not both
can I put the 2 out
but the only numbers dividing 2a and 2b are 1 and 2 (assuming a and b are coprime)
yea because I was gonna say the same
gcd(a,b)= 1 by def becuse it tells us they are coprime
so (2a,2b)= 2 * gcd(a,b)=2?
is this proper?
gcd(2a, 2b) = 2, yes
the argument also works
but tbh you should take at least one step back
and review and work with the definitions a lot more
i suggest proving that if a divides b and c, then a also divides b+c and b-c
since this is used here
and review some information you have about the gcd
you clearly arent comfortable working with them
hmm well
I find these division proofs kind of tricky
idk how to get better at them
like in set theory equality proves has a theme
but these ones are all over the place
(I often forget what I'm trying to prove)
in general you use the definition a lot
gcd divides both numbers
and it is the greatest of all that do
and then you have a toolbox of certain facts
how divisors behave
i.e. if a number d divides a and b it also divides all linear combinations of a and b
and the goal to show
if the gcd divides a and b then it also divides the linear combination?
the goal in general in math is to reduce the complexity (subjective) of the problem using your toolbox
but thats given
and the gcd dividing 2a and 2b is "less complex" in the sense that only one unknown appears
tbh i am not sure if this explanation is good
i am sure that you should review the definitions and lemmas you know related to the gcd
and at some point you just see such things
I get that we are trying to show that if c divides a and b then it divides ax+/-by and so c in this case c will always be 1 or 2
now the part I'm trying to understand
why by the difference or addition we got that c=1 or 2
but I will get it
thanks a lot
at that point you still havent used the fact that a and b are coprime
so you need to find some way to do that
yeah if they are coprime
they can't have 1 or 2
it must be 1
and thats what pushed you to think
then maybe the + or / of both terms could give us that c=2
Brandon7716
is only for the x?
it is saying there is no such x where the proposition is true?
predicate*
How would I read this statement in english?
There exist no x but some y such that (!p(x) and q(y)) is true?
In a standard deck of 52 cards, there are 4 suits (Spades, Hearts, Clubs, Diamonds) and 13 cards in each suit (no Jokers). How many 7-card hands contain at least one card of each suit?
intuitively speaking.. how should I begin thinking about this?
I really have no intuition when it comes to these counting questions
at least one tells me that we can take the set where we have 2 of each + 3 of each maybe? and then that would be.. approximately right but yeah
like at least 1 is the same as adding 2 + 3 + 4.. 7
How is this different from $\exists {x} L(x) \land \forall {y} (((x\neq y) \longrightarrow \lnot L(y))$
Brandon7716
I guess I am just asking why do we have to have the $\exists {x}$ all on the outside
Brandon7716
or is this so we know that this x variable acts on the whole predicate?
I just am wondering we if are need the parethesis like they are
$\exists {x} L(x) \land \forall {y} ((x\neq y) \longrightarrow \lnot L(y))$
Brandon7716
I guess my question is... is my predicate the same as the one pictured or does my predicate not make sense
for refernce to clear it up, here was the definition of L(x)
:keke
Yes, you need the 
is that because it tells the reader where the x comes in
like it is still part of the exists part way at the start
Otherwise the scope of the exists quantifier only applies to the first predicate
okay
In the version that you have your second x has no relation to the first x
Yeah, that is what I was wondering about
But you need them to be the same in order to define what it means "exactly 1"
Also, not sure if you weren't supposed to use it but there is a predefined quantifier for "there exists only one unique x" or "there exists exactly one x"
yeah
It is defined through "for all" and "exists" in this way
seems useful
I haven't seen it used often but it's good to know
does this proof work:
i want to prove
let U be a universal set and let F={S_i : i in I} be a set of subset of U, where I is some set. let J be a subset of I.
show
[intersect i in I] S_i subset [intersect i in J] S_i
proof: suppose J subset I
let x in [intersect i in I] S_i
then by definition of intersection x in S_i for all i in I
since x in S_i for all i in I
then x in S_i for all i in J since J subset I
therefore by the definition id intersection x in [intersect i in J] S_i
can some explain how (4) is not false?
I think im not sure the difference between
$(x \neq y) \land \lnot P(x,y))$
vs
Brandon7716
$(x \neq y) \longrightarrow \lnot P(x,y))$
Brandon7716
can anyone check this
Kinda hard to read
Looks good, but you should learn latex so these things are more understandable
Also, you wrote “suppose J subset I” on the first line of your proof which is redundant because it’s a given
alright so there's this problem that came up in my math class in reference to a different problem (which has since been solved)
this seemingly simple problem has kind of eluded me
An odd number of dominoes are arranged horizontally on a chessboard (8x8) without overlap. Prove that there exists at least one column in which the number of cells covered by dominoes is odd.
proof by contradiction? if all the columns have an even number of dominoes then the total would be even
the total of what exactly
sure, if every column has an even number of covered cells, then the total number of covered cells is even - but that's even no matter what
wait so each domino covers 2 tiles?
i think i misunderstood the question
i have an idea of how the proof would go
since the dominos don't overlap you can visualize it as something ilke this
each ring represents a domino and counts towards the columns on both sides
you can start with the first column and since there's only 1 stick that you can put rings on to affect it the number of rings on stick #1 must be even
and then induct from there until you reach the last one where you must have an odd number of rings left
and so you'll have the last one be odd no matter what
and then contradiction
does "arranged horizontally" have anything to do with the question?
oh i see
You can also prove it in the following way: Sum up the number of dominoes in every odd numbered column. So in total, you count every domino exactly once, as each domino covers one tile in an odd numbered column and one in an even numbered column. So the sum equals the total number of dominos and is therefore odd. This means that at least one of the summands has to be odd, i.e. there is a column with an odd number of dominos.
oh yes that's right
thanks for checking! just tex’d it up, how is it looking now
Let $U$ be a (universal) set and let $F= { S_i : i \in I }$ be a set of subsets of $U$, where $I$ is some set. Let $J$ be a subset of $I$.
Proof:
Let $x \in \bigcap_{i \in I} S_i$, by the definition of intersection $x \in S_i \forall i \in I$. Then $x \in S_i \forall i \in J$ since $J \subseteq I$. Therefore by the definition of intersection $x \in $\bigcap_{i \in J} S_i$. Thus $\bigcap_{i \in I} S_i \subseteq \bigcap_{i \in J} S_i$
strings
Compile Error! Click the
reaction for more information.
(You may edit your message to recompile.)
Looks good! 
(Just two notes: you have an extra $ which is giving you an error. It’s the $ in x\in$\bigcap…
And I find it more readable when you put the \forall before the statement, (like \forall i\in J: x_i\in S_i), but that’s up to you ig)
awesome, thanks!
i need to prove the other direction as well, but i don’t have time atm. i’ll try it later today and tex up my attempt. thanks for the tex tip
You’re trying to prove that
[ \bigcap_{i\in I} A_i \subseteq\bigcap_{j\in J} A_j\implies J\subseteq I ]
?
But that’s not true. Take $A_1=\varnothing, I=\varnothing, J={1}$
let me write it out
$\bigcup_{i \in I} S_i \supseteq \bigcap_{i \in J} S_i$
not sure why that’s not displaying
You have a space before the $
strings
what does that mean rhen
That’s not the other direction though? It’s a different question altogether
ok i was wrong in phrasing it that way
that was my error not the way the problem was given
Oh okay no problem 
and by proving what i just did and this part what does these two statements mean taken together? i’m trying to get an understanding
You can’t really say anything about $I$ and $J$.
Like if you take my example from before, you see that this holds, and $I\subseteq J$
But if you take $I\supset J$ with a non-empty $S_i$, your expression will still hold.
So you can’t determine whether $I\subseteq J$ or $J\subseteq I$
ok i will think this over when i have some time. have to go i’ll bbl
Okay bye!
bruh
so sad
how should i go about this?
no
hw
i didn't see it
Okay
There may be a better way, but suppose $(Q, \Sigma, \delta, q_0, F)$ is an automaton that accepts $L$. Then you can create a new automaton $(Q', \Sigma, \delta', q_{00}, F')$ where:
[ Q' = {q_0\mid q\in Q}\cup{q_1\mid q\in Q} ]
[ \delta'(q_i, \sigma) = \delta(q, \sigma)_{i+1 \bmod 2} ]
[ F' = {q_0 \mid q\in F} ]
The idea is that each state is a copy of a state in the original automaton and keeps track of whether the current length is even or odd.
is a fully formal construction of the DFA required
I just couldnt find the right words to explain my idea tbh
hey, im peer reviewing some proofs for class and im trying to figure out how they came up with $1000! + n = n(1000!) / n + 1$. Does anyone have an idea?
Lunarros
@olive wren here is how i would phrase it:
take an automaton that accepts L; split each of its states into two copies, of which one gets labeled even and the other odd
each state transition in turn becomes two state transitions, one from even to odd and the other from odd to even
the new start state is the even version of the old start state (since we start at 0 symbols read, an even number)
and the accepting states are the even versions (and only the even versions) of the old accepting states
That's not what they came up with. The rewriting was $1000! + n = n(1000! / n + 1)$. Note different bracketing on the RHS.
Troposphere
(The proof is missing an argument that 1000!/n is an integer, though, especially since n can be larger than 1000).
I'm mostly just confused as to how they rewrote the LHS to the RHS. lmao I'm just trying to figure out if its just me being dumb or if maybe its something they should review
Um, put the n outside a parenthesis.
Do you disagree that the rewriting is valid, or are you just questioning where they got the idea to do that particular rewriting?
Mostly just questioning where they got the idea to rewrite it like this
They want to show that the LHS is divisible by something, so a natural way to do that is to rewrite it as a product.
ohh ty so much lmao im so dumb
@cosmic mesa
yo was up @weary tiger
loving discrete math rn
when there is moose there is goose
set proofs ---> logic
mmm that's well very well put, thank you!
so to de-clutter that, you want to show that $\sqrt{x^2 + y^2 + \frac{x^2y^2}{(x+y)^2}}$ is always rational for $x, y \in \bQ$ with $x + y \neq 0$?
Ann
may i suggest combining the terms under the square root into one fraction?
and what did you get?
wonderful, so you had symbolab do it instead of doing the algebra yourself?
not to mention that symbolab left it in a form where it's difficult to understand anything
can i get a proof check:
Let $U$ be a (universal) set and let $F= { S_i : i \in I }$ be a set of subsets of $U$, where $I$ is some set. Let $J$ be a subset of $I$.
Show that:
$\bigcup_{i \in I} S_i \supseteq \bigcap_{i \in J} S_i$
Proof: Let $x \in \bigcup_{i \in J} S_i $, by the definition of intersection $x \in S_i \forall i \in J$. Since $J \subseteq I$ then $x \in S_i$ for some $i \in I$. Therefore $x \in \bigcup_{i \in I} S_i$. Thus $\bigcup_{i \in I} S_i \supseteq \bigcap_{i \in J} S_i$.
strings
i think you used the wrong notation on 1st line of proof for intersection
other than that looks good
oh snap
i used union when i meant intersection
ty
all together for this problem i proved (where J is a subset of I)
$\bigcap_{i \in I} S_i \subseteq \bigcap_{i \in J} S_i$
$\bigcup_{i \in I} S_i \supseteq \bigcap_{i \in J} S_i$
strings
what does that mean intuitively
this just means they’re equal
check it
yeah what does it mean lol
still don’t see anything wrong with what i said
what are equal
yeah what does that mean tho
i haven’t seen anything like it before so not entirely sure
even tho i proved it both ways
Is there a quick way to determine whether these are true or false?
https://gyazo.com/24f86f45acf3a6974e794af9ed2d0302
If I have the set A = {Ø} then would the cardinality be a) 0 because the set contains no elements or would it be b) 0 because the empty set does not count as an element? Or would it be something else?
A contains an element.
A box containing an empty box is not empty itself.
Yes, juste use properties of O, Theta, Omega and their "little" variations
actually no theyre not logically equivalent
is this something I would have to remember by their name
or just understand them and then apply them?
a few of the names make sense but some of them I have no clue how they got that name
Is this statement true? I have a feeling it’s true
simply because there is an infinite amount of integers less than 5
So you can always find a y less than your X
@wide vine unless you're planning to do a lot of work in logic specifically, no, you do not need to remember these by name.
Thanks!
How many ways can you choose a task-force of 8 members from the committee where 6 are employees and 2 are administrators? can someone help me with this problem?
seems like a perms/combs problem!
8C6? im not sure..but u can check out intro permutations and combinations to get to being able to solve ur problem
How would I put this into set builder notation?
{0, 3, 6, 9, 12}
Would this be correct?
{3n | n = 0, 1, 2, 3, 4}
Yes

well, one would think the question is:
When you write out all 4-subsets of {1, 2, 3, ..., 10} in lexicographic order, in what position does the set {2, 3, 9} appear?
however, as written, the answer is nowhere, because {2, 3, 9} is not a 4-subset of [10].
@weary tiger was this your point of confusion?
How does lexicographic order on a single set work anyway?
I've only seen it when we have some product of sets and then we consider order componentwise, moving left to right
i think you would compare the smallest elements, then the second-smallest, then the third-smallest etc until you found a pair that differs
If I have to identify the sets where 2 is an element, why does this count? {0, 1, 4, 9, ...} Can someone explain it to me please
can you show the whole problem?
@severe swan
as written, {0, 1, 4, 9, ...} does not sound to me like it contains 2 as an element.
Im confused
so you have to write out explicitly that c is an arbitrary element
or else it is assumed to be a particular?
because how the question is stated it isn't clear at least to me that c is defined to be a particular or arbitrary
is it because it says "Hypothesis"
ahh
I think I realized my mistake
the parts in blue are outside the scope of the actual rule but only used to help the reader know 
Does this say that you choosing "incorrect" is correct or that "correct" is the answer they were looking for?
me choosing incorrect was correct
I see
but I initially picked correct because I didn't know that c is a particular
but I guess if you state it as a "hypothesis" then it is 
So you're given that c is an element, and that P(c) is true. So you know that there's some element for which P(x) is true (namely the element c). However you can't conclude that P(x) is true for all x just because it is true for c
It depends on how it's stated
Okay I see, so when we use c it is a placeholder for some particular element in the domain?
In this case "c is an element" refers to an individual element. If it had been "c is any element", then forall P(x) would be true
okay okay.. Yeah that was my issue
What is your question?
If I have to identify the sets where 2 is an element, why does this count? {0, 1, 4, 9, ...} I don't understand why {0, 1, 4, 9,...} counts if there is no 2 in the set.
You were asked to select all the sets that contain 2 as an element. {0, 1, 4, 9, ...} does not contain 2. You did not select that set. Your answer is correct.
That is why your answer is correct
Hey. Forgot to mention there is a typo. It should read 3-subset. I’m confused as to how to approach it
it sounds like you are misreading the feedback given to you by the homework/assignment system
you left {0,1,4,9,...} unchecked, indicating that 2 is not an element of this set. the homework system highlighted this answer option in green, meaning that you got it right and 2 is, indeed, not an element of {0,1,4,9,...}.
Think I understand my lex questions. I do have another one that I don’t understand. Hope someone can help out a bit
Thank you Ann
P(x) and Q(x) have to share the same domain, right?
right?
might be better to ask #math-discussion and see where they might take you
what’s an intuitive understanding of
$\bigcap_{i \in I} S_i \subseteq \bigcap_{i \in J} S_i$
$\bigcup_{i \in I} S_i \supseteq \bigcap_{i \in J} S_i$
strings
yes J is a subset of I
S_i are just any sets?
Let $U$ be a (universal) set and let $F= { S_i : i \in I }$ be a set of subsets of $U$, where $I$ is some set. Let $J$ be a subset of $I$.
strings
intuitive reason for the first is "intersecting with more sets can make the result only smaller"
is the second correct as stated?
yes
because intersection are always smaller than unions
unioning with anything always makes the result bigger (or leaves it unchanged) and intersecting with anything can only make the result smaller
yeah that’s how it’s stated
i had to prove both
Let $U$ be a (universal) set and let $F= { S_i : i \in I }$ be a set of subsets of $U$, where $I$ is some set. Let $J$ be a subset of $I$.
Show that:
$\bigcup_{i \in I} S_i \supseteq \bigcap_{i \in J} S_i$
Proof: Let $x \in \bigcap_{i \in J} S_i $, by the definition of intersection $x \in S_i \forall i \in J$. Since $J \subseteq I$ then $x \in S_i$ for some $i \in I$. Therefore $x \in \bigcup_{i \in I} S_i$. Thus $\bigcup_{i \in I} S_i \supseteq \bigcap_{i \in J} S_i$.
strings
yes that works
Sorry to bother, but does anyone know how to approach this?
If I had to guess, it’s the derivative of (1+x)^n at x=4 (I’m too tired to check)
But you should do what they said and expand (1+x)^n and take its derivative
is R transitive in this statement?
Do you know how the digital sum relates to mod 9?
That's some of the way. Now notice that, say 30000 = 3·9999 + 3 and 9999 disappears mod 9.
How do i do this
Do what? What are you trying to achieve with that sentence (fragment)?
Hmm, is this a database exercise and you're supposed to construct a relational-algebra expression for the English description of a query?
i think so because the sentence thats given we have to use that to form an expression
First find an expression for the set of pages containing the given words.
Meanwhile, also find a way to construct an expression giving you people who have endorsed a page in a given set.
ah ok i think i get it now
Is there another way to calculate 10! mod 17 besides first computing 10! then doing the same trick?
Do you know that a·b mod 17 = (a mod 17)·(b mod 17) mod 17?
This is whats listed in the textbook, nothing else
This is just property b, rephrased with a binary mod operation, then.
What it all comes out to is that if you're evaluating some complex expression made of additions and multiplication and you're only interested in the residue modulo 17 at the end, you can choose to replace an intermediate result with its residue mod 17, and that won't affect the final result.
So you can start multiplying together 1·2·3·4·5·6·7·8·9·10, but each time you get an intermediate result that is larger than 17, do a reduction step to keep the numbers you need to multiply nice and small.
I will try that and see what I get, ty
||I was gonna suggest -1/6! with wilson's theorem and counting backwards for fewer terms might be another way but you're not ready for that yet :P||
Indeed, Merosity.
plus inversion might be a pain anyways
I read somewhere that a 3-connected graph has 2 internal faces (excluding the infinite face). I'm not sure where they are getting this from or if its right? We need to remove three vertices for the graph to be disconnected at minimum and obviously the vertex connectivity is bound by n-1 vertices as a max. I tried using Euler' s formula, but I did not get anywhere.
What does "face" mean here? Is it tacitly assumed that the graph is embedded in the plane?
I have the following question: I have a closed set K in the plane which has the following property. If I take any point x in the plane, then there exists a unique point p_x in K such that |x-p_x| < |x-k| for every element in K where k \neq p_x. Any ideas to show why K then has to be convex?
I tried supposing a contradiciton that K is not convex, so there exists k_1,k_2 in K which has a line segment between them not completely in K. I was thinking maybe there were a point in the line segment not on K which would contradict the uniquessness property above. However, I don't think this is a good idea since it doesnt seem to use the fact that K is closed at all
I don't think x can necessarily be a point on the line segment between k1 and k2.
One thing you can use K being closed for is to argue that WLOG you can choose k1 and k2 such that they are in K, but the segment between them is entirely outside K. (I don't know if that actually helps, but it seems to make the situation more concrete in my mind, at least).
Another thing the closedness might possibly help with is prove that p_x as a function of x must be continuous.
How does closeness help in proving continuinty?
I'm not entirely sure; it is more of a gut feeling at this point.
I think this does it. If it's not convex, we can pick two points a,b on the boundary such that there is a point c between them that isn't in K. We know we can find an interval of points on that line segment because there's an open ball around it not contained in the closed set K. Now we can pick points within this interval that are closer to a than to b and closer to b than to a. But this violates the uniqueness of p_x. So that means our assumption it's not convex is false.
by that you mean the point c lies in the segment between a,b?
yeah
I don't see the contradiciton
