#discrete-math
1 messages · Page 192 of 1
Can you help me with this?
okay, thanks anyway, ig I'll keep trying :/
let's give it a try @toxic ermine shall we?
starting with (a)
take the LHS
then the first bracket says (A-B)
what's the definition of this?
@slate burrow the first one, for example, can be interpreted as:
"We get a remainder of 1 when we divide x by 3"
right...
so we don't really care what x is?
because when solve it the x is still unknown
Yes and No
For example:
We get a remainder 0 when we divide 6 by 3 can be written as
6/3 = 2 + 0 or
6 = (2)(3) + 0
The elements in A but not B
@weary tiger it is now
Exactly!
By definition, in other words (A-B) means: x∈A AND x∉ B
as far as solutions go i would rather derive the losing positions more rigorously, whence will come both the recurrence listing them all and the win strat.
2 is a losing position, as can be observed directly.
then make a claim: for a losing position L, all positions from L+1 to 2L inclusive are wins while 2L+1 is a loss
and the strat in any position from L+1 to 2L is to cut off a piece of size L
thus making your opponent quite literally take the L
@toxic ermine
So on the LHS you have: (A-B)∩(A-C) which translates to:
x∈A and x∉ B AND x∈A and x∉ C
Rearranging gives:
x∈A and x∉ B and x∉ C
Which can be written as:
x∈A and (x∉ B and x∉ C)
@weary tiger i do hope you appreciate my wordplay somewhat.
the second one, $(A \cup B) - (A \cap B) = A \implies B =\varnothing$ is kinda interesting
jabra
Take out the common thing inside the brackets...
x∈A and x∉(B and C)
now it's clear that x is in A but not in B and C so therefore:
A-(B∩C) is the case, which equals to the RHS
can i ask a question for the second one
Yes?
so either A \cap B is disjunct, or it is not. if you suppose that it is, then B={} follows directly since A \cup B = A iff B = {}
now suppose that A \cap B is not disjunct, then there exists an element a in A such that a is not in (A \cup B) - (A \cap B), hence (A \cup B) - (A \cap B) is not equal to A
but this contradicts the hypothesis so A \cap B mustn't must be disjunct right
oh wait it should be but this contradicts the hypothesis, so A \cap B must be disjunct right
the bottom line
Thanks, I appreciate your help:)
since A \cap B not being disjunct leads to the contradiction in the hypothesis
so basically, $( (A \cup B) - (A \cap B) = A \iff (A \cap B) = \varnothing) \implies B = \varnothing$
jabra
oh that should be an => instead of <=> in the middle
are you asking about the expression "take the L"?
or are you asking about how i'm using the letter L here outside of the pun value
cause i say exactly what it means
for a losing position L,
for a_2k+1 I can make the base case but I don't really know how to go after that
like I show that a3 < a1 as the base case but it gets messy after that
I just had a go myself and found proving something slightly different is actually a bit easier
Now note we wish to show (a_2k) is increasing, so we need to prove that 1/2 (a_(2k-1) + a_(2k-2)) >= a_(2k-2); that is, a_(2k-1) >= a_(2k-2) for all k, or a_(2k+1) >= a_2k after shifting the index
Try proving that by induction. Then it's fairly straightforward to prove the stuff we need in a)
wipe it completely
no
sigh let me just write this out
ok nevermind it turns out i dont have the energy to write it out in full
and i only saw your edited version now
i dont feel like fixing the wording
Can someone help me with 6(ii)
Hint: ||Take the complement||
lol
By 3 it must have 35 edges
the complement had 10
so 10 vertices and 10 edges
thats all i know
Cant really proceed from there
There's another condition on the complement
What does G being 7-regular mean for its complement
You can surely figure out what the degrees have to in the complement 
Draw some examples
This is a general phenomon: if you take the complement of a k regular graph on n vertices you get...
Hum no
Pick any vertex. It has degree k. How many non-edges are there incident to that vertex?
there exists a professor
there exists a (potentially empty) set of students
that set of students contains the students who like >0 professors
that professor is liked by every member of that set
I have to show that E is an equivalence relation
right now I’m trying to intuitively understand the formula
Why did they keep going instead of stopping at (C ∪ C ⁻¹)^2? Doesn’t that satisfy the transitivity requirement already?
take S = N and C = the relation defined as xCy iff y = x+1
then going up to only (C \cup C^-1)^2 will only get you the relation |x-y| <= 2
Given a tabular representation of an operator, is there an easy way to determine if that operator is associative or not?
tabular meaning the value of x op y is found in the row x column y of the table
for commutativity, you simply check if the table is symmetric across the \ diagonal
but is there an easier way that literally going through every combination for associativity?
sure, but its unnecessary
oh wait, your M should be natural
yeah, then just round it up
so ceiling?
sure
you can also floor it and add 1
or just floor actually
but why not add 1 for good measure
ok thank you!
just apply the archimedean property
so if e > 0, then there is an N such that 1/N < e. then for any n > N,…
(thats a theorem due to eudoxus actually, but it follows directly from the archimedean property)
do you think it's true or false?
I think its true, I cant see an example where its not but Im having trouble proving it
Well, write down a|2b and a|b in terms of the definition of divides, and see if you can notice anything that could lead you from one to the other
Ive done that, so far I got b=((2k+1)(m))/2 k,m being integers but im stuck there
not quite the right direction. leave it at ma=2b or m(2k+1)=2b and think about what you can draw from the parity of both sides. In particular ||what can you say about the parity of m?|| and after that ||can you use that to rewrite m to get ra=b for some integer r||
I'm sorry for the long response and whatever im struggling to give a hint that isnt just the next step of the proof
i can tell you it exactly if you want but the spoilers are pretty strong hints
If you aren't comfortable with facts like the parities of the sums and products of odds and evens, I'd say a) get on that and b) for now you'd have to expand out m(2k+1)
note that this is an application of euclids lemma
so one could argue based on parity (evenness and oddness of an integer) or based on prime factorizations
we havent used the term parity in my class yet so thats throwing me off a little
okay even odd got it
would i have to make 2 cases for this proof?
if 2b = ak for some integer k, then ak is even and a is odd. k has to be either even or odd. figure out which one works.
nope. you can do it all in one go
Question: For what natural numbers n can the following expression "1+2+3+...+n" be a prime number? Example n = 1, it is 1, n=2 it is 3, not a prime.
And for hint it says use arithmetic sums to see how many divisor the results has.
Like does that explanation make any sense?
sorry i mean it's a prime
a1 is basically sum of n=1 which is just 1
i'm not sure if that's the correct equation for arithmetic sums, i have not worked with arithmetic sums before
well, it is well known that $$1 + 2 + \dots + n = \frac{n(n+1)}{2}$$
Lochverstärker
is this the formula for sums?
or do you mean that my problem is equal to that?
that's a formula for the sum of the first n positive integers
so you have to figure out when n(n+1)/2 is prime
right, where the hell did i get that equation from then lool
ok so i believe i know how to prove it
see how many divisor the results has. i think the solution is in this clue right here
i'm trying to prove this, and if i use n(n+1)/2 then you can easily show that n is a non prime as long as n > 2 if we use the definition for odd numbers to prove that we can't get a prime number if we take sums of the numbers.
actually does arithmetic series have a formula?
hi im trying to prove (P → Q) → (¬Q → ¬P) but only using 3 axioms, modus ponens, hypothetical syllogism and double negation equivalence, i cant seem to find the correct way to start this problem. can someone give me some pointers?
what would this be?
recall $P \rightarrow Q$ means $\neg P \vee Q$
Mns98
hallow
The solutions said there is only one equivalence class for R6, but I can't see why. Does this relation mean a is related to b if a^k if a multiple of n iff b^k is also a multiple of n?
If we let a to be 6 and b to be 2, aren't they in different equivalence classes? Since 6^1 is a multiple of 6, while 2^1 isn't? 6 is not related to 2?
sorry about the late apply but yes we are only allow to use 3 axioms, modus ponens, hypothetical syllogism and double negation equivalence we cant use contrapositive , de morgan law etc
If we have a relation R = {(1, 1), (1, 2), (2, 1), (3, 2)}, is the transitive closure of R {(1, 1), (1, 2), (2, 1), (3, 2), (3, 1)}? Adding arrows to make it transitive?
no you're missing (2,2)
Hi guys, do you guys know a website were i can construct a circuits for this (x + y)’ x
What is the method or formula for finding all the solutions for a diophantine equation within a range?
Say you had the following question:
i misspelt "i" instead of "in" here but u get the gist
How I do it is put 192y + 165x = 21, euclid's algorithm on (192,165) and then use it backwards to get the "solution" for it which I get
3 = 192(-6) +165(7)
What do I do now to solve it?
And if possible, is there any good resources on the internet for learning/doing these types of questions?
Doing a lot of new number theory/discrete with relations/eqv/diophantine eqv etc but haven't found a good online website for the topic as khan academy doesn't have it which was my go-to.
multiply both sides by 7, reduce mod 192
"these types of question" is hard to answer
this is a linear diophantine equation which we understand perfectly, so there isn't really much work you have to put into solving them
there is a theorem that tells you all the solutions
in general diophantine equations are impossible to solve
Thanks! @pale epoch for answering, sry for late response.
I am not going to lie, I didin't quite understand why Z192 became a variable here. Am I reading the question wrong maybe? What I read is find all solutions to the equation 165x = 21 where x can be any integer between 0-192. Am I reading it right?
it asks you to find solutions modulo 192
yes
oh
or in other words: when does 192 divide 165x - 21
or yet in other words: when is
$$ 192y = 165x - 21$$
or
$$165x - 192y = 21$$
Lochverstärker
the last thing is called a linear diophantine equation and you find solutions in Z the way you did with euclidean division essentially
Can i assume connectedness here
I see, thanks Loch!
molecules are connected, yes
thanks
I was going to ask, looking at the theorems like the following:
the last line, does it say that v = b/gcd(a,b)
isn't (2, 2) reflective?
this question makes no sense
your relation contains (2,1) and (1,2). if transitivity is to hold, it must also contain (2,2).
oh so we just add (2,2) since R may not be transitive from the start
R is not transitive, as it happens.
oh okay
how about this
is this transitive?
the way you presented it is certainly not very easy to parse
but yes it does appear to be transitive
how should we present it? in terms of {(-1 ,-1), (-1, 0), (0,0), (1, 0), (1, 1), (1, -1), (-1, 1)}?
......maybe try to position the points in a way that makes the arrows less cluttered, idk.
oh ok
So if $X$ and $Y$ are monotonic sequences (not necessarily strictly monotonic), then is $X+Y$ a monotonic sequence? And if it isn't, what is a valid counterexample?
Adam S
@weary tiger Try working out a few examples, in particular, think about how opposite signs on corresponding terms can influence the outcome (combined with the fact that the sequences are not strictly monotone).
A possible solution, look only after you've spent some time trying: ||X=1,1,2,2,3,3,... and Y=-1,-2,-2,-3,-3,... and then X+Y=0,-1,0,-1,0,...||
Yeah i figured it out, one possible counterexample would be x_n = n^2 and y_n = -4n
Sounds good
Hi can someone help me with this question: An automorphism of a simple graph G = (X, E) can be defined as a
bijection f from the set X to itself, such that if the vertices x, y ∈ X
are neighbors in G, then f(x) and f(y) are also neighbors; in other
words, if xy ∈ E then f(x)f(y) ∈ E. Show that for any automorphism
f of a tree T = (X, E), there exists x ∈ X such that f(x) = x or there
exists xy ∈ E such that f(x) = y and f(y) = x (“fixed point property”:
fixed the vertex or fixed edge by isomorphism f).
For all real numbersr and c with c ≥ 0, if −c ≤ r ≤ c, then
|r| ≤ c. Can anybody explain the second case that is the case were r< 0 i understand the first case
Its a proof
if r < 0, what is |r| ?
note -c <= r < 0 < -r <= c
by definition would it be -r
That doesn't mean -r <= c, since both are positive numbers
Consider rearranging the inequality (or multiplying through -1, being careful, equivalently)
r \ge - c
yup, which we know to be true
obviously that doesn't constitute a proof, but it allows us to now write up one
Suppose r < 0; r >= -c, so |r| = -r <= c
:)
How can I rewrite m(m-1)...(m-n+1) into a nicer factorial expression?
as a ratio of factorials
think of it as m! with the terms that continue on as starting with (m-n)(m-n-1)...
so you divide those out as m!/(m-n)!
what have you tried?
what do you not understand
Does any one know any computationally less expensive form of this? $\sum^{\lceil n/2 \rceil}_{k=0}{{n \choose k}k}$
strexicious
(i don't really know where this question fits in. it's related to a programming problem and i may have more in the future, so just give me directions and i will follow in the future)
If I don't have that factor of k then I think I can get away with just doing 2^(n-1)+{n choose n/2}/2
n has an upper bound of 500k
Here is a nice form: If n is even this is $n2^{n-2}$ If n is odd then it is $n2^{n-2}+\frac{n}{2}{n-1 \choose \lceil \frac{n}{2} \rceil}$
saketh
realyl appreciate any help
Assume that the cryptographic key (ie the pair (a, b) in [ax + b] _41) is changed daily. After how many days are you forced to repeat the same crypto? (Alternatively: on how many attempts is the encryption broken?)
:o that's a very nice form. and i am sorry to be a bad client but now I realise that k goes up to n, not n/2. don't want to to rob more of your time so can you share how you got this formula so i will try to adapt it to the new constraint
If k goes upto n, then the formula should be $n2^{n-1}$ the way you get that is by saying that $k {n \choose k}=n{n-1 \choose k-1}$ for $k \geq 1$ (the k=0 term is 0 so we don’t have to worry). Now the sum is just $n \sum^{n}_{k=1}{ {n-1 \choose k-1}}}$ which is just $n2^{n-1}$ by adding the binomial coefficients
saketh
If k goes upto n, then the formula should be $n2^{n-1}$ the way you get that is by saying that $k {n \choose k}=n{n-1 \choose k-1}$ for $k \geq 1$ (the k=0 term is 0 so we don’t have to worry). Now the sum is just $n \sum^{n}_{k=1}{ {n-1 \choose k-1}}}$ which is just $n2^{n-1}$ by adding the binomial coefficients
```Compilation error:```! Extra }, or forgotten $.
l.55 ...ust $n \sum^{n}_{k=1}{ {n-1 \choose k-1}}}
$ which is just $n2^{n-1}$...
I've deleted a group-closing symbol because it seems to be
spurious, as in `$x}$'. But perhaps the } is legitimate and
you forgot something else, as in `\hbox{$x}'. In such cases
the way to recover is to insert both the forgotten and the
deleted material, e.g., by typing `I$}'.
Preview: Tightpage -1310720 -1310720 1310720 1310720
[1{/usr/local/texlive/2020/texmf-var/fonts/map/pdftex/updmap/pdftex.map}]```
Oh shit you are right. I had this but I was staring at the (red boxed) factor and I didn't realise it was essentially (n-k) = (n-1) - (k-1)
Yeah, it’s a little tricky. Btw you don’t have to worry about wasting my time with this question, I basically had to figure out the second version of the question to get the answer for the first version
I'm struggling here with the bi conditional
Also not sure if I should try to simplify the bigger one or expand the smaller one
quick question
do the outside symbols mean round down?
ok yeah it does mean round down
yeah and whoever wrote that can't tex properly
yes it is the "floor" symbol
Can anyone give me an idea where to start by proving that f is surjective? I know the definition, but the recursion is really throwing me off.
here is a hint: If $f^{n}=Id$ then $f(f^{n-1})=f^{n-1}(f)=Id$ so these functions are inverses of each other
saketh
Where did you get $f(f^{n-1})=f^{n-1}(f)$ from?
bunkermush
It should be $f(f^{n-1})=f(f(f^{n-2}))$
bunkermush
associativity of composition
In any case you don't need the second equality for surjectivity, I just put it in there to say that f and f^{n-1} are inverses of each other
Can someone explain why if P implies Q is a contradiction, P must be a tautology?
that requires three functions. I only see two: f^n-1 & f
Sorry this is frustrating I always struggled with functions
ok so the point is that we have f(f^{n-1})=f(f(f^{n-2}))=(ff)f^{n-2} and we basically kkep repeating this until we get f^{n-1}f. But don't worry too much about this point, it is entirely irrelevant to the proof that f is surjective
i have a combinatorics question, so i'm not sure whether to ask it here or in #combinatorial-structures; i'll ask it here first and if it belongs in the other chat please let me know :)
i have to come up with a combinatorial proof for this recurrence relation for Stirling numbers of the second kind: for positive integers $n$ and $k$ with $n\geq k$,
$$S(n,k)=\sum_{i=0}^{n-1}\binom{n-1}{i}S(n-1-i,k-1)$$
Snodlop
my current solution starts with placing n-1 items in k-1 boxes, and observing that the last item has (n-1 choose 0)=1 place it can be placed
but i don't think that argument can be used once i move on to placing n-2 items into k-1 boxes
any help will be appreciated, thank you :)
what i mean by this is -> from placing in the n-2 items in k-1 spots to satisfy S(n-1-i,k-1) for i=1, i'm not sure how i'm supposed to count anything relating to (n-1 choose 1)=n-1 from distributing the remaining two items
it has been around half an hour and unfortunately i am still stumped, so i'm going to have to drop an <@&286206848099549185> on this one, sorry
This combinatorics class I'm taking is killing me
same
apparently it only gets worse from here for my class lol
thank you! you as well
does turing machine need to finish all input and land in an accepting state to accept an input?
or
only need to land in an accepting state to be accepted
i got a question regarding sets. I need to show that the cardinality of a set is less than the cardinality of its power set. If i show that a function f from S to P(S) is injective this shows that the cardinality of a set is less than OR equal to the cardinality of its power set, right? Do i need to show that the function is not surjective to confirm that the cardinality of a set is less than AND not equal to the cardinality of its power set?
formally yeah
but
power set contains atleast the amount of items in the original set
and then +1 for empty set (then + more)
so thats enough
so for example, {a,b}. powerset = {({},{a},{b}) ,{a,b}}
Yes, you need to demonstrate that it cannot be surjective.
Sorry, I don't know how to approach this problem.
Hello. I have a general question about the binary representation of integers. Given three consecutive integers, n, n+1 and n+2, and given their respective decomposition into sums of distinct powers of 2, how can I show that every power of 2 does not appear an even number of times in the sum n + (n+1) + (n+2)?
I want to solve for a and b, i'm wondering is there a way of turning the plus sign to multiplication?
I tried different ways, the only thing that makes sense. Is that addition can be written as multiplication, for instance if we have 4+4 we can write it as 2x2x2 but i'm not sure how i can implement that here
wouldnt u use logarithms to solve for a
that was my first thought, but i don't think it works, since we'll get ln(1) which is 0
the only solution i can come up with is b,a=3
natural numbers
ye
yeah natural numbers
i see now
epic
thx
np
how did i not see it xD
aha dw
so when we convert it to b^2-1 it's no longer addition, right?
after we factorize it*
i'm not sure what you mean by 'no longer addition' here
epic
thanks a lot everyone

np
ohhh this problem is very similar to catalan's conjecture, no?
The only solutions are if a = 3 and b=3
When doing permutations and combinations, I use the nRp and nRc formula. But what do I do when I get questions like this that add new rules?
"no two or three may be married to each other", with this exception the formula doesn't work. What's the workaround?
Answer became 10x8x6 incase someone curious
there exist $x_1, x_2, ..., x_8$ such that $\alpha(x_1, \dots, x_8)$
Lochverstärker
so there exists x1-8 such that alpha x1-8 is true?
i believe the statement tells us which tuples are true trying to figure out how to parse it
well, yes
\alpha(...) is just some relation
not further specified
the tuples themselves aren't true
hmm the tuples are proven t/f by the statement no?
no, the tuples are just tuples
ordered lists of elements
\alpha is like a function that assigns a truth value to them
yes
it could be a statement like $x_1 \leq x_2 \leq \dots \leq x_8$ or $x_1 = x_2 = \dots = x_8$ or some wild stuff like $x_1 > x_2 \land x_2 \neq x_3 \lor \dots$
Lochverstärker
how do the quantifiers apply to the relation
what do you mean?
this is just another statement, that tells you that there are 8 elements that are related in some way specified by \alpha
there exist $x_5,
hi mathematicians
me need help
Derive $(k+1)^{3} - k^{3} = 3k^{2}+3k+1 ,from ,the ,value ,of \sum_{k=1}^{n}k^{2}.$
does someone know where to begin with
Emma762
Do you perhaps need to find the sum of k^3?
Since you don't need the value of k^2 to show that equality, just expand the left hand side
alrighty lemme do it rn
Or maybe it is asking you to determine a formula for sum of k^2 using that equation
3k^2+k +1
yeah, question sounds backwards
if you take that polynomial equation and sum over it the left side becomes a telescoping series and simplifies nicely
Lead out is really strange wording
we havent seen telescoping series as of rn
if i expand lhs i get 3k^2+k+1 so we get 3k^2+k+1=3k^2+3k+1
if k>0 then rhs should be bigger
i think
@void vale for the initial conditions, since n must be greater than or equal to 3, n would be 3
initially
n-1 would be a2, n-2 would be a1. Substitute in the values and you have your answer
it says find the infimum right?
since n element of natural numbers the domain would be IR (no complex numbers) so how do u find the highest lower boundary or it doesn't have an inf?
what? the domain is the natural numbers
and yes it says find the infimum of the set of all rationals of the form 1/(n^2 + 1) with n in N
if domain is natural numbers
then it would be [0,+inf[ this means 0 is inside
wouldn't inf be 0 zero
since its the biggest lower boundary
for us N means 0 is part and N^+ 0 isn't
@uneven belfry it does have infimum. find it.
Hey there, I really need help with my discrete math homework... Am I allowed to hire someone? There is 10 questions in total.
no, you can’t hire people from this server but you can ask homework questions here and people can offer help
i am stuck 😦
what are you stuck on?
the rather odd directions they give you?
@safe hawk
there are at least two different ways you could be stuck.
either "i have no idea what to even do" or "i'm confused at what the 'using acid order linear blah blah blah' stuff is about"
or it may be something else entirely.
would you be so kind as to enlighten us what it is?
oh, who am i kidding. i'm a fool to ever expect such levels of cooperation from anyone.
Kinda rude not to answer you I agree @stray reef
i've accepted that people generally don't want to answer a rabid lunatic with female hysteria such as myself.
:/
Wtf
I don’t think its gender related. Or i hope not
Some people just ask and don’t answer afterwards which is like wtf
it happens to me too, mostly when i ask people what they have tried or tell them to try anything 👻
I have a question. I am doing combinations and permutations and got to a word problem I got stuck on.
"Let M be the set of all words that can be made with the letters RAGGARGRANEN"
Q1: Amount of words?
A1: 12!/3!3!3!2!
Q2: How many words in M contains the word GRENAR?
How am I supposed to think for the second question?
To save some time, RAGGARGRANEN = 3R 3A 3G 2N E
GRENAR = 2R A G N E
How do I prove B has the winning strategy if G has a perfect matching ?
<@&286206848099549185>
Let GRENAR be X, and consider the permutations of X with the remaining letters, accounting for repetitions
@radiant thorn write down B's winning strategy in terms of said matching.
Can someone explain to me why A is false? I don't get it.
set P(x) = "x is even" and Q(x) = "x is odd" over the domain of integers
okay, but if I pick an x say 1, then won't the LHS be true and the right hand side be true too?
you don't get to pick an x
there are quantifiers
LHS is "every number is even or odd" which is true
RHS is "every number is even or every number is odd"
which is not true
Oh i get it now. Thanks a lot!
How can i prove that this equation has only one solution and that is only if a,b= 3?
$2^{a}+1=b^{2}}$
Steppaz
Compile Error! Click the
reaction for more information.
(You may edit your message to recompile.)
My reasoning is that 2^3 is the only value for a that you can have if you want to get b. Because as a increases in value the difference between the values of a and b increases as well
This is like catalan’s conjecture. They just changed the variables
<@&286206848099549185> sorry for the tag but i am still confused on how i can answer this problem ^^
hi need some help please:
how can i know what is the inverse function of this function:/
f(x) = 2*[x] - x
consider that 2^a = b^2 - 1, does that help?
Oh, yes I've already done all that :) but I am stuck at the part where i have to explain why a,b=3 is the only solution :D
ok so what did you do with 2^a = b^2 - 1
This problem is very similar to Catalan's conjecture, but i don't understand the reasoning behind the conjecture
so
yeah
so the conjecture is unproven, and this is a specific case of it, so don't worry about catalan's
I reasoned that 3 is the only solution, since as a and bgrow larger and the difference becomes more noticeable between them
welp
that's nothing to do with it
@coral raven i beg you need ur help haha man
one sec sorry
ur beast xd
the inverse is y = f(x)
catalan is proven
it's not
here's my question:
hi need some help please:
how can i know what is the inverse function of this function:/
f(x) = 2*[x] - x
not right now sorry
so it has nothing to do with the difference
nothing to do with the difference between a and b, no
Catalan's conjecture was proven in 2002
as a grows, b must grow much faster to catch up, but there's nothing wrong with that
Does it have something to do with odd and even numbers in (b-1)(b+1)
really? damn
i could have sworn
i mean for (b-1)(b+1) to be a power of two both b-1 and b+1 have to be powers of two
yes
b-1 and b+1 must be factors of 2^a
there are only two powers of two which are 2 apart
like
and which are those?
b-1 = 2^c, b+1 = 2^d
bruh
ok, if you've got that then you can take it from there right
yea perhaps, let me see what i can do with that information
I totally knew that "different between a and b" had to be wrong but it lowkey felt right
omg
i see it now
i now understand what "it has to be power of 2"
so its 3 since (3-1)=2 which is 2^1, and (3+1)=4 which is 2^2
basically
let x = [x] + r, so [x] is the integer part and r is the decimal
then y = 2[x] -x = 2[x] - ([x]+r) = [x] - r
then y + 2r = [x] + r = x, does that help?
so i gave you x = y + 2r, is that not enough
well the final answer is:
= -2[-x] -x
ok
i mean is it a good idea to a new parameter (r) ?
yes
so i switched x and y initially because we're finding the inverse, so when you switch it back it'll look similar but different
and after that you can sub r out again by using the fact that x = [x] + r
so it's perfectly possible
so what do you get after doing that
i get it to :
= 3x -2[x]
the final answer is:
-2[-x] -x
@coral raven any ideas pleasE?..
How many different reversable affin functioner E(x) = [ax + b]_1000 are there?
1000 = 2^3 * 5^3
abs(U_1000) = fi(2^3 * 5^3) = fi(2^3) * fi(5^3) = 1 * 2^2 * 4 * 5^2 = 400
U_n is the subset of all elements from Z_n which are orthogonal with n, such that x in U_n => gcd(x,n) = 1
That they are reversable means that a decryption function D(y) exists, right?
-> It is equivalent to answering: In how many ways can a and b be choosen?
the difference is because r is the non-integer part of x, not of y, so just switching x and y directly doesn't quite work
idk what to do to be honest..
let y = [y] + s, and try and relate s and r?
might be a red herring, hold up
ok so let's start over for clarity
x = [x] + r
and y = [x] - r
you basically want to get r and add it to y twice
so r is just how much less than [x] y is
and [y] will always be equal to [x] - 1
because y = [[x] - r] = [[x-1] + 1-r] = [x-1] + 1-r
so [y] + 1 = [x]
and given this, r = [x] - y = [y] + 1 - y
so as x = y + 2r:
x = y + 2([y] + 1 - y) = 2[y] + 2 - y
and this works
gimme a sec to explain why
the answer is:
= -2[-x] -x
so now switching this round
we get y = 2[x] + 2 - x
your answer is -2[-x] -x
without the 2
done
idk need to read again what u explained im confused to be honest
so basically we just want to show that
2[x] + 2 = -2[-x]
ie. [x] + 1 = -[-x]
wait
so f(2.4) = 1.6
then -2[-1.6] - 1.6 = -2(-1) -1.6 = 0.4
so this doesn't actually work
by [x] do you mean the floor function
weird
or the truncate function
ye
which one
floor
oh well if it's floor then it works
if it's floor, then -2[-1.6] - 1.6 = -2(-2) - 1.6 = 2.4 and it all works out
look
essentially this function just flips the bit after the decimal point
it takes 2.4 = 2 + 0.4
and it gives out 2 - 0.4 = 1.6
right?
so to get back to 2.4, we need to add the bit after the decimal point twice
wut u mean
1.6 + 2(0.4) = 2.4
?
which bit don't you understand
yes
idk how you do it idk
which part of my shortened explanation below here did you not understand
its all g man im just giving up of this question ty
ok
what you mean here?
..
ok?
do you understand
ye..?
ye
ok
i got this
so now it gets a little more complicated, but basically we want to find r starting from y
because then we can put that r into x = y + 2r, and get x from just y
so i need to put in this x = y + 2r this r = [x] -y ?
something like that
k?
how u got this?
how u got that [y] = [x-1]
idk how you got this still [y] = [x-1]
yes
now, 1-r =< 1
so if y = [x-1] + 1-r
then [x-1] is the largest integer below y
okay but how u know 1-r < 1
but the largest integer below y is the same as the floor, so [y] = [x-1]
r is always positive
so its 1-r <= 1?
yes
thats when r = 0
yes
but the formula works in that case also
so we don't need to worry about it
so assuming that r > 0 and [y] = [x-1]
ok?
so anyway now we can say:
y = [y] + 1-r
so r = [y] + 1 - y, right?
so now we have r in terms of just y
must be a more simple way maybe?
eh
this is very complicated way tbh
i was breaking it down into very small steps and going very slowly so you would be sure to understand
it's not so bad
but wait
anyway now we have r in terms of just y
?
x = 0 and x = 2?
so how this func have a inverse func
what?
ye
yeye
ok
so we have r
then x = y + 2r
so x = y + 2([y] + 1 - y) = 2[y] + 2 - y and we're done
2[y] + 2 = -2[-y]?
yes
hmmm
because [y] + 1 = -[-y]
thats true
so the full proof in one big chunk without words looks like:
x = [x] + r
y = [x] - r = [x-1] + 1-r = [y] + 1-r
r = [y] + 1 - y
x = y + 2r = y + 2([y] + 1 - y) = 2[y] + 2 - y = -2[-y] - y
so not too long
there probably is a slightly faster way but i don't see it
@coral raven i almost understand everything man ur beast im just gonna ask about what u said that 2[y]
that 2[y] +2 = -2[-y]
i mean if we take y = 1 its not gonna work?
since 4 is not equal to 2
oh, right
so
well this is for [y] != y
r is should not be equal to 0
if [y] = y, then that whole argument doesn't quite work
this is true
if r is between 0 and 1
they tell you what they use next to the lines?
i meant like is it a direct proof?
What is bugging you? Is it the summation notation?
do you know what induction is
well there's your problem
google around until you find a video you like or something
Hello. How do you measure a cycle? Do you count the number of vertices or the number of edges?
what's the difference?
As far as I can tell, there isn't any. Which one do you count though? (as preference)
try to prove the number of vertices is equal to the number of edges for a cycle
they are equal
Alright then. Thanks!
Does anyone know what the name/term of this equation is?
It's for getting the max number of edges with n vertices
you could write it as n(n-1)/2 and call it the nth triangular number I guess
but number of edges on a complete graph of n vertices is fine too
Is there a technical term for it?
On a different note, I like your username. I haven't encountered that word before
idk what you're looking for
binomial coefficient? combination? n choose 2?
n choose 2
If x is a positive real number and > 0, then x-1 is not necessarily >= 0. For instance, x = 0.5 is in R+, but x-1 < 0.
Frick
Could you provide a hint as to where to go from here? I've been looking at this for a while.
Well, to salvage what you currently have, I don't see that you're actually using the fact that x-1>=0 anywhere in your argument. Removing that portion does not invalidate that (x-1)^2>=0 because you already state that any real number squared is >= 0.
Oooh, OK. So I can just say that since x is real number, then x-1 is a real number and then (x-1)^2 >= 0?
Yep, no problem there. The real numbers are closed under subtraction.
Awesome, thank you!!
<@&286206848099549185>
Does this proof make sense logically? I thought it was good, but then a friend said I need more cases than this. 😕
If anyone answers, please ping me. I'll be back to check in 5.5 hours after I get some sleep.
how can i solve recurrence relations
(that is CS math
Anyone know a place I can pay a 1 on 1 tutor for really basic discrete math learning? Got some old exams I am practicing on could use some guidance.
I don't mind doing it online through voice even without a camera really should not be an issue.
If anyone is interested please let me know.
Let A = {1, 2, 3}. Consider C = {y ∈ A : x R y} : x ∈ A for relation R.
If I define the relation R to be > , would C be {{2, 3}, {3}, {}}? Or {{}, {1}, {1, 2}}?
The relation is defined on elements of the set, why are you considering subsets?
Oh mb
I think I misread slightly
I find the notation slightly unusual, just to be clear, $C={y\in A : xRy\text{ for some }x\in A}$?
Manan.
Can someone tell me if this is a correct statement: $n^4 &\equiv n^2 \pmod{4} \ = 4|(n^4 - n^2)$
Umiguess4000
Compile Error! Click the
reaction for more information.
(You may edit your message to recompile.)
Which can then be rewritten as $4k = (n^4 - n^2)$?
Umiguess4000
.
@pale epoch when i did this problem u told me to "reduce by modulo 192" in order to find all the solutions after doing euclid backwards (extended). What do you mean by that mathematically?
How would I go about that etc
there are only 4 things to calculate so you can just do it manually xd
i.e. by exhaustion
maybe figuring out some upper and lower bounds for the recursion might work,even guessing. like sqrt(n)<sqrt(n+100) and sqrt(n+100)<n/2 (asymptomatically)
btw check out cormens algorithms book for more on these
also you can keep in mind subtracting a lower order term from a solution does not change the solution
maybe the lower order term can help you deal with the algebra
i believe for the first you write the combinations of the gates that make the function true (a value of 1)
for part a
so for example, (P and Q and R) make the function true
and so does (P and Q and not R)
so write out the combinations that make the function true, and then combine them with an or, as any one of those will make the function true
and i think for B you use logical equivalences to simply part A even further, and then ig draw it using logic gates
no clue about 4
I'm pretty sure my base case is not correct but i'll fix it later
i don't know how i can get rid of a in the last step :/
anyone here good at logical proofs
<@&286206848099549185> can someone explain this and some other problems to me
@distant glade
@rugged forge
@iron marsh
shtaup
can you help? @cerulean wind
no stop tagging people. your question will be answered soon enough. why is it so urgent?
<@&268886789983436800>
@hidden crystal stop pinging random users
yes.
not to mention against basic decency
helpers are volunteers, dont expect them to respond to your beck and call.
also wait 15 minutes before pinging helpers
i'm looking for the rule preventing me from doing that and I don't see it
If your question has not been answered for a minimum of 15 minutes, you may use the Helpers tag once. Please do not try to bump your question using this ping unnecessarily. Do not abuse this ping. Do not individually ping users with the Helpers tag without their express permission.
there you go.
oh ok i didn't see that
i didn't know asking for help too much is against basic decency in a discord server for helping people with math
we're not talking about asking for help
don't ping specific ppl, if they feel like helping they'll help anyway
it's about obnoxiously pinging every online user on the list
we have a designated helper ping for this reason that you have already (prematurely) used
i only ping helpers
because i didnt know if the helper ping worked
no bot here confirms that
yeah, what
ok, i didnt know that
it works if you see the green highlight
i'm guessing dm'ing helpers isn't acceptable either
these decency laws really prevent getting help in a server for math help
pinging so many ppl doesn't actually make it more likely for you to get help
asking more people for help repeatedly doesn't make it more likely for you to get math help?
ok.
you can want to help ppl and also not want to be pinged multiple times immediately
some questions are more urgent than others
jman you're on thin ice. keep complaining about the rules while not acknowledging the fact you abused the server & you're out
you probs shoulda asked earlier then
anyway
wrt. your actual q
what have you tried
whatever.
bruh
that method of increasing your chances at getting help seems to be working really well
oops
hint: factor out a 3 and then note that 18 = 9 * 2
ok
you could also treat it as an algebra problem if you can't see the pattern
6m(3m+24)=9x, you're trying to solve for x
x=(1/9)*6*m*(3*m+24)
x=(2/3)(3m^2+24m)
x=2m^2+16
<@&286206848099549185>
I don't get it and google isn't helping.
i'm sure its easy
If you divide that by 4a, do you get an integer
“That” is “2a*34b”
i can't divide 2a by 4a
Tesseract
$2a\cdot 34b=(2\cdot 34)ab=?$
Tesseract
what is 2*34
Tesseract
17b
Is this an integer
yes
So, does 4a divide 2a*34b
yes
There you go!
thanks @weary tiger
Write the negation of each of the following logical expressions so that all negations immediately precede predicates. In some cases, it may be necessary to apply one or more laws of propositional logic.
know how to make the entire expression negative
I know some of the laws but I don't know how to distribute the negative through the expression?
This is what I got so far
If someone can tell me whats next I'll know the rest
The first negation shouldn’t be there
You would have pushed the negation symbol inside when you swapped the quantifiers
It comes directly from the negation of quantifiers: [ \lnot \forall x. P(x) \equiv \exists x. \lnot P(x) ]
opengangs
Yeah
ohhhhh
did not know that
What is there were two quantifiers?
forgive the terible ms paint
Note that what you really have is [ \lnot \left(\forall x. \exists y. P(x, y)\right) \equiv \exists x. \lnot\left(\exists y. P(x, y)\right) \equiv \exists x. \forall y. \lnot P(x, y)]
opengangs
So you can think about it as "pushing the negation symbol inside"
but in doing so, you flip the quantifiers
so confusing
It comes from your negation laws on quantifiers
so basically to distribute the negative you inverse the quantifiers and negate the last thingy that isn't a quantifier?
[ \lnot \left(\forall x. P(x)\right) \equiv \exists x. \lnot P(x)] and [ \lnot \left(\exists x. P(x)\right) \equiv \forall x. \lnot P(x)]
opengangs
it might help to think about what your statements are saying and why the negation is what it is
like the sentence version?
Your statement is saying there is an x so that no matter what value of y I pick, P(x, y) -> Q(x, y)
So if I want this to be false, it must be the case that "for any x I pick, I can always choose a y such that P(x, y) does not imply Q(x, y)"
I think once you understand how to convert the sentence version into its negated form, the symbolic counterpart will make a lot more sense
looks good
I don't think we've ever called it by a name, I think we've referred it to as "pushing the negation in" or something
ok, thank you very much for your help @haughty garden you rock!
The hint itself explains what you should do really well, what have you tried?
A lot of things are wrong here
1) You shouldn't argue the case when P(k+1) is 2^(k+1) x 3^(k+1)
since P(k+1) is actually 2(k+1) x 3(k+1)
2) This should be true for any board, not just 2k x 3k, but also 2k x 3m, or 2k x 3(k+100) which you haven't considered
3) There are other errors like `split the board in half which would yield P(k) case` which is untrue, consider splitting a 2x3 board in half, it simply doesn't make sense because 3 is not even
Have you tried using the hint they provided and follow that?
Hmm I see I correct them btw could u check some of the other questions pls
Hi.
Let n be native number. How many subsets of {1,2,...2n} the sum of their elements is even? (Don't give in your answer sigma, not allowed)
I understand that we need to divide into cases by the amount of odd numbers we have in the subset but I don't understand how to start.. please help?
S = Ƿ({a, b, c, d, e, f, g, h, i}) [ Ƿ: Power set], (A,B) belongs to R if and only if |A| = |B|.
I’m confused about the condition “(A,B) belongs to R if and only if |A| = |B|”
Does this mean you can only have a subset with the same cardinality/number of elements e.g.
R = {{a}, {b}, {c}, {d} … }
or
R = {{a, a}, {a,b}, {b, b}, {b, a} … }
it means if you have two sets A and B and their cardinality is equal then R contains the tuple (A, B) so among other things R contains ({1,2,3,4}, {a, b, c, d})
Thank you!
-(Ax.P(x))
Let A = {1, 2, 3, 4, 5, 6, 7, 8}.
Show the steps to obtain (3,5,7,8)∘(1,3,2).
guys anybody knows how to answer this question
I kinda confuse with the ∘ symbols
@valid loom Are these cyclic permutations?
And if so, what's your convention for interpreting them (compose them left to right, or the other way)?
@gritty crescent yes I think so since it has ∘ symbols but I didn,t really understand how to do it
It still depends on whether your convention is to read permutation compositions right to left (more common and likely here, given the composition circle) or conversely.
I'll assume the former.
So the first parentheses is (132). What this means is that 1 is mapped to 3, 3 is mapped to 2, and 2 is mapped to 1. Everything else is mapped to itself.
Now in the next cycle (3578), 3 is sent to 5, 5 is sent to 7, 7 to 8, 8 to 3. There's one thing to notice though: the first cycle sent 1 to 3, so it essentially 1 that got mapped to 5. Can you now describe what the final permutation cycle would be?
I usually find it helpful to draw diagrams and chase where each element is going with arrows
@buoyant escarp I dont really get about the final permutation cycle
@gritty crescent btw thanks that a lot of help tho
Q : Write a proof of the following argument: Every pet in the pet shop is a cat or a dog. Every cat in the pet shop plays with yarn. There is a cat in the pet shop that naps a lot. Therefore, there is a cat in the pet shop that play with yarn and naps a lot.
I just need help in which I should use a conjunction or a conditional for "Every cat in the pet shop plays with yarn" and "There is a cat in the pet shop that naps a lot"
So are both of them conjunction or conditional cause Im getting mixed up between it
I think that they are both conditional statements am i wrong or right?
You would probably use De Morgan’s law to push the negations and then apply distributivity
yo
this is for rules of inference if I had smth like c(a) V d(a) changing it to c(a) would still work cause of the addition method or nah?
c(a) V d(a) doesn’t imply that c(a) needs to be true
Addition says that if a proposition is true, then the disjunction of that proposition with another is true
So if P is true, then P V Q is also true
But the converse doesn’t need to hold
~(p ^ q) is a proposition
So you can apply distributive law twice
R is just a placeholder
You can treat ~(p ^ q) as r if you like
Actually you would only need to apply distributive on the second expression
~(p V q) V (p ^ q)
By De Morgan’s, you have (~p ^ ~q) V (p ^ q)
Then applying distributive, you have
(~p V (p ^ q)) ^ (~q V (p ^ q))
The red line would be correct
It would apply to the entire expression if the negation symbol was outside
Yup looks right
So nah it wont work is what your saying
Cause i am trying to prove c(a) is true
Maybe I did something wrong in my steps
c(a) V d(a) is not enough to suggest that c(a) is true
You need c(a) V d(a) and ~d(a)
