#discrete-math
1 messages · Page 205 of 1
im going over some notes about cardinalities
now a theorem states that for some sets, A,B , |A| = |B| iff there exists an equivalence function f B^A
that would imply there exists a bijective function between the reals, and all subsets of all naturals
how would I go about implementing such a function ?
could I simply map any real number to some subset containing all of the real numbers decimals?
say, 3.00001 = > {30000,1}?
or 3.253 => {3,2,53}?
how is this a map?
from real numbers to subsets?
I... admittedly haven't thought this through
you also run into more problems
because decimal expansions of real numbers are not unique
unique in what way ?
0.99999.... = 1
like 1.000000 = 0.99999
i mean thats not that big of a problem
the bigger problem is how you decided that 3.253 => {3,2,53} and 3.00001 = > {30000,1}
you cant just take the decimal expansion and place commas arbitrarily to turn it into subsets of N
or like what would 0.9999... map to at all
i mean you can, but that doesnt show surjective
ah ye, thats also a problem
if you want to work towards a map that works, consider binary expansions of real numbers
Okay I see
so how else would you go about forming such a function
and think ||of 0/1 as true/false||
Beware that you still need to deal with double representations, since 0.1000...=0.0111... in binary.
(Ah, you don't want a bijection, that makes it easier).
but actually you dont need binary representation at all for just surjection
Right, there are other strategies than binary representations.
I mean you can work in base 10 and just use the numbers with 0s and 1s in their expansion
and map rest to say empty set
Hmm, fair. Yes, that is easier.
oh, did I state surjection?
oh.. I did mean bijection my bad
oh well then you might have to use binary expansion
by binary expansion I assume you mean expressing numbers uniquely through sums of powers of 2?
yeah
Honestly, I would go for injections R->P(N) and P(N)->R, and then appeal to Cantor/Bernstein/Schröder for gluing them together to a bijection. It's possible to write one explicitly, by taking explicit steps to move the double representations out of the way, but the result is not really enlightening...
what loch said
conisdering 0/1 as false true in this context is determining which powers of 2 are to be summed
.. ?
(Note that this is the same as making 0/1 the coefficients of the powers of 2).
yea ofc
(Except that would make 0/1 into false/true rather than true/false :-p )
could someone help me write a recursive formula for part b of this problem
i have
(0,0), (1,1), (6,36), (35,1225), (204,41616)
and the problem is
Part (b): Find a recursive relationship expressing (xn,yn) in terms of (xn-1,yn-1) for any n≥1.
??
for the statement "x is neither big nor fuzzy", could i express that in terms of P,Q defined as P= x is big, Q= x is fuzzy with the expression ~(P or Q)
and this would be equivalent to (~P and ~Q) which would read "x is not big and x is not fuzzy" -- is that correct?
Correct.
awesome, thanks!
hmm...
well every yn term seems to be a square of the xn term
and the x terms seem to follow a certain pattern of multiplication and subtraction
can you see what it is?
6* previous term - the term before that
but is there any mathematical way to reach that
x(n) = 6x(n-1)-x(n-2)
but idk abt the y
and plust
the question asks for it in terms of x(n-1)
what about it?
can you help me solve it
I think the proof is pretty straightforward 
What have you tried?
ok nevermind why did i bother asking
It is quite unusual to have → directly under a ∃. Are you sure you don't mean ∀y?
could someone explain how they went from the first line ~p V (~q A ~r) V (P A q A ~r) to the next step?
I get it all except that one law they used there
how did they move the ~p and left the first term as is??
I believe it's just the associative property
but
~P OR ( P AND Q AND ~R)
NOT p or ( or or or )
associative law has to have the stuff the same connective no?
Oh there
They distributed ~p to p and qAND~r
I get that the ~P moved to the other side
so comutative law
and dist?
they didnt use associative law then
Yes
ok thanks
Just put a <=> inbetween them
ahh I see
Yaluna
Would someone tell me how to validate this argument
I'd give a more descriptive answer as to how you concluded that q must be true and that r must be true since you avoided using rules of inference
Otherwise it seems valid to me
But how to use laws of logic
I understand the reasoning
If n=k=0 is allowed for example floor is needed
n+1 > 2k then
Oh right
Likely the answer is just why not?
Easier to see floor inequality holds
Than convince ceiling also works
No, n=k=1 (and doesn’t matter if it was strict if they only need less or equal)
wait
n k are integers?
also yea you're right
but if they're integers wouldn't the inequality not hold if n and k are negative?
Consider the string w = 0^k1^k. Since w ∈ L, it must be accepted by M. We think of processing w by M as a traversal of the corresponding directed graph.
Since the number of symbols in w is the same as the number of transitions made by M upon processing w, and the number of states in M is less that |w|, some state qi must be revisited while processing w.```
can some1 explain to me why ```he number of states in M is less that |w|``` this is true?
-3<-2
-2>-4 ?
@bright shale I think the inequality is flawed unless absolute values are taken
'integers' implies Z... ?
What is the number of permutations $\sigma$ of $[n]$ such that $\sigma(i)\neq i$ for each $1\leq i\leq n$?
Croqueta
isn't there a defined formula for that?
using the principle of inclusion exclusion
I think it's nothing more than formality
for every real number these equalities will hold no matter whether you use the flooring or ceiling function on the expression
nvm
the formula derived from said principle is n! * sum(0->k)(-1)^k / k!
Croqueta
yea
yea?
it's not even a natural number
actually, as n --> infinity the number can be estimated as n!/e
i don't even know what you are talking about
.
and you are saying its not a natural number? then what's the point of the formula?
you can estimate the number by flooring down the result
The sum in the formula is the definition of e as n approaches infinity
oh so its not what I poste dthen
cuz what I posted is at least an integer
you didn't specify the upper limit
No no no , the formula doesn't require n to approach infinity
so that's an integer
im saying the your sequence, the number of such permutations approaches n!/e
you're summing ab alternating harmonic series yea
No your question is right
the result is not an integer
you'd have to floor it down
what?
dude what are you talking about
whats this question asking exactly
This is always an integer, because $n\geq k$, simple
Croqueta
seriously I don't know what you are talking about
okay you're asking how many permuations exist such that pi(i)!=i right?
pi is the notation we use in my course for a permutation
yes
okay great
wait
first we start of with the total amount or permutations right?
I never SAID
n!
N APPROACHES INFINITY
I
just in case
I JUST SAID IF IT DOES THEN YOU GET AN INTERESTING RESULT
well you started talking about infinity and convergence stuff, which was totally unrelated to my question
dude
shut up
don't fucking scream in discord
I didn't intend to scream
sorry
was meant as emphasis
it's just the alternating sum in the formula equals e as n approaches infinity
ok
bruv?
so as your sequence is bigger and bigger, number can be estimated as n!/e
yeah, the alternating sum yeah, thought you said the formula
yea
that's were I got confused, because I'm not really interested in that
I see
in either case that is the formula for computing it
which can be derived from the principle of inclusion exclusion
am i not seeking for help properly or sum?
In combinatorial mathematics, a derangement is a permutation of the elements of a set, such that no element appears in its original position. In other words, a derangement is a permutation that has no fixed points.
The number of derangements of a set of size n is known as the subfactorial of n or the n-th derangement number or n-th de Montmort n...
isn't this what you're talking about?
sure thing
for some reason I thought it would be even, since there was an n! in front lmao
oh umm sorry
you can ask help on one of the help channels as well
well yea you have a fair point
but the sum of an alternating harmonic series kinda ruins that lol
its a discrete math question tho
yeah it was not so smart. I should have taken your answer since the begining lmao. Sorry for wasting too much time
it's fine lol
sorry for capsing

"A herd of 1000 cows of nonzero weight is given.
Prove that we can remove one cow such that the remaining 999 cows cannot be split into
two halves of equal weights."
This was all to solve this problem, and I was stressed because I don't know combinatorics
How can I calculate the number of rows in a truth table? 5 variables would be 2^5 = 32? If there are 128 rows then to calculate the number of variables would be squareroot 128 = 11 rounded down?
im actually confused about this question..
how can you prove that?
use a little of linear algebra and then the derangment formula will be useful
are you not given any details about their weight?
it is positive
the cows set up is to confuse you probably
you can take the weight to be negative anyway
How many ways are there to place n distinct people into four different rooms?
Would the answer by 4^n
wanna see a proof?
Am I understanding this correctly?
original implication
If it is not monday then I am happy.
Would the converse of this implication be
If I am happy then it is monday.
I think so, because for each person there are 4 possibilities, and in total there are n persons.
How many ways are there to place n distinct people into four different rooms so that there are at least two non-empty rooms?
count how many ways there are to put n people into exactly 2 rooms, add that to how many ways there are to put n ppl into exactly 3 rooms, and ad that to how many ways there are to put n ppl into exactly 4 rooms
to get you started, there are 2^n - 2 ways to put n people into exactly two rooms.
this is related to counting surjections
why the -1
my bad
it should be -2. there are only two ways to put n people into two rooms with exactly one room empty
wait
i may have misunderstood the problem
could someone help with trig ratios?
Would it be 4^n +3^n + 2^n
or is that too easy
is it correct to say that the following statement is true “if n is a multiple of 6, then n is even”. this is true because 6 is an even number and even * even = even and even * odd = even. so no matter whether the other multiple or n is even or odd the product of n will be even.
even * odd = even proof
let k, m be in Z then let x be even and y be odd where x=km and y=2m+1
x * y = (2k)(2m+1) = 4km+2k = 2(2km+k). let t=2km+k in Z, then we see x*y is of the form 2(t). hence even * odd = even
case even * even =even
let x=2k, y=2m for k,m in Z
xy=(2k)(2m) = 4km = 2(2km) and let t=2km in Z then we see xy=2*t, hence even * even = even
there are 4 C 2 = 6 ways to have two non-empty rooms. you need to multiply that by the number of ways there are to send n people into two rooms so that none of the rooms are empty. in that sense, there are 6(2^n - 2) ways to do this.
similarly, there are 4 C 3 = 4ways to have three non-empty rooms. you need to multiply that by the number of ways there are to send n people into three rooms so that none of the rooms are empty.
there are 4 C 4 = 1 way to have 4 non-empty rooms. you need to multiply this by the number of ways to send n people into four rooms so that none of the rooms are empty
add them all together and you will get your answer
it should be 6*2!*{n, 2} + 4*3!*{n, 3} + 4!*{n, 4}
where {n,k} is the stirling number of the second kind
could someone do a proof check for my problem
yea this is fine, but why not just say that n = 6k = 2(3k) is even
u could also say n = 6k = 2k + 2k + 2k 😆
theres many ways to prove it
if you say 6k = 2(3k) is even then you have to show that m * 2(3k) is even and show that’s true whether m is even or odd no?
and thanks for checking my proof
Can somone explain how to find the answer to this question?
When is the implication !q --> ! p false
Do I switch p and q to positive and negatives and figure out which one leads to all Fs? I did that and I didn't get all Fs. I am not sure which one it would be below.
when p is true and q is true
!q --> p
T
F
T
T
when p is true and q is false
!q --> p
T
T
T
F
when p is false and q is false
!q --> !q
T
T
F
T
when p is false and q is true
q --> !p
F
T
T
T
@cerulean wind : if you say 6k = 2(3k) is even then you have to show that m * 2(3k) is even and show that’s true whether m is even or odd no?
@severe swan do the truth tables for each of the componets of !q and !p and then do the if statement table
and thanks for checking my proof!
Ok thanks
if u want to be extra cautious, you can set a varialbe like a = 3k and then itll be 2a, which is even
a number n is even if it can be written as 2m for some integer m
3k is an integer
2(3k) = 6k = n is even
i see 6 is even but i don’t see how m * 2(3k) is even unless you break m up into cases for m being odd or m being even
didnt u say how odd * even = even
u could use that proof to indicate that m * 2(3k) is even
m * 2(3k) would require you to prove that product is even where m is odd or m is even
oh i see you’re breaking 6 down
yes
what m are you talking about?
and using the proof i did to make the claim m * 2(3k) is even
👍
thats one way to go about it
though i bet theres a faster manner
you want to show that if n is a multiple of 6, then n is even.
n is even provided that there exists an integer m such that n = 2m
if n is a multiple of 6, then n = 6k for some integer k.
n = 6k = (2 * 3)k = 2(3k) is by definition even
i’m moving around i’ll read this and respond in a few
ok so you’re saying n is a multiple of 6 which means n = 6k and then you’re rewriting 6 in terms of its own multiple 6=2(3k), but then you notice that n can be written entirely as n=2(3k) because 2(3k) can get you any product that 6 is a multiple of
everything is fine until the last line of reasoning. i am merely writing n as a multiple of 2
thats all the problem is asking you to do
@tidal tulip m = 3k here
if that helps
i’m kind of confused because “what happened to the 6” when you’re writing n that way
6 got turned into 2 * 3
ok
how would this proof go:
n = 6k = 2(3k) where 3k is in Z, let t=3k then we see n=2t, thus we see n is even
that side stepped all my case proofs which is great
it’s clever too
basically you’re rewriting 6k
and then when you rewrite 6k you get n in the form of what it means to be even
for any k in Z
is that the right understanding yeahv
?
yea
does anyone have good resources for combinational proofs?
awesome thanks for the help
I got this incorrect on a test. Can somone explain the correct answer to me?
Which of the following is the converse of the implication "If it is not Monday, then I am happy"
A) If it is not Monday, then I am happy
B) If I am not happy, then it is Monday
C) If it is not Monday, then I am not happy
D) If I am happy, then it is Monday (my answer)
E) If I am happy then it is not Monday
F) If it is Monday, then I am not happy
G) None of the answers are correct
Thank you
can you get R^3 from a cartesian product?
like if you did R x R you would get a set with elements that are a tuples with 2 entries
I assume R^3 = {(x,y,z) : x,y,z ∈ R}
something like that?
(RxR)xR is close enough for many purposes.
If a divides c and b divides c can the product ab divide c? I got to the proof c^2(jk)=ab where jk is an integer. Does that mean ab can divide c or not because it’s squared? Or did I just get the proof wrong ?
2 divides 100 and 100 divides 100 but 200 does not divide 100
What would be the optimal way to prove surjectivity injectivity here? I don’t quite see what algebra to do to deduce (a,b)=(c,d)
you mean injectivity?
try showing that for every natural number n, there exists unique m,j such that n = (m C 2) + j with 0 <= j <= m
How does (mC2)+j help here?
its basically the inverse function
hint: ||take m to be the largest m such that T_m = (m C 2) <= n, where T_m is the m-th triangle number. this is unique since it is the maximal element of some set of bounded above natural numbers.||
Whats the procedure for checking if a graph is a bipartite graph? Do I check for each vertex in the graph all of its neighbors and see if I can construct a disjoint set? Is that the idea?
isnt bipartite iff 2-colorable true
and a 2-coloring (of a connected component) is uniquely determined once you color a single vertex
so this can be done checked in linear time
Yes, this is true . Its bipartite if there exists a two coloring s.t its vertices can be colored in for example black and white in such a way that each edge joins a black vertex and a white vertex.
Im trying check if any of the platonic graphs are bipartite and was wondering if there was a convenient method of verifying this?
platonic graphs?
like, the graphs representing each of the platonic solids?
if so then only the cube is bipartite, all the others have odd cycles (the faces)
yes, I found the cube to be bipartite as well through trial and error. How do odd cycles discount the bipartite graphs?
Its easy to see for a regular graph like k3, but how do I show that for all odd cycles its impossible to construct two disjoint sets?
Nevermind, I found an answer
odd cycle implies lack of 2-colorability very trivially
try coloring just the vertices that are part of your odd cycle
youll run into two that have to be the same color
yep, I saw this for smaller examples while doing earlier exercises, but didnt know that it held in general. Thanks.
yes this channel is ok for that
Let R be a relation on $\mathbb{N} \cross P(\mathbb{N})$ such that
for every $(m,A),(n,B) \in \mathbb{N} \cross P(\mathbb{N})$
$(m,A)R(n,B) \iff m-n$ is \ divisible by 3 and $A \cup B$ is a finite set
Is R an equivalence relation on $\mathbb{N} \cross P(\mathbb{N})$ ?
Deus_Vult
small question on this one, the answer was no because R is not reflexive
and I sort of fail to see why ?
since m-m = 0 would count as being divisible by 3
does the check fail because A U A is not necessarily a finite set ?
Can someone explain this to me? I got it wrong on my test and have no idea how to figure it out.
Without making a truth table, what truth values need to be given to variables p,q,r,s,u,w to make the following proposition evaluate to True
!(p&q) & (u --> p) & q & (w <--> u) & (!w --> s) & (r V u V w)
what variables should be true and what variables should be false
hmm.. maybe start with the most obvious, and see how you can advance from there
what was your answer?
since all your subformulas are part of a conjunction, you know they all must evaluate to true then
its addition modulo 4
and g(i, j) = i + j
!= multiplication table?
so then what represents multiplication in a function
g is just some function that takes two inputs in Z_4 and spits out a number in Z_4
multiplication also is a function $Z_4 \times Z_4 \to Z_4$
Lochverstärker
thats the exact same as addition function though?
there are many functions like that
by being told
interesting
the text tells you that g is supposed to be addition
there is also a function g(i, j) = 0 that sends everything to 0
This is just the domain and range of the function here
this does not have a special name
so Z4 cross Z4 doesnt necessarily mean multiplication, means the pair of elements from the set Z4
You also need a rule, in your example thats addition modulo 4, it could be anuthing else really
makes sense
but if its addition
this Z4 cross Z4 means
2 memebers fro mZ4
map to something on Z4
yes
when g(i,j)
Exactly
gotcha
🤯
but just making sure im understanding
g(i,j) could mean anything
have to have context
yes
Look more into cartesian product
got it, thank you!
it can be any element in Z_4 in this case
in this case there is a "rule" g(i, j) = i+j (mod 4)
but you can also arbitrarily choose a result for each (i, j) without any rule
say f(0, 1) = 0, f(1, 0) = 1 and f(i, j) = 2 for everything else
thats also a function Z_4 x Z_4 -> Z_4
albeit not a very interesting one
got it
Z_4 x Z_4 != multiplication rather the idea of some g(i,j) mapping onto Z_4. A pair, cartesian product, of values from Z_4
😄
thanks again!
now this is a bit pedantic but how do I list elements of a set?
I wrote this
but I think
it is just you tuple, tuple, tuple, .... $\in$ A x B x C
Brandon7716
because I believe I listed the set rather than stating the elements of the set
that shouldnt have an \in
well I was trying to show my steps
and Im not sure a good way to indicate that
ok
that is why I did (3)
you forgot a close curly brace and open curly brace in (2) then
the way its written rn does not make sense
(3) is the set $(A \times B) \times C$
Lochverstärker
yes
generally you would list the elements as (a, b, c), not ((a, b), c)
and you are correct that you listed the set technically and not the elements
yeah I also wasn't sure about ((a,b), c)
because I asked early about how R^3 is defined
and didn't know if people just do RxRxR
well
the issue is that you dont want an extra definition for R^n for every n, so you define it inductively as R^{n-1} x R
but then you get typographical nightmares like ((((a, b), c), d, e)
and you technically get $(R \times R) \times R \neq R \times (R \times R)$
Lochverstärker
so we generally just agree to write tuples as (a, b, ..., x)
ahh
i dont know your professor, i would mark both as correct
but yours isnt as pretty to look at as the alternative
(same for the set vs its elements distinction, i would mark both correct)
It seems I must have closed off that part
glossed*
idk why I have been doing the ((a,b), c)
well this will clear up my messy stuff
ahh I think I knew why I did that
I thought of (a,b) as 1 element
so are both accepted?
(a, b) is one element in A x B
yeah
so if you did it in the steps you listed, it makes sense
generally we agree that ((a, b), c) = (a, b, c) = (a, (b, c))
Okay
Hi can I ask a question?
hi im trying to solve this question
im not at all seeing how induction can be shown for this
could someone point me in the right direction
i tried simplifying that r + 1/r
into (r^2 + 1) / r
and it doesnt seem to even help my base case
so for instance
id have
((r^2n) + 1) / r ^n
looking at the base case of n = 1
((r ^ 2) + 1)/ r
this changes nothing for me
wait omg, i can set this equal to the orignal r + 1 / r since thats an integer
🤯
Hey folks
Could someone explain why this statement is true?
∃x(x is even → x is odd) (assuming x is an integer)
As it stands, I figured it meant as follows:
there exists an integer x that is odd if it's even
Which should logically be false, since integers can't be even & odd simultaneously
Am I misinterpreting the statement?
How come, though?
I'll look into implication shortly, haven't done this stuff in a while
but I thought it worked like an if statement?
so if x is even then x is odd
i.e., if p then q
this question comes up a lot
someone else recently explained it way better than i ever could, let me see if i can find it
Sure, that'd be great, thanks
crap
am i approaching this right still.
it SEEMS like it would be right
since i need to basically prove that r6n + 1/r^n would be a multiple of r + 1/r
+ask
oof guess thats not a command here
the explanation starts here: #proofs-and-logic message
my explanation is right above and consists of the principle of explosion
but i think troposphere explained it a lot better, if you care to read it
my answer is:
I'd use the binomial expansion of $(r+r^{-1})^n$ to prove that it's an integer
Mero 
Merosity
Right
So in our case
We can look at it as p being a subset of q
x is even -> x is odd is the same as (x is even) is a subset of (x is odd)
so by definition
since p is a subset of q
can you elaborate please :
q is forcibly true
right?
So something like this
even though this wouldn't make sense in the real world, we have to assume that the statement is true?
so we assume that the premise (x is even) is false
no
(r+1/r)^n will be a bunch of terms paired up, the binomial coefficients being symmetric gives r^n+1/r^n + binomial coefficients* (r^k + 1/r^k) for k<n
it LOOKS like it would be the right path
if i can get that n out
to show that the left is a multiple of the right maybe
so subtracting an integer from an integer leaves an integer, (r+1/r)^n- binomial coefficients* (r^k + 1/r^k) for k<n = r^n + 1/r^n
it's slightly annoying cause even vs odd terms will be slightly different
idk maybe someone else can help I'm about to make dinner GL
thanks 😄
i am not sure if this is a useful perspective (im also not sure i get your argument)
im also getting tired, sorry i cant help further
Can someone explain how to do this? I need to assign true or false to a, b, c:
give truth values to a, b, c which shows
(b->c)->a
is not equivalent to
b->(c->a)
a = T/F
b=T/F
c=T/F
one way is to build a truth table and find the interpretations of a, b, and c for which [(b -> c) -> a] <=> [b -> (c -> a)] is false; another is to think in terms of what makes a conditional true or false - i.e., if we want (b -> c) -> a to be false, then it needs to take the form T -> F, meaning (b -> c) <=> T and a <=> F. here we find that b and c can still form multiple combinations ((F, F), (F, T), (T, T)), so maybe it's time to turn to the other formula - i.e., b -> (c -> a), which must be true. the only form it cannot take, then, is T -> F. we know from our previous assumption that a <=> F, so let's plug that in: b -> (c -> F). once again: since we want this formula to be true, we cannot have the form T -> F. the only pair (T, c) which we found while analyzing the other formula was (T, T), but this interpretation will make this second formula false, which is not what we want. so (T, T) won't help us here. what remains is (F, F) and (F, T), and both of these will make the second formula true and the first formula false (and you will also find these combinations in your truth table)
so (b -> c) -> a and b -> (c -> a) are nonequivalent for the combinations (read as (a, b, c)): (F, F, F) and (F, F, T)
Thank you very much for the detailed explanation.
Why do we have for a tournament (a complete directed graph where any two vertices are joined by exactly one edge) we have that the sum of the in-degree equals the sum of the out-degree which I understand, but I also found the following property I didn't understand:
(x_i + y_i) = n-1 where x_i is the in-degree, y_i is the out-degree of the graph. If we sum over the in and out degrees do we not just get twice the number of edges of the graph?
I think in the second paragraph x_i and y_i is supposed to represent the in- and outdegrees of a single vertex i, not the entire graph, which would make a lot more sense as this equality would then also be correct
hey , just a small sanity check
$$A={\emptyset,1} \ B={{\emptyset},1}$$
$$A\neq B$$
$$\emptyset \in A \ \emptyset\subset A \ \emptyset \subset B \ \emptyset\notin B$$
Deus_Vult
is this correct?
yes
\\ for newlines btw
oh thanks
Great, thank you
@gilded axle This does indeed make sense. Thanks

how do I proof stuff with induction on sets
AA A x i i n x A 1 2 '' ' " !n i ^ ^ ^ 1,2, , odd

Brandon7716
Lol I guess the prof meant there is a difference between $\subset$ and $\subseteq$?
catfan1337
which is stupid
She realized the solution via grading one of the hw's that was turned in
pretty dumb if that is false because of that 
very dumb
check your notes to see how you defined those symbols
probably 'subset' vs 'proper subset' , but proper subset implies subset, so this is still true
unless subseteq means 'not proper but equal', but then why would you ever use this symbol lol
If A ⊆ B and there is an element of B that is not an element of A (i.e., A ≠ B), then A is a proper subset of B, denoted as A ⊂ B. Venn diagrams are particularly useful for visualizing subset relationships between sets.
but based on the book questions
they don't have an assue
$D \subseteq C$
So as you can see A \subset B means "A \subseteq B AND exists b in B such that b isnt in A". Because this is AND, its definitely also A ]subseteq B
Brandon7716
If you care about the points or whatever you should email your prof saying that its correct because proper subset implies subset
it it was hw and optional and I believe everyone got full points for completing it
but I have a quiz soon and that would be pretty dumb to get something wrong because of that
Its better to answer the way you did and then argue imo, you shouldnt learn bad habits
Yeah, I might email her to see if it was a mistake or something
Hello friends
Can I get a hint
For this question
Like for #2 now can I work that one out?
If the domain I have correspond to x
It's not the same
Here you treat the empty set as an element of A
In the second example it is both a subset and an element of A
In the first one it is only a subset of A
oh i see
In the absence of contrary indications I would assume it's just sloppy editing of the question and when they wrote "the domain of x" they really meant "the domain of the quantifiers".
Or alternatively, that they were talking of the domain of the propositional function p, and it's a coincidence that the letter x they first wrote in "p(x)" is the same as the quantified variable in the first subquestion. (This also amounts to y ranging over the same set).
I or ii is true?
This is how I usually encounter it, never really gave it a thought before
Well A={N} is a set which contains a set. Which one do you think is right, i) or ii)?
ii
Yes
thanks
Thank you guys
If you're just looking for a y/n answer, then yes. It can be simplified down to p*(r+q')
(~Q ∨ R) => ((Q | Q) (Q|Q)) | (R | R))
Is that correct? Or is there a simpler form?
just to clarify: you're suppose to rewrite it using only nand gates, correct?
if so, it's right, assuming you just forgot to put the | between (Q | Q) and (Q | Q) (very important, since this absence could lead someone to think you're using an AND gate there)
What is P(a,b)? A set?
Yes
P(1,2) for example is a set, okay, but I don't know what P(a,b) is
what are a and b?
yeah I'm struggling at that, is it a set of all sets made up of different a and b's or is it only one set with all elements of all possible a and b's
so are the elements of P(a,b) like P(1,2), P(3,5) or points like (1,0,z)
real numbers
a,b are elements of Real numbers set
a bit confusing since the image says p_(a,b) = {(x,y,z...
but it makes more sense than a set like x e R^3
wdym?
different question
ohh
Its a set of points (x,y,z) such that ax+by=0
so really z can be anything
as long as gcd(a,b)=0
but what does P(a,b) mean
wouldn't it mean everything
like okay each P(a, b) where a and b are constants is a set of points with a line for x y. and all z values
Do an example
for example P(1,2)
means all x and y values for y = -x/2
so points will be (x, -x/2, z) for all possible x and z values
P_(a,b) is the set of all (x,y,z) that satisfy the equation ax+by = 0
notice that z can take on any value
like this
but if a and b are not specified, what is p(a,b)
.
^
I think I got it, thanks
for number one is this the right way of disliking joffrey?
im trying to watch the lecture again but i cant recall neglecting quantifiers in class. please provide a hint. thanks in advance
No. You haven't even referenced jofferey or anya in your statement. what you hve written basically reads as " There exists someone who likes noone else"
assuming that arya = x and y = joff
Then they wouldn't be variables....
how do i say x does not like y
so the quantifier is meaningless
not p(x,y)
You don't need variables or quantifiers for 1, just the objects of arya and jofferey
(and p and the not operator)
yeah it does
when ETH hits 10,000 ill buy you a ps5
i already invested all my money in bingustoken I know its going to the moon anyway
/s
Brandon7716
$\bar{a}$
I think ideally in this solution we want to use nands whenever possible
other than for the empty set, why would we ever need $\subseteq$
Brandon7716
Like If we are given sets A and B, when would we want/need to say $\subseteq$ instead of just using $\subset$ or $=$
Brandon7716
I can think of one condition being $\O \subseteq \O$
Brandon7716
but then I guess you could just use $\O = \O$
Brandon7716
@wide vine use \emptyset or \varnothing for the empty set
also im not sure what your point is
you want to require that all instances of $A \subseteq B$ be written as ``$A \subset B$ or $A = B$''...?
Ann
I need help understanding this.
suppose a|b and b|c.
I must show that a|c.
i get theres an x for a|b and y for b|c.
how does xa=b and yb=c.
@ashen cloak whats ur confusion
@ashen cloak are you still here
Bit of a dumb question but how would I show associativity. For all a,b,c in Z show that a(bc)=(ab)c
Like I get it’s pretty simple but I’m not sure how to write it out formally
what is your definition of Z?
if you want a formal proof you probably want to appeal to whatever construction your class is using for Z
so all you have to do is to prove that | is transitive
lets suppose you A,B,C groups
so we suppose that a|b = a|c
Just an integer
so your class did not construct Z formally from N?
that means that there is an a in a|b and also in a|c
Honestly I have no idea
@weary tiger aren't you overcomplicating this for FAST_TRACK? and also not making any sense while you do so
a|b = a|c is either nonsensical or doesn't mean what you intend it to
what do you mean by that, the proof is just that | is transitivita
that's a proof rule you got to follow
to formalize an answer
how am I overcomplicating things, let me write the full proof for a sex
sec*
what "proof rule" are you saying that one "has to" follow?
FAST_TRACK seems to have gotten themself confused at the definition of |, and you're going to shower them with formalism that explains nothing?
the proof rule of transitive, we assume them both, then proof it
I thought he didn't know how to proof it
there is no such thing as "proof rule of transitive"
because he didn\t write I don\t understand the definition
not in a formal way but there is
the minute you learn to proof
you follow a structure
in proving any statement of the form "if P then Q" you assume P and prove Q from it
proving the transitivity of a relation
isn't special in that regard at all
the structure to proof transitive is
and it's pointless to pretend that every single little thing has a separate proof technique you have to memorize like a bag of tricks
we assume a = b, a = c and need to proof b = c.
you have that the wrong way around
that's not the definition of transitivity and generally not equivalent to it
transitivity is aRb & bRc => aRc
I'm notr going by def, that is how you proof it
???????
what, velleman?
i am pretty sure velleman would not commit such a massive blunder in disguising what you wrote as transitivity
that is actually what you wrote
also if you're not using the definition of transitivity to prove transitivity then you are almost definitely doing something disastrously wrong
I wrote it without R
because = is a relation
your variables are the wrong way around
I don’t think so. We did something about equivalence relation on N*N in which the equivalence class of it is integers
i dont care what symbol you use to denote your relation
you had aRb & aRc => bRc
i had aRb & bRc => aRc
these are not the same
would rather you didn't insist they were
you know that it doesn't matter, right? I can change them you know?
it does matter
w/e equivalence it is, thats the construction ann referred to
lets assume R is symetric
OH
yeah
so now
got you there
we're assuming R is symmetric
where did you pull that from?
and going back to the original question
guess what
because in the question
divisibility ISNT symmetric!
Hmm okay does this make much difference? Honestly I’m so lost in this course
no
yes you did
heres a screenshot of what you said
you started with what was probably intended as "a|b & a|c"
yeah yeah
if youre not using the definition
then you are liable to make mistakes like this
and making mistakes is not something you want to do
I took the wrong variables
ur proof depends on ur def of Z which itself depends on ur equivalence
sup: a|b , b|c
ntp: a|c
if you're proving something as fundamental as associativity about Z, then it's not something to take for granted
therefore you need to know exactly how Z was constructed from N in order to appeal to that construction in your proofs
sup: a|b , b|c
ntp: a|c
so there is a x and y such that:
xa = b and yb = c(that's because a is proportional to b and b is proportional to c, so there are these two integers that are not zero that satisfies that proportion)
no
Idk this. We went over something about equivalence relation on N*N of which integers is it’s equivalence class
"proportional" is the wrong word
@weary tiger its their task to prove this so lets not write the full proof
and youre missing key details such as that x and y have to be integers
no construction no proof
for understanding that's the perfect word
you can go by def
but to get intuition
that's the exact thinking U need to have
The set of Z of integers is the set of equivalence classes of N*N under the following equivalence relation.
Let ~ be the relation on N x N defined as follows. For k,l,m,n in N (k,l)~(m,n) if k+n=l+m. Then ~ is an equivalence relation
That’s all it says in the notes
okay, so that is the construction
it should be possible to reduce associativity of multiplication on Z to the same on N once the operation * on Z is properly defined
gonna say in advance that the formal proof is very symbol-pushy and very unenlightening
both are true , right?
what's P(A)?
yep, then both are true
ty
i proved that log(1*2*3*...*(2n-1)) is O(nlogn), i dont know where to start with proving nlogn is O(log(1*2*3*...*(2n-1))). Any help so i can start the proof?
did you proof it in induction?
let n =1
then log(1) = log(1)
assumeto n
then prove to n+1
thank you
There are 9 horses, I want to ride horses 30 times but I never want to ride two identical horses in a row, how any possibilities are there?
try working out a smaller simpler example that you can write out all the possibilities to to try to figure out what the pattern is
like, 3 horses and riding 4 times
Am I correct: in a case with 3 horses and riding 4 times: There are 16 correct posibilities (and 68 incorrect posibilities)
oh wait no is it 3^4
yeah, 3^4 if you don't care about riding two identical horses in a row
but since we do care, the number will be smaller since we're restricting ourselves more
seems like you're just guessing
something like that right
well I have 16 correct and 65 incorect (for total of 81)
try this, write it out like a little diagram
65 looks like 64+1 (4^3+1)
make your horses A,B,C,D
yeah that's what I did
and write out what you can pick for your next choice
oh send a pic of your work
or explain it more, I can't help unless I see your reasoning
what's the black and red mean here
red is correct
sorry incorrect
black is correct
thats for 1/4 of possiblities
you would do that 4 times
ie instead abab you do baba
I might be missing some posibilities tho
I see
I would take it one step at a time, as in
i think i see my mistake
how many choices do you have for the first horse?
then how many choices do you have for the second horse?
they would be the same right
oh
ok i think i see it
its like 433*3
4 x 3 x 3 x 3
yes exactly
ok thank you
yeah you're welcome
Could someone look at this proof
Did I approach this correctly. Feel like I am missing something
Maybe should be
Should actually be this at the bottom I think
can anyone explain why those were chosen as the pigeonholes?
Why is it that for example, 2 and 3 dont form a pigenhole?
Because 2+3 is not a multiple of 8.
why do we want them to be a multiple of 8 anyway?
Because that's what we're trying to prove: that two of the numbers sum to something that's a multiple of 8.
I'll think about it more, thanks
Okay where do I go from there?
I am just fell asleep.
I'm sort of understanding it better, just a bit confused
a|b means a divided by b correct?
b division symbol a correct?
And c would be on top?
So bc = a
idk if my teacher is using a different definition of subset and subset equal than the book and I
can someone explain how this is true
The prof is saying that $A \cap C \subseteq B$ is false
Brandon7716
which doesn't seem to go well with the book defintion of subset
i mean {2} and {6} aren’t even elements of Z
even though it claims they are
wouldn’t be surprised if there were more mistakes
Which says if all the elements of A are in B then $A \subseteq B$
Brandon7716
Yes
weird looking
this is the most horrible thing i have read in a long time
😦
please ask your professor what $\subseteq$ is supposed to mean
I feel like I forgot everything I ever learnt from this
Lochverstärker
I am kinda scared for the quiz if this is the case
when $A \subset B$ does not imply $A \subseteq B$
Lochverstärker
not like there’s a subjective meaning of subseteq
then is \subseteq just equality??
this is the comment they added with 8(e)
im so confused
. This conflicts with even the problem sets from thebook
your teacher is wrong
please ask them to clarify the difference between $\subseteq$ and $=$
Lochverstärker
Is this a uni course?
Yes
one could say that \subseteq "isn't precise enough", when actually \subset is true, but ^ shows they have no idea what they are talking about
Regardless of the field, this is basic set stuff
:/ yeah
hi can i ask question related to binary strings in this channel or is it wrong channel
im not really sure what to ask them
ask them to clarify the difference between \subset, \subseteq and =
more specifically ask how $X \subset Y$ does not imply $X \subseteq Y$
Lochverstärker
IT would be like saying 8<=8 is false and that it is really 8=8 or that 7 <=8 is wrong it is is really only 7<8
indeed
Funny thing is, this was an exacty question from the book
do you have a provided answer?
great
but this also feeds back on their definitions which was
If every element in A is also an element of B, then A is a subset of B, denoted as A ⊆ B.
quote this and ask how $A \cap C \subseteq B$ is false but $A\cap C \subset B$ is true
Lochverstärker
yeah
$$c^n = (1+(c-1))^n = \sum_{k=0}^n \binom{n}{k} 1^{n-k} (c-1)^k$$
Merosity
just a silly example of the binomial theorem
but I assume you're wanting to count it literally how they do with those terms and numbers
we just have to prove c^n is equal to that weird summation
i dont understand what ur middle step is tho
right, I just proved it by using the binomial expansion
$$(x+y)^n = \sum_{k=0}^n \binom{n}{k} x^{n-k}y^k$$
Merosity
x=1, y=c-1
you're welcome
can someone explain this comment to me
isnt that what they did?
other than forgetting the 2
Hmm, you might need to explain the comment first. What are we looking at? A set of model solutions with comments telling the grader which features to look for in actual handed-in answers? Who wrote which parts of the screenshot, and in which order?
sorry for late reply. This is a graded solution to someones HW with the the profs commetting on it
the comments are in RED

