#discrete-math
1 messages · Page 99 of 1
supposedly this statement represents "There is somebody whom no one loves"
why can't the quantifiers be reversed?
L(x,y) represents "x loves y" btw
where x and y consist of the entire planets' population of humans.
nvm i get it now
🤦
for all x there exists y such that x+y=8
there exists y such that for all x x+y =8
?
is it a true or false statement i assume you're asking?
i think it's false cause all real numbers can't satisfy one existing condition
say the existing real number is just 1
7+1 may work
but 8+1 does not
not all numbers can satisfy the existing y value.
someone pls correct me if im wrong
thanks

First intro to discrete math class. So i am not sure how to approach this assignment, any help?!
tf you guys are so far ahead
Really this is the first no grade hw he gave us
lol
More of a excersie
well for my curriculum we started off with propositional logic
and built on top of that with symbolic reasoning
We are doing sets
yeah idk what you guys are doing
Lol this professor is feared by all
the way the curriculum is taught we're i'm at is about writing logical proofs.
and how to apply them in matrices and sets
etc
That sounds hard
Writing proof is no joke tho
i assume it should be ok
if it's anything like the proofs i've done so far for propositional logic
it shouldn't be too bad
just look at the rules chart and pray a solution comes

Ur so lucky
he does assigned hw reading
i always tell him that i'm late on the reading assigments cause i have trouble with the material and would like to practice more. gives me full points for them.
i am telling the truth because i have those detailed notes and practice problems.
really nice guy
Lmao if i tell that to my prof by the vibe i got off of him he will drop me or fail me
I been trying to avoid him for 1 year. Friends told me he is crazy but alas i am here
U too man
I should post my question again
First intro to discrete math class. So i am not sure how to approach this assignment, any help?!
Lots of typos 
But I'd suggest just do those set operations on a couple of sets that are indicated and see if you understand what's going on
Start writing some down, it's mainly to get the hang of it
Have a question, I think the answer to it is yes
- Can a multiple of ten be easily identified from its binary representation?
Does anyone agree/disagree the answer is yes?
what's your reasoning behind it
@stray reef I think it would be because the last digit of a binary representation would be a 1, and the first digit would be a 0 for multiples of 10.
well
it's true that IF your number is a multiple of 10, THEN its last digit in binary will be 0
doesn't quite work the other way around though
10000_2 isn't a multiple of 10 despite ending in a zero in binary
Hm, before my response above I was kind of leaning towards no, because I initially couldn’t find a specific pattern for identifying multiples of 10 reliably. Would you agree it’s correct to say no @stray reef
well you CAN come up with a divisibility rule for 5 in binary
wouldn't call that "easily identified" tho
I see, why would it be difficult with the divisibility rule you mentioned? Couldn’t find a specific answer in regards to that online @stray reef
sometimes people just up and go for hours, lol. If it annoys you I’ll stop
anyway uh
yeah i mean i can give you what amounts to a generalized version of the divisibility rule for 11 in base 10
it's not something i'd consider allowing something to be "readily identified"
Sure anything helps. as of right now, not sure how I could explain my reasoning for 8. why it couldn’t be easily identified
really the only ones i'd consider "easy to identify" in binary would be divisibility by powers of 2
I could see that. Thanks
How does one solve a recurrence that cannot be solved with the master method? $T(n) = 4T(n/2) +n^2log(n)$ . I made a recurrence tree and found the that root node was $n^2log(n)$ obviously, and the leaf nodes "work" was $n^2log(1/2)$ which leads me to believe that the correct solution is $O(n^2log(n)$
DangerousDan:
but log(1/2) would result in a negative amount of work which doesnt make sense
thanks
You're welcome
this place... is going to used alot
Let me show you what I have . Not sure if it's right.
Fb < fd < fc < fg < ff < fa < fh < fi
Where's f_e in this?
Well, for all $n\geq 2$
$$\sum_{i=1}^n\sum_{j=i+1}^n\pi=\sum_{i=1}^n(n-i)\pi=\sum_{i=1}^ni\pi=\frac{n(n+1)}2\pi$$
Tuong:
slightly faster than n²
wait how did you guys get from n-i pi -> ipi?
it’s not quite correct. if i started at 0, it would work though (and it could be salvaged without much issues I’m sure). if i starts at 0, then the first sum goes
5π + 4π + 3π + 2π + 1π + 0π
and the second goes
0π + 1π + … + 5π
okay so I'm guessing the line up is ff < fe < fa
because i starts at 1, it needs some shifts or sth
no, because the former doesn’t have 5π in it
I'm just wondering how they got this
when i starts at 1, (n-i) is never 5
yes I just explained that
it’s wrong, because of the indices
because the first sum here goes
0 + π + 2π + … + (n-1)π
and the second sum goes
π + … + (n-1)π + nπ
so the second sum should only go to n-1
and then they’d be the same
but other than that it’s literally just inverting the order of summation
so I got that f is theta of e
sorry
fe(n) = theta of ff(n)
but it doens't pass the ratio test
like ratios go to pi
lim of f(n)/g(n) -> pi as n -> infiniti
nvm,
Thank you!
Shouldn't underlined part be d | b
2 is gcd(2,4)
therefore, 2 | 2,4
d = gcd(a,b,c)
and that guy is writing (a,b) | d
The concrete mathematics book says:
Hello i need basic discrete math help
Wouldnt it be false because the set {a, b} is not inside the set {a, b, c, {a, b, c}}
or is my logic wrong
youre right
Thank you! my friend keep saying im wrong and that its True because a,b is inside the {a , b , c , { a ,b ,c }} @ripe ferry
but the question is an element question so its : Is there an element set {a, b} inside the set {a , b , c , { a, b , c }}
Thank you @stray reef
Guys, I am working upon a programming problem.
Suppose there are N integers, then we have to count the number of subsequences whose linear combination gives us the given constant K.
Yes like if the array is 2, 4 then subsequences are (2), (2,4), (4)
Okay, so
Now, what I have done yet is that I have learnt that gcd(a,b,c) = gcd((a,b),c)
okay you have subsequences, and what do you mean by "linear combination gives us the given constant K"
hmm okay
gcd(a,b) = m(a)+n(b)
okay sure so you need to make sure gcd of the entire subsequence divides k
How big is N, K?
@cerulean ore
How big are the integers in your sequence?
hmm okay
subsequences are like subsets here
since order is not really doing anything much
so I'm really tempted to sort the array
order should be maintained
nah, it wouldn't change the number of subsequences
ARGH
okay no wonder
that makes it easier on that other side
I'm still thinking of factoring K
then we find the number of subarrays with GCD = x
for some x
Let's call them subarrays
I constructed a GCD matrix as GCD will never change for the subsequences
GCD matrix?
Let me show you
If the elements are 2, 4, 8, 24 then this matrix is what I am making
Yeah that's the problem
I think I have the solution
I need a hint
With that matrix, do you think I should get the answers if the test cases are smaller?
yes
if so, it's definitely the wrong approach
Here's my solution
Divide the array into 2 halves
and consider subarrays that pass through the middle
@cerulean ore Can you work on that?
- How is my approach wrong?
- And what does that "subarrays that pass through the middle" means?
- Too slow
- Just find the middle of the array, and count the number of subarrays that begin in the left side and end in the right side
Yeah, it is slow af
So if your array is 5 4 2 | 8 2 10 5, where I split at the bar, then I want to deal with subarrays like
5 4 [2 | 8 2 10] 5
but not
5 4 2 | [8 2 10] 5 (fully on the right)
or
[5] 4 2 | 8 2 10 5 (fully on the left)
if you can do this, you are more or less done
If the given array is: 2 4 | 8 24
2 [4 | 8] 24
2 [4 |8 24]
[2 4 | 8] 24
[2 4| 8 24]
How does that helps?
Notice if a subarray can, then subarray containing it also can
So, you want to find the maximal subarrays that cannot
So, you can find the maximal subarrays starting at each element that cannot
at some point you must make sure you don't compute too many gcds
you can do that with a sparse table or "segment tree"
well, the problem with "segment tree" is that we found that it's not well defined in the literature
https://www.geeksforgeeks.org/sparse-table/ this is the sparse table
Did it take a lot of coding to get to the solution of this problem or is it about more Mathematics?
and that comes with practice?
maybe experience too
and knowing what you can try
you learn as many things as possible that you can try
and then you take them out and throw them one at a time at the problem
aah, so it is like you've gathered so many tools
with experience you can see "my, this screwdriver here can't help with nailing that nail" while you search for a better hammer, so you spend more time on more promising ideas
oh no
and you know my level of math
says me who hasn't represented a university in ACM-ICPC
and potentially is going to
what's bigger?
You must know
BTW, let K = 8
2 [4 | 8] 24 , since gcd(4,8) = 4 | 8 so, we have 3 pairs over here {4,8, {4,8}}
2 [4 |8 24], since gcd(4,8,24) = 4 | 8 so, we have pairs over here {4, 8, {4,8}, {4,8,24}}
[2 4 | 8] 24]
[2 4| 8 24]
@cerulean ore Nope I don't know
Even I don't
erm I don't know what you are doing
If people like you are coming to the contest then it is better for me to be at home 
Well, if you have stronger people on your team
you can distribute the problems so that the stronger people do the harder problems
2 4 [8] 24
2 [4] 8 24
[2] 4 8 24
These are what the subarrays need to contain
can i get the original problem statement please
These are the subarrays which doesn't contribute to the pair, right?
The solution is probably divide and conquer
there may be other solutions involving data structures that help compute gcd of a subarray quickly
If K = 8 then 8 is the solution
??
(0 indexing) (2,2)
hmm, wait we need to support Q queries of K?
Yep
I guess would still be possible
my gcd matrix computes all the GCDs at first step ;3
Hmm my solution is still too slow
You can use a sparse table or "segment tree" to get GCDs quickly
nah divide and conquer not working fast enough
(0th indexing) (arr is 2 4 8 24)
So, how I have constructed the matrix is:
gcdMatrix[i][0] is the element from which we're currently counting our subsequence
That's why gcdMatrix[0][0] = 2, gcdMatrix[1][0] = 4, gcdMatrix[2][0] = 8...
I am using this gcd(a1,a2,a3,....,a(n-1), an) = gcd((a1,a2,a3,...,a(n-1),an)
So, at each step for gcdMatrix[i][j] where j>0, I am taking the previous term gcdMatrix[i][j-1] and my current term from the array and finding their gcd out
So, row 1 is :
2 | p = gcd(2,4) | q = gcd(p,8) | r = gcd(q,24)
@reef thistle What do you say?
I say spend more time coming up with the algorithm
because in ICPC it's either solve or not
wait until you actually have an algorithm to solve the problem
then code it
is 9 the correct answer if K = 8
there are 9 subarrays here yes
but what you need to try to do is try to find an algorithm that works in general
It must work in general
But, this as submission gives wrong answer ;_;
Where do you think this will fall?
Previously I was making N^2 matrix but, then I started dynamic array
update: the wrong answer might be due to the slow computation of GCD
update2: what I was implementing is called DP ;-;
What’s the difference between $\forall a\forall b$ and $\forall a,b$?
QuAnTuM:
Is there a context? Seems the same for me
Is there a quick way on solving large numbered factorials such as 680!/620!60! ?
Anyone got a really good source that explains how quantifiers and logical connectors work in equations?
I'm 4 weeks fresh in uni and totally friggin' lost with maths.
Maybe try to find a book about how to write in math?
Somebody recommended "A mind for numbers" to me. I'm like near-dyscalculia levels bad in maths.
Read How to Prove it by Velleman
Alright I'll put it on the list. Cheers.
I’m guessing no one can help me out?
you want to find the value of 680!/620!60!?
well do you know how to cancel the 620! in the denominator?
wolfram is able to handle the product from 621 to 680
I hope my professor lets me use that on the test lmao
well I think if you have 680!/620!60! there is no way in hell you're expected to write it out in decimal form lol
733538391785775455343676371444874620941478691823229721225727410087430498353530681156000
If i did everything right
Or 2^5×3^3×5^3×7×13^2×17×23×37×61×67×71×73×79×83×89×97×107×109×113×127×131×157×163×167×211×223×311×313×317×331×337×631×641×643×647×653×659×661×673×677
@west hedge
@upbeat minnow I was also struggling with something similar and "How to prove it" was recommended to me as well
I vouch for the book.
who wants to try their hand at a silly proof problem i just came up with
Let $X$ be a set and let $A$ and $B$ be two nonempty disjoint subsets of $X$. Let $R$ be a relation on $X$ such that $R \subseteq A \times B$. Show that $R$ is transitive and irreflexive.
Ann:
@cerulean ore that was also me lmao
hehe, follows pretty easily
||Note if aRb, then a in A and b in B. Transitive because we can't have both aRb and bRc, then b in A and B, which is not possible as A, B are disjoint, so transitive. If aRa, then a in A and B, not possible as A, B disjoint, so irreflexive.||
@faint narwhal It was you or @reef thistle ?
@cerulean ore What are you asking?
Who recommended me "How to prove it By Velleman"
Do you remember last day's question?
Sequence of integers means eg 1,2,3..?
for [3 5 7] and K = 7
Possible arrays: [3] [3 5] [3 5 7] [5] [5 7] [ 7]
[3 5] is possible combination 34 -5
[3 5 7] as 30 + 5*0 + 7
[5 7]
[7]
yeah
Now for, [2 3 5 7] my program is generating 7
which is the correct number
K=7^
this time I am not computing GCDmatrix
@reef thistle Do you think the first answer will help?
There is no faster way 
even after using two theorems the question still remains unsolved in lesser time
the problem is you need to solve it quickly each case
I think it's a good idea to sort the K
somehow
well, we want to find number of subarrays where gcd = x
x%gcd == 0
if we sort then won't we lose the contiguous subsequences?
Can we use LCM*HCF = a*b?
ok i'm out
@daring blade So do you understand how f is a subset of A x B?
No I am unsure about that
Let's revise that
A x B is the set of ordered pairs where the first element comes from A and the second element comes from B
f is a subset of A x B, and it contains (a, b) where f(a)=b
@daring blade get it so far?
no
A x B = {(a, x), (a, y), (a, z), (b, x), (b, y), (b, z), (c, x), (c, y), (c, z)}
@daring blade
That makes sense, since it's a subset of the main set
So, enough for you to figure out what's going on?
I'm not entirely sure what second coordinates are sorry to be a bother
From what I know it's the range
Yes
If I understand it properly:
im(f) is [x,y] since the y's are x,y
same goes with im(g)
But why is (gof) = [s,t]?
Element118:
I know this is easy, but I can't simply think right now. What's the set builder notation for {5,12,21,28,40,...} and {3,7,13,21,31,43,57,...}?
what are those even meant to be 
@distant hamlet depends on how you define the elements in those sets
Is there a good YT Channel to watch to better understanding of proofs and simple set functions
Or how about you read a book
I'm not sure what you're looking to get out of a video that you can't get out of a book
why isn't a single vertex graph eulorian ? The walk would be of length 0, beginning and ending on that vertex, making it a Eulerian tour. Since there are no edges to traverse, the condition "traverses every edge exactly once" would be vacuously true. What am I missing?
What says that it's not eulerian?
How would one reduce the statement A delta A in set theory? Or essentially finding the symmetric difference of a singular set?
what are m, Δx and t
the units don't check out at all
and your line of reasoning makes no sense at all
and this is also not the right channel
She wasn't being a jerk though, she was just pointing out the fact that there is a flaw in your reasoning.
Ann is quite direct to point out mistakes instead of sugar-coating them.
@marble zealot i'm a she.
@stray reef sorry, my apologies
It's just nonsense
what does the universe having absolutely nothing even mean
In strict mathematical terms?
And how would this imply that time is irrelevant?
What is time? And how does the universe not having anything (whatever that means) imply that time is irrelevant?
And as Ann said, your equation still makes no sense
The units don't even match up correctly
Is that enough for you @weary tiger
This is still rambling nonsense
How do you know that if the stage has no actors then it may or may not exist at all
That makes 0 sense
The Vienna state opera house is empty right now, that doesn't mean we don't know for sure the building isn't still there
Also you're just using an analogy
How do you know that the universe actually works like a play
Just stop typing
You have no idea what you're talking about
Honestly don't bother
You pretty clearly have no education in either math or physics
You don't know how either of these fields work
Or how to rigorously make arguments that are actually testable in the real world
You don't even know how to check that your equations have matching units on both sides
You're just typing up ideas that make "intuitive" sense to you, by way of analogy
Without any rigorous modelling going on
they left
oh you're back
you're not really making any more sense
all of these points still stand
you were never on any track to begin with
That's not how argument works
Hey
There's a teapot behind the sun right now
Prove me wrong
left again
oh you keep coming back don't you
Behind as in from our perspective
quit the theatrics
So you can't prove me wrong right?
Then I might be right?
That this is exactly what you're doing
You're providing some statement
That would be completely impossible for us to test
Because you haven't given it a rigorous basis for us to test anything on
So it'd be impossible for us to prove you wrong
inb4 he actually comes back in a few minutes
@shut basin If you think V makes sense, then can you express it rigourously?
This started with e/Δχ=t
I think the problem here is that V didn't add a proportionality constant
No, I'm a mere mortal
i'm having difficulty in proving hte logical equivalence of this
?
so that's wehre i'm a bit confused
The problem just gave p and q implies r
after I apply implication does it just remain p and !q or r without any paranthesis?
@weary tiger ok so what was your question again
uh huh
why do you think 8C3 isn't right?
well, ok, let's put it that way: what is 8C3 supposed to represent?
how did you arrive at that number in the first place?
uh huh
yes
there are 8C3 ways to do that
and that's exactly right
it is
once you've picked 3 more people to join steve & danny's team, the other 5 automatically go in the other team
does it matter though
we have two teams sure
S&D's team
and the other team
otherwise they're indistinct
well idk
because if you swap the two teams' places, it doesn't really make for a different division
because who gets the ball first is decided upon right at the beginning of the basketball game itself
@weary tiger you're not helping.
sorry
Hello guys
I am new here
I have a lot of question about math is anyone want to be my firend's?
the math questions
:)
Those are personal questions dude actually i wan to asking in the tex
If i made a mistake inside of sentence sorry about that.. Also im studying for english. ✋
Hello any online resource for Discrete Math? like calculator solvers or something
I've tried to find some too but resorted to drawing a shit ton of truth tables
no wait thats logic not discrete
my bad
Just read a textbook
I never seen math at this phase, it has been a nightmare so far
Hi could anyone help me with reflective, symmetric, and transitive properties? I still don't know how to prove them properly

Uh no
How do I write it correctly?
All real numbers?
Oh I guess I can start proving something now
I know it has to do something with (p,p) but I don't know what to do after that
What?
Why are you talking about real numbers
It doesn't mention real numbers anywhere
What does double Z x double Z mean?
Actually, I need a complete refresher what does the whole thing mean?
You really should look in a textbook for this
It'd be pretty hard for me to teach you a whole lesson on set notation
Ok I'll need help while reading the book, so the C with the line through it means the relationship between an element and a set
$\in$
Zopherus:
If you mean this, then kind of
Yeah that
You really need to be specific when you say relationship between an element and a set
I'd assume the set would be on the left side and the element would be on the right side
Since a set is a collection of objects inside an element
That is not what a set is
Wait a collection of objects is not the same as a collection of elements?
Really depends what objects and elements mean
Ok so the left is what's inside the right of that set right? I'll give an example,
A = {9,3,8,7}
7 (c with a line) A
Basically, it means 7 is a number in the set of A?
subset?
Oops I mean set
7 is an element of the set A yes
So this type of notation is always the form element (backwards E) set?
Yes
Ok I understand that part now
vaguely
Ok I have an idea for how to prove that the relation R is reflexive
Back to this pic
So we pick numbers that would make this true which is (20,5)
It would be
(20-5)/(5)
15/5 = 3
And it would mean (20,20) would always be in set of all of the integers
What do you mean by that last sentence?
I had used the definition of the book that the two x (in this case p) values are in the set of Z x Z
Here I found a better ss of the page
What does (20,20) always being in the set of all integers mean
It's true that $(20,20) \in \mathbb{Z} \times \mathbb{Z}$
Zopherus:
If this is what you're trying to say
Yeah
I need to work on explaining proofs clearly
Ok so for Symmetric, if I flip p and a around and make it (5-20)/(5) it'll be -3 which is still true
Because (20,5) and (5,20) is also in the set of all integers
Stop saying set of all integers
Set of all integers just means the set of integers
Which is not what you really mean
But yes, this would be how you show symmetry
You'd have to do it more generally, but
I'm sorry idk why I keep tacking on the word all
Wait let's go back a few steps
Double Z x Double Z means all of the coordinates right?
That's one way to think about it
So just one Double Z mean integers?
Yep
Ohhh so it wouldn't be symmetry because it's not inside the set of the Cartesian plane (I'm not sure if I'm using the correct terms)
No I have no idea what you're saying
Dang now I'm confusing my self one sec I'll rethink this answer
Okay, this is what I'm saying
Ok (20,5) implies that (5,20) $ \in \mathbb{Z} \times \mathbb{Z}$
Rising_Lamp:
You should write
$(20,5) \in \mathbb{Z} \times \mathbb{Z}$ implies that $(5,20) \in \mathbb{Z} \times \mathbb{Z}$
Zopherus:
But yes
Oh yea your answer sounds more specific than mines
Just saying (20,5) doesn't really mean anything
Yea I just realized that now
Ok for transitive, I'm completely lost
I don't even know where to start
that's just one example
Wait we need more than one example?
To show symmetry
You need to show it for all pairs
That if $(m,n) \in \mathbb{Z} \times \mathbb{Z}$, then $(n,m) \in \mathbb{Z} \times \mathbb{Z}$
Zopherus:
So would I use variables or numbers to show the proof?
So the correct way to prove this is use what you used?
You mean solving out (m-n)/(5) and (n-m)/(5) with algebra?
euler/fermat:
It overcounts
because the 5th kid
if a boy, would overcount ways to pick boys
a boy could be picked by the 2 chosen, or the 5th kid
and the way a boy was picked would matter
Just add the 2 boy 3 girls and 3 boy 2 girls case together
in your suggested solution, the order of picking people matters
like
imagine you first pick boys A and B, whatever girls and pick boy C as fifth kid
this is counted as a separate case from picking A and C first, same girls as before and picking B as fifth kid
even though the resulting teams are the same
@weary tiger
you would need to divide by 3, yes
there are 2 cases
first case is you picked 3 boys
let's say A, B and C
you counted "A, B first, then C", "A, C first, then B" and "B, C first, then A" as separate cases
same for the case of having picked 3 girls
to account for this overcounting, you have to divide by 3
you're welcome
no
why?
euler/fermat:
Try with like 3 people in total, ABC, 2 together(AB), it’s obvious that the solution would be 2(if we ignore rotations):
ABC
BAC
But for your reasoning there there would be
ABC
BAC
CAB
CBC
then divide by 3, so 4/3
(it isnt a coincidence)
One way to count number of cases where you can rotate is just fix one person, so you don’t need to care about counting duplicates
Yes that's ok
Like you basically need now is 3!•number of permutations for 6 people in a round table
(uhhh idk any actly probably should ask someone else)
Maybe could try like math olympiad books on like combinatorics/counting, ik they do quite a bit of that
simple question
the contrapositive of a+b is just a - b?
nvm
🤦
that makes no sense
contrapositive only applies to statements that are if/then etc.
Know what?
I can't seem to find a server fully dedicated to logic proofs so I figure discrete math might be next best thing?
I ask because I'm trying to prove the following using just rules of inference
Can't use substitution. (So no De Morgans Law)
I got it halfway and can prove that (p and q) implies ~(p implies ~q)
but struggle to do so the other way around without De Morgans Law
Here's a trick. Try typing # and the the channels should appear. You can do a letter search. You can quickly find #proofs-and-logic this way.
But this channel also makes sense.
"Can't use substitution" does not imply you can't use demorgan's? Unless I'm misunderstanding. If there's another way to solve this, then you would also have to prove Demorgan's
And I'm pretty sure you can't prove Demorgan's without an argument on what NOT really is
@gray agate idt theres a like purely cryptography channel here but basically the vulnurability usually lies in repeating the IV and the attacker being able to passively predict the IV
@gentle nebula tnx but which channel?
for like block/stream cipher kinda thing i think its closer to like discrete but it like its hard to really find a place where it fits
@sour arrow sorry, I missed that channel.
In any case I managed to figure it out. But thanks.
Hi - I have a slight problem with very basic set theory. If A={1,2}, C={{1,2}}
is A=C ?
I'd say no but I'm not 100% confident
There's, uh, a set of numbers containing 1 and 2 in A
And empty set and another set containing 1 and 2 in B
You can just remove the outermost {]'s right?
@upbeat minnow you can’t
Oh
@upbeat minnow in your case A contains two numbers and C contains 1 set
So they are different
@upbeat minnow obviously
Alright thanks. I've just started and I'm really insecure about this stuff.
@upbeat minnow two sets are equal if and only if for any x (x in A) <=> (x in C)
@weary tiger it is perfectly possible to understand "logically" every use of the choose function
and exactly why nCk is equal to n!/(k!(n-k)!)
refusal to use nCk to save time and steps where it helps is just unnecessary obtusity
@wispy flicker
I think this is how its done if you look at the logical equivalence table
Ping me if im wrong or so
let the edge length of the cube be 1 for simplicity
consider what edge lengths your triangle may have
by SSS, triangles can be congruent
1, sqrt(2), what else
why sqrt(3)/2
so what will it be then
the what
vertices are points, they can't "go through" anywhere
the space diagonal is sqrt(3).
anyway
1, 1, sqrt(2)
1, sqrt(2), sqrt(3)
sqrt(2), sqrt(2), sqrt(2)
that's it
this is 1, sqrt(2), sqrt(3).
sure of what
Hey all, could someone explain to me the difference between stirling numbers of the second kind and the stars and bars method?
the number of English professors is 2 iff the number of math professors is also 2, so moot point
it's going to be the exact same calculation...
If I have A ∩ B where I have two complements, one above B and one above the entire thing, how does that work?
Like this
Oops had intersection instead of union but anyway
wdym "how does that work"
you take the compliment of B, union that with A, then take the complement of what you get
the order of operations is completely unambiguous here
I tried going through my lecture notes and the online material we were distributed and didn't find it
didn't find what
The order of operations
there is simply no ambiguity here so no special conventions need to be specified
I'm like 3 weeks fresh into university math and 100% out of my head
what would your alternative order even be
I have no idea this is like the first time I came across complements in homework
And I second guess myself a lot because I'm super insecure about math in general
just always refer to definitions
you surely defined what a complement is somewhere
or a union/intersection
Yes
those definitions tell you exactly what you're working with
x∈C complement ⇔ x∉C in this case right?
what's C
whatever we're complementing in this case
I'm sorry I have to translate from Finnish to English with really unfamiliar terms and concepts
ok, yeah
Like I said I'm about 3 weeks into this stuff, haven't done any maths since '06 and super confused about most of it so if I babble nonsensical stuff I'll blame it on that
just in the case of your image you are looking at the complement of $A \cup \bar{B}$
Lochverstärker:
then you can apply the definition of union, which tells you what that is
and apply definition of complement again, i guess
well, this is really basic set theory, i dont think it requires any special prior knowledge
you just have to adjust to doing math in general, which takes time
Yyyup
I've always been really bad at it too so it's been extra difficult for me
Applied for computer sciences and we have some obligatory math courses I'm hoping I can manage to get through
mathematics is extremely important for (academic) computer science
So I've been told and it's not helped with my self-confidence.
I'm pretty decent at coding stuff in general but maths has always been a wrench in the gears / to the face
well, you will probably encounter different kind of maths than in school now
Definitely
Also I've doubled the age and hopefully motivation to learn too so maybe it's better now that I'm older and hopefully wiser
Anyway thanks for the help.
also helps to not take a crazy load
taking 6 classes of math and science is adding a lot of stress and sleepless nights
lol
and i still have work unfinished
😰
hey could anyone tell me how this is or is not transitive?
i dont understand the book, it says that it has 3 variables but this has only 2 variables
so does that mean it's not transitive?
it says that it has 3 variables but this has only 2 variables
what do you mean @hollow osprey?
what has 3 variables?
the (p,q)
by having 2 variables, you mean that R consists of pairs?
it says that it has 3 variables but this has only 2 variables
I'm still trying to understand what you mean by this
yes
the x,y,z in it
you have to give less cryptic answers
right that's the definition of what it means for a relation R (which consists of pairs (a,b)) to be transitive
maybe im just not reading the book correctly
but I don't see anything that suggests R should "have 3 variables"
so I'm not exactly sure what's confusing you
if you understand this definition then we can move on to deciding whether the particular relation R (given by (a,b) in R if a-b is a multiple of 5) is transitive
i understand that part
well in your initial post you said R is not transitive
or you suggested that it may not be, so it seems like you were unsure
so I guess you'll have to say which part is still confusing you, if any
ok its this part where it is (p,q), where in the book, i see (x,y) and (y,z) and (x,z)
but i dont know where the z came from
but it's just another letter
if you understand what it means for (p,q) to be in R, surely you understand what it means for (y,z) to be in R
so this means that the letter z is made by the person and not by the book?
ok how about this
let's look at a concrete example
I think you will understand it better
if x < y and y < z, is it true that x < z?
yes
im good with it now
so you understand the use of x, y, and z in the definition of transitivity for any R
the definition yes, the proof probably not
ok
sorry i mean not for the proof part
so now we should decide whether R is transitive, where R = {(x,y) | x, y are integers with x - y a multiple of 5}
this means (x,y) is in R if there is an integer m with x - y = 5m
could i plug in numbers for (x,y)?
they are numbers, yeah
when i prove stuff are the actual proofs in numbers or just variables?
well if you want to prove that R is transitive you need to show that (x,y), (y,z) in R implies (x,z) in R for every x, y, z
if you do it for just one choice of x, y, z you aren't proving very much
ohh because x,y,z are infinite numbers and i cant use all of them using just numbers
it's not going to be any easier to prove if you just look at one case at a time
so assume x - y = 5m and y - z = 5k
and why don't you think about whether this implies that (x,z) is in R
it has to be in R because if you switch it backwards it'll be a negative number but still a multiple of 5
I don't think you understood the question
but what you just said sounds like a good proof that R is symmetric
i only understand reflexive and symmetric but i don't quite fully understand transitive yet
ok let me make this as straightforward as possible
assume that x - y = 5m and y - z = 5k
is x - z a multiple of 5?
yes because it has 5 in it
x - z?
no not that, its where x - y = 5m and y - z = 5k so we would have to assume x - z is a multiple of 5 because both x and z is inside the two equations that has a multiple of 5 in it, idk i explained this correctly
that's not very convincing
if x - z is a multiple of 5 then you should be able to write down an equation that shows me that it is the case
ok im starting off with this, (x-z) = (x - y) + (y - z)
im not sure how to do the rest of it
well we are trying to prove R is transitive
to do that we assumed two things (x,y) in R and (y,z) in R
you haven't used those assumptions yet
"in"
i think i should skip this for now and move on something that i could possibly answer
@hollow osprey there is no reason you can't answer this, so like you say maybe you just need to come back to it later and look at it again
feel free to ping me if you make progress or continue to get stuck
you're overcounting the cases where you have no bad coins
each one gets counted thrice, once for each bad coin that you happened to not choose
||11C3 (no bad coins) + 3C1 * 11C2 (exactly 1 bad coin)||
wdym
is that so?
oh yeah
yes
of course
we're choosing 6 coins
i mean
you corrected it
i was under the impression that we were done
euler/fermat:
...ok but why add them
yeah no this is just complete bogus i'm afraid
and i just know you're going to ask me to specify exactly why it's bogus and i'm going to preemptively say i cannot do that
lol
and i just know you're going to ask me to specify exactly why it's bogus and i'm going to preemptively say i cannot do that
can anyone point me into the right direction?
i'm not q uite sure on how to start a proof with arbitrary intersections.
<@&286206848099549185>
is this the right channel to discuss about graph theory?
@modest zealot no that is the an arbitrary intersection
hm, maybe this isn't exactly discrete mathematics
but i'm not sure what other channel i could put this on
hi could anyone help me understand the solution please? i know how to get the equation but i dont understand whats after the equation
should i assume that its the last order without a number in front that is the answer for every problem like this? (the (3n^2)log(n))
wait nvm i know how the middle is calculated now, its by taking ratios
@sweet eagle
There's something extremely weird about the notation. You can't really take the arbitrary intersection of a single set. Maybe if A and B were a family of sets?
Anyway, remember the definition of equal sets, you have to show they're each a subset of eachother. Start with an element x that is in the left side, show that it's also in the left. Then, do the opposite direction
@sour arrow yeah i figured it out
its exactly what us aid
but yah
big intersection notation means arbitrary intersection
like if A = {{a}, {a, b}, {a, b, c}}
the Arbitrary intersection of A would be {a}
but yah thanks i wish i read ur suggestion sooner
What have you tried?
i started off with
there is an x such that (-2 >= x >=3)
but that doesnt make sense
im thinking of single inequalities
how do i wrap my head around these ones?
You should think about what the negation of a statement means
so the original statement is... for every x, x is between -2 and 3
and a negation of this is... there is an x such that x is not in between -2 and 3?
does that make sense?
i think you have to do it with quantification
yea i would the not symbol and the "there is an x such that symbol" but i cant rn
rn?
ah
but you dont need not
am not sure its a long time i did this kind of stuff
but you jsut need the E quantificaiton
im just confused on what the inside of the bracket will look like
yea the backwards E
but rn i dont understand what to do in the brackets with the inequalities and numbers
you either change the numver 3 and -2 or do the oppisite of the bigger smaller symbol
i did the 2nd option but it doesnt make sense
-2>= x >= 3
there are no numbers like that
you are right
do i change the sign of the numbers and the big/small symbols?
maybe you can just assume that (x>=3)
i hope someone can help with my problem
do i have to take the longest augmented path when i try to find a matching? or is it up to me which AP i take?
so i can do Ex(x>=3) or (x=<-2)?
no i would take or
that good?
like i said am not rly sure
thats fine
im still trying to figure this out
@faint narwhal i tried to think about what the negation means
was i valid or no?
Yeah that's right
For negations, only one of the statements can be true
If you look at the statement you wrote down and the one you started with, you can see that they're oppposites of each other
so does opposite = false in terms of this question
or do i have to find an untrue statement for the original question
i wouldnt say false
im sorry idk where this fits http://prntscr.com/p8dax8
It means only one of them can be true at a time
but can someone explain this to me
If the original statement is true, then the negation can't be true
And vice-versa, if the negation is true, then the original statement can't be true
but the original statement is true
so the negation is false but idk how you would put that in terms of symbol form
and without the negation symbol
Ex((x>=3) v (x=<-2))
would that be the negation?
i would do it like that
why the or symbol
cause my prof was stating something about how you needed and's
thats why i was conflicted
just do waht you think is right and explain it to him. if hes a good guy he will explain it to you
alright thanks guys
ok i have a couple more questions that i didnt complete from my sets
I understand a. just not b.
i need to find a value of y that is also compatible with x in order to counter this argument
thats what i found out so far
@static rapids Try solving for y in terms of x and see if there are any solutions
Kei:
yup so can you find some value of x where there is no solution for y in the integers?
negative integers?
yup can you find a specific negative integer?
wait less than -100?
oh yea negative wise
so after i choose the number can i just state y<sqrt(100+(-101)) as my answer?
as a counterexample
@lethal sequoia
yup
may want to explain why it has no y solutions in the integers
depending on how its marked
no problem!
@weary tiger What have you tried?
I got it now thanks 🙂
Which one are you confused about?
d isn't correct either
yea cause if you want to negate that original statement it now has to change its domain
but for d) idk why
its wrong
oh, thank you for checking
I'm a n00b
List all the subsets of A
𝐴 = {𝑥|𝑥, 𝑘 ∈ ℕ, 𝑥 = 𝑘^3, 𝑘 < 4}
Would this be {}, {0}, {1}, {0,1}?
Nope
What are you confused about?


