#discrete-math
1 messages · Page 179 of 1
You need Lagrange
[A:B][B]=A if B<A
stated differently, order of a subgroup divides order of the group
If B is a subgroup of A than A is divisible by B without remainder
So ,if g is not Id=e,<g> has atleast one more Element compared to {e}
And |<g>| divides p
|<g>| is the cyclic group of made from g?
<g> is
|<g>| is order of the cyclic group
I see, can you give an example?
Thanks @unreal stump
How can I find -24 in Z5?
what's Z5?
I think they mean Z/5
ok what do they mean by find then
the equivalent of -24 in that set
how did you define Z5
Any good recommendations for online lectures that I can watch? That teaches from lesson 1 ?
Speedrow
hs algebra moment
@marsh shuttle be quiet pleas!!!
@marsh shuttle stop smacking your lips and eat sensibly
LMAO
every american says that damn word no wonder all the same shit
????
Why such an absurd message in this channel?
i believe both were in vc at this time, very wierd
Yeah, it's a bit confusing why they'd respond in this channel lol.
What is?
Why are you posting random messages in #discrete-math ?
If you wish to text while someone is in VC, there's #mathematics-voice and #504761504571326464
be quiet please!!!
pleas*
stop harassing me. thanks.
please stop trolling me. this is a place of upmost professionalism and academic sincerity. thanks
@errant bear please stop harassing me that i am trolling you
i am trying to be polite and kind to my presumable fellow human being
i have already reported you to the moderation of this establishment.
@errant bear but have you read #❓how-to-get-help
no. i cannot read.
most likely function composition
you could represent them as matrices
ok. and you want to compose them?
yeah. I want to mutiply them as seperate permutations
But I don't even know what it means in this regard
okay. since they are disjoint permutations, then you can just multiply them normally. so 1->2->3->4->1 and 5->6->7->8->5
it would help if you drew out some functions. for example, the permutation (5 6 7 8) represents the function
1->1
2->2
3->3
4->4
5->6
6->7
7->8
8->5
where just the last four elements got cycled
right. thats what it means to multiply them in a sense. you get a new function which cycles the top four elements and the bottom four elements separately
Really, that's it?
yes. its that simple in this case
I see thanks
be careful tho, because if you have something like (123)(34)(28) then you need to think a little bit more about what happens when you multiply them
where the permutations arent disjoint
what do you mean?
the function composition (123)(34) has three in both of them. this means the cycles will kind of overlap
So what i done in this case?
you have to keep track of where the three and the four get moved. draw out the functions
yes but you need to draw them like this:
1->1
2->2
Right, but why?
im not done lol pressed enter to fast
srry
@cerulean wind You still there?
yea sry. my internet went out
Hope all's well
yes it is thanks
ok, so i was saying you need to write them like this:
1 -> 1 -> 2
2 -> 2 -> 4
3 -> 4 -> 1
4 -> 3 -> 3
note that we do (3 4) first then (1 2 3)
so that the composition (1 2 3)(3 4) = (1 2 4 3)
where 3 -> 4 -> 1?
in case you didn't see, the result now is the correct result
I didn't. Thanks
I need some help I'm stuck on this question 2,a
these are my steps so far
what ca I do next to help prove this is or isn't an interval
what happens if b is strictly less than c?
and you try to intersect [a,b] and [c,d]?
Wouldn't it just be a null set then
yes. is that an interval?
yeah thanks
what’s ur definition of an interval?
but b and c aren't defined to be any number tho
what about (b+c)/2 tho
then b<(b+c)/2<c if b<c
you have to provide a counter example. you can let a, b, c, d be arbitrary real numbers with a<b<c<d
np
if o(a) = 14
what would o(a^100)=?
what is o ?
o(a) is the smallest interger in which a^o(a)=id
R u talking ab groups?
Hey anyone can help me with xor operation
what do you think
I'm not sure, I get it's going from cartersian to a real number but how exactly can I prove it's a function or not
does it seem like one?
yeah it does
these are the other 2 functions
and I said that they were functions
like all 4 of them are functions like that doesn't make sense to me I feel as if one isn't a function
you said a was a function?
the function is S @errant bear
or the set they need to check whether it is a function
a function f:A->B is a subset of the cartesian product AXB with some other properties
a function is literally a set
wtf are you talking about
ok
Hello 👋 every one
f(n) is a function such that it outputs the frequency of the digit 0 in the range of integers from 1 to n
Can we generalise a closed form for f(n)
I have noticed that for an k digit number
Pucci
Not sure of the generalisation tho
Also I tried finding a recursion....but failed ...
Any advices suggestions criticism are welcome
Minor corrections it should be k+1 digit number and 99999... k+1 times
can someone tell me what are the conditions of a degree array of a multigraph?
Alek
I had a quick question if someone can help me out
I'm covering graph theory and I'm come across a walk with a single vertex
Would I consider this a closed walk?
Of length 0 right
And it wouldn't have any properties, like it cannot be a circuit
Since the edge occurs more than once in itself?
I'd have to see the exact definition, it's too much of a corner case
then just follow the definition precisely
first vertex is A and last vertex is A, so they are the same and it's a closed walk
yup
But wait is there a clear differnece
between
<a> and <a, a>
They share the same properties, but the walk length is now 1 right?
is there an edge between a and a
ahh no, just thinking like a general self-loop
yeah, the difference is one is going through a self loop and the other isn't
Hmm interesting
so <a> would be no self loop
Since there is no edge exists
that loops into itself, therefore it remains still in its walk, hmm ok
Well thank you for helping out
yeah you're welcome
Ah one more thing, sorry if I'm reentering back to the same topic but would <a> be also a circuit? Since a circuit is defined as a closed walk in which no edges occur more than once
And since that is the definition, a walk of <a> would also be a circuit, since there is no self-loop / edge going back to that verticie*
And finally it wouldn't be a cycle since a circuit must be of length 1 at least, by definition
yeah definitely, it's vacuously true that no edge occurs more than once so you're good
cool cool
@obtuse lance I don't undirected graphs allow for edges from a vertex to itself
Simply by definition, an edge is a member of the powerset of V of size 2, and in the usual definitions you are talking about regular sets, not multisets, so {a,a}={a}
So you also don't allow for multiple edges between any two verticies?
In an undirected graph if you had one edge going one way and another going the other way they would coincide
{u,v}={v,u}
In a directed graph it's possible to have both
Since the notion of an unordered pair is replaced with an ordered pair
I'm still not sure if regular definitions allow for an edge from a vertex to itself since (a,a)=(a)
In a multigraph you can also have multiple edges between 2 vertices
And loops
But a regular graph by most definitions cannot
Is there any way to make this more concise
The top is the question with its solution, mine is below
If I'm making a general case for every open walk that we know exists and has some way of getting from v to w
we can conclude that a path property exists of those vertices as we remove each duplication of edges and vertices being used
How can we make that statement ^ which I mentioned above, in a more formal math notation
hello , i am sorry for asking this easy question but i just don't get it
what are the numbers for?
not in circle but in paths
assigned weights
are we assigned them ?
this specific picture is probably just for illustration
in general they are arbitrary
A directed cycle is a strongly connected digraph, am I right?
thank you
Between any two nodes u and v, there's a walk connecting them in both directions
sure, just go around the cycle until you arrive wherever
When doing some combinatorial optimisation problems, I found out I'm often confused about the notion of "distance". When working in a network (that is, a digraph with a weight function), the distance from node u to v is just the smallest weight of a walk from u to v where the weight of a walk is just the sum of the weights of its arcs. If no negative cycle exists, then the shortest walk coincides with shortest path, where shortest path denotes the path of least weight. When working in a graph, how does one define the distance (usually)? In the problem I was working with, the author of the book specifies that the distance is the length of the shortest walk. I get that "length" is the number of edges, but what is meant by "shortest walk" ?
In the case where we have no weights, "shortest" would then refer to the walk that uses the least number of edges, am I correct in my reasoning?
I couldn't see the simple circuit in here but book says there is one
what is the path?
WhiteKnife
hello; im completely stuck on how to do this
Read equals as “congruent to”
p -> q V r = (~p V q) V r
= ~(p ^ ~q) V r
= (p ^ ~q) -> r
is ^ = "and"?
Yeah
The question is just written a bit ambiguously imo
I originally thought the right side was p ^ (~q -> r)
interesting; this is my first hw assignment and i have no clue what im doing lol
Basically you just want to use the logical equivalence laws as well as the definition of implication
im confident in the last three, but the first one i dont really know, because the videos ive watched about conditional statements, none of them include negtation, only the last three
ah ive heard of those; ill look at the reference sheet for the specific names
So P -> Q is logically equivalent to (not P or Q). So the negation of P -> Q is the negation of (not P or Q)
In other words, the negation is P and not Q
Does that help with the negation row?
ohhhhhhh okay okay
but i cant find "those" laws anywhere
the ones that involve if then statements
the only reference sheet i have is this:
If P, then Q is the same as P -> Q
mhm
So here P is “you are a computer science major” and Q is “you can take M2211 and M2212”
i dont see the "if, then" statement logical equivalences
understood
Then the negation is (P and not Q)
So what would that be
It would be “you are a computer science major AND you cannot take M2211 and M2212”
yup that makes sense
but where can i find logical equivalences (like a reference sheet above) for "if, then" statements?
We were taught it as an equivalent definition of implication
It’s not exactly a “law”
no no i get all of that
but like
is there like a formula sheet with all of that written?
I don’t think I have one that also included the implication laws
ah okay
But if you’re happy with the equivalent definition, you can derive them
For example not (P -> Q) can be derived using the definition of implication and the laws you’re already provided
Same as things like (not P -> Q) and any of the variations
Not exactly but I didn’t have the congruent symbol on my phone so I just used it to mean congruent to
Usually you’d have triple lines when writing laws of logical equivalence
So ya asking whether a path exists or a circuit?
those are two completely different things
since one is a open walk and a closed walk
equals and triple-lined equals aren't the same. for the intents and purposes of formal logic, think of = as "these are syntactically the same" (i.e. $p \lor q = p \lor q$) and think of $\equiv$ as "these look different but are logically equivalent" (i.e. $p \rightarrow q \equiv\lnot p \lor q$)
mmmbruh
ohhhhhhhhhhhhhhhh that makes a lot of sense
thanks man
ight so what im getting at
is like
1 = 1
but
1 ≡ 2-1
?
i would be careful cross applying the purpose of equals to things outside of formal logic because i don't think that's correct
it's more a distinction of notation within this domain of math rather than anything particularly concrete
yeah, just think of it more of a notational thing and just understand that using ≡ is meant to show equivalence specifically for propositional logic
and you'll be fine
Anyone got any good resource or questions they have for beginners on graph theory proofs?
I'm trying to cover / understand: circuits, walks, trials, paths and cycles, to graph connectivity
could someone explain how this went from p ^ ~ q --> r to (~p V q) V r
yeah so it goes like this
p ^ ~ q --> r
then
conditional identitiy
~(p^~q)vr
apply demorgan
to get
~pVqVr
since this ~(
applies the negation to each proposition
Either way its not that hard to think about, just write each step down
wait hold on what
here
Hmm, are you sure this ain't highschool maths ya doing. I swear I've seen that textbook page before
so we're treating (p ^ ~q) as an entire entity?
yes
no im dualling at a local college
omg bro that makes so much sense
yes
not sure what you are saying there
just apply the law on the rhs
to show what you applied
ight ight thanks a lot man
well no i get how to do it now
the other guy did it for me, i just didnt get how he got taht certain step
like that random ~
and what would i call that to justify it?
just "def. of conditional statement"?
yeah
I need to see your steps, since I'm lost at what point you're at
Of trying to show this is a logical equivalence
the second step here is also "def of conditional statement" right?
cuz the arrow becomes V ?
okay gimme a sec
it applies the negation and makes the clause an AND
From original proposition made
oh no.
i only got 3
what did i miss?
or do i just seperate the first step into 2?
Do you understand logical equivalence
barely
its prove the LHS is equal to the RHS
oh.
I'd suggest read over your material please and attempt it again
wait so start on the left then?
bro i have no clue because my teacher doesnt have any videos on proofs
we're just given a bunch of formulas
I'm not gonna provide anymore help since I'm guessing this is assessed. And I can't really help out anymore
I'll put it simply
Make the LHS equation into the RHS
Using the current laws of propositional logic
yeah true understood
lemme do it one more time
The material should explain it fairly well and there is A LOT of videos on this
wait but the other guy worked on the rhs?
oh okay but u just said i have to do the lhs?
You can start from the LHS to see if you can make that statement from the LHS can be made using the laws of propositional logic to make the RHS equation
Therefore this can be used vice versa, we can get the equation on the RHS and try to prove that its equal to the LHS
anyone know how u go from the first thing to the second?
Reverse distributive law
p V (q ^ r) is equivalent to (p V q) ^ (p V r)
So treat p as ~q, q as p and r as ~p, we get the result
That is, ~q V (p ^ ~p) is equivalent to (~q V p) ^ (~q V ~p) which is the proposition in the first line
And because they are equivalent propositions, we simplify the first prop into the second

Can anyone help me with
maybe try to set up a recurrence relation
is my "solution" what they mean with the underlined part?
yes, but your naming scheme is bad
well for starters
what you named "B" has to do with the box called A, and what you named "C" has to do with the box called B... it's confusing
and also, "A is blue" is equivalent to "A is not red" so why not just have A = "A is red", B = "B is red", etc.?
only 5 propositional variables instead of 10, too
If you want to be pedantic, “A is not red” and “A is blue” can be made as syntactic distinctions — that is to say, they are not syntactically equivalent. Instead we can impose it as a semantic equivalence. This is just an alternative approach
But if you don’t care about this distinction, then saying that “A is blue” and “A is not red” can be syntactically equivalent in your model
But how?
I'm stuck on this one, could anyone possibly help me out?
,rotate
looks perfect
Thank youuu @obtuse lance
you're welcome
what can i write for the accepting set
i mean i figured it accepts ax*a or bx*b
but how can i write it as a set?
@obtuse lance my hero ? xD
omg i misunderstood the question
okay i solved it
Hi, where can I ask a graph theoretic question?
I'll give it a try anyway:
Let K_n be a complete graph on n vertices. Is there a formula to calculate the number of paths of length k from v_1 (some vertex) to itself? Note that one can go over same vertices more than once (e.g for a path of length 4, the path v_1->v_2->v_1->v_2 is valid).
isn't this just calculating the diagonal entries of A^n, where A is the adjacency matrix of K_n?
@stray reef That gives you the number of walks not paths.
the difference being what exactly?
Of nvm i see they are using path to mean walk.
Walk can repeat vertices and edges
Path cannot repeat either
@light ginkgo Oh sorry, didn't pay attention 🙂
anyway, the adjacency matrix of K_n is J - E, where J is the all 1s matrix and E is the identity
$J^k = n^{k-1} J$ for $k=1,2,\dots$
Ann
One can use binomial expansion , I guess
that's what i'm going for
$(J-E)^n = (-1)^n E + \sum_{k=1}^n \binom{n}{k} (-1)^{n-k} J^k$
Ann
yw
Where should I start off to learn discrete math?
The way I did was in the following order
- Boolean logic
- Overview on functions
- Naive set theory
- Proofs
- Combinatorics
- Graph Theory
- Recurrences
- Number Theory
Unfortunately I don't really have any books since most of the content consisted of notes given by the teacher
I'm stuck at this question: prove or disprove that
$$29!\frac{n^{29}}{log(n)} = O(n^{12}+n^5log(n))$$
Any tips please
Laïka
Makes sense yeah
log(n) <= n for all n
So is it just enough to say that 29 is much bigger than 12 so the LHS is not equal O(n^12)
Oh
Is it equivalent to saying that $$29!n^{29} = O((n^{12} + n^5log(n))log(n)) = O(n^{13})$$
Laïka
this big oh notatio is horrible
on a practice problem the answer is saying f(n) ∈ Θ(g(n)), where f(n) = log(n!) and g(n) = log(n^n), but I dont see how f(n) ∈ Ω(g(n)) because there is no constant that can be multiplied by g(n) such that f(n) will be >= as n approaches infinity
how did you define big oh
f(n) = O(g(n)) if there is a constant C and a rank N beyond which f(n) <= Cg(n)
Yea,via a sequence of abuses of notation yes
wouldnt this graph show that log(n!) is always <= log(n^n) as n approaches infinity which means f(n) is only an element of big oh
its just a graph
"only" an element of O(g(n))?
just because f ≤ g doesn't mean f ∉ Θ(g)
you could have f ≥ 1/2 g or something
hint: $\log(n!) = \sum_{i=1}^n\log(i)$
Lochverstärker
yeah but the growth of log(n^n) means it will eventually pass log(n!) even with a multiplier right?
will it now?
I think n! will never pass n^n but I could be wrong
so if it grows faster it would be impossible for log(n!) >= c * log(n^n), even if c is some super small fraction for all n values right
no
complexity is not closed under taking logs
n^100 grows faster than n
but taking logs changes that
consider this and notice that ||half the terms in the sum are greater than log(n/2)||
wait so would the log eventually level off and the multiplier would keep it below
also have you tried just multiplying any small number in front of your log(x^x) in desmos
that should convince you
i dont know what you mean by level off
desmos stops calculating them pretty early but I think I see it with wolfram
How many 10-bit strings with weight 7 start with 1001?
dunno what weight means
find the number of 6 bit strings w weight 5
most likely hamming weight, i.e. number of 1's
@tame arrow do you still need help with this?
Well, since there are already two 1s in the beginning, the weight goes down to 5. So you need to find the number of ways one can arrange 6 digits with a weight of 5. This is just n C k or 6 C 5.
There are 6 strings with this property
and number of ways to put a single 0 into a string of six 1s
this is more confusing if I didn't write that very well 
111110, 111101, 111011, 110111, 101111, 011111. Just add 1001 behind these and you're done!
Hey can anyone help with a definition of a path? I have a question that asks for paths of length 4 between 2 vertices. However, if vertices in a path are distinct, then how can you have a path of length 4 in a graph with only 3 vertices?
technically there are some versions of the path definition that specify that only simple paths require unique vertices. do you know for a fact that your given definition requires unique vertices?
hmm for some reason she said it should be or? and i dont really get how
the negation of (P and Q) is (not P) or (not Q)
this is kind of a weird language issue tbh
logically speaking the original sentence says that if you are a computer science major you can take both(!) M 2211 and M 2212
so for example in the contrapositive it suffices that you are unable to take one of them to deduce that you are not a computer science major
(i just noticed this was asked some time ago but @deft dock )
ah that makes sense
ig me thinking too technically kept me from seeing that
kind of a dumb question given that my teacher only provided videos in which she was very technical
but thank you
I suppose a geometric sequence is defined as t_n=ar^n for some numbers a and r?
if so, then you have t_3=ar^3 and t_7=ar^7 for some a and r and you want to find the value of t_6=ar^6.
huh
we just started this unit recently and we're being given out homework to work on, i was wondering if by any chance you could solve it and show the steps and how what got to what
once you get to this it shouldn't be too hard, it's basic algebraic manipulations. For instance you can get r^4=(ar^7)/(ar^3) and r/a=(ar^7)/(ar^3)(ar^3), and since you know the values for t_3 and t_7 you can solve explicitly for r and a and then find t_6 that way.
I edited this a bit since I think the definition is that of a https://en.wikipedia.org/wiki/Geometric_progression
looks like there's a cycle to me by following along the edges in the direction of the arrows
yeah
would it make it cyclic the whole graph
like it would be called a directed cyclic graph right?
well, I guess it depends on what your definition of cyclic is
I'm not really concerned with the terminology personally so I don't know
to me it's a directed graph with at least one cycle
so I guess if being cyclic means it contains at least one cycle, then yeah
Does anyone see how to get the bound?
I mean, imagine a class of 2 people where both people only know their own number, that satisfies 3, but not 4 (there is nobody whose number is known by the whole class).
Could anybody do a video call with me I have some questions that I just can’t explain through text
You would show it is reflexive G~G by showing G is isomorphic to G. So just provide an explicit isomorphism.
I dont see a relation defined on the vertex set so I wouldnt say they all relate to themselves.
To show a relation on a set A, ~, is reflexive you need to show for x in A, x ~ x. In your case A is the set of all graphs and ~ is G~H if and only if G is isomorphic to H. So to show ~ is reflexive you must show a graph G is isomorphic to itself. @coarse token
Yea
i did this more generally as i think it holds for countable families of sigma-algebras, but my proof seemed too easy so im paranoid its wrong
Carla_
<@&286206848099549185>
Can somebody help me with this question
@manic dome formula for odd number gives a hint for bijection
Hint 2: you know the size of the set with all natural numbers.
any good sources to learn discrete math from 0?(preferably youtube, basically with videos doesn't have to be specifically youtube videos)I signed up for discrete math next semester and I want to start be forehead so I can be more prepared.
Have you tried 'Mathematics for Computer Science' playlist by MIT OCW?

a walk through combinatorics is a pretty good book imo
@cerulean wind do you recommand on reading it? did it help you to improve more then your lectures?
does it give a good fundamental ground for the information? whats unique about it if I may ask.
yes i would recommend reading it. the book really reinforced my understanding of the lectures, since trying to understand many combinatorial arguments in the span of an hour and a half lecture can be difficult at times. it explains key concepts in clearly and in fairly good detail. in addition, the author provides concept checks intermittently throughout chapters along with ample question sets at the end of chapters. the first half covers just about all that an intro course would cover regarding enumerators combinatorics and the second half introduces graph theory and other more advanced topics. it was my first read through and i feel it offers good fundamental ground work for learning combinatorics.
@cerulean wind sounds like I was presented with a present, thank you I appropriate your help, and I will begin reading into soon!
Hello need verification as to whether my answers are correct. I have a lot of confusion regarding with each of their truth tables because there are some hypothesis which would return a true conclusion and there are some who would return as false in the same table. Clarifications are pretty much appreciated
@undone eagle why you think 1st is valid and second is invalid?
For number 2 i believe it is valid since it is part of the rule of inference which is modus tollens if i am not mistaken
for number 1 this is the truth table i made
but i am really not sure since row 3 shows that the first and second hypothesis results in f
so i am quite confused there
:/
@undone eagle consider that p->q is true whenever p is false
so value of q does not matter
Sorry it's hard for me to comprehend is my value for p->q wrong in the 1st row? since p is true yet it still returns as true
@undone eagle you cannot infer ~q from p->q and ~p
since F->q is true for all values of q
Owww yeah I get your point
I don't really understand what this sentence means to 'nondeterministically' select the vertices/nodes to be numbers between 1 and m
does it just mean go through p1,p2,...,pm one by one assigning a random number between 1 and m to them?
if we did that, it would allow s and pt to be any of the vertices, allowing us to check every possible path in the graph to see if its hamiltonian or not?
I think that's what is going on here but i dont know
how is the multiplication defined
idk this is exactly how the question is i didt cut out any part
but if i remember it should be equal to c
but idk if im wrong or if the answer sheer is
it's impossible to answer if you don't know how the multiplication is defined
@candid chasm have you ever worked with matrices and matrix multiplication before? Y/N
Yes but i dont really remember so im about to revise
cuz i confused it with the sets thing
well you need to recall how matrix multiplication works
Hey, can anyone help me out with this? I managed to do every other exercise apart from this one and I have to submit it in a few hours
What does mean?
Youre fine I was just saying thats the only context ive seen it in.
why does this work?
the last line
ah i suppose the key is that each of the summands is less than $\frac{1}{d}$
jabra
<@&286206848099549185>
Looks good
Struggling to understand this
I'm still confused what does set division means. Like Z/2Z
@meager dew Problem above require that for each problem you determine the resulting value for variable answer from the above set of statements.
Taking Q1. as an example, We have n=5 and outside = false.
Looking the above statements, we can determine that the variable ans will be "TRUE".
Z/2Z is used for mod 2 arithmetic, but I don't understand why did we use that.
Later, I heard that multiples of phi is equidistributed on Z/Q
What does Z/Q mean?
It's requiring code to answer it, but is there any code involved at all?
It's a syntax error: unexpected identifier answer at line 5
At the second else in the statement/code, I think it can be taking as "If outside=True". The wording of the problem is somewhat unclear.@meager dew
gracias
Yea, you are right. The syntax on this code is a bit poor
hello, i was wondering if B and C are correct?
and im not sure where to start with A
im not sure if this is right
ohhh okay this makes sense
dackid (jump king +)
This is the same thing except I have the real number symbol. That was my mistake.
With this knowledge, try to redo B and A
A i can just rewrite as a if then statement right
∀x, if P(x) then Q(x)
in this format?
Not really
thats what my teacher gave me
I mean, you do need that statement, but it needs a bit of refining
I'll share my a) once you retry it
okay gimme a second
Also, quick notation. x|y means x divides y
Mod is slightly different
No, because b specifically refers to the real numbers
Q is rational numbers and R is real
yeah yeah
would it be inapprorpiate to say x or y =0?
or do we have to say x = 0 y =0?
If we say $x\equiv 3\mod y$, this essentially means that $\exists k\in \Z$ so that $x=ky+3$.
dackid (jump king +)
In other words, it is 3 more than a multiple of y.
Since you are practicing, I recommend keeping it as is.
Here's how I would do it: [ \forall x\in \Z,(16|x \Rightarrow 8|x).]
dackid (jump king +)
oh i dont think i should use | because my prof hasnt exosed us to it
and i dont want her thinking i cheated ya know
Well, it's extremely common notation. I don't think she'll be bothered by it
so this is the same as this right
just less wordy?
and more signs?
Yes
ah it all makes sense
okay lemme change that / and then you can give it a final glance
Alrighty
Don't forget to redo C
that last 16 should be 8
oh we assume no remainders?
oh divisible means no remained anyways
Nope. Like I said, it's really nice notation

To be fair, I never said the word divisible
wait what did i mess up in C?
Yes. In fact your statement is saying the completely wrong thing. It is also false in its current form.

What you said is for any x in Q, it's square root is also in Q
But we know that's false. Consider x=2
√2 is irrational, which means it is not in Q
However, that wasn't what it was saying.
ohhhhhhhhh
dackid (jump king +)
bam
could u check one last thing for me? its the weird negtation things for statements
Once you get rid of the second (in Z) you are good
It is unnecessary
Also, x|16 is not a number, so saying it's in Z is meaningless
for the first one?
Yes, and the fact that x|16 is NOT a number.
The converse in b) is good, but is it a true statement?
Is 25 a prime number?
Let $\mathcal{P}$ be the prime numbers. [ \forall x\in \mathcal{P},\forall a\in \N,(a|x \Leftrightarrow a=1 \text{ or } a=x).]
The negation is good, but is the claim true?
dackid (jump king +)
This is what it means to be prime
If x is prime, it can only be divided by 1 and itself.
right
But 15=5*3. So 5|15 and 3|15, so it is not prime
15 is odd and not prime, so the converse is false.
We also found a number that is not prime and odd, so the negation is also false (as it should be).
Also, note that when negating a statement $\neg(\forall x\in \Z)=\exists x\in \Z$.
dackid (jump king +)
And exists turns into forall
aw okay
Ah, your negation is wrong
okay so B is false because one example is 25

$\neg(A\Rightarrow B)=A\land \neg B$.
"a sufficient condition for an integer to be divisible by 8 is that it be divisible by 16" 
dackid (jump king +)
wait what are we talking about
i thought it only wants inverse, contrapostiive, and the other thing
So there exists a real number p, so that p is prime and p is not odd and p=2
Pretty sure inverse is just negation here.
Never heard of an inverse statement
hmm okay
And what you have shown so far looks like an attempt at negation
i was just following this thing verbatim
Does the inverse have forall or exists in there?
for all
The contrapositive is always true iff the original statement is
good to know
It is a useful proof technique to instead prove the contrapositive.
So a) is right, I already showed why b) is false
yup with 25
and C false with 15?
nvm yes
And the inverse is once again false because 15 is not prime but odd.
okay this is a general question, but with that circuit thing, is that the least sloppiest way to write it?
Well we can try to find out
dackid (jump king +)
hold on gimme like 10 minutes i have one problem left and im working it
my assignemtns due in 6 minutes lol
Okay, this is gonna take a minute, so I'll just be writing about it for a minute
$\neg E=\neg ((A\land B)\lor \neg C),$ and this is equivalent to [ \neg(A\land B) \land C. ]
Finally, we have $\neg(A\land B)=\neg A \lor \neg B.$.
dackid (jump king +)
With this we can combine it all together to get this statement:
[ ((\neg A \lor \neg B) \land C)\land \neg D. ]
dackid (jump king +)
one minute clutch 

Nice!
okay back to what we were saying
okay demorgan makes sense but how did we get to the bottom part
That's also using demorgan's laws
ik but where did the C go?
the ^ C
wait no
man my brain not working
i get it we still have the C
Oh, I was just working with one negation at a time.
Getting the messy stuff out of the way as we go.

okay so not much different
Lastly, since the and operation is associative, we have [(\neg A \lor \neg B) \land (C\land \neg D).]
but still a few less brackets
dackid (jump king +)
It does look nicer though
indeed quite satisfactory
okay another question
the problem i was working on:
why would
in the boolean expression
would we not inclue
include
v (P ^ Q ^ R)?
because it is satisfactory
according to the table
Oh, I get it
i thought that was like the output or something
Yea, it is
okay okay
The expression looks good
The triple AND is not necessary as $(P\land Q \land R)$ is included in $P\land Q$ or $P \land R$.
dackid (jump king +)
If both P and Q are true, the system will still turn on regardless of R's input
ah so no point in specifying that all three are necessary?
Precisely
You betcha NUT (doesn't quite have the same ring as bob ross 😛)
Nope, I am a pure math major
interesting; what year are you in and when did u do discrete?
Technically this stuff is in any intro to proofs course, but I am taking discrete now for my CS minor.
I am in the middle of my junior year. I have a year and a half left to finish my bachelor's.
Kinda crazy that I'm so close
woah nice
we're the complete opposite; i just finished sophomore year of high school
Heyy! Just a couple more years left of HS and you're off to whatever the next thing is
yeah i have no clue & honestly scared; but ig we'll see. coming from precalc this year to discrete math at a local cc is very strange lol
i have yet to use a calculator in discrete
I wouldn't expect you too
There may be some stats, but it's a bit more proof oriented
No no no, those are geometry proofs. That is not what proofs are
I'm implying they are more interesting and thoughtful than you might think :)
okay so no: "prove this triangle in front of you is a triangle"?
The geometry proof format is just for geometry (and really just HS geometry).
There is no set proof format when writing proofs
There are multiple techniques to prove things, but they are not a guaranteed solution.
interesting
Proofs are not generally obvious. They require a lot of thought and critical thinking.
you can say that again
those circuit expressions
arent prooving anything
but like
trying to nit pick logical equivalences
is hell
Logical equivalences are rather useful
dackid (jump king +)
They are logically equivalent statements, so we effectively prove the original claim by proving the contrapositive.
Have a good night NUT
can someone help me in it?
what have you tried and where are you stuck
can someone help me on this please
@weary tiger for what x does x = 1 - x ? that is the only place that f has any hope of being continuous
I need help
sry no, the problem i was having was how to prove this..
quadratic
ok. take any sequence x_n converging to 1/2. show that the sequence f(x_n) also converges to f(1/2)
that will get you continuity at x_0 = 1/2
ohhhh ok tysm for explaining, would you mind checking if im on the right track once i finish it? also how would i go about ii pls
yes. just ping me
well, since this is multiple choice, you can just brute force and expand each answer until you find the one that matches
otherwise, you need to find p and a such that (5x+p)(x+q)=5x^2-23x+12
expand the left hand side and then compare coefficients.
So A
yes
What is solving and finding square root
in what context
well, take square roots on both sides
-6,1?
you should get that $x+5=\pm 6$ so that $x=5\pm 6$
coycoy
Huh
where is your confusion coming from?
Square root
square root of 36 is either 6 or -6. you have to account for both solutions in this case
no. if $(x+5)^2=36$ then $x+5=\sqrt{(x+5)^2}=\sqrt{36}=\pm 6$
coycoy
so x can be either 5+6=11 or x can be 5-6=-1.
what is the significance of -6 and 1 that you keep typing?
Sorry, I need to butt in real quick. $\sqrt{x}$ always refers to the positive square root. To make coycoy's thing a bit more precise, we say [ \sqrt{(x+5)^2}=\pm \sqrt{36}.]
Although it was accounted for later, it should happen the moment the square root operation takes place.
dackid (jump king +)
It isn't extremely necessary now, but this plus or minus square root thing tended to confuse me a lot since I didn't realize that initially (and I have been corrected multiple times).
no worries. i clearly wasn’t getting the point across well enough lol
Cuz 6 is 36
Nah, you did perfectly fine. It's just one of those minor nitpicks that will eventually become relevant down the road.
hey this is what i got
@weary tiger im actually not sure if what you have shown is sufficient or not. i have to think about it more. not exactly what i was expecting tbh
hello
can someone help me with a simple proof
for a tautology
<@&286206848099549185>
just ask
(p ^ (p -> q)) -> q
my first step i did was with a conditional statement
(p ^ (-p v q)) -> q
but i dont know where to go fro here
i believe this is sufficient but requires showing that the two forms of continuity ate equivalent if you want to be completely rigorous. you also need to let s_n be an arbitrary rational sequence and t_n be an arbitrary irrational sequence, both converging to 1/2
coycoy
Can anyone help with the proof <@&286206848099549185>
The same way you did the first step, but with parentheses.
In your first step, you substituted $p \to q$ with $\neg p \vee q$
Apopheniac
yep
After making the substitution, you have some expression, followed by another $\to q$
Apopheniac
So you can use the same rule, just with that larger expression instead of a single letter
The rule is everything to the left of the arrow gets wrapped in parentheses and negated, and the arrow changes to "or"
so
wait
the rule i used was
(p ^ (-p v q)) -> q
becomes
-p ^ (-p v q) v q
is that right
with parentheses around the expression before negating it
$\neg( p \wedge (\neg p \vee q) )\vee q$
Apopheniac
okay that is what i have
Now what are some other rules? If we want a tautology, we'd like to reduce to something that's a tautology.
i was looking at absorption
but i dont think anything works here
do you have any ideas
how about deMorgan
Yes almost, but with the negation applied to the $(\neg p \vee q)$ term, not to the rightmost $q$.
Apopheniac
-p ^ (-p v -q) v q
and it will change the $\wedge$ to $\vee$
$\neg(A\wedge B) = \neg A \vee \neg B$. It flips the and to or and vice-versa when you distribute negation
Apopheniac
-p ^ (-p ^ -q) v q
not quite
So we want to distribute the negative at the beginning of
$\neg( p \wedge (\neg p \vee q) )\vee q$
Apopheniac
That doesn't involve the last $q$ term on the right, so it'll remain the same.
We have the two terms to distribute, separated by a conjunction. So negate both of those, and change the and to or:
$\neg( p \wedge (\neg p \vee q) )\vee q \equiv \neg p \vee \neg(\neg p \vee q) \vee q $
Apopheniac
That's almost an easy tautology at that point, in the form of $A \vee \neg A$
Apopheniac
does anyone know of a good online resource to start learning discrete math/discrete structures?
(preferably a more fun one heh)
lol
lol?






