#discrete-math
1 messages · Page 149 of 1
Thanks, I didn't know what was "allowed" here, but division where c=/=0 totally makes sense and is what i wanted to do but wasnt sure if you were allowed to
additional question, what are the algebra steps to show dividing by d on both sides of the inequality of the expression: a-d * floor(a/d) >= d is a/d - floor(a/d) >= 1 ? this is basic but i'm not seeing it
i'm kind of confused: how do i group the terms? (a - d) * (a/d) >= (d) and then do (a-d)/d * (a/d)/d >= (d)/d ?
(a/d)/d = (a/d^2) no?
Is it (a - d)x = d? Then what you said doesn't follow
So it isn't lol
Just take x to be floor(a/b)
a - dx = d
Divide both sides by d
a/d - x = 1
this is how I am now seeing it: (a) - d(a/d) >= d -> (a)/d - (a)/d >= (d)/d -- but thats obvs wrong so not seeing where it is wrong
because d(a/d) = a
You are using (a/d) where it is actually floor(a/d)
Take x to be floor(a/b)
a - dx = d
Divide both sides by d
a/d - x = 1
ooh
Note that d|a/d| ≠ a
that debugged my misconception
thank you
i'm really close to understanding this proof but have 2 questions. 1) why are you allowed to set a = d * floor(a/d) + (a-d * floor(a/d)) --- initially I thought the d * floor (a/d) cancelled out and you get that expression had various cancellations so it'd be a = expression = a, but now i see that isn't correct, so wondering why you can say: a = d * floor(a/d) + (a-d * floor(a/d))
for : show that if a is an integer and d is an integer greater than 1, then the quotient and remainder obtained when a is divided by d are ⌊a/d⌋ and a − d⌊a/d⌋, respectively.
Your first part is correct. That does cancel
- once you have 0 <= a − d⌊a/d⌋ < d and a = d⌊a/d⌋ + a - d⌊a/d⌋, then how do can you apply uniqueness to know this shows those are your q and r, i can see you proved r=a - d⌊a/d⌋ but dont see how you get q= d⌊a/d⌋
ah i see!
you proved this is your r, because you bounded it by that inequality, but how do you know that is your q?
or, rather i am assuming you know this is your r, because of that inequality
a = dx + (a - dx)
Is in the form
a = dq + r
So from that, x and a - dx are good canadates to be the quotient and remainder. Most of this proof is just showing that they're each within the bounds set by the division algorithm
Only x = floor(a/b) ends up working here
so basically to prove its the q and r when its in the form of a = dq + r: you need to show r satisfies 0<=r<d
and if r satisfies that, then due to uniqueness you know thats the q and r you needed
?
once you get 0<=r<d you got the q?
It also needs q ≥ 0, which they seem to be ignoring lol
Wait, no it doesn't
I'm talking shit don't mind me
so basically the idea is: get it in the form a = dq + r, show 0 <= r < d, then you automatically get your q,r due to uniqueness ?
I suppose
that's how the proof appears to be working (from what i can see)
If you can get that form, and 0 ≤ r < d, then you are stuck with that q and r haha
ah i see
Can't get any other pair
I cant seem to wrap my head around this problem ```For integers c, d, prove that if c is congruent to d (mod 42) or c is congruent to d (mod 24) then c is congruent to d (mod 6).
Could anyone help?
Do you understand what c is congruent to d(mod 24) means?
somewhat
it means like C divided by mod24 will give you a remainder
and that will be D?
Is it understood if I say C congruent to D implies 24 divides (D-C) ?
uhhh yeah kinda
it would be entirely different numbers for both of those right?>
like i kinda get it
Wdym different numbers
Like if we fill in 24 divides (D-C)
6 is a factor of 24
So,6 divides D-C
since 6 is a factor of 42/24/6
because i know A congruent b(modM) iif m| a+b
this is not reflexive and not anti symmetric
but it's also not reflexive but symmetric right?
this is symmetric yes
no, |E1| = 1.
product
thanks found the answer in first 10 sec of woo's video
Could someone explain this to me?
Specifically how it calculates the total number of possibilities
Why from 13 to 9?
Poor ducks 😩
See this
Nevermind about the ducks
I think the one I just uploaded better explains it
it's the same concept
but I dont understand
See this
why factorials?
You have to choose from 78 animals, 12
In the first choice, you have 78 options, right?
Then, you choose one animal
and then once I choose one, one option is decreased
Now you have to choose 11 from 77
But, you have 77 options
In this case
Before you had 78, for every one of those options, you have 77
That's 77 + 77 + ... + 77 (78 times)
That's it 78*77, right 9
?
🤔
Before you had 78, for every one of those options, you have 77
@steady kernel
Could your elaborate on that?
I choose one animal from 78
78 options
But
For every option
I have left 77 more
Right?
i still dont get it
You have 3 numbers, {1, 2, 3} and you have to take 2. You have three options if you want to take the first
1, 2 or 3, once you take the first, you left two more, then, there are two options, given that you already take one.
If you take 1, you have two options, 2, 3
If you take 2, you have two options, 1,3
If you take 3, you have two options, 1,2
Then, you have 6 = 2*3 options
Counting order
In this case for every first option you have 2 more optiona
oh...
There are 3 possibles ways to choose the first option, then, there are 3*2 ways to choose
Well in this case is better to see it like 3*2
ok i understandd so far
77! ways to choose
ok
77
The second one
The first one is 78
The second one is 77
So far we have 78*77 possible ways taking 2 animals
Taking order too
See that in this problem you have to plan the order
Do you agree that there are 78*77 possible ways to choose 2 animals from 78?
Taking order
If we don't take orden, we would count the options twice (If the order doesn't matter is the same go first to see the bear and then the gorilla than first the gorilla and then the bear)
(a) or (b)?
what's (3)?
i don't think this is referring to that
anyways, this is some weird notation, do you know what you are supposed to be doing?
yeah well, you are going to have to use the properties of set operations
Oh @pale epoch (3) is the statement itself if you look at the q
Where do Istart sorry I’ve been stuck for a very long time
I figure I would need to use them 🤕
well, you will want to start with $(A\cap B) \cup (A\cap B^c) = \dots$
Lochverstärker:
then e.g. distributivity gives you $$(A\cap B) \cup (A\cap B^c) = ((A\cap B) \cup A) \cap ((A\cap B) \cup B^c)$$
Lochverstärker:
eh, wait
yeah it does
then probably use distributivity again
and use the fact that $B \subseteq A$
Lochverstärker:
and at some point you will arrive at A
similar for the second claim showing that the intersection is empty
use distributivity and keep going until you arrive at the empty set
oof
seems very convoluted to use (3), (4) and (5) to prove that
or well
check what properties of P you know
one of them should be that if $A$ and $B$ are disjoint, then $P(A \cup B) = P(A) + P(B)$
Lochverstärker:
and you will need something else
then the idea is to write $A \cup B$ in some other way and apply those
Lochverstärker:
how can you prove that this is surjective?
If y = 3x + 4 can you derive a valid X for every y?
i was thinking about proving if it's continuous
but this is a discrete math class
and i heard that's a 2 hour proof
It is easy to prove that this is surjective u are probably overthinking
i proved that it's injective
just find $x$ in $y=3x+4$; since it's a simple affine function you can even find its inverse explicitly
Whats an example of a subset of R that is bounded above but has no least upper bound.
@here
(0,1)
There isn't one. That's a property of R
There's subsets of Q that can do this though
u sure @sour arrow
its in my textbook :/
like thats literally a q in my textbook but i just dont see how a subset of R can have no lub
@drifting sail
They're probably trying to hint at the empty set, but that is different in every book
If it’s not bounded
The empty set can be given a meaningful lub, but some books choose not to.
empty set has no lub in R. it has in extended real line tho.
yes, $\sup \varnothing = -\infty$ since every extended real number is an upper bound of the empty set
bastian.uwu:
They're probably trying to hint at the empty set, but that is different in every book
if the book/course doesn't work with the extended reals then it's probably this
I was hoping someone could maybe walk me through this, the answer is on Slader, but I have just absolutely no clue what's happening.
Who can help me out with this question. I'm confused.
Let b be a positive integer. Let S = {qb + r | q,r ∈ Z and "0 <= r < b"}. Prove that for ever a ∈ S there exist unique q,r ∈ Z such that "0 <= r < b" and a = qb + r.
What have you tried?
@unreal stump
<@&268886789983436800>
🤔
Can A xor B xor C xor D xor E
be rewritten as
(A xor B xor C xor D) xor E?
xor is associative, yes
Can someone help me find equivalencies to the limit definition?
https://stackoverflow.com/a/6110767
I am trying to learn the proof of Floyd algorithm.
(Image taken of the proof given in the above link)
I am unable to understand how the first marked paragraph leads to the conclusion that is the second marked paragraph.
Does it mean that if we move the tortoise only m steps forward, then the hare will be k steps short to the point where they met the first time? That k steps short is actually the beginning of our cycle.
Hey o i have a question about Graph-Theory
@abstract ravine ask
Ok
Who’s good with measurement word problems
@scarlet current intersection of what?
nvm i understood it so i removed the picture hahah
Question: if i have to solve a graph using prims algorithm does that mean all the vertexes need to be connected?
here is my task and solution:
,rotate
Quick question
Is a constant function surjective? I'm asked to prove that one isn't, but doesn't it fit the definition of a surjective function?
solve a graph @abstract ravine ?
but yes, computing a minimum spanning tree of a disconnected graph makes no sense
only connected graphs have minimum spanning trees
No the graph to the right is the original Graph
i was supposed to make a sanning tree from the graph to the right
so my solution is the graph to the left
looks fine
wait
yes?
it doesnt span B
yes
Can i just draw a line from A to B?
yes
@merry heron a constant function may be surjective, it may also not be
it depends on the codomain
So in this case the codomain is the complex numbers except 0
that looks correct, dont forget to add the cost
yes thank you @pale epoch
then a constant function is never surjective
I'm not gonna screenshot it since it's in spanish but I can type it on latex if you want
by definition a constant function only hits a single element in the codomain
so it is surjective iff the codomain only has a single element
ohh right because it's for all elements of the codomain
thanks
isnt the answer for the union wrong?
shouldnt it be all integers not all real numbers?
it is not
Question: Find the next term in 0, 1, 4, 5, 6, 9, 16, 19, 22, 29, 36, 41, 48, ...
that's ... impossible to answer
Nothing turned up on OEIS, I'll try Wolfram now.
,w 0,1,4,5,6,9,16,19,22,29,36,41,48,...
Useless.
The squares of integers are interspersed in this sequence. 
Nahh not even that 25 is missing
it's a variant of this sequence https://oeis.org/A239231, whose formula is floor((n^2+1)/3) for even and floor((n^2+3)/3) for odd (I should add that formula
)
Does this sequence have any particular significance?
the oeis sequence is max number of nonadjacent shaded cells in an nxn grid with unshaded cells connected edgewise
the sequence I'm asking is that but you can draw a loop that goes through all the unshaded cells
like
Damn.
Hey ehmm
so lets say i was given the word "PASS"
and i was given the question ^
the subject here is "Permutation and Combinatrics"
Now, in this case i know there are 12 different ways to write the word "PASS"
since it will be 4!/2! = 12
But i dont get the question fully
im not sure what they want
is there a way to do this without losing your mind?
<@&286206848099549185>
pls help * - *
What do you mean write them down
but dude it says order matters
wtf is order?
what
thats the question
uuuuh
But how will that change anything
PAS1S2
PAS2S1
different words?
ow shit
ye
what if the order doesnt matter
for PASS
would there be less different words?
owwwwwwww wait wait wait
So you are saying
if they ask me to do Ordered
then i dont need to do 4!/2!
if its not supposed to be ordered, then i can just do 4!/2!
5!/3!
ok so long story short im retarded
i cant manage to write the word differently 24 times
yes
Is it possible to write 'the sum from 0 to n' in closed form? I prob can't send the problem here but I've found a formula for the recurrence and there is this sum in the middle, but otherwise it looks fine.
i guess i should say I've found a sort of closed formula but there is a summation
induction
I think I need to prove this with a more combinatorical approach and one with the factorial formula
ohw
oh
induction on n?
ahh okay thx. I'll try induction first
No induction required.
ohw huh
induction worked for me btw but how else would you do it?
besides the combinatorial approach
You could use basic transformations.
huh?
would that be the combinatorial approach
where I have to make a bijection?
because I would also need to do it that way and don't know how to approach it
You can separate k choose 2 into two parts by using Pascal's formula.
you can do it purely algebrically
by doing RHS=1/2(sum from 0 to n, n^2-n)
then use the formulas for sum of first n squares and sum of first n integers
which gets n(n-1)(n+1)/6 which is precisely the LHS
by doing RHS=1/2(sum from 0 to n, n^2-n)
@sick swallow how'd you get this?
n choose 2 =1/2(n(n-1))
From there you just rearrange terms using a few additions and subtractions.
huh n choose 2 is n!/2!(n-2)!
yes which is equivalent to what i said...
oohw millenial, does that work?
oohw yeah kane, sorry I see it now
But how would you do this going from the combinatorial way?
that isnt a combinatorial argument
I mean with bijections and the other definition of n choose k
The last term is cancelled to give 0 and you are left with ((n+1) choose 3).
you took ((n+1) choose 3) out of the sum but should you not also take (n choose 3) out
ahh
okay, yeah. i think the use of pascal's identity there is neat
The last two terms are cancelled to give 0.
The lower limit becomes k=1.
Ooh is that how sums work?
I'm not really that familiar with the properties of those yet
When you expand with k=0, you get (1 choose 3), which is 0.
So, you can sum starting from k=1.
Ooooohhh
right
hah
that's a pretty neat and short way of proving this yeah
thx
that's a pretty neat and short way of proving this yeah
oh @violet kayak i was thinking about a combinatorial approach, tell me if this looks okay:
let's start with the RHS. so we have a line of n people
but we might not be able to consider all of the people in the line. say we can only look at the first k people in the line
out of those k people, we need to choose 2
k can be anything from 0 to n. the number of possible scenarios is counted by the RHS
In total, basic transformations would give you something like this.
This method generalizes beautifully.
(yeah, it's the hockey stick identity, right?)
Yes.
now look at the LHS. we now choose three numbers from 1 to n+1. the highest number of the three will be k+1 (i.e. we cut the line off at the position just before this value)
and the other two numbers will be the indices of the people that we choose from those k people
what is the point in all of those steps in that picture
all u need to say is that is telescopes
which counts exactly the same scenarios as the RHS does.
that is a nice proof
The telescoping is clarified.
tbh it is less clear by doing that
Sup guys I have a question and I’m not sure I’m thinking the way my professor’s questions are phrased?
At first I thought about doing a tree for part a, but if i do that, then for part b, there’s no way I could alter the graph without changing the adjacency matrix
So then my second thought was to try $C_6$
Majez_tic:
which works and for part b I got a non-complete looking bipartite graph. But it doesn’t seem satisfactory enough and I’m not sure if I’m missing something
@lyric pumice Oohw woah, it's very cool how you find such a proof in a combinatorial approach. Thank you , this has definitely helped me thinking about these kind of problems!
@violet kayak I will leave the derivation of Pascal's rule to you.
already did that one as a previous exercise though :p
Good.
nope
imagine you have a set like this
since they are disjoint and all subsets of S, then A, B and C make up a partition of a subset of S
think about what that looks like geometrically
as in, how can you turn "choose a partition of a subset of S" into "choose a partition of S"
@weary tiger There are no special theorems required.
Can someone simplify the epsilon-K definition of a limit for me?
I need to find equivalencies for it.
Huh. Thank you!
would the transitive closure of a transitive relation be the transitive relation?
ok thanks!
if there is a set = {0}
would the power set be {{0},{empty set}} or {{0}, empty set}
the latter
ok thanks!
{0} has two subsets: {} and {0}
oh ok
Need help with a question:
Ɐ x, y ϵ ℝ, Let P be a relationship defined on ℝ such that x P y iff x + y is rational. Determine if P is transitive.
Im not sure if I solved it correctly and I feel like there is a much better way. What I've done is let a, b ϵ ℤ ϶ x + y = a/b
let c, d ϵ ℤ ϶ y + z = c/d
x + z = (a/b) + (c/d) - 2y and I then used a contradiction proof to show that that will end up in a contradiction if y is an irrational number which would imply that the x+z only works for cases where y is strictly rational. What is the correct way/better way to do this?
that won't work DD
Take (√2,-√2) and (-√2,4+√2)
@junior bridge are you looking to prove or disprove?
or rather, are you looking to prove that P is transitive or that P is not transitive?
the question asks me to determine if it is or isnt
yeah but what's your proof aimed at?
it shouldn't be transitive i think
ok
then it's better to give a concrete counterexample
such as, (π, -π) and (-π, 2+π)
0 and 2 are rational but 2+2π certainly isn't
my class didn't really cover proof by counterexample that much, that's it? I just give a counterexample and explain in what way it doesn't work?
proof by counterexample is the bread and butter of shooting down false claims in math lol
counterexamples in general are very abundant in mathematics as a whole and sometimes inventing one can tell you a lot about whatever it is that you're studying
but yes transitivity can be disproved with even a single counterexample
I see, thanks
What is the axiom of choice according to your book?
I proved it from AoC to the given statement... I just have problem in assuming given statement and prove AoC
This is the definition of AoC taught to us
why do you need contradiction for this exactly
are you explicitly made to prove it specifically by contradiction
I am learning contradiction and I was wondering how to prove it that way
i don't think a contradiction proof will be easy here
why we divide by 2? @unreal stump
...to get a itself and not 2a perhaps
anyway, if you insist on contradiction, the case of a, b and c all irrational (one of 7 cases) is... probably gonna be tricky if not outright impossible to handle
Can anybody help me with my question above... About axiom of choice?
Need some help! are the pigeonholes all three sides AB, BC, AND CA and the pigeons are triangle ABC
i havn't come across automorphic group of a graph before, is that just a group of permutations on vertices of H where the permutation is symmetric to H
wasn't sure, looked it up on wiki
So if i switch the top two vertices in this 5 vertex graph with bottom 2, its in the automorphic group however if i switch top left with far right, that wouldn't be?
automorphism group but sure
the automorphism group of a graph G is the set of all isomorphisms G -> G with function composition as group operation
no, it's bigger
the far right vertex has to be fixed, it's two neighbours may be swapped and the remaining two may be swapped as well
Is discrete math easy ?
what's discrete math?
a game
@pallid lintel in this case its easier to look at the dual of this graph...which has far less edges...hence easier to see the symmetries...i hope you can see why automorphism group of a simple graph is isomorohic to the automorphism group of its dual...
it is size 6
Also this graph has something special...there are two vertices of degree 3, two of degree 4 and one vertex of degree two...so any automophism preserves the degrees of vertices...you can also figure it out using this...
So i guess it should have four symmetries... you can switch the degree three vertices or the degree four vertices...the deg 2 vertex will be fixed
that doesnt sound right. why can i switch degree four with degree 3? then the degree 3 one is adjacent to the fixed vertex and it is not an isomorphism
oh nvm think i misread
The dual graph will be • •
•---•---• and this also has four symmetries...interchange the points or flip the line...
or maybe this is a better channel. refresh my memory. What;s the difference between necessary and sufficient?
In this problem: https://math.stackexchange.com/questions/1715246/eight-digit-number-is-formed-using-all-the-digits-1-1-2-2-3-3-4-5
can someone explain why you divide 7! by 2!
like 7!/(2!*2!)
i understand it's supposed to represent each repeating digit
but why does a repeating digit turn into a factorial
in the first explanation of part a someone does that logic
@floral field Yes.
Hey guys, I'm having a real hard time trying to figure out how to solve something that seems so simple
31x ≡ 2 mod 16
Trying to solve for x. Apparently the correct answer is x = 14 mod 16, but I have no idea how to get that, or why.
can someone walk me through a discrete math problem?
i don't really get recurrence relations
so guys
I am in a course called performance analysis of software systems
its a fourth year software engineering math course
Its basically stats
i was wondering if anyone knew any practical examples of dtmc (discrete time markov chain)
They are not only used in software engineering/ computer science applications
they are also used in sports, genetics, population models, economics
you need to find the multiplicative inverse of 31 mod 16 @versed summit
has anyone here done this course? https://ocw.mit.edu/courses/mathematics/18-217-graph-theory-and-additive-combinatorics-fall-2019/index.htm. I got to lecture 4 and could no longer follow because i don't understand the algebra. (i have studied up to elementry rings, polynomial rings, ect. no galois theory yet).
are there any known lower bounds for the cardinality of the union of k sets?
hey! could anyone tell me, what this acutally means? so An ={0,1,...,n} what is A1 or A2?
My friend has the answer for this question is N but i am not sure.
$A_1 = {0, 1}$, $A_2 = {0, 1, 2}$, etc.
Lochverstärker:
you are right to be skeptical.
indeed
for that
intersection
ty
in combinatorial, what does it mean when order doesnt matter and when it does matter?
<@&286206848099549185>
look up the difference between a permutation and combination
that doesnt answer my question
:/
Example: we have 6 people and we need to choose 3 different people to stand in a line
The different number of combinations for the line up would be 6 x 5 x 4 right
yes, but here order might matter
what does it mean order matters
let the 6 people be a, b, c, d, e, f
the first letter is the first in line
2nd letter is second in line, etc.
is a b c the same as a c b in a line?
what do you mean by "same as"
This depends if we consider the position of the student as a factor in the line
For an example of a combination, think of it like selecting a group of 3 students out of 6
There is no order to the students, so we use combinations
If we were to select 3 students to give 1st, 2nd, and 3rd medals to out of 6 students, we have "order", so we use permutations
okk
So
when order doesnt matter, we use combinations
and permutations otherwise
permutation
yes, cause order matters
yep
how about selecting one type of bread and one type of meat for a sandwich
combination
yes
because i can choose meat first or the bread first, doesnt matter

I think it's saying that there's 8 kinds of donuts, and you need to choose 6 donuts total (any mix of kinds).
Can anyone help me start this off? I plan on starting by defining the nonempty closed intervals as subintervals of I_1.
Consider aRb, and R = {}.
Is R reflexive, transitive, symmetric, anti-symmetric?
@neat holly Have you studied nested intervals?
It's 2.5 in Introduction to Real Analysis 4e, the book we use for this class.
have u studied it?
anyone know how to do this pigeonhole problem?
Yeah, we went over it.
I'm sure I can get some of the fundamental things of nested intervals down on this proof, though I don't want to miss important details.
hi
Can anyone help me real quick? 😦
i keep being stuck on the cardinality of intersections
it doesn't make any sense to me and im about to give up but my midterm is tomorrow.
If anyone could help me with this i would greatly appriciate it
It is really confusing since n(A ∪ B) = n(A) + n(B) – n(A ∩ B). However n(A ∩ B) = n(A) + n(B) – n(A ∪ B), but when i am given an example, i only get (A) (B) where the elements are undefined
That's what i don't get at all
but when i am given an example, i only get (A) (B) where the elements are undefined
I don't get what you mean by this
anyhow it's good to e.g. draw a picture to see why n(A ∪ B) = n(A) + n(B) – n(A ∩ B) holds
(when A and B are finite that is)
i am given a set a that says that the cardinality of A is 5 and the cardinality of B is 6
find cardinality A union B
you're right, you can't find n(A ∪ B) without any other information (you sure there isn't any?)
you could get bounds though
as in, n(A ∪ B) must have at least x elements and at most y.
i am positive
the professor didn't give anything
he just said that we need to add - a intersection of B
which we can't since we don't no A union B
makes absolutely no sense
yeah lol
guess you could just rewrite n(A ∪ B) = n(A) + n(B) – n(A ∩ B)
except you replace n(A) and n(B) by their respective values
that's as far as you can get for an equality
i guess that's all i can do
you could get bounds though
since you aren't expected to do this presumably (though it's still a good exercise)
but if he gives the value of a union b i will know what to do
and also one more thing, n(A ∪ B) = n(A) + n(B) – n(A ∩ B) is also used to find the total numbers of possible ways to perform a given amount of task but without repetitions right?
or do i use the formula of n(A ∩ B) instead?
and also one more thing, n(A ∪ B) = n(A) + n(B) – n(A ∩ B) is also used to find the total numbers of possible ways to perform a given amount of task but without repetitions right?
if you see A and B as sets of possible tasks then yes
got it thank you
wait
so this is what im supposed to do if i am not given the union's cardinality?
wouldn't that result in a 0 as a result?
no, unless |A|=|B|=0
gotcha
can someone explain how to prove this?
i honestly have no idea how to do this at all
You could just write the expansion of 7^n-1
nevermind, i figured it out. i was not thinking in the right way for this.
may i suggest factoring x^2 - 7x + 12?
right
you might find it easier to think about once you do that
weird, i thought u solve these with the combinations/permutations thing
oh nvm
thats for finding out the number of solutions
these = ?
are there many variations of the pigeonhole principle? Only one's i've found so far is infinite pigeonhole principle. (jam infinite balls into a draw if finite draws and infinite balls). and strong pigeonhole.
just wondering, because so many proofs in math come from pigeonhole
@pallid lintel I know of Generalised Pigeonhole principle
Specialized Pigeonhole Principle
most famously the Jacobin Pigeonhole Principle
and the Homing Pigeonhole Principle
and the English Carrier Pigeonhole Principle
You forgot german nun pigeon principle
Is there a mathematical formula to solve this problem ?
If I have a triangle of point N*N, how many path are there to go from the point at the very top left to the point at the bottom right.
The only condition is I have only two movements possibilities...
I can go down ⬇️ or go right ➡️
+ <----- Start
+ +
+ + +
+ + + + <----- End
so ur talking about a right-angle triangle, of height and base N.
u can probably make a decision tree and see a few results and find a general formula
Ok, but is there a general formula made on the past, or Something like that ?
generally, u can find a general formula, then find out someone made it in the past
Okay, i m going to check that
like, do induction
Ok, but what is induction ?
the thing i xplained, u do the first few results
then assume the same pattern applies for the rest
Ok, but in this case, we must assume something
yea, u see the pattern
Ok
and u "assume" it applies for the rest
Ok
Functions?
u just gotta convert it to a regular expression
@weary tiger yeah
@weary tiger you know how to do it?
Oh if anyone else know it, then please solve it
if u just wanna "solve it", u can use an online fsa to regex converter if u only want the answer
does anyone know how to approach this pigeonhole problem?
The problem?
I was thinking of making the 12 positions the pigeons and the 30 sums they can make up the holes
but that doesnt work
Is it meant to be solved by pigeon hole or are you assuming that
it is meant to be solved with pigeonhole
Simple
If you have a palindrome you slap on the same number on both ends and you have another one
But of length 2 more
And you could either do both 0’s or both 1’s
but how is the answer d
Because of what I said
No
is it possible that my question is unprovable by pigeonhole?
what confuses you
just take an element of the set, lets say start with 5
and check if 5S5
then if 5S6
and so on
5S5 = 1/2
Ah ok then it is false
why?
Because (5-5)/2
what is that supposed to mean?
it's hard to help if i don't understand you
anyways, "x | y" stands for "x divides y"
you should look it up in your book/script
also look up the definition of what a relation is while you are at it
I thought that 2|(x-y) would mean X times unknown(c) = (X -y)
it means 2 divides x-y
you have to find out if x-y is divisible by 2
for all pairs (x, y) with x, y in A
but first you should study
Ok got it. Thatnks for trying to help
Can i also ask help for anyother concept or nah?
Sure
Thank you. This one is also a but tricky for me. How can i prove algebraically that (n r) = ( n n - r)
God?
What?
Sorry,you meant nCr,my bad
gcd = God proven
for interers n and r where 0 inferior equal r inferior equal n
Just expand both expressions
how did you define $\binom{n}{r}$
What is that?
did the bot die
Lochverstärker:
it's the (n r) thing in your pic
It's dead all the time
there it goes
Why do bots die?
Hold on im writting it down to show you since idk how to use the bot
ye, that's fine
but then it's probably defined by $\frac{n!}{r!(n-r)!}$
come on bot, you can do it
Lochverstärker:
I suppose that’s what you mean
Didn’t you wanted the formula? Im confused
i wanted to know what $\binom{n}{r}$ means
as there are multiple ways to define it
you don't need any fancy formula to answer this question
Lochverstärker:
but like, that is the first thing you should ask yourself when reading this question: what is $\binom{n}{r}$ maybe try some example like $\binom{5}{3}$
and your picture does not answer how i would actually compute \binom{5}{3}
Lochverstärker:
I think it’s used to find the number of ways to find all the r elemts that can be selected from a set of n itens
?
something like that, yes
it's the number of subsets with cardinality r in a set of n elements
but you should check if you defined it that way, or if you instead defined $\binom{n}{r} = \frac{n!}{r!(n-r)!}$
or if that is a theorem that you did
because you should use the latter to prove that
Lochverstärker:
But how does that relate to making it equal to ( n n -r)?
you do the same thing to that
you get two fractions that you can algebraically manipulate
until you see that they are equal
Alright
Anyone know how to solve a single degree recurrence relation?
Ok well specifically could you help me solve an=an−1+n with initial term a0=4
hey everyone quick question relating to graph theory: does every graph contain a matching?
yes
so the empty set is a valid matching?
yes
so with that can i also assume that every graph has a maximal and maximum matching?
yeah, not necessarily unique
great, thank you!
For every graph G without perfect matching and every vertex v of G there is a
maximum matching M of G such that v is M-unsaturated.
can i prove this just by using the definition of perfect matching?
what is M-unsaturation?
there is no edge in the matching M that is incident to v
i think this is untrue. say you had a graph that was a star, with one vertex as a hub
like simply a line with three vertices
every maximum matching will have the center vertex
(and this is not a perfect matching)
does anyone know how to do this
the way I started is to rearrange and I got
$4x^2-4x+1\geq0$
The "Great" King:
which I could then convert to
might be a bit unrelated, this is boolean algebra, but any idea how they got from x + x'y to (x + x')(x + y) ?
$(2x-1)^2\geq0$
Uh @safe scroll , I don't think this question is suited to this channel. Consider asking in #precalculus or #prealg-and-algebra , or any unoccupied question channel.
The "Great" King:
Oh, alright, I just thought the nature of this problem is better suited to those channels.
well for smaller and smaller x values it gets bigger and bigger than four @safe scroll
right but how do I prove that if x is between 0 and 1 then that other term is greater than 4
because if x <0 or x>1 then the answer is <4
you found that at x=1/2 its equal to 4. going below that x value but not equal to 0 gives you a greater value than 4
is there a better channel for my question?
oh crap I should probably ask in the computer science server, sorry everyone.
that just looks like calculus @fast temple
ight
it's math but I think more people would be able to help there
and @earnest sedge they distributed
it's from my digital design textbook
since I assume + is AND and multiplication is OR
so x AND (!x OR y) = (x AND !x) or (x AND y)
also @bitter moss I get x > 1/2
you are right
but how does that imply that 0<x<1
well at x=1 we get 0 in the denominator and thats a no no
What do we do if:
- order matters and there's no repetition
- order doesn't matter and there's no repetition
- order matters and there's repetition (order of repetition doesn't matter)
- order doesn't matter and there's repetition (order of repetition doesn't matter)
- order matters and there's repetition (order of repetition matters)
- order doesn't matter and there's repetition (order of repetition matters)
I just started permutations and combinations so I want to know about all the possible states (?)
Combinatorics is discrete math right?
Permutations
Order matters and repetition is Allowed is n^r
Order matters and repetition not allowed is
n!/(n-r)!
Combinations
Order doesn't matter and repetition not allowed
n!/(r!(n-r)!)
And combination with repetition
(r+n-1)!/(r!(n-1)!
That last one is he one I never know how to use. But is this what you're meaning?
Could someone help me out on part D please
so we need to select 6 from a possible set of 8 donuts
im aware that 8 different choices will net me atleast two varieties
im thinking it should be 330 + 8 :/
@karmic nymph I think the right way to do this is
how many ways are there total
now how many of those ways are there not 2 varieties
well that is when they are all the same variety
there are 8 possible ways
8^6
-8
262136
wot
?
i dont think theres 8^6 different ways
yes
sure
ok wait
@karmic nymph I think the way to do it is
6+8-1 choose 6
which is 1716
-8
would be
1708
well 1716 are the total number of bags right
all but 8 of them have 2 types
there are 8 bags of donuts
ok i see
where all 6 of them are the same
What does this mean?
@unique herald It means that the values of x are discrete, they take values 0,1,2,3,4,... instead of any real number.

