#discrete-math
1 messages · Page 195 of 1
i had the exact diagram i needed i was just looking for a bijection now
i was considering partitions of n-2 and adding to them but i should've considered n of course
Not sure how to start this w/ combinatorics
nope no answer key
well im dumb with stuff
but my thought was 8! reduces it to the combination / accounts for all orderings of the 8 gifts
9! is the bars counting
then 3 choose whichever youd like for the final factor
I know from partitions it's like 3(# of partitions of 8)
Same
so it's apparently 66 I think, but idk what combination of factorials/combinations/permutations would get me there
<@&286206848099549185> if anyone has an idea
I got $\frac{10!}{2!}$ since 10! ways to arrange the 8 gifts and 2 bars for stars and bars, and then corrected for double counting the bars
Mosh
The problem is confusing in the sense that, do we care if person A has 8 of the same unique gifts means it is a separate case to consider then when person B has 8 unique gifts. I assume yes
Anyway, my guess would be 3^8
Yeah, the more I think about it the more I like the answer.
We set up a bijection with counting base-3 numbers (however, I'll use A, B, C and not 0, 1, 2)
All possible strings after shifting the bits give a unique number
AAAAAAAA would be the first such one, AAAAAAAB the second and etc.
The different gifts are analogous to the digits power or whatever it is called
we also know how to count these problems, for each place in the number (bit) we can put either A, B, C meaning 3*3*3*... = 3^8
Yeah, I over-complicated it when I shouldn't have but I think it's correct @amber prism
Instead of looking at the above argument, just consider giving the first gift to either A, B, C. There are three cases. For the second one, you can do that again, but you had three previous cases, so 3*3
How do I prove this if I'm not given any terms
sure you are. The terms are a_1 = 2(-4)^1 + 3, a_2 = 2(-4)^2 + 3, etc...
oh I didn't even think about that haha
I'm also a little confused on where to start with this, I get that I should just find the summation but wouldn't that be a_n - a_n-1
why? Try and write it out for n=5 for example, everything execept a_5 and a_0 gets cancelled
ahh I see, ok that makes sense
how would I go about solving this
Use the identity:)
like should I follow the same method of writing out a bunch of terms and trying to find a pattern?
it looks an awful lot like this after using the identity does it not?
oh haha I see it now, yup it's exactly like that
so when I did that I got 1 - 1/n, does that look right? I'm trying to plug in numbers and I don't think they match up
oop wrong index haha
i mean +1/n
Nope, what would be the last term of that sum?
Yep
Ok ty!
Any advice on this? I just can't think of any example for a function with this case
Well, can you find a function that is not one-to-one?
Wait I just read that wrong it's actually super easy, thanks lol
https://i.imgur.com/HmiVRmX.png
I wanna check my answer.
(yz'+y'z)(yz'+y'z)' = 0, I expanded the XOR
im left with
x+x'y(wz+w'z') = x+x'y, paranthesis goes to 1 cuz x + x' = 1
x+x'y = x + y using simplify theorem
Hello everyone. New to the channel.
I am interested in studying formal methods, so I would appreciate it if someone had a book or course in mind, to get me started
there need to be any definable "rules"
formally a function is just some relation (with a specified domain and codomain)
when we write something like $f\colon\bR\to\bR$, $x \mapsto x^2$, that means that $\bR$ is the domain and the codomain of the function $f$ and the relation in the definition is given by
$$ {(x, x^2) \in \bR^2 \mid x \in R} \subseteq \bR\times\bR$$
Lochverstärker
so yeah, most functions you encounter will be defined by some kind of rule $x \mapsto f(x)$ that tells you that $(x, y)$ is in the relation if and only if $y = f(x)$ for some element $x$ of the domain
Lochverstärker
Lochverstärker
ye, it's common to define the image of x under f, so f(x) by some kind of rule/expression
this has to be functional and serial, but it usually is for obvious reasons
it doesnt really matter
either $f(x) = ...$ or $x \mapsto ...$ are both common
Lochverstärker
yes, (x, y) is in the relation (that appears in the definition of function)
for the proof below they don’t mention what n should be in either case
so could i augment their proof by saying something like:
“..if both m and n are positive, then m is positive integer divisor of 1. by theorem 4.4.1, m<=1, and since the only positive integer that is less than of equal to 1 is 1 itself, it follows that m =1 and n=1.”
as opposed to just ending it with "and follows that m=1"
and state something similar about how n=-1 in the other case?
@tidal tulip yeah I'd agree
if you were gonna recreate the proof just use the same reasoning for why n = 1, or n = -1
you wouldn't need to add a tonne extra
to be honest even, their proof is very wordy because it's meant to give a full understanding to someone
about how they could go about proving what the divisors of 1 are
it doesn't really need to be this long in my opinion, but ye
I think also they may have just skipped n, because it's just obvious what n is if you've already selected a value for m
and finding out all the different possible values of m, gives you all the divisors, regardless of what n is
@pine lotus yeah that makes sense. what further justification would you need to justify n=1 or n=-1 once you established what m is? i think you could just say something like “since we know m=1 then we have 1 = (1)n and we can see by division in Z that n must equal 1” and something similar for n=-1 case. would that work?
yeah tbh I'd say that explanation is fine
in my discrete mathematics paper they would accept that
like, the only way it could be wrong is if you can't assume division is possible in Z or something lol
which is just not gonna happen
great, ty
hi, just started learning discrete 1, can anyone explain how they got example 3?
That is one of the rules of replacement of implication. p => q is the same as not p or q
p->q is ~p or q
tyty
Am I doing this right so far? Bit confused
looks right to me i think
only i wonder if youre missing some
i might be wrong but i feel like you might be undercounting
since if you have one pair, you have 3c1 places to put that pair
same with 2 pair
except with 3c2
hmm i see yea that would make sense
do u have any tips on how to do b?i know it starts with 5x4x3 but im not sure about the rest
hmmmm
im in a similar class so grain of salt 😄
5 times 4 times 3 is easy for 0 case
1 case is gonna be uh
$5 \cdot 4 \cdot \binom{3}{2} + 5 \cdot \binom{4}{2} \cdot 2 + \binom{5}{2} \cdot 3 \cdot 2$
I think?
jan Niku
similarly for 2
i see so you just straight up add for each case in case 2
i was trying to figure out how to do it without straight up adding it
i wonder if you expanded this out in factorial notation and did some factoring
something nice might fall out
but i dont know off the top of my head what youd even look for
like the first term is probably represented in the second
yea this answer prolly works even if it doesnt look the nicest
same with the 2nd to the third
since itd be subsets (the tree of the third term should be most expansive i think?)
honestly not sure lol
so probably something nice to factor
but i have no idea without doing it
probably not worth the effort 😄 unless you have a bunch of similar problems
3 is not so bad
should be 3 terms for the last part also
got it ty!

$5 \cdot 4 \cdot \binom{3}{2} + 5 \cdot \binom{4}{2} \cdot 2 + \binom{5}{2} \cdot 3 \cdot 2$
olymath
olymath
Does anyone know if this is correct?
Boolean algebra
Just need to simplify so that I can make a gate
Could someone explains this ?
Ganymede
If the sky is clear then sun is not visible.
I think the above word can also be written as (P) and (~Q) right?
yes, although the "and x^2 in Y" is unnecessary
the second thing is not a function
if it's not a function, you should not use the notation we use for functions
well, if you just say that $f\colon X\to Y$ is a function it just means that: X is the domain, Y the codomain and f itself is some kind of relation or a subset of $X\times Y$
Lochverstärker
no, it would be ill defined
huh? if you talk about a general function it can be any relation (that has the required properties)
if you write $\pm x^2$ you usually mean something like ${+x^2, -x^2}$
Lochverstärker
x can only map to one value
you can define a function $\bR \to \bR^2$ that maps $x$ to $(x^2, -x^2)$ or something like that
Lochverstärker
but mapping $x$ to $\pm x^2$ is not a function into $\bR$ (or any subset of it), as $\pm$ denotes two different values (in most cases)
Lochverstärker
hey, what does the notation n_0 (as a funcion of 2 integers) means in graph theory? is it a common notation?
this is from diestel's graph theory chapter 1
i wish i could give more context but apparently they just threw in this notation here and idk what that means?
ok apparently this is it 😩
i answered myself it seems 😅
this is for a graph with maximum degree d and girth g
and this is a hard limit to the number of vertices
anyone studying MIT 6.042?
yes. you could even reason because 7x^2 <= 7x^2 for all x
what have you tried
nvm i confused algebraic proof with combinatorial proof
i got that
could you help me with this one?
it's the second part
okay so this is going to sound weird
but i'm having my doubts over something that happened earlier
oh nvm i'll go elsewhere
Consider this setup: I have a people and want to form the club with b members. Out of the club of b members, I want to form an executive board of c people.
How many ways could you form the club and board?
I think this works
Yup ok
Is my reasoning fine?
@vapid torrent ?
that looks right
How would you set this up?
Like, do you know how to start this problem (in particular the inclusion-exclusion principle)
my brain is shutting down rn
ok so I agree is does not hold
But I'm not sure how else i can prove it
Maybe congruence could help here?
So what are you thinking about doing?
Are you going to prove it or contradict it?
So you suppose that it is true then?
I suggest you try some examples as the other guy said. Take the numbers from 1 to 15 or something. Maybe you'll understand why it is true or why it is not.
the statement says that it’s true for all numbers, so all that’s needed to disprove it is a single counterexample
take the number 35 for example. the number is not divisible by 2 or 3, yet it is a composite: 7*5, and therefore not prime
actually they want you to use contradiction so it’s a little more elaborate than a single counterexample, but the idea is:
you start assuming the proof is true and show how it leads to a contradiction
Yeah that's what I am having trouble with. I can understand that c must have a common factor of p or q to have a gcd greater than 1
Hey, how do we construct a bijection functions to show two objects are the same ? lets say set a = {1,1,2,3,4,5} and B = {1,1,2,3,4,5}
are you sure you didn't typo anything there?
{1, 2, 3, 4, 5, 11} and {1, 2, 3, 4, 5} are not the same cardinality, so no bijections exist between them.
Just changed it , yes, it is typo
so you want to show that there is a bijection from {1, 2, 3, 4, 5} to itself?
how can i prove this?
https://i.imgur.com/5kgs4qN.png
I tried picking random numbers but they are all false
also how do I know for certain there isnt a solution? How do I justify in my answer that there is no answer?
i mean, you could solve the system as you normally would, and show that all the solutions are non-integer
or you could just argue that these equations imply 2x = 5, which already is impossible for x ∈ Z
Im not sure if im following. Does this mean that two values when added/subtracted can not be both even and odd?
no, you're overthinking it.
i omitted the actual argument
i was suggesting that you show $x+y=2 \land x-y = 3 \to 2x = 5$
Ann
and this can be done by adding the two equations together
since (x+y) + (x-y) = 2x, to which i'm sure you have no objections
Oh I think i get it now, thanks for clearing my confusion 👍
any ideas how to prove this ? I have no idea how to deal with subtraction of power sets
Let x in LHS of a). Then x is a subset of A and B and is not a subset of A and C. Therefore it is a subset of A nad not a subset of C.
do not overthink it.
e
let $S \in \mathcal P(A \cap B) - \mathcal P(A \cap C)$. this means that $S \in \mathcal P(A \cap B)$ and $S \notin \mathcal P(A \cap C)$. and this in turn means that $S$ is a subset of $A \cap B$ but \textbf{not} a subset of $A \cap C$.
Ann
@tidal ibex do you understand what i said here? (y/n)
That's what I said -.-
i put it in more detail in case michal was confused about the definition of powerset or set difference.
I achieved exactly this but I don't know how to move further
Well, if it is a subset of AnB, then in particular it is a subset of A. And if it is not a subset of AnC then it is not a subset of C.
you need to show S is a subset of A and S is not a subset of C.
that's what'll show S ∈ P(A) - P(C)
seems ok
might it be that there are some instructions you have in your problem that you haven't shown us?
perhaps some relationship between A, B and C that has not been brought to light until now?
i'll need you to post the whole problem exactly as it is stated.
I do not have any other instructions. Only sets A, B C exist
what does it say in the line immediately above part a?
It's not in English but I will translate it
so it's not "prove these", it's "find out whether these are true"
and you've misled us all into thinking you were actually asked to prove that these are true
(a) has been proven true already
(b) is false because you can take, say, A = {1}, B = empty and C = {2}
Yeah, so its like both a and b even though that i knew they have same elements in it, but there are from different situation where one is derived through equation and I wanted to prove that it is same as the {1,1,2,3,4,5}
Thanks a lot
sorry, i don't understand you at all
it sounds as if you want to prove the obvious
or maybe you are leaving something out here and making me confused as a result
Im solving previous tests but not sure if my work is right
,tex $ X + (YZ'+Y'Z)(Y \oplus Z)' + X'Y(WZ+W'Z')\newline X + 0 + X'Y(1) \newline X + X'Y \newline X + Y $
would appreciate feedback
penguin
So it like i have a sequence which from the base case , i know it is a fibonacci sequence , but to prove it , it asked to construct a bijective functions , so its like mapping the sequence i have to a set of fibonacci sequence to prove that sequence is fibonacci
that is word salad.
it's getting harder to understand you with every message you send.
hi i'm trying to solve this exercise from diestel's graph theory. i tried some things, like an induction proof (starting with a minimal graph, two connected vertices, but the inductive step has a lot of different cases i have to consider and overall solving this problem like this seems like it's particularly unpractical)
i also attempted to assume there are two vertices u, v whose distance is equal to the diameter of the graph, but i haven't reached any valuable conclusions
i'm not looking for a complete answer but does anyone have an intuition of how would i prove something like this?
if anyone has a response, by all means, ping me. i'll be trying some other exercises
btw, if someone has more experience with graph theory, could they clarify if attempting an inductive step by adding vertices to the graph is useful at all? it hasn't worked for a single case i tried to do this
welp i just proved a theorem doing this exactly. so yes it's useful apparently
Hello 🙋🏻♂️, I am a freshman in college and need some assistance. How do I prove this? A ∪ B = B ⇒ A ⊂ B
Maybe say A U B = A + B + A int B
Since A U B = B
A = A int B
So A is included in B
what do you mean by +
i'll give a hint: instead of trying to prove that if X, Y, try to prove that if not Y, not X. they're equivalent.
that's how i did it at least
(if you want i have a screenshot of the full proof but idk if it's good practice to disclose full answers in this server, nor i want to just throw a full proof at you without much explanation)
The power of definitions
What’s the definition of A being a subset of B!
You don’t need to use contradiction or intersections
(if you want i have a screenshot of the full proof but idk if it's good practice to disclose full answers in this server, nor i want to just throw a full proof at you without much explanation)
wut
Sry 😅 a full proof would be very helpful. I have now spent half the day on this exercise and can't get any further. It's not the only exercise that still needs to be done, but then at least I know how to proceed.
gimme a moment. icy sounds like theyre onto something more than i am, but anyway i'll send it
im not a math major so this might not be the fastest or most rigorous proof, but yea
Ok, this is very helpful! Thx so much
np! good studies
how could you prove an algorithm by induction?
you can use loop invariants (a property of the algorithm that is true before each iteration). given an invariant, you prove the properties of initialization (analogous to the base step in induction), maintenance (inductive step) and termination (the invariant at the end is useful at proving that the algorithm is correct).
Cormen's book explains this at chapter 2 iirc
they show a pretty simple example using insertion sort
well im trying to prove an algorithm but ive asked some ppl and they think its not optimal
GUYS, WHAT IS THIS? I'M GETTING ANGRY.
that aint no fraction where the line at
<@&286206848099549185>
yeah ;/
what is number set where grouping depends on whether they're increasing or decreasing?
like the number of groups
i've got a problem regarding unsigned stirling numbers of the first kind (in my class it's denoted $c(n,k)$, but i know other places use bracket notation):
Assume $n=tk$. Show $$c(n,t)\geq\frac{n!}{k^t, t!}.$$
Snodlop
i know that c(n,t) is the number of permutations in S_n with t cycles, but i'm not sure how to compare it to the fraction on the right
n! is all possible permutations of S_n, and i suppose t! is the number of permutations of the t cycles in c(n,t)? but i'm not sure where the connection is
if this is the wrong channel for this problem, please let me know and i'll move it to the appropriate place :)
update: figured it out :)
anyone here can help me w an inductive proof?

Hey, can someone help me understand how to approach this question?
I looked through the rules but I didn't find a combination of rules that would imply the conclusion
Show they are equivalent, start working from the right side, change the equivalence and then and use De Morgan's laws
hello! can someone explain how these two are equivalent? thank you very much!
Hockey Stick identity
why is it n+2 and not n+1?
On the left we have r+1, on the right it is going to evaluate as (r+1)+1 where r=n, or (n+1)+1
maybe put in some substitutions to see how they both match up
okay! thank you very much for the help!!
Hi can anyone please help with q8
What techniques are there for proving strong induction? As in leading up your equation into getting to your k+1 at the end. Haven't learned any real tools or rules yet just to try with simplifications and hope to get to the answer.
this might be helpful
after that , ask any questions concerning what exactly you didnt understand

for (c) i think i've convinced myself you need the diagonal of the chessboard covered in grass initially and then it covers the board
but i don't know how to prove that's the minimum number of tiles
should i consider smaller tiled boards inside it? (since for example a 2x2 only has the diagonal work)
what does order mean in line 4
O(n^(1/2))
Which is a permutation, combination, or combination of both?
In the first case it's how many ways can be the pianists ordered multiplied by how many ways the guitarists can be ordered
In the 2nd case you pick 1 pianist from 6 for the first performance and 1 guitarist out of 4 for the last performance, the remaining performers are 6-1 + 4-1 and you can arrange them however, so 6 * 4 * how many ways can you arrange 8 people in
The third one you have to pick 3 pianists out of 6, then you can order those pianists in whatever order, then you can order the guitartists in whatever order, then the remaining 3 pianists in whatever order
im unsure of what reflexive reallly means in terms of this set
i understand it with numbers since it should be divisible
huh?
like
what should be divisible
like when the set was (1,2,3,4) wouldnt it just be like (1, 1), (1,2)...
and for 2 it would only be paired with (2,2) and (2,4)
since 2 is only divisble into 2 and 4
and 3 would only be (3,3)
eh, so
and 4 would be (4,4)
divisibility is just an example of a relation
oh
which you correctly described on the set {1, 2, 3, 4}
relations are much more general
a relation on A is just a subset of A x A
so just a set of tuples
and the tuple (x, y) being present signifies that x is related to y (where x, y could be any element of any set)
e.g. reflexive just means that every element is related to itself, or that (x, x) is in the relation for every element x of the set
you can see that R_1 is not reflexive because (b, b) is not an element
or cc or dd
ye
oh wait, i cant read
not sure what reflected is supposed to mean in this context, but if it helps you remember it
(also both divisibility and equality is reflexive, as every number divides itself and is ofc equal to itself)
(< would not be reflexive, as no number is smaller than itself)
What about -∞???

ye, R1 is symmetric
Can someone please help me with this problem? I know that the probability of drawing a black card remains 1/2
But I'm unsure how to prove by induction that the chance is always 1/2
Hi, a little group theory problem i got stuck all day and cant seem to be able to solve it. I have a group and i'm supposing that it is left orderable. If I know that $yhy^{-1}=h^{-1}$ and that $h^{-k}<y^{2}<h^k$ and $h^{-k}<y^{-2}<h^{k}$ with $h>1, k>0$ how can I show that $yhy^{-1}>1$? I've tried for a while to work it out with "bare hands calculation" but I think I'm missing something
Stephen
Is 3!x2! wrong?
let $x_n$ be the number of ways to tile a 2-by-n grid.
for $n = 0$ there is only 1 way to tile (no dominoes), so $x_0 = g_1$
for $n = 1$ there is only 1 way to tile (one 1-by-2 domino), so $x_1 = g_2$
if we know that $x_{n-1} = g_n$ and $x_{n-2} = g_{n-1}$, then there for 2-by-n grid we can do one of the following:
\begin{enumerate}
\item add one 1-by-2 domino to a 2-by-(n-1) grid
\item add one 2-by-2 domino to a 2-by-(n-2) grid
\item add two 1-by-2 dominoes to a 2-by-(n-2) grid
\end{enumerate}
which gives us 2 ways for each 2-by-(n-2) grid and 1 way for each 2-by-(n-1) grid
therefore $x_n = x_{n-1} + 2x_{n-2} = g_n + 2g_{n-1} = g_{n+1}$
rept1d
which of the steps are you having difficulties with?
we are trying to show that $\forall n \ge 0,, x_n = g_{n+1}$
rept1d
if it is true for >=0, it is obviously true for >=1 as well
it is just a bit easier to begin with 0 in this case
we have two base cases here: n = 0 and n = 1
you can have as many as you like
P(n)
we need P to be true for two consecutive numbers
for example, for k and k + 1
then we can show that it is also true for k + 2
or in my proof, i assumed it is true for k - 2 and k - 1 and showed for k
no, why?
for example, you can assume that for some k >= 0 both P(k) and P(k + 1) are true
and then show that it is also true for P(k + 2)
these are steps 3 and 4
and step 5 is the second part of my solution, just replace n with k + 2 everywhere
you can't solve it with only one base case
you need at least 2
if for some reason you want n >= 1, not n >= 0, then you will need a separate proof for base case of n = 2
i would recommend against it
if you are dealing with n >= 1, then you need to explain that x_2 = g_3
so your base case would be k = 1 or 2
Is anyone free to help me?
would someone be able to help me understand this question
How do i get transitive closure for : {(x,y)∈R2|xy = 0}
Theorem: Let G be a graph with n vertices. If deg(u) + deg(v) >= n - 1, for every two nonadjacent vertices u and v in G, then G is connected and diam(G) <= 2.
Can someone help me visualize the "every two nonadjacent vertices u and v"? Why is that the diam(G) <=2? Aren't some connected graphs have a diameter greater than 2?
you are told that your graph has the following property: pick any two vertices that aren't adjacent to each other, then the sum of their degrees is at least n-1
you need to show that this forces G to be connected and have diameter at most two.
Oh, so I just have to stick to one pair of nonadjacent vertices?
Yeah, i mean do i just aimed to make that when xy = 0 , and yz= 0 , then xz = 0 ?
the first step is to figure out when xy = 0 even happens
when ether x or y is zero
so take a handful of those objects and compute the transitive closure of that
you will quickly see how it behaves in general
How do i do that exactly ?
I did try to put xy >= 0 but it seems that is it wrong
what are some related numbers?
or just write down the relation restricted to something like {0, 1, 2, 3, 4, 5}
Yeah, i used 1 to 4 , but after drawing them , i still cant identify it
without 0 you just get the empty relation
So i would have 0 connceted to 1-6 in opposite direction ?
huh?
Could you explain it more detailed ?
you said that two numbers are related if and only if one of them is 0
Yup, that part i understand
so in the set {1, 2, 3, 4} no number will be related to any other number
taking transitive closure won't change anything
Ok, yes, so i should add in 0
so you should look at what numbers are related in something like {0, 1, 2, 3, 4}
and then compute the transitive closure by hand to see what is going on
0-1 , 0-2, 0-3 , 0-4 ?
what does "-" mean?
like 0 R 1
then you are missing a few
just go through all the pairs: (0, 0), (0, 1), ..., (1, 0), (1, 1), ...
is there (1,1) is it not equal 0 then ?
Since it is not in relation, why do we have (1,1) then ?
i was just saying that your list is incomplete
so you either have to think more about it
or just mechanically go through all the pairs and check if they are in the relation
I mean now i want to find for transitive closure
you should first be able to compute the actual relation on a small example before you can compute the transitive closure...
a single example never proves a forall statement.
and there exists a counterexample to yours:
d = 4, a = 2, b = 2.
Is anyone free to help me btw?
have you made any progress?
Tbh, no.
I've tried direct proof and proof by contrapositive.
But I always end up at a dead-end.
"if p is an odd prime not dividing a, then either p doesn't divide 3a^3 - a or p doesn't divide 7a^3 + 3a"
Yeah, but how do I go from the if to the "then" statement?
perhaps try the contrapositive?
"if p is an odd prime which divides both 3a^3 - a and 7a^3 + 3a, then p divides a"
sounds easier to prove if you ask me
consider: the sum of multiples of p is itself a multiple of p
But when I multiply (3a^3-a)*(7a^3+3a)*d = p
I get stuck
I get da(21a^4 + 2a^2 - 3) = p
How does that show a = c*p?
d,c are integers.
Like why did I FOIL?
no
Ohh, p|a => a = c*p
why did you multiply (3a^3 - a) by (7a^3 + 3a) in the first place
Using the hint?
Yeah...
let x = 3a^3 - a and y = 7a^3 + 3a for brevity
may i suggest that you consider that, since p|x and p|y, you also have p | (7x - 3y)?
and that 7x - 3y simplifies to something nice
no this has nothing to do with that.
recall these definitions of x and y
use them
do algebra
don't overthink it
do I do 7(3a^3-a) - 3(7a^3+3a)?
and play around with that?
p|-11a*
That's what I get.
are you sure about that coefficient?
i think you screwed up your algebra.
you should get -16a, not -11a.
Oh woops lol, thanks.
Ohhhh, I get it now.
p|a and p|-16
p|-16 = p|-1 and p|16, right?
Thanks!!
Another Q:
Here's my work for ptb
p|a and p|-16
no
or*
to confuse "and" with "or" is to spit on the graves of all who devoted their lives to logic
confusing "and" with "or" is how unscrupulous politicians twist logic to get their way
confusing "and" with "or" is how false charges are filed and false verdicts given
yea im not sure that one looks more interesting
jan Niku, can you look over my work as well?
im about to be in class for like 3 hours 
.
just killing time till teacher shows up
so al these statements in 2.58 are like what $\neg P \lor Q \lor R$ or $P \to Q \lor R$ or smth
jan Niku
i cant think this one through 
I thought the same too.
I'm hitting my head
Some sort of weird implication.
Yes those both are same
How would i prove this? by PMI??
if so what should i do for basis and IHOP,
Basis : n=1 i=1? 1/3=1/3?
IHOP:
You can also notice that $\frac1{(2i-1)(2i+1)} = \frac1{2(2i-1)} - \frac1{2(2i+1)}$ and write out the sum to see what happens.
catfan1337
what does it mean when it says to find the width of the confidence interval?
what does it mean to write out the sum?
1/4i-2 - 1/4i+2
like that?
Hi, is it possible to solve this recurrence relation?
a(n)=a(n-1) + k*(a(n-1))^0.21 (n starts at 0)
How do i get transitive closure for : {(x,y)∈R2|xy = 0}
Could someone help me with Equivalence relations with reflexive, symmetric and transitive
this sounds like a question best suited for #prealg-and-algebra @covert elm
do i prove this using contradiction?
if you think you can do it with contradiction then why not
so then if i do with contradiction do i use like if x is > 0
"x is is greater than zero"
if you want to do some pointless case analysis then who are we to stop you
but you don't need that
I got a question involving Pigeonhole Principle; maybe my understanding in it is bad but the question is: "Given any n+2 integers, show that there exist two of them whose sum or difference is divisible by 2n."
n being a natural number?
Yeah
okay
whats the least amount of numbers you can have
"given any n+2 integers"
this must be true also for the smallest case, right?
and a smallest case is easiest to work with
how many do we have in that easy case
I guess 2 would be the smallest?
well 0 isnt natural
Oh then 3
debatable but its important to be 3 in this case
youll see why
okay
3 numbers
they are integers
in the metaphor, the numbers are our pigeons
and parity is the boxes
every integer is either even or odd
3 pigeons, and they all go into a pigeonhole
but we only have 2 holes, so one hole must have 2 pigeons
then i can pose to you the question
Right
what happens if we have 2 odd numbers and one even number
and what happens if we have 2 evens and one odd
how can we pair these to ensure we have an even number in the sum of some 2 we select and how can you be sure those are the only two possibilities?
(since "can be written as 2n" is equivalent to saying "sum to an even number")
but it's not "can be written as 2n" in the problem is it
oh is it 
it's "divisible by 2n"
parity alone will not cut it
you might want to group by residue modulo 2n instead
or to be more exact
our boxes contain the following residues mod n:
0
1, 2n-1
2, 2n-2
...
n-1, n+1
n
n+1 boxes in total
damn i was really far off
And so these pairings are all remainders?
for any box with two numbers in it the desired "sum or difference divisible by 2n" conclusion will follow
my bad skyhawk i shoulda been paying more attn sorry
yes you put your integers in boxes according to what remainder they have when divided by 2n
And this is assuming you add the pairings together; like 1+(2n-1) gives you 2n which is divisible by 2n?
and n is divisible by 2n and of course 0 is too?
oh right im reversing
let me explain this in another way since i clearly failed to communicate it properly
we have n+1 boxes, into which we put our integers based on the remainders of these integers upon division by 2n
the first box contains all those integers whose remainder is 0
the last box contains all those integers whose remainder is n
for all the boxes in between, the k'th box contains all those integers whose remainder is either k or 2n-k
Oh I think I get that, I was most confused on the pairing part
and now that we have that
by the pigeonhole principle there exists a box which contains two or more integers
if it's the 0 box or the n box you can take either the sum or the difference as you please, since they both are divisible by 2n no matter what
if it's any other box, take two numbers from it and check their remainders. if the remainders are the same, subtract them; if the remainders are different, add them. this way you will get a multiple of 2n.
So there's kinda two cases we have to work with here
one being that you choose two of the numbers that are different, and the other case where they're the same
if you insist on calling it that then yes
i have laid out my reasoning in its entirety.
well thank you very much! i'll have to re-read this since this stuff hasn't fully sank in but this'll be very helpful!
For part u , how should i show that the number of sequence for each n is catalan number ?
I tried using the staircase path to show but it dont works, there seems to be some relationship between height of column and the diagonals, but i dont seems to igure how
Determine the number of ways to pick 8 sets Xᵢ where each set is a subset of {1,2} and Xᵢ contains Xⱼ if i|j
I wasn't sure whether I should put this here or in analysis but can someone give me a hint on how to do this one?
here's a hint: try to biject N with N^2
what does that mean? should I make a bijective function from N to N^2?
yes
I don't get how that can be used to produce those sets
do you know how to visualize N and N^2?
I can visualize N as a line and N^2 as a plane
N as a line of points extending only in one direction
ah right
and N^2 should be visualized as a square lattice of points extending infinitely in two directions
N^2 has a very easy to name infinite collection of infinite subsets
just take the rows of that lattice
(or the columns instead if you want)
oh so something like {(1, 1), (2, 1), (3, 1)....}?
sure
Hey!
As you see, in the definition it says k must be even but there's no k in the examples that's even 😖 how does this work, is it a mistake
@tidal mica wym
Sorry just saw-
On the second line it says "for an even number k" a tmod k (it says the same in the book)
But for example on the 4th line, we have 204 tmod 5 and 5 is odd
$A = {n^2 \ | \ n\in\mathbb{N}}
\
\
A = {n^2 \ | \ \forall n\in\mathbb{N}}$
neamesis
which one is the correct one if I wanna have a set which contains the square of all natural numbers?
the first
the first
you don't need to mention "for all"? is it just implied when working with sets?
it's just incorrect
oh right yeah it makes sense
the set is inherently 'all of the elements such that:'
I've got some graph theory question
Given a graph on n nodes where each node has either an in degree of at least 1 or an out degree of at least 1 (so basically, no isolated nodes)
How can I count the number of such directed graphs for which there is some subset of nodes pointing to the same set of some other subset of nodes
Eg. i have a subset of nodes {1,2,3} where each nodes points to {6,7,8}
I would like to know the case where n=10
consider the set of all possible directed graphs and then narrow it down
2^n(n-1)
is the number of possible directed graphs
but then I'll have to subtract from that the number of specific cases
you can divide instead
oh
mind explaining a bit?
let A be all the possible ways for each of {1, 2, 3} to be connected or not connected to {4, 5, 6}
let B be all the possible ways for everything else to be connected to everything else
then the total number of graphs is equal to AB
Well for A each of {1,2,3} is connected to each of {4,5,6} so the total number of ways is 2. Either we have (1,4), (1,5) etc.. or the other way around so (4,1),(5,1) etc
The requirement is that all of {1,2,3} point to the same nodes in {4,5,6}
sorry if I have been unclear about it
I'll try, thanks 🙂
How can I go about proving the minimum length of a walk for n vertices that visits each vertex at least once
Can I ask if someone will be willing to help/teach me for 1 time if i pay them?
minimum length -> shortest walk -> visits each vertex exactly once
I'm afraid I'm not understanding
The vertices of that are just the different permutations of 1,2,3
nah you totally can
That’s the definition of projection
Say I have two die, one red and one blue. They go from 1-6 both of them. Getting (1,2) is not the same as getting (2,1).
Is it correct, that there are 26 ways of getting at least 6 as the sum of the two?
- this is not a homework question. I misunderstood the original question (how many ways to get at least 6, as in one of the dies showing 6.)
Please tag me.
- Also, what would be the most efficient way of calculating this?
I did the stupid of saying
A_1 = {(1,x) | 1<_x<_6 and x+1 _>6}
.
.
.
A_6 = {(6,x) | 1<_x<_6 and x+6 _>6}
And then I just counted
i mean counting is okay
you could probably do it in your head with enough practice
should be clear what the choices are
is it just a factorial 
so using the fact that the log of products equals the sum of logs, we can easily write this as $\log \prod f = \sum \log f$. however if I want to specify the indices, can I use the same index for the product and sum? namely, $\log \prod_i f_i = \sum_i \log f_i$. is this allowed? I want to specify that the numbers for the index will be the same but idk if I can use the same index for both operators
gmod
ping me if u have answers
you can and should use the same index @willow fog
in fact, not using an index at all is not very good practice
Before drawing the karnaugh map, do I first have to get it to CSoP form?
no, you can draw the kmap as-is.
@stray reef
xzt' will jut give you two 1 cells in the diagram rather than one
I dont get it, do you have any examples... please 😿
do you know how to construct a K-map?
so if i asked you to construct a K-map for the single term xzt' would you be able to do it?
if you really insist, you can reintroduce the "missing" variable y by writing it as x(y+y')zt' but this is not really necessary
you mean like this?
Oh we havent covered these kind of k-maps in class (with 0 and 1)
But yeah I still got it
thanks a lot
you are the best
No I meant like this
hey guys, just to cross check. I got the answer for 3b as 6
Just the writing is different
is that correct?
tick marks are basically 1s lol
what you ticked here is x'z't
your table is arranged differently than mine
if i were to arrange my table in the same way as you did, the row and column labels would go 11 10 00 01
Oh you just said that tick marks are 1s
you ticked the cells corresponding to 0001 and 0101
which has x = 0, z = 0 and t = 1
x' z' t
Ahhhh
would you still wish to argue that i'm wrong
Then what you wrote here is non-sense
When I meant that the graphs are different
what you write as ☑️ i write as 1
I wasnt talking about check marks being replaced with 1s
I was talking about 00 01 11 and stuff
and also the rows and columns are arranged differently between mine and your tables
Yes thats what I meant when I said the graphs are different
I obviously dont care about check marks being 1
if i were to level my table in your fashion then the columns would be labeled z't', z't, zt and zt' in that order
right
yes i know this is a crime punishable by death
daring to be in noncompliance with the format
thank you so much!
Did you mean n³?
yeah
Then you may wanna factorize n³-n
so we should to solve it by transform it into factors ?
Then it will become 3 consecutive integers multiplying
👍
is b.) transitive and anti-symmetric?
If I have a set |A| = n.
How many subsets can I get?
I have gotten the formula in the picture.
Please don't tell me the correct answer, if this is not it. Just in which way/an example, of how mine is wrong.
I used the product rule in the following way.
If |A| = n <-> A = {x1,x2,...,xn}.
We can define a set A1 as a set with one element from A.
A1 = {x_i | x_i in A}
This gives us |A1| = n.
A2 = {x_i,x_j | x_i, x_j in A}
This gives us |A1| = n*n = n^2
And so on and so forth until
A_n ={xi,xj,...,xn | where all x in A}
This gives us |A_n| = nn....*n = n^n
For the empty set
{ø} it is dealt with in my formula as
k =0 -> n^0 = 1.
this does not work because (sub)sets do not care about order of the elements in them, i.e. {1, 2, 3} has 3 subsets of size 2 (namely {1, 2}, {1, 3} and {2, 3}) and not 3^2 = 9
@shadow grove
oh...
or even better counterexample: there is one subset with n elements, not n^n many
if you want a hint: ||when building a subset you have a choice to make for every element: either include it or not||
I will save this for later. I will give it another go, but thank you for your answer :9
Okay
Just checked your hint before I answered, and it seems this one is correct:
2^n - because as you said, it becomes a "binary" choice, not a n-ary choice.
the LHS and the RHS do not agree, it's just 2^n
Okay, understood, thanks for the help.
nice
What is this formula called in English, can't find it?
P(n,k) = n!/(n-k)!
Where k are the amount of elements picked out of the n (different?) elements.
Where the order of picking matters.
lol
Do you know a good online source for the different mathematical objects in combinatorics?
I feel like our course defines it very neglibly.
not really, lol
the wikipedia sidebar has nice summaries
i use that all the time
Can someone teach me how to count the number of r-permutations of a multiset that has size bigger than r? For example How many 5-permutations are there of the set {x,x,y,z,z,z} ? I can do the problem when the permutation size is the same size as the set, but not this case.
nothing. it is symmetric
being symmetric doesn't imply not being anti symmetric
By definition, $R$ is anti-symmetric if [\forall x, y \enspace x R y \land y R x \implies x = y]
That clearly holds for d.
rept1d
Let me know if you need are more detailed explanation
Hey can someone explain to me why the ones in red cancelled out?
they are not the same
Is this a valid way to prove commutativity of union, making use of commutativity of "or"? Or am I missing details?
works
Many thanks
@weary tiger they didn't cancel out, rather they got absorbed into y'z and x'yz' respectively
p + pq = p in Boolean algebra
if you wish to be more explicit: x'y'z + y'z = (x'+1)y'z = 1y'z = y'z
in terms of kmaps this means that the tick marks for y'z already include those from x'y'z so adding x'y'z makes no difference
i think so? it might be that absorption is specifically for 1+p = 1
oh okay thanks a lot
yes, all the properties you want are (more or less) directly inherited from the logical operators
(you can even prove them with truth tables)
the parallels between set operations and logic operators are as direct as possible
they might as well be two ways of looking at the same thing
Understood, thank you! Is there anywhere I can look up properties of logical operators? Will Google do? Cause' right now, I'm just guessing what I can and can't do with them based on what just makes sense
Ahhh, I see
Very convenient
Yup, exactly what I needed. Thanks a bunch!
Hello I want to ask this:
To describe the various restaurants in the city, we let P denote the statement \The food
is good," Q denote the statement \The service is good," and R denote the statement \The
rating is three-star." Write the following statements in symbolic form.
(a) Either the food is good, or the service is good, or both.
(b) Either the food is good, or the service is good, but not both.
(c) If both the food and services are good, then the rating will be three-star.
(d) It is not true that a three-star rating always means good food and good service.
I have the following answers:
1. P OR Q
2. (P' AND Q) OR (P AND Q')
3. (P OR Q) -> R
4. R` -> (P AND Q)
Can someone help check whether my answers is correct or not?
Might want to recheck 2,3 and 4
For example 3. it says if BOTH food and service are good then 3-star rating
that what i was thinking too as well but not sure
i basically make the equivalent of XOR for number 2
2 is correct now, 3 and 4 are still wrong
is there a channel i can go to for help regarding abstract algebra/group theory? i think this channel might be the place for it but i want to get the channel right before i ask my question
there is a channel called #groups-rings-fields
thank you! don't know how i missed it lol
I was reading this proof and I don't rally understand this point; my professor defined limit points as given $x\in S, \exists \epsilon > 0 \forall y: |x - y| < \epsilon \implies y \in S$
justini
are you sure your given definition is that of limit point? it should be the definition of interior point
like, take [0, 1] in R, then 0 is not a limit point according to your definition, because for every epsilon, you will have -eps/2 at a distance less than eps from 0, but that is not in [0, 1]
ok, yes that is better
have you heard the term epsilon/delta ball before?
(you can just say no btw...)
Yes but we haven't covered it in class
well ok, to reiterate i define a $\delta$ ball around $x \in X$ to be the set $B_\delta(x) = {y \in X \mid \lvert y-x\rvert < \delta}$
Lochverstärker
So in 1-dimension, this is just an interval (if the topological space is the set of reals)
yes
in 2 dimensions its an open disk
in 3 dimensions an open ball
you can rephrase what it means to be a limit point in terms of those balls
so x is a limit point of some set S if every delta ball around x contains an element in S that is not x
or yet in other words: every delta ball around x intersects S\{x} non trivially
this will remain true if you replace the word "delta ball" by "open set" as in metric spaces the open sets are just sets that contain delta balls around each point
and this now gives you are more general definition of limit point that is applicable to all topological spaces and not just metric spaces
that is used in your picture
"If x is in U, a limit point of S, and U is a subset of s, then the intersection of U and S not containing the limit point x is non-empty"
So basically this statement?
yes
an open set U containing x is often called an open neighbourhood
and those play the role of open epsilon balls in general topological spaces
So how do I actually formulate the proof?
well, generally its a definition
you can prove this for metric spaces from your given definition
but then you first need to look up your exact definition of open set
you probably use "in metric spaces the open sets are just sets that contain delta balls around each point"
so in each open set you will find a delta ball around x and then you just use your definition of limit point
is G' the notation for the complement graph of G?
I feel weird about this
Does anyone have any comments ?
Also
I forgot to put brackets around my negation and the not symbol
isthiscorrect?
no way to know without know the formulas from class
i think typing out the question would be helpful. i can’t really read what’s going on here, or rather, can’t find what your concern is
So, it gives us a set D and E, and then asks us to give a negation to the statement in which all elements x within D and an element y within E, XY is greater than it equal to Y
Then it asks which is true, the negation or original statement
okay
so the original statement was just, for each x in D there is a y in E such that xy >= y
I know which is true however I want to ensure I’m arguing for it properly
And that my negation is a proper negation
Yes
your argument outline looks fine.
to clean it up, i would just write for all x in D, x•0 = 0 >= 0 since 0 in E
cuts down on all the extraneous symbols
then no i would say this is incorrect
ye
better?
yes
The last one is wrong though
In the second one, you removed the first term which is 1, so -1
But in the third one...
You are not removing 1
@languid moss
That's wrong
The first term is c (or 5), so if you remove the first term, it will be c (or 5) less
So it should be nc - c
Or 5n - 5
hmm okay thanks
👍
is it because your multiplying every term by c?
so i at 2 will be 10 but you need to start from 1 so you would need to subtract 5 to start at 1
Every term is c
So when it's from 1 to 10
Then you are adding c to itself 10 times
c+c+c+c+c+c+c+c+c+c = 10c
But if you remove the first term
Then you only added up 9 cs
i too am just a pleb. glad i could help tho
yea that one is right
thanks 😄
abs_0
^ can I make this even simpler (no modular arithmetic)?

