#discrete-math
1 messages ยท Page 138 of 1
the pattern is still very obvious for b
? that is literally how it is defined
oh im dumb
induction is probably the easiest way
could you walk me through that, im lost
this is just test review, not a grade, just curious how to even begin to tackle this
it is just fx=1
how?
i thought u said u tried plugging in values
i did
maybe try again
wait are u talking about b
those are for a
this is my last review question, this is what i have so far
$\varepsilon \in K\land [x\in K \implies axb \in K]$ and $\nexists n\in\bN: w=a^nb^n \implies w\notin K$
evnaf:
Determine whether the following relation is reflexive, symmetric, antisymmetric, or transitive.
R is a relation on Z where xRy if x+y is odd.
Could someone please explain?
what exactly do you need explained @compact shell
are you having trouble applying the definitions of those properties to your relation?
@hardy remnant when x < 1, x^2 < x, so the substitution they did wouldn't yield the desired inequality
similarly, when x < 1, x^2 < 1
@hardy remnant yo is that grimaldi ?
0 votes and 0 comments so far on Reddit
this sounds a lot like asking for exam help
1-2 hours
specific timeframe
money

only need help for homework assimgent because i have an older professor who cannot explain or email in time
i put in the discription homework help ๐
why that specific time zone then
why 1pm on a specific date if its just hw
bec I get off work at 1pm est, so if people are availble to help after that time it would be great!
Hello i need some help understanding a proof
The book is discussing the pigeonhole principle
ill just post the proof here i just dont understand the last part. Basically if someone could help with explaining what the "pigeons" and the "holes" are in this solution that'd help. The rest i can do on my own
The pigeons are the nodes in your family tree over the last 1000 years and their holes the are the cumulative population of the world over the last 1000 years
Every node must be a member of that population, but there are more nodes than people who could have lived in the past 1000 years, so at least two of the nodes must be the same person
ohhh i see that makes some sense
hey could anyone help me with this?
"For any integers, a b and c, if a+b is even and b+c is odd, then a+c is odd. Argue why this statement holds.
How do I answer this? im a bit lost haha any help is much appreciated
oh
i gave that away
what do you know about the parity of a and b if their sum is even?
@last timber no i dont know
im quite lost on how to go about this question
how can i explain why this statement holds?
well look
so far I have understood that a+b = 2k
consider for example 1+1 is it even?
and 2+2 is obviously even
yea
but is 1+2 even?
nope odd
I think i understand when you put it in that way
i can extend that by
2+4 even
1+121 even
2+5 odd
3+120 odd
generalise that notion
but im not sure how to explain in terms of a, b and c
yeah
if you add 2 odd numbers
its even
?
its even
and an odd and an even?
odd
so it follows that given a+b is even, a and b must either be both negative or both positive
fyuck
i mean
both even or both odd
sum even -> both terms of the same parity
sum odd -> terms of different parity
so with that and knowing that
a+b=even
b+c=odd what follows?
ohhhh
i kinda see now
c in this case would be an odd number
and when a is an even number, a+c = odd
because even + odd is always odd sum
hmmm interesting
oh yeah
but since a+b is even a and b are of the same parity
and b+c odd implies that b and c are of different parity
consider the case where a and b are both even, and the case where a and b are both odd and see what follows about c and thus about the parity of a+c
i.e. a and b even implies c is odd since b+c is odd, then a+c is even+odd=odd
and the other case
ahhhh yes okay
@last timber @last flicker thanks guys, your help has cleared it up for me, much appreciated!
no worries!
np
Would relationship R^1 o R would be both symmetric and reflexive
if R (a,b) belongs to A, R^-1 would be (b,a) belong to R. Therefore final mapping would be (a,a)
therefore it would be symmetric, not sure if it is reflexive tho.
its just a whole in whole weirdly worded question
botn
how you doin'
hey I'm pretty good
are you german btw?
ok, do you know what exhaustion is?
how does the method of exhaustion help with the question
it basically means, exhaust each case of n=6, n=7, so on until n=18
botn
are you german
no
why not
have you considered being german
dm me these random things if you need to
ok fine
if you exhibit a sum of 2 primes that equals 6, then you have proven the statement for n=6
oh
if you do the same for the rest of the possible n's, then you have proven what is asked
@lean flume what book you using
wdym what book idk its an online thing i can show u later
yea
nah lol i don't wanna see your homework
but it may be a real book too just available online for us
i'm all good
kk ๐
nothing
oh
aren't you good at combinatorics tho
not really
oh
disappointed in you
son
@weary tiger so what do they mean to write the answer as a sum of two prime numbers
,w prime number
Wolfram Alpha doesn't understand your query!
Perhaps try rephrasing your question?
Click here to refine your query online
so list the odd numbers within the range
yea my bad lOL
@lean flume
all the even numbers in the range
what
yes? ploynomicla
lmfao
@weary tiger this guy should be in #prealg-and-algebra
is english your first language
@lean flume
no
what is your first language
i am just trying to understand the question
lol
ok, then can you do what I suggested earlier?
did you read your book?
@weary tiger this reminds me
list all the prime numbers under 18
yes i did
have you learnt about p-adic numbers yet
@lean flume then what did your book say on prime numbers
no
botn
what's your favorite area
of math
2,3,5,7...
haven't picked one
i mean
but it will probably be number theory or algebra
intuitively
ohhh
number theory
so you will learn about p-adic numbers
sooner or later?
yes
what's your favorite algebra book?
more nathan, up to 18
I tried to read artin a little earlier this summer but I struggled too much with it
artin is a bit much
i mean
what's your favorite book
2,3,5,7,11,13,17
i mean you might not have one just yet
but
any particularly good ones?
that you liked
I was going to say artin is probably the only I have a non-negligible amount of experience with, so that's why I mentioned that
oh
what
so you haven't read an abstract algebra text?
i was going to read one from springer
wanna be study buddies
yea actually, sure
that'd be nice
one sec
and yea nathan, that's right
so
look at it
tell me if you like it
you want to first write 6 as a sum of 2 of the numbers in that list
i had ann looked over it and she said it was good
(they can be the same)
so it says the sum of exactly two prime numbers
2 and 3?
suppose $n \in \mathbb{N}$ and $n = a_1^{e_1} a_2^{e_2} a_3^{e_3} \cdots a_n^{e_n}$
polynomial:
okay
does 2+3=6?
no but it is less than it
$n$ is prime $\iff a_1^{e_1} a_2^{e_2} a_3^{e_3} \cdots a_n^{e_n}$ = a_1^1$ without loss of generality
ok you like...
might need to get some experience reading simpler mathematical statements
botn
i am just kidding with this guy
but
did you look at the book
I wasn't referencing what you just said
i know
I was talking about how he doesn't understand the original question
i know lol
and yea sure
i was replying to myself
basically
cool
how much of the material do you know there?
i think artin covers a lot more than that
it does not matter that 2+3<6 nathan
but this one is a book we can actually read
can u try to simplify the question for me cuz idk if i understand it
nathan
to be honest
you're doing math above your level
I probably know mostly all of the first 2 chapters already and a fair amount of 3 and 4
you need to step back
watch khan academy
i am sure botn will agree
you can't do that problem if you don't know what a prime number is
and you are for sure supposed to know
what a prime number is
i real the book but like i have not done much practice because my professor is unabailable online
he might know what a prime number is now since he listed them correctly
i recommend just watching some khan academy
yeah that's fine
but you need more mathematical maturity
have you tried khan academy
no
try it
https://media.discordapp.net/attachments/362719706555088896/739201763164553228/unknown.png bumping this since I don't want to have to scroll in case I need it
botn
give me your schedule for the book?
i.e. how often do you want to discuss
hmm
I have nothing I need to do today so I could start reading it right now
and talk about later today to start
How far away are to solving the Goldbach's conjecture?
anyone who answers that will be guessing
@weary tiger no botn i have a time machine
1 me
0 you
Isn't the Goldbach's conjecture easy?
Take two arithmetic progressions
6n+1=1,7,13,19,25,31,....
6n+5=5,11,17,23,29,35,....
note that if 6n_1+1 is divisible by f then 6(n_1+xf)+1 are all terms in 6n+1 divisible by f
note that if 6n_1+5 is divisible by f then
6(n_1+xf)+5 are all terms in 6n+5 divisible by f
6n+1 is only divisible by odd number and not divisible by 3
6n+5 is divisible by odd number and not divisible by 3
able to recreate all even numbers
6n+5= 5,11,17,23,29
6n+1=25,19,13,7,1
25+5=30,
11+19=30,
17+13=30,
23+7=30,
29+1=30
6n+1=1,7,13,19,25,31
6n+1=31,25,19,13,7,1
31+1=32
25+7=32
19+13=32
13+19=32
7+25=32
1+31=32
6n+5=5,11,17,23,29
6n+5=29,23,17,11,5
29+5=34
23+11=34
17+17=34
11+23=34
5+29=34
using pigeon hole to fill terms with possible composites.
in n terms where n is odd there is at most 1 term in arithmetic progression divisible by n
In two arithmetic progressions there are at most 2 terms divisible by n
repeat for n,n-2,n-2-2,n-2-2-2,....5
stop at 5 because arithmetic progression does not generate numbers divisible by 3.
There are at least 3 pairs of numbers where each number in the pair are not composites.
In 6n+1, 6n+1, 2 of these pairs will have unit 1 leaving 1 pair to have two numbers to be prime.
In 6n+1, 6n+5, 1 of these pairs will have unit 1 leaving at least 1 pair to have two numbers to be prime. If n is even then assume the last term contains non-prime numbers and pigeon hole away the last term into another term which is not the first term.
I haven't read this yet, but are you asking if this is a proof of the Goldbach conjecture?
Yes this should be the proof to the Goldberg conjecture
Damn
Fuck. I was going to sleep now, but now I want to be enlightened
This is very unreadable to me, so I will go through it bit by bit and ask you questions if you care to answer them
Let (xn) = (6n+1) and (yn) = (6n+5) be arithmetic sequences. If 6n+1 is divisble by f, then (6n + xf) + 1 is divisble by f (x and f are integers here, I hope, or what ?). I agree. Why is this (6n + xf) + 1 in the sequence (xn) though? This is only true if xf is divisible by 6.
If 6n+5 is divisible by f then (6n + xf) + 5 is also divisible by f. Again, I agree, but why is it in the sequence (yn)? Only true if xf is divisible by 6.
Wait is this guy saying goldbach is easy omegalol
6n+1 and 6n+5 are both divisible only by odd numbers and is not divisible by 3. I agree
opps put th3 brackets in the wrong place 6(n+xf)+1 and 6(n+xf)+5
Okay, then I agree
up to here
Now you say able to recreate all even numbers
What do you mean? Are you saying every even number can be written as a sum of a term in (xn) and a term in (yn)?
Oh, sorry, I think I misunderstood
You are saying any even number is either the sum of two terms in (xn) or the sum of two terms in (yn) or the sum of a term in (xn) and a term in (yn)? I that right?
Is*
yes
I think I agree. Let me just convince myself
Yes, I do
"Using pigeon hole to fill terms with possible composites"... I don't understand. Explain ?
okay the first composite in 6n+1= 1,7,13,19,25 is 25. want to count composites by counting numbers which are multiples of odd numbers 5,7,9,...
therefore in 6n+5=5,11,17,23,29 we would count 5 as a possible composite
I do not understand what you mean by counting 5 as a possible composite?
well all the numbers in 6n+1 where 0<=n<m if 6n+1 is a composite then 6n+1=a*b where 1<b<=m
Yes, that's true of any composite number
But I don't understand why you count 5 as a composite when it is prime? What does that mean?
I can not directly count primes but I can count numbers which are multiplies of an odd number 5 or greater
And after removing all numbers divisible by 5 from 6n+1 where 0<=n<5 either left with prime numbers or the unit number 1
Okay, I still don't exactly understand, but let's move on to your other claims. Once I agree to all your claims, then we can look at the general argument.
In n terms where n is odd there is at most 1 term in arithmetic progression divisible by n. Are you saying that in (xn) or (yn), for any n consecutive terms, at most one of terms can be divisible by n?
Going one step up there only exist one term divisible by 7 in 7 terms of 6n+1 where 0<=n<7 . So in 6n+1 where 0<=n<5 all terms are not divisible by 7 and check for terms divisible by 5. If all composites are divisible by 5 and 7 in 6n+1 where 0<=n<7 have succeed
I think I agree with this
In two arithmetic progressions there are at most 2 terms divisible by n. So you are saying at most 1 term in (xn) and at most 1 term in (yn)?
There are at least 3 pairs of numbers where each number in the pair are not composites. I don't understand. What are the pairs?
ok
the pairs for 6n+1,6n+1 are
31+1=32 (31,1)
25+7=32 (25,7)
19+13=32 (19,13)
13+19=32 (13,19)
7+25=32 (7,25)
1+31=32 (1,32)
Okay, but why do you say there are three pairs where both numbers are not composite? What's the proof?
1,7,13,19,25 one number divisible by 5
32,25,19,13,7 one number divisible by 5
All composites must be divisible by 5
therefore 3 pairs of numbers add up to 32 where all numbers in each pair are not composites
This is an example
Where is your proof that it's always true?
All composites must be divisible by 5 is also not true
5 clearly divides 6 though
It's nearly midnight here, so do you think you can come up with a proof quickly or will you think about it and ping me so I can look at it when I wake up?
no I can not come up with a proof quickly
Okay, if you have an idea of why it's true, try to write a proof and @ me so I can read it. If you realize you made a mistake, let me know too. Sorry I can't stay awake longer.
Yes this should be the proof to the Goldberg conjecture
@tepid lantern I hope this is a trolling attempt to sneak your way out of saying you never claimed to prove Goldbach lol
@obtuse lance thanks
So I'm just curious to learn a bit about combinatorial structures, and looking up some basic stuff on generating functions, I feel like I'm misunderstanding something about notation. For example, a video I'm watching makes this assertion, which is clearly visually false in the way that I would normally think about such notation:
I mean, pick any X and this is not true. It's even nonsensical for x=1
x cannot be 1 for that example
Right, that's what I'm saying
Ohh, it's talking about a restricted domain
These things are called power series, and the infinite sum only make sense (converges) within some interval (a single point, a bounded interval, or the whole real number line). But for generating functions you usually don't worry where the function converge, you only need to know that the power series product of the function is the product of the power series
๐
Is there a rule that I'm forgetting
or do I have to manually solve for the cardinality ?
if you know |S| then it's not that hard to find |P(S)|
Is there a simple formula for ${n \choose 1} {n \choose 2} ... {n \choose n}$
andrew_rpg:
Sorry that should be ${n \choose 1} + {n \choose 2} + ... {n \choose n}$
andrew_rpg:
the latter is much easier to simplify than the former
hint: binomial expansion
I had a feeling it was something related to that. But it's been 15 years since I looked at Pascal's triangle, and the details are fuzzy
well now you know what to do
$\sum_{k=0}^n \binom{n}{k} 1^{n-k} 1^k$
Ann:
this is almost your sum
Not sure why ya'all are dancing around it...
we're here to help you not give you answers
if it's been 15 years since you looked at pascal's triangle and you're trying to solve this problem, then you should learn the binomial theorem and make it 0 years
So it just simplifies to ${2^n}-1$
andrew_rpg:
That's the right answer

desmos is your friend
it'll look similar to the staircase-like graph of the floor function, just compressed and shifted
So if I have n distinct objects, and I want to refer to all ${2^n}-1$ ways to group them (e.g., for A, B, and C, I would be referring to the list A, B, C, AB, AC, BC, ABC), is 'combinations' the right term? In set theory, the term would be 'power set', I believe, but I'm not sure the corresponding term in combinatorics.
andrew_rpg:
Ah right
I guess it would be "combinations of any size"?
how can i help
Well, I'm not interested in the empty set, which, as you point out, the powerset would include

reasonably good i guess but you're risking getting wrong-channeled
can you please stop sending a message containing just my name and that fucking smile emoji
it gets old after seeing it for the (n+1)th time
anyway ok what is it
is it another linalg problem
if so then please post it in the right channel
?
So if I have n positive numbers: $a_0, a_1, ..., a_{n-1}$, and they are in ascending order, but not necessarily distinct, I'm trying to figure out how many possible ways there are to arrange the sums of all $2^{n-1}$ groupings of them in ascending order.
andrew_rpg:
2^n - 1, not 2^(n-1).
Yes, thank you.
Yeah, I've been trying to figure out how to word it correctly
did this come from a problem you were doing
No
unfortunate
I mean, it's one part of a problem that I remember discussing back in college that I'm ruminating on again, related to the Shapley-Shubik power index.
But this specific question is one that I'm asking myself
are you trying to count the ways to arrange the nonempty subsets of {0, 1, ..., n-1} in ascending order by the sum of the corresponding a_i?
or do you not distinguish between two subsets that have the same sum
I think, to start with, it makes the most sense to distinguish between subsets with the same sum. Otherwise, I suspect it gets muddled really fast
andrew
since you weren't familiar with the infinite series you posted earlier
i feel like you aren't familiar with mathematics in general
so it may be wise to stop trying to abstract things before you understand them intuitively
Um, ok
That's a really vague question...
ok, what's the derivative of -cos x
Maybe we stick to the topic at hand...
i mean if you can't answer that, then you are not familiar with mathematics
hence, you should not try to abstract not so trivial concepts
prior to understanding them intuitively
lol
gatekeeping
are you serious
it's literally the first kind of heuristic advice you would get in any book
in fact
i hesitate to call it heuristic advice
it's just common sense to take a simple example prior to trying to generalize

@worthy palm nothing, poly just felt the need to be rude
yo, generating function question:
i kinda get that a generating function is a fancy way to portray a power series, but i don't get something
what do you plug in x? or is it not that kind of function
this for example
(text says: Generating function of 1, 1, 1..)
what role does x play here, if any
or this for example
there's a sequence
a(n) = 3
then that's the generating function?
how does that like, make sense
you plug nothing into x
then why does x exist
its a formal power series
you can manipulate it to solve recurrence relations
i guess you will see later, why it is done
the x always just remains an indeterminate
if u want u can plug x which is in radius of convegence and get value of function for that series but for discrete math you can treat x^n as roughly carrier of nth term
what
convergence for generating functions are disregarded
in fact, it doesn't have to converge at all
and we don't consider it a function in the normal sense
it is just a convenient way of encoding an infinite series
so basically it's a sum from the 0th term to the inf term, loosely speaking
much like a formal power series would be i guess
wel yes, that is what second part of my statement says
for discrete math you can treat x^n as roughly carrier of nth term
why would you plug in anything ever
dunno, generating functions always have been the toughest part for me
the fact that is a sum is also unimportant
the nice thing is that the coefficient of x^n is the nth term of an infinite sequence
this is just convenient for writing it down
and you can manipulate it more easily
so the gist of it is that a generating function is just a convenient way to write a formal power series, and from the generating function i can get a sequence formula
a generating function is a formal power series
its a convenient way of encoding the information of an infinite sequence
you will probably use them as the main tool to solve recurrence relations
pretty much
we have 2 ways to solve a recurrence relation (this sem at least): characteristic equation and generating functions
i already have char eq down
but like
that's all there is to a generating function?
just a power series?
*formal
ye
like, the sum part is really unimportant
its just that you can get the nth part of the sequence by looking at the coefficient of x^n
...that's it? i feel so bad for not being able to grasp that concept during the sem
my professor has such a hard on for generating functions so i always treated it as a behemoth of work
but like, this is really idk
simple?
i'll solve some exercs to get it down but man that really clears things up for me
thanks tons
its really formulaic
you can solve a general recurrence relation with it
at least a linear one
there are a lot of opportunities to do arithmetic mistakes tho, as it usually involves a partial fraction decomposition
yes, but as of now i'm only using them for recurrence relations
is it normal to use convergence to get the generating function of a sequence?
convergence of what
this is from my powerpoints, one sec for me to translate
says:
find the generating function A(x) of the sequence a(n) = n + 1
a(n) is the convergence of b(n) = 1 with itself, since then proves
the powerpoints are a literal mess i cannot make much of them
just asked my brother, i'll clean write what is apparently a full solution and check with you if it's actually the
fucking correct way to solve a recurrence w gf
uploading now, sec
@pale epoch hope my handwriting is legible
but yea
this is it
i still don't get why the fuck convergence is being used
@mint shore ok, let me comment on what you did in the first thing
you are not multiplying a sequence by x^n to get the generating function
its simply that $A(x)= \sum_{n=0}^\infty a_nx^n$ is the generating function
Lochverstรคrker:
then what you are doing on first page seems correct
you plug in the recurrence relation, manipulate the series
2nd page also seems ok, i cba to verify it
but it is normal to use convergence of the series
and treat it as a geometric series
the series actually does converge for small x, so that's fine
even though it is not really important
the 2nd thing you posted, first page seems fine
2nd page as well, you need to break down the sum further, then you can write down A(x) = some fraction
and treat it as you did before
(or do partial fraction decomposition)
Is it possible to solve this recurrence using master's theorem? T(n) = 8T(n/3) + 2^n
I am thinking about to put m = 2^n, which gives log2(m) = n.
Which makes T(n) = T(log2(m)) = 8T(log2(m)/3) + m
comparing with :
The master method is a formula for solving recurrence relations. In this tutorial, you will learn how to solve recurrence relations suing master theorem.
and you have f(n)=2^n, which is not a polynomial right? So I think you can't solve it with Master's Theorem?
Got it! Our teacher said that it is polynomial.
And it can be solved using master's theorem
Thanks a lot wilston!
My teacher is a very egoistic person, according to him he is always right.
Is your teacher me? I am also always right.
@quaint star Will you say 2^n can be solved by Master's theorem?
~~btw I agree, Kaori is meant to be with Arima Kousei ๐ญ ~~
@junior mantle ๐ญ
I don't know what Master's theorem is, lol
Btw, not knowing is not the same as being wrong. So i am still always right.
Then you are not my teacher. He will say anything just to showoff.
ablahabalahablah, see? I am right.
Oh, in that case: Yes it can be used! You just have to know how to do it. I of course know how to do it, but you still need to learn. So go figure it out!
i'm having a bit of trouble understanding these 2 transitions
this is generating functions btw
this was the leadup up to that part
leads to A(x) having this form
then somehow in the example convolution is being used?
it's 2 sums
but then in the 2nd transition how does the 1^(n-k) just up and dissapear?
1^(n-k) will always equal to 1
for whatever values n and k be
which is why we can just ignore that
fair enough ig
but what about the first transition?
i get why it's broken down to 1/(1-x) and 1/(1-3x)
but i don't get how we get to the double sum
let me scribble something down
sec
yea no i don't get it
Hang on
Personally I would multiply like this #discrete-math message and apply decomposition fraction to divide it into several power series..
I'm not quite sure why they just make it into a double sum tho ._.
me neither
so whether i use fraction decomposition or double sum it's the same thing?
because i don't feel like struggling with double sums anytime soon
Personally I think it would be safer to go with the fraction decomposition route, since I don't really understand the double sum one lol
Hang on, I want to check something first
$$\frac{1}{1-x}=\sum_{n=0}^{\infty}x^n$$
$$\frac{1}{1-3x}=\sum_{k=0}^{\infty}3^k x^k$$
Wilston Lynx:
By multiplying them, we'll get.. $$\frac{1}{1-x}\frac{1}{1-3x}=\left(\sum_{n=0}^{\infty}x^n\right)\left(\sum_{k=0}^{\infty}3^k x^k\right)$$
Wilston Lynx:
oh yea
just solved it with fraction decomposition
it's literally
1000000000000x easier
I found this but it's for finite series tho :/
From random Googling lol
Yeah I honestly know what happened to the first line, sorry man
Yeah I mean, idk how did they got into double sum like that--
when i can just do the simplest thing ever
agree lol
thanks tons dude
You can work out the double sum with the cauchy product since both series converge absolutely for $\abs{x}<\frac{1}{3}$
Ceana:
Well not to mention that Partial Fraction Decomposition is a simple thing to do, but I think it's easier to apply here than the double sum method
i don't remember if i've done cauchy product, i remember cauchy being mentioned in 1st sem but not any specifics
Ah, Ceana is right, the double sum is from the Cauchy Product
https://en.wikipedia.org/wiki/Cauchy_product, doesnt make it easier than fraction decomposition tho
classic uni: hey here's the most roundabout way to do this and not use this simple thing
not to say that double sums and cauchy aren't useful but like
if i can do some simple algebra and not
that
I just started with Graph Theory, and I have some question regarding to matching. If we are only talking about matching for question 9b, is it necessary to mention all of the vertices for matching?
Or just in general do we have to use all the vertices for a normal matching
Hi everyone! can someone direct me to some resources on bounded functions and their applications?
Thanks in advance ๐
Or just in general do we have to use all the vertices for a normal matching
@hollow bloom no. It suffices to show a subgraph having non-adjacent edges
So just showing one pair of edges that are matching is good enough to call that sub graph matching?
Yes
Gotcha
But they have to be non adjacent, in other words not share a node
Now a maximal partition is one that has the maximum amount of edges satisfying this property
I see
Then Iโm not sure for this question
Because I think this is referring to perfect matching
I have to show all the vertices are matching
And have an edge
Right?
I canโt just show one pair of perfect vertices
And call that perfect matching
Lemme find the definition gimme a second
A perfect matching of a graph is a matching (i.e., an independent edge set) in which every vertex of the graph is incident to exactly one edge of the matching.
A matching (M) of graph (G) is said to be a perfect match, if every vertex of graph g (G) is incident to exactly one edge of the matching (M), i.e.,
Itโs like it fit the matching conditions
But also every vertex have only one edge
Iโm not too clear about this either since I just started learning this
Yeah thats about it
I quickly skimmed wikipedia haha
But why are you assuming the question is asking about perfect matching
Xd
Because like in the question it referred to pairing of adjacent vertex
So I believe it is talking about perfect matching
If not then like both questions it would be a matching
If it is not referring to perfect matching
Okay gotcha
So it is a pairing of adjacent vertices but still is a matching by the normal definition of matching
So i dont think this is possible im b
Mhmmm
Wait for perfect matching it is impossible right?
And normal matching is possible
Understood
Normal matching is possible since you dont have to get all vertices
Yea
If you donโt use that vertex
The degree is 0 right? So it fits the definition of normal matching?
I am actually not sure if the definition in this question is basically perfect matching. I mean in this question they both fail. But I need to think about it
Srry i am a bit sleepy
All good
I can email the professor
To clear this up
๐
Thank you so much for the help regardless โค๏ธ
No problem, good luck with you course ๐
weebs
How to solve this?
Firstly we calculte n^logb(a) which is n^log2(5).
Now comparing it with f(n) = n^2 logn
This is not case 2, looks like case 1.
since we can do n^(log2(5)-.23) is n^2.
How do I compare this with n^2 logn?
So much confused by polynomially larger and smaller ;_;
isnt those the shigatsu character names?
Yes, Your Lie In April.
isnt those the shigatsu character names?
@leaden pebble
@cerulean ore wat you trying to solve exactly
Hey, how can I find the number of 1s in the binary representation of n?
I actually need to sum those values up so I was looking for an explicit expression for it
I do not believe there is an expression for it purely in terms of n.
But I'm open to being corrected
@leaden pebble Trying to learn the Master Theorem.
ah
im trying to do all my computerbility assignments in latex (to learn latex) this semestor but i came to a stumbling block, how do i do something like this in latex
couldn't find anything on the internet..i think i'll just draw it
look tikz-able
sorry if wrong forum, it is discrete math tho
yo im also doing those
state diagrams
oh we learned about those in a CS class, not math
@pallid lintel don't make it in latex, make it in inkscape ๐ you can include latex code in inkscape and then export it as a pdf that can be imported into a latex document
In my preยญviยญous blog post, I exยญplained how I take lecยญture notes using Vim and LaTeX.
In this post, Iโll talk about how I draw figยญures for my notes using Inkscape and about my cusยญtom shortยญcut manยญagยญer.Some exยญamยญples First, let me show you some exยญamโฆ
Inkscape is great, agreed
i made a pretty good picture with it, thanks friends
can u guys help me in discrete?
๐

Did you figure it out? Lol
Everyone is waiting for the chance to show off their big brains
We're all raring
Everyone is waiting for the chance to show off their big brains
@quaint star especially poly
Yeah, they are definitely lurking waiting for a question directed at someone else
If I have a set A={1,2,3,4,5,6,7,8,9} and will the pigeonhole principle apply if I select 5 integers from A, and at least one pair must have a sum of 9
what about 4 integers
I said 4 no it does not apply, 5 yes it does apply
not sure if that is right
well
this is true that 4 is not enoug
because {1, 2, 3, 4}
or {1, 2, 3, 5}
{9, 8, 7, 6, 5) btw
@umbral summit
but would 5 be enough for it to apply
{9, 8, 7, 6, 5) btw
@last timber no pair gives 9 as a sum
but existence of selection such that pair giving 9 as sum is enough
to disprove your statement
6 looks to be minimal satisfying set
but I thought it was like if (1,8) (7,2) (3,6) (5,4) are the total pairs summing up to 9 and since there are 4 then pigeonhole applies because 5 > 4
I checked in the textbook and it says it applies
@last timber
this is the explanation it gives
took me a while to find this
oh wait sorry
I mistyped the question
its only {1,2,3,4,5,6,7,8}
my mistake
ah ok
Ye
hello
can anyone help me with predicate calculus ?
im trying to conclude something but i cant seem to do it.....
Ye
How can i conclude this?
From a and b
The (X) is supposed to be for all X,
The Ex kinda things is for some X,
And the upside down L is not(~)
how the heck am i suppose to find the formula
isnt the formula already 1/2^n
this is for induction
Have you done the โhintโ yet?
are you saying if P(1) is true?
No, list out some sums for small n
There will be a clear pattern
You canโt see if P(1) is true if you donโt have a โPโ lol
The edge set?
yeah
If is saying there is an edge between every pair of people Pi and Pj. What do you not understand?
The edge set is the set of all the edges, and an edge between Pi and Pj is indicated by PiPj
Oh, PiPj and PjPi are the same edge, so it doesn't matter
So without the restriction, the set is the same. I think they just want you to write edges with the lower subscript first
And it shows that $i \neq j$
Lunasong:
Np
conceptually why is (13 pick 1) times (12 pick 1 )way bigger than (13 pick 2)
It's part of the hypothesis
discrete math class but not really a discrete math question
what does the a' mean?
i think of 13 pick 2 as picking 2 distinct elements from 13 set, so 13x for the first and 12x for the second, but its half of that and Im not sure whats wrong with how im thinking of it
oh okay i understand now
yep
feel a little dumb, thanks for the help ๐
how do you write for every unique A in math notation?
i know the upside down A would be used for for every
but what about unique
!
What would that represent? Haha
It's either "for all" or it isn't. I don't see room for the "unique" bit
We do have a sensible "there exists a unique"
are you talking about "there exists a"
what do you even mean by "for all unique a โ A"
@copper ore can you tell us your entire statement. Although i dont think the 'unique' word would be necessary.
Yeah it's not unique if there's more than one
R is a dummy variable in the specification of Z, and even then it denotes a relation on A and not a function from A to A
so no, your approach is nowhere near correct
try writing out Z for small values of n and see if you notice a pattern
ok
2^(n(n+1)/2), and yes this is correct
cheers
also why does V have the n - 1
wouldn't that make the number of vertices an odd number
oh right
E is basically
you number your vertices
then you connect each to the one before and next
to create a "circle"
and then connect each one to the one exactly opposite
A consequence of this relationship is that if I is an independent set of largest possible size in a graph, then V โ I will be an edge cover of smallest possible size. So finding a maximal independent set is equivalent to finding a minimal edge cover
If V is the set of vertices, does this statement apply to any graph?
The degree of a vertex can only be 1,2,...,n-1
I assume n is the total number of vertices
yeah true
but i guess if they specify it's not then it's not lol?
like in this case i guess
isn't log(n) the answer?
After submitting the homework it says ln(n) is the wrong answer
that's cause it is
also it depends on the value of T(1) i think
it might be either Theta(1) or Theta(1/n)
How do I find the summation of 1/(n*(n-1)) + 1/((n-1)*(n-2))+...?
Commander Vimes:
then magic will happen
@last timber It gives
An + B(n-1) = 1
(A+B)n - B = 1
If n = 1
A + B - B = 1
=> A = 1
If n = 0
B = -1```
Sorry for the late response, I did partial fraction last time in 2016.
i mean what have you got when expanded to T(1)?
There is nothing given for T(1) in the question.
T(n-1) = T(n-2) + 1/((n-1)*(n-2))
T(n-2) = T(n-3) + 1/((n-2)*(n-3))
.
.
T(2) = T(1) + 1/(2*1)
=>
T(n) = 1/(n*(n-1)) + 1/((n-1)*(n-2)) + 1/((n-2)*(n-3)) + .. + 1/(3*2) + 1/(2*1) + T(1)```
ok
Commander Vimes:
now notice something in decomposition you've done
Oh!
So, basically if an expression is 1/(i*(i-1)) so, it can be represented as (1/i)-1/(i-1)
sum(i=2 to n) : (1/i) - sum(i = 2 to n): (1/(i-1))
Summing two different sequences.
Beautiful!
I think your signs are backwards. It should be 1/(i -1) - 1/i I think
Agreed, thank you for correcting!
@honest barn So, T(n) = T(1) + (1 + 1/2 + 1/3 + ... + 1/(n-1)) - (1/2 + 1/3 + 1/4 + .. + 1/n)
=> T(n) = T(1) + 1 - 1/n
=> T(n) = T(1) + (n-1)/n
Idk I just saw that one thing and thought it looked off
not enough info to make that conclusion
if T(1) = 100 then T(n) will not be ฮ(1/n)
the exact solution to the recurrence is $$T(n) = (T(1)-1) + \frac{1}{n}$$
Ann:
if you want this to be ฮ(1/n) then T(1) will have to be 1, otherwise the constant term is nonzero and outgrows 1/n
Thank you very much! I will have to tell this to my instructor now.
(Although he doesn't care. He teaches algorithms without proving the correctness.)
understandable, that's the hardest part
it you were required big-Oh you could safely choose O(1) but bruh
so i came to the conclusion that 3^(131) is congruent to 3 mod 5, but now im being asked what the rest is congruent with
i mean my conclusion lead me to the rest being = 3
so what is the rest congruent to?
i dont get it ๐ฆ
So i showed my teacher that 3^141 is congruent with 3 mod 5, which means the rest = 3, now as a followup question im asked only this:"What is the rest congruent with, which alows your solution to work"
so i tried to say that there is an integer n so that 3^131 = 5n+3
"the rest"?
sorry rest = remainder in swedish
still quite unclear
well if 3^131 is congruent to 3 mod 5 it means that 3 is remainder of 3^131 divided by 5
exactly
and to what is congruent 3 then lol
are u sure that you are not required to justify why it is so?
i sent a message asking for explaination
or rather a clarification of wtf im supposed to do
isn't 3^131 congruent to 2 mod 5?
3^2 = 9 and 9 mod 5 = 4
((3^2)^65) * 3 = (4^65) * 3
4 mod 5 congruent to -1 mod 5
-1^65 * 3 = -3
-3 mod 5 congruent to 2 mod 5
ye then it's congruent to 3 mod 5 using the same procedure
ye
hi i have no idea how to approach this problem :(
like i dont even see why they mentioned that the job list is truncated, how does that affect the question?
Can someone help with this?
I'd try to cook up something where there are k * n choose k of some objects
once I find that, then try to see if I can count it an alternative way with the other thing
hmm, I dont understand, what do you mean
You can show combinatorial identities by counting the same thing two different ways
Like, I want to count the number of ways I can choose x things out of y things or something
and you count the number of ways in one way where the answer is k * (n choose k)
and a different way where it's n * ((n - 1) choose (k - 1))
Hi can I ask my question or is this room taken?
seems free for the time being, given that it's been silent for like 2 hours
alright awesome
this question asks for a contradiction proof
I don't understand how the initial statement is true though
because for some values of a the p is false
even numbers that is
ok so you're asked to prove that for all a โ Z, if a^2 - 2a + 7 is even, then a itself is odd
ahhh
assume a โ Z such that a and a^2-2a+7 are both even
use this to arrive at a contradiction
no
divisible by 2 inside the equation that is
the question is properly phrased as $$(\forall a \in \bZ)(2|a^2 -2a+7 \implies 2 \not| a)$$
Ann:
yeah that makes sense thanks
so the first part implies the 2nd part is true
and one more question can I take the opposite (the not) of any of the two sides
does it matter?
for contradiction proof
to prove $P \implies Q$ by contradiction you assume $P \land \neg Q$ and arrive at a contradiction
ahh okay so leave p as it is and take the NOT of q
if you want to phrase it like that...
Ann:
Let (A, R) be a total order where |A| = 6 How many edges (including loops) are there in the associated directed graph?
It should be 6 * (6 - 1) right?
I donโt think it is either
Pretty sure itโs supposed to be 15
Err...
I guess 21
If you count self edge
yeah
Youโre multiplying by 1
he is multiplying by 1 bruh
what
Thatโs the same thing