#discrete-math
1 messages · Page 172 of 1
my book has 2 practice problems a section its almost as if youtube is better
At this stage, nothing really substitutes for proper practice.
You gotta get book and problems, and grind.

Say that again bitch

Idk what that means
like
a = {1,2,3}
b = {1,2,3}
would it be safe to assume that
there are 3x3 equivalence classes
so 9
For what relation? Or a relation on what?
on a relation a + b = c + d for (a, b) R (c, d)
Oh, no.
:(
:(((((((((((((((((((((((((((((((((((((((((
:(((((((((((((((((((((((((((((((((((((((
a x b has 9 elements. But not all of the elements have their own equivalence class.
Each equivalence class has multiple elements
It has at most 9 equivalence classes
But if every equivalence class has 3 elements, then there will be only 3 equivalence classes.
of equivalence classes * elements in equivalence class = 9
no time for besties
i send when i find one okay bestie
okaye
could someone help me understand this non-linear reccurence relations problem?
the only similar problem on math exchange I found was this: https://mathematica.stackexchange.com/questions/197464/find-a-stable-3-cycle-of-the-sine-map/197467
and I kinda understand how cycles work etc and where to find it, but I don't know how to prove it in mathematica
Can someone help me understand how the second expression was derived from the first?
Nvm solved it using the convolution theorem
could someone tell me what the dot between the X and Y represents?
This is absurd, but I'm guessing it is some kind of composition, treating X and Y as functions.
Manan.
This is still a guess though, you should ask for clarification @fading spear .
thanks a lot... so kind of like f dot g in that convention sense, as in f(g(x))
nice name btw
can someone help me with this question? I have no idea how to start it
it seems like something to do with planar graphs having at most 3n-6 edges
but i dont see how it relates to forests
|V| - |E|
i think so
seems like weird notation but anyway
forests have less edges than a tree on the same number of vertices
trees have (n-1) edges
so G has <= 2(n-1) edges
ok so i calculate the amount of edges 2 trees could have
which is under 3n-6
yeh exactly
ayt thanks !
hey quick question for a relation to have property p (symmetric, transative, reflective, antisemmetric, etc) does each edge need to satisfy the condition.
an example if i have R={(1,1),(1,2),(1,4),(2,1),(2,2),(3,3),(4,4)} would this be symmetric?
or maybe to rephrase, would each node need to satisfy the given requirement for the relation to have property p
does this break transitivity?
@quick folio bestie i have question for u ❤️ ^^
no right
it works right :/
hello
bestie
yes this breaks transitivity
it does? :(
does there need to be
B to A
SIGH
wait why does b to b have to be a thing
and i guess the proof of it being not transitive would be smt like
wait why is that not transitive
transitive is
aRb and bRc implies aRc right
so we have ARA and ARB here
so isnt ARB enough for transitivity?
Can someone simplify what the sentence "work backwards from the sequence of constant differences" means in my textbook? I'm stumped on this part:
It's just throwing me off and I can't seem to find formulas because I don't get that part.
Sorry if that is a dumb question.
Oh wait, ignore me. I think i figured it out - sorry.
hi! this is my first question here (im sorry if my english is not the best), im helping a guy with a discret maths (but im really never do discret maths to computer science or logic exercises) so, the problem is:
found the set of the triples (a,b,c) that c is the remainder of $a= b\lfloor a/b \rfloor +c$
Krayom
hey my prof kinda went over this quicky but he siad these are the strongly connected components of the graph
but why??? lmaoo
i get the first part BCD but how are A and E strongly connected.
Do you know what a strongly connected component is?
You have to be able to get from each vertex in a component to every other vertex in the component.
Consider E. The only vertex that you can reach from E is A, but you can't get from A back to E. So E is its own component.
Consider A. You cannot get from A to any other vertex. So A is its own component.
Consider B,C,D. You can get from any of them to any of the others. And although you can also go to A or E, you cannot go from A or E to one of B C or D. So B C and D is a component
@kind geode
ohh ok so if a node has a single path to another node, but no reverse path, then the node itself is a strongly connected component. its just the definition is "if theres a path from a - b then theres a path from b -a" but in my mind, if A ISN'T able to get to and from another vertex, then why is it a component yk, but if the former statement is true then ill understand completely haha sorry
just the definition confuses me as it implies there needs to be two nodes, or at least i thought
Is there a typo?
I think it's missing a (-1)^n before the binomial coef in the sum but I'm not sure
I think it's correct.
for k=1 it's correct, and then it's products of positive coefs, so they stay positive
Yup I got confused with the binomial coef for negative exponents
hi, i need help with this question, more specifically, is R transitive?
i've figured out the rest using a number line
i've only gotten this far listing out the transitive property and got stuck trying to prove it on a number line
take x=4,y=5,z=9 xRy and yRz is true but xRz is not true
thanks bud!
nvm 
Set $a_{n} = b_{n} + \alpha \times n$
To get a homogenous linear recursion of order 1 in b_n
Laïka
If I had a recurrence like the following
$a_{n} = 2a_{n-1} + 2\cdot4^{n}$ for $n > 0$ and $a_{0} = 11$ would you change anything?
because the non-homogeneous terms more looks like ab^x instead of c^x
term*
@weary tiger
yea
Chad
because I tried $2^{2n + 1}$ but I get stuck
Chad
So basically
In this case doing a substitution would get you stuck
The right way to go would be by solving the associated homogenous recurrence separately
? welp I already tried to solve the homogeneous one
This is correct
Because the characteristic root is 2
You now have to find the particular solution
F(n) = 2x4^n
4 is not a root so the particular solution is of the form cx4^n
Whats the qtn
$a_{n} = 2a{n-1} + 2\cdot4^{n}$ for $n > 0$ and $a_{0} = 11$
Chad
I already solved an example once with exponent by the use of substitution but apparently I can't use substitution for this one so idk what to do
maybe just turning everything in log
$a_{n} = 2_a{n-1} + 2\cdot4^{n}$ for $n > 0$ and $a_{0} = 11$
Chad
just have no idea about how to handle that 
Meliodas
oh
hmm
can you explain what happened here
i think i get the left side ok
let me think a bit hmmm
\frac{2(4^n)}{c\cdot4^{n}\cdot4^{n}} ?
$\frac{2(4^n)}{c\cdot4^{n}\cdot4^{n}}$
Chad
oh it's a division 4^n ok
i thought that some magic happened
ok makes sense
thanks
hello my brain is expanding
so would strong induction only be used for like recursion proof questions
like im struggling to see how it would be used for something like this
when only 1 base case is needed
<@&286206848099549185>
you don't need strong induction here.
i need a short summary of how the answer of this question is 14 https://images-ext-2.discordapp.net/external/eLH0Po7Gabe9hVliekPv8pgOCSJemfQNZ8u7QfMqYzk/https/i.gyazo.com/thumb/1200/9fef529d54a3afb6413529b3cbacebb9-png.jpg
that is not discrete math
@quaint star
sorry 😓
Show me the definition you are talking about
its uh here
.
I don't understand what's being defined there
Can you send me a picture of the defn from your notes or book?
This does not imply there needs to be two nodes
It says IF there are two nodes in the graph THEN there needs to be a path from the one to the other and vice versa
ohhh so if theres only 1 then its just stongly connected if its within the graph
Yes, a directed with 1 node is always strongly connected
But when you are talking about strongly connected components, you want to choose the biggest possible strongly connected subgraphs.
ahhh okok i see now thank you so much
Np
@neon frost read the definition of k-colour critical
G-v is a subgraph hence it's chromatic number is less than k hence it has a k-1 colouring
can someone please help me with these, i have a hard time with proving injectivity and surjectivity
like i know and understand the formal definitions i just have a hard time applying them to actual proofs
which one
any of them, understanding one can probably help with the rest
need help going through this
already lost at the first, what is lm(f)
ik what im r is but is it same with im(f)?
sure, look at problem a, with surjectivity to start off @mint bane
what does this mean, in words
the image of the function
would that be xmod 7?
surjectivity is tryna show that $$\forall a \in \mathbb{Z}, f(x) = a$$
nitezba
only x=7?
this is wrong
in the reals, my b
what is 2 mod 7
that the range is equal to the codomain
yes, so what are all possible values
for all a in R, there exists an x st f(x)=a. is this true?
intuition says yes...?
{1,2,3,4,5,6,8} but not {0,7}
does -1 get reached? @mint bane
you sure?
yup
well 0 and 8 would be 0 won't it?
so this answers both injectivity and surjectivity for you
ohhhh and to prove that those are false a counterexample will probably suffice
sure
wait but 0 mod 7= 0 and 8 mod 7 = 1
oh sorry, forgot you were mod 7
wasn't it saying like set N
yes
alright well how about one that is surjective and/or injective
appreciate you helping two people at once btw <3
i dont think b) is injective
why not
how would i find if f is onto or not, i tried to do y=xmod7 and try to solve if x=N but i'm not sure how it will go
or what will mod= to
mod7 gives the remainder when divided by 7
and what will mod turn to if it move to y
would it be y/7?
because if y/7 it will be xR(smthing) where R is remainder
X= {1,2,3,4,5,6,8} this is the elements rite
this one is wrong
Is the complete graph K_3 a cayley graph?
According to Sabidussi's theorem, a graph is a Cayley graph if its automorphism group acts simply transitive on G. I know K_3 is vertex-transitive, but how can I tell if it's free?
b) is it surjective ? No not all of codomain is used up
c) 1-1 ? no because a lot of N can point to X if it helps
d) No because f-1 is not bijective
i thought 1 mod 7= 1 and that 8 mod 7 = 1
the whole thing or just the element 8?
was this @ me?
1 / 7 = 0.142857
0 x 7 = 0
1 - 0 = 1
isn't this the mod for 1 mod 7
and won't this be
8 / 7 = 1.142857
1 x 7 = 7
8 - 7 = 1
also i didnt think b was injective bc (-1,1) will give the same output as (1,-1)
wait but 0 mod 7 is 0 and 0 is not a natural number
yes but mod 7s equivalent classes are 0-7
and ur partitioning them into 0-7
not 0-8
ur right that u can take a mod of a number from N
but the partitions are different here
and also
0 is a natural number in discrete
😳
thats how my course is structured at least
ye i heard different course have different natural number cuz my professor doesn't include 0 in it as he specifically stated "Zero is not in it(Natural number)"
"Let f be the function from the set ℕ into the set
X = {0,1,2,3,4,5,6,7,8}"
yes
set N and isn't N natural number?
yes
what is 7 mod 7
0
well the thing is you said 0 is not in my image
but 0 mod 7 is 0
same like 7 isn't it?
so won't it be excluded?
i said
it isnt in the image that you gave
but it is
in the actual image
meaning you were wrong
yes
what
how would i find onto?
you can just explicitly give examples in this case
ex: if it was y=3+x
y-3=x
then i can solve onto, but what about mod?
weve already done like 4 of them
wait we have??
@errant bear 👉 👈
In graph theory, the definition of regular graph is a graph that is vertex-transitive and free, but I also saw a definition that says a graph is regular if each of its vertices have the same number of neighbors. Are these the same?
Use distributive on the first side
this expression is ambiguous as-is
100% quicker kekg
do you mean [P V (Q Λ ¬P)] V (¬Q Λ P) or ([P V (Q Λ ¬P)] V ¬Q) Λ P
in any case, a quick way to do it may be to use k-maps
do you have to use boolean algebra laws to do this
yeah
No
No that both ( ) have one letter in common
And the $\vee \wedge$ are also in the format
Mns98
ohh right
they said the final asnwer would be P v Q
but i dont know how they reach to it
You got it?
What
$P \vee \neg Q$ or $P \vee Q$?
Mns98
This is the format?
$P \vee \neg Q$
elxn
this onee
Mns98
Therefore the question needs to be $[P \vee (Q \wedge \neg P)] \vee \neg Q \wedge P$
Mns98
Well the result is true
I mean $P \vee \neg Q$ is the right one
Mns98
okaayy
Would it be better to argue that this graph is not bipartite by saying that it has an odd cycle (coloured in red)?
I was thinking about doing a colouring of the vertices and say that we'd necessarily end up with monochromatic edges
better than what
But my concern is that graph colouring is misleading
Unless we prove that the colouring is "forced"
oh, i mean... if your teacher allows you to use the bipartite-iff-2-colorable theorem then that's ok
bipartite iff no odd cycles is also ok
But doesn't that require more explanation? If you didn't find a 2 colouring then there are chances you've done it the wrong way and a 2-colouring might exist. So if you want to justify a graph isn't bipartite by simply colouring the vertices in some way and showing that you end up with monochromatic edges isn't enough. You really have to try all possibilities or show the colouring is forced (doing a BFS colouring)
for a 2-coloring if a vertex is red then all its neighbors have to be blue
I have a question regarding 2-regular graphs, if anyone is keen on helping me understand this. As far as tours are concerned, we can always find an Euler Tour in a connected graph that has all vertices of even degree. Such proof goes by finding consecutive tours until covering all edges of the graph exactly once and then joining them to get an Euler tour. This procedure uses the Tour Lemma which assures the existence of a tour in a graph that has all vertices of even degree and at least one vertex of degree bigger than zero. Now in 2-regular graph, all vertices have degree 2>0, so a tour exists (by the Tour Lemma). I want to be able to say that we can cover all edges of a 2 regular graph with edge-disjoint tours without necessarily using the connectivity argument.
are 2-regular graphs necessarily connected tho
just take two disjoint cycles of any length
make that a graph
Is it because we can apply the tour lemma to every vertex of the 2-regular graph ? (every vertex has necessarily degree bigger than 0)
Ok! The definition wikipedia gives has some additional property for a regular graph to be connected
then a 2-regular graph is just a cycle
Ann ur actually so mathematically gifted 😮
I agree
gifted ≠ experienced...
😳 OK BOTH
So yeah I just wanted to make sure that we can apply the tour lemma repeatedly on a given graph and get a collection of edge-disjoint tours (that we don't necessarily have to join into an euler tour, this happens tho if the graph is connected) but such that they cover all the edges of the graph. In the case of 2-regular graph we can do that because every vertex has degree >0. Having done that, we can infer that every 2 regular graph is a collection of disjoint cycles.
Does 9 choose 2 include doubles? so if I have 9 types of things to be selected by two people - both being able to select the same type of item - is that included in the answer?
So say I have A, B, C, D and want to select two.. so is 4 choose 2 AB, AC, AD, BC, BD, CD or is it AA, BB, CC, DD, AB, AC, AD, ... ?
no, nCk does not count doubles
9 choose 2 is the number of subsets of size 2 of a set of size 9 so no
THank you
hi! i followed almost all of this calculation until the stage here
i'm not sure why it is n-1 on the bottom
i can send the full question if you want context
hi
what would be the remainder/quotient of -37 is divided by 16?
do you do 16*-3 + (48-37), so the quotient is -3 and r = 11?
or is it 0 and 19?
or is it -2 and -5?
i thinking the first, but i'm not sure
yeah you're right i think- i.e. the first
you just want to rewrite your number -37 as -37=q*16+r where q and r are integers
okok, ty
<@&286206848099549185>
the product is n·(n+1)···(n+k-1), which is (n+k-1)!/(n-1)!, and together with the k! in front you get the binomial
perfect, tysm!
:)
How should I go about doing this?
tbh it's stupid to do it by induction, you can prove something more general, in a simpler way without it
but should be straightforward, have you ever done induction before?
(note to self don't call things stupid again, it sounds pretentious, people have different opinions)
hey any chance someone could help me with this?
oh, I just get these questions from my discrete class textbook so I expected it'd have relevancy here too
oh you expected
I'm not sure what you mean by how did I define it, we have a summation from 1 to infinity of the probability that X(s) >=k?
I'm not sure if I'm reading the question right though! Any clarifications would be helpful to get started on this one
they want you to show that E(X) is equal to that thing
so they must have defined E(X) before
So you have that $\mathbb{E}[X]=\sum_x x\mathbb{P}(X=x)$ so in this case $\mathbb{E}[X]=\sum_{x=1}^\infty x\mathbb{P}(X=x)$
same
Can you show that $\sum_{k=1}^\infty P(X \geq k) = \sum_{k=1}^\infty kP(X=k)$
same
I’m in discrete math still but isn’t it 4! x 3! x 6!
why are you using conditional probability
The question asks you to count all possible arrangements of fruits, why do you use probabilities at all?
hi, i have a bonus problem on my hw i'm struggling to get around:
Let the sets $A_1,A_2,\ldots,A_m$ partition the set ${1,2,\ldots,mn}$, with $|A_i|=n$ for all $i$. Let $B_1,B_2,\ldots,B_m$ also partition ${1,2,\ldots,mn}$, with $|B_i|=n$ for all $i$. Prove that there is some permutation $j_1,j_2,\ldots,j_m$ of $1,2,\ldots,m$ for which no intersection $A_i\cap B_{j_i}$, with $1\leq i\leq m$, is empty.
Snodlop
i have the idea to create a bipartite graph with the sets A and B on either side of the partition, and as of right now i'm drawing an edge between A_i and B_j if their intersection is not empty (so each vertex is degree n)
i know that an n-regular bipartite graph has a perfect matching, and i'm sure that applies to this problem since this has been what we've been learning about thus far, but i'm not sure how to apply it to this problem or where to go from here
any help would be appreciated, thank you!
<@&286206848099549185>
never mind, i think i was able to work it out to the best of my ability
can someone help me out with this. I know its pigeonhole but idk how to do it
coul you partition the initial set such that you have n odd terms first and n even terms next
if u take n terms from either partition ur bound 2 get 2 from the even
@frigid abyss where is this from
hey quick qeustion
for euler circuts
a circuit will have a euler circuit iff it has verticeis of even degree but is this for all vertices?
what tb do u use
im still confused lol. could u use an example
well i kinda see what youre saying. like if n=5, then we get 1,3,5,7,9,2,4,6,8,10. and if we chose 7 numbers then two would have to be next to each other.
would would the number of pigeonholes be in this case when n=5 tho
Im pretty sure for the Hamilton circuit one, if you can make a line touching all vertex ones, and returning back to the starting point it is one.
ok, so I have what I consider to be a very hard question and am not sure where to post it. But I would reeally like some help figuring it out. This seems like the closest place i can think of. I also dont know the exact language but here goes
You are given a set of points which must be fully linked.
Each point is given a random set of possible directions from which they may link expressed as a set x = {up, down, left, right} in which 1 means a connection is able to be made, and 0 means no connections can be made.
For example, if given the set of points A = {1,0,0,0}, B = {0,0,1,1}, C = {0,1,1,0}
Point A would not be able to form a link to Point B, but it would be able to form a link to Point C.
Likewise Point B would be able to form a link with Point C, but only from Point B’s right side to Point C’s left side.
Every set of points will contain a starting point and at least 1 point E = {0,1,0,0} which cannot be linked to the starting point.
The starting point of any given set of points will always have a 0 in the down space. {x,0,x,x}
No points may consist of {0,0,0,0} and no two connecting points may fully terminate.
The list of points may contain duplicates, and can consist of any number of points and no two points may share the same connection.
Connections between points may not intersect, and all consist of the same length
With these rules in mind, what constraints would any given set of points require to ensure that the list can be fully linked, and are there any set of constraints which would ensure that the list can be fully linked even if the two points being linked are chosen arbitrarily from the initial set of points?
image for clarification
if you think there is a better place for this question, please let me know
@dawn robin still there? tag me if you are.
I don't quite understand
wait, shit. It formatted wrongly
|U| is not given
So, Should be can't say
can you show the whole problem?
What I have shown you is all I am presented with...
@obtuse minnow srry, kinda knocked out just before you messaged. Question still unsolved though :D
This is correct.
okay thank you!
I have to answer whether these are true or false
I got True, False, False, True
Can someone verify if thats correct?
g-j?
can you @ me if you do end up helping me please.
do you know what functionally complete means?
It’s just set notation, you have the source and sink set
So all those nodes are on one side of the cut, and the rest on the others
So try to draw your cut on the diagram so that it does divide it into those two sets
im not sure
Why are you trying to answer questions before knowing what they mean?
Is it appropriate to use the "is an element of" symbol when assigning variables their definitions at the beginning of a proof, or is there a separate "let (var) be an element of (set)" symbol?
Let (var) $\in$ (set) is ok
Carla_
Perfect thank you so much
My book just used this but i ve never seen it before, anybody knows where i can read about it??
and @dreamy solar sorry i sent my message right after yours. i can try to help
so. consider only age now
if there are at least 5 people, at least 2 will have the same age, right?
and if there are 9 people, then at least 3 will have the same age! which is what you want
but there's colors too
for example, with 9 people, 3 of them will have the same age, but they could still all be wearing different colors
try to work from that?
Gotcha
would the right answer be 49?
because there are 16 possibile combinations of colored shirts and ages
and then 3 students have to have the same so we do 16 * 3
+1
would that be right?
I GENUINELY DONT KNOW
Im trying to draw it
I was thinking maybe 33
Im trying to imagine a worst case scenario where they're all different?
And im waiting for a moment where if i add a student, then three will necessarily all match
Im Positive it's 33 because, as you said, there are 16 different combinations, so if you do 16*2 +1, then at least 3 have to match
2^(2^5), yes
ah
wait but its not asking how many different right
is this a trick question
if it was different wouldnt it be 2^32
reposing this as I am still seeking help on it. I have made some minor progress and added some clarifications to the question, but am still working on finding the less obvious restraints.
As always if this belongs somewhere else let me know.
Instead of fully re-posting I will simply be using a reply to link to this message unless major changes need to be made to the description from here on.
The Rules
You are given a set of points which must be connected by edges in such a way that there exists a path from the given starting point, to every other point in the set.
Each point is given a random set with four elements such that we'll call its first member up, second down, third left, fourth left, such that all its elements are either 0 or 1
Edges may only be formed between two points where both the exit and entering side of the 2 points are 1.
For example, if given the set Points = {A, B, C} where A = {1,0,0,0}, B = {0,0,1,1}, C = {0,1,1,0}
Point A would not be able to form a link to Point B, but it would be able to form a link to Point C.
Likewise Point B would be able to form a link with Point C, but only from Point B’s right side to Point C’s left side.
Every set of points will contain a starting point and a point E such that E = {0,1,0,0} which cannot be linked to the starting point.
The starting point of any given set of points will always have a 0 in the down element. {x,0,x,x}
No points may consist of {0,0,0,0}
The list of points may contain duplicates, and can consist of any number of points.
Connections between points may not intersect, and all consist of the same length
Finally, no two edges may connect to the same point by way of the same element.
For example, If given the set Points = {A,B,C} where A = {1,0,0,0}, B = {1,01,0}, C = {0,1,0,1}
Both, A and B could not connect to Point C through an edge from C's down element to both A and B's up elements. However, if A and C form an edge through C's down element to A's up element, B may still form an edge from its left element to C's right element.
With these rules in mind, what restraints would any given set of points require to ensure that there exists a path from the given starting point, to every other point in the set, and are there any set of constraints which would ensure that such a path will always be made; even if the two points being linked are chosen arbitrarily from the initial set of points?
The attached image is for a bit of clarification on some parts that I didn't quite know how to word.
I have worked out at least two restraints so far.
1: The number of Points must be greater than 2.
My thinking - In order for there to be only 2 points in the set it would have to consist of only the start and end points which cannot connect to each other. For any less than that a rule would have to be broken.
2:The total number of possible connections between any two points must be greater than 2
My thinking - 2 is the lowest possible total number of connections between 2 points in which an edge can be formed. However this would always result in a separation from the path as no edges can be formed back to the path.
Can someone check my work and see if its correct?
Hello, can someone help me with this question.
There's a bag of 10 cards. There are 5 cards of type A, 3 cards of type B, 2 cards of type C. How many different orderings are there if you pull all 10 cards from the bag?
Orderings in the sense, number of ways??
I think so?
The answer is 2520
10 ! / 5! * 3! * 2!
You are asking??
Seems right to me
Oh this is the sense
Its like this will give the number of ways when no repetition
Ig
hey, I'm trying to show that $11^(n+1) + 12^(2*n-1)$ is divisible by 133
the case n = 1 works, but unless I fucking it up somwhere, n = 2 gives me 1475, which isnt divisible by 133
,w (11^3+12^5)/133
So yeah, it breaks down.
@gritty crescent ups I fucked up its 2*n-1 not n+1
Oh
but still doesnt work
Hmmm?
@quick folio Numbering questions with greek letters. Hmmm
Why do you think it's just {5}? It's written like this btw
because if u input both into the function
your image is {5}
?
oh idk why i put it like that
Okay, but what about the points in between
wait
🤦♂️
alright
i was thinking
that was a type setting thing
[-2,5] is actually the interval
OOP
ty ty
Np
so in this graph
to prove that its non planar
using kuratowskis theorem
we could knock out edge cf
and have that c remaining
the solutions were saying that c is "absorbed" into bd
is that legal??
i thought u could either a) remove edges
b) remove vertices, if that happens all edges incident to it are removed too
so if we knocked out c bc and bc edge will be gone too
also out of curiosity
when does e <= 3v-6 or eulers fail for planarity for graphs
Given a class of a function,
$$f(x) = f[\alpha (x)]:::::::::::::(A)$$
A particular solution to this is-
$$f(x) = f\left(\frac{x}{x-1}\right):::::::::(B)$$
where the a general solution for equation (A) with $\alpha (x)$ as an involution is given by -
$$f(x) = \tau[x, \alpha(x)]:::::::::::::::(C)$$
I am tasked with expressing the following solution of (A) in the form of the equation (C)
$$f(x) = \cos \log(x -1)$$
xi64
an involution is a function which spits out the given variable after recursive operations
is this pretty much guess work or is there is something to it ?
oh and the involution is defined to be symmetric
this kind of problem seems familiar but i don't understand how you phrased it
i used the exact terminology used in the book, i am not sure if those terms are used globally. In case something isn't clear i can try answering it.
the question is posed in a paragraph so i didn't bother uploading the full texxt, if you say so i can upload the few pages
@weary tiger
you want to find all \alpha such that it solves f(x) = f(\alpha(x))?
i want to find <a function named tau> such that if i give it some other function alpha(x) and x , it gives out "x" whatever it maybe . Here the alpha(x) or x can be the cos log(x - 1) function
xi64
where
it is actually $\phi^{-1}(\phi[\tau(x,\alpha(x))])$
at least that is how i am making sense of the problem
xi64
I have this equation: 4x = 10x mod 27, what do I do with the x on the right side?
Rewrite that as 6x=0 mod 27
Which is same as saying 3x=0 mod 27 (since 2 is coprime with 27)
can you explain what you did there
Subtract 4x on both sides
so you ended with 0 = 6x mod 27 and then passed the 6x to the other side
Yes
alright, thank you
bad latex
there are dedicated ways to label equations in latex without resorting to this shit with dozens of backslash-colons
ok and 
Could someone check my work and see if its correct?
mostly part b and c, cuz i think i did a correctly
I don't recall what dual is but I believe so after researching that
okay thanks!
yeah i figured, but figuring out numbering as latex excahnge said wasn't usable here. Mind showing how to do it ?
(plus the main point was the question , you see. LaTeX is auxillary, any help with that? )
the question itself is worded too poorly to comment
exactly as written?
i wrote a paraphrased version
yeah i can upload the pages
your paraphrase is likely what's making it bad
no the paraphrase is a separate line, not in the latex
the latex one is not paraphrased
here is the paraphrased one
can you send the picture from the book
Where to learn discrete mathematics !?
knuth's book is a good start i presume
Any YouTube channel that you recommend ?!
so your latex thing is NOT an exact copy of the book, xi64...
so you want to express cos(log(x-1)) as tau(x, alpha(x))
yeah.....
where alpha is an involution on (1,+infty)
also , since it says that the tau function is symmetric does that imply that it has to be positive ?
no
i think i got it. take alpha(x) = x/(x-1).
then your thing is cos(log(x) - log(alpha(x))
so tau(u,v) = cos(log(u)-log(v))
??
dn't think so,no
could someone give me some pointers for b
what i am thinking since the cardinality of S is 91, we will have 91 (i,j) pairs. if we divide them into 45 partitions we have at least 3 such that they have same modular residue
is that good>
Ye,should work
Hi can someone explain to me why I got this question wrong
Here is my working
[a-z] = 26 letters
[A-Z] = 26 letters
[0-9] = 10 numbers
Total = 62
No. of possible passwords = 62^6
No. of bits needed = (62^6) * 10 bits
= 5.6800235584 × 10^11 (Ans)
what you calculated is the worst case scenario
you want the average, which is half of that
thank you😄
is A - B the same as A/B?
yeah assuming you mean set difference by A/B
and set difference is usually backslash instead
$A \setminus B$
Moldilocks
yep, true, thanks
take any two vertices and look at their neighbourhood
yeahhhh
i am stuck there LOL
so if they are not adjacent
What should i do
btw we just learning graph theory so any pointers will be nice
i have no idea how to give any pointers without giving away the answer
i guess you could work backwards? try to see, if they are not adjacent, what would need to happen for diam(G) <= 2 to be true
@balmy hornet fix the DE and the A so you are essentially picking strings of length 4 using BCFG so there is 24
@weary tiger (sorry for the ping)
you are looking at strings of the form DE----A
where the remaining 4 letters go in the 4 slots
there are 4*3*2*1=4!= 24 ways to do this
for example you missed DEFCGBA (and 15 others)
so when it says strings
could it not also be concatenated from the middle
alsooo
question never said reptitions in the middle not allowed
yeh i just assumed based on what they said
yeah the question that i have does not have that said so i assumed there would be more. time to figure out 16 more
the question after this is to list all of then ;-;
oh lol
well think about how i argued that it is 24
you should be able to systematically find them all
using that as a hint
yes thank you! i should be able to find all of them
@weary tiger what happens if theres no repetition?
then you have 7 choices for each of the 4 slots
so theres 7^4 combinations
(if you are asked to write them out it definitely doesn't want repetition)
thats not what u said before
then its a different answer
lol
your strings are length 7 not 5
Im sorry i realize im confusing myself
i know that P(7,5) = 7 * 6 * 5 = 210 ( thats how many string we should have if i believe im right)
I am reading a book, and one of the examples given is finding how many possible combinations of passwords you can choose. The rules for the password are: Has length between 6-8 characters, a character consists of either a digit or an uppercase letter, at least one of the password characters must be a digit. The solution they give for when the password is of length 6 is 36^6 - 26^6, but I am confused, as to me (although I am incorrect), it makes more sense for it to be 36^5 * 10. As any of the 5/6 characters can be a digit or character (hence the 36), but as there has to be a digit of which there are 10, it must be multiplied by 10.
it would have to be 36^5 * 10 * 6 since you can still choose, which of the 6 characters is the digit but even that's wrong
you're still double counting, as choosing the 1st digit to be a 4 and choosing the rest to be 2ABCD gives the same answer as choosing the 2nd digit to be a 2 and the rest to be 4XABCD, namely 42ABCD
is anyone good w/ counting and probability
the fact that p divides a^2 or the fact that p divides a?
what is the definition of disibility
so really just the first case
if you have two integers m and n, then n divides m if and only if what?
if n is a multiple of m
hmm
well since b^2p = a^2
p would have to be?
i guess im just not understanding that part
okay
so ill rephrase the defn of divisibility
n divides m if and only there exists an integer k such that nk = m
does this match up with your intuition
yeah
wait
so for the p | k^2
p | k
is that proof complicated?
whats the idea behind that?
what came before that?
could you show me what they want to proof
and what the whole proof is
maybe they have some extra information on p, besides it being an integer
ah it's prime
then it's fine
you can use prime factorisation
to prove p|a² => p|a
p prime
No when p is prime
oh oof
ok thanks
but also
prime factorization is the
ability to show a number like 27
as
3 * 3 * 3
yep
The idea is to consider the prime factorization of k. When you square a number, you don't add any new prime factors, you just multiply all the exponents of the prime factors by 2. So if p divides k^2, it also has to divide k. @valid wave
you can also just use euclids lemma
if a prime p divides a product ab, then p divides a or p divides b
then just pick a and b to be equal
gotcha
thanks
sorry i have 1 more noob questions
for this
i understand that this means 12 | 3x - 9
so 12k = 3x - 9
3x = 12k + 9
so x = 4k + 3
but when its asked
how many solutions are in Z12
shouldnt it be infinite?
since theres an infiinte amount of numbers that are divisible by 12
I THINK IT JUST REPEATS SOLUTIONS
z12 I believe is just the set of numbers 0 to 11
so in that range
what is a solution
because after that range it repeats
like Paul said
what its really asking for is how many "classes" of solutions there are
is the relation $\subseteq$ on the power set of integers transitive?
nitezba
i have a hunch that it isnt but idk
it is
If $A, B, C$ are sets of integers, and $A \subseteq B$ and $B \subseteq C$, then $A \subseteq C$.\
To show this, show that if you take $a \in A$, then $a \in C$
@mint bane
Shika-Blyat
$\subseteq$ is transitive no matter what kinds of elements are in the sets you're considering, just sayin'.
Ann
Oh and yeah this ^, I should have said it
How many ways can you order 6 donuts from a shop that has 4 types A, B, C, D if
you can only order at most 3 donuts of type A.
i need to end a debate
49 or 74
or maybe 69 lmao
anyone up
none of the above, if i understand correctly?
how were these numbers obtained
@languid blaze
through combinations with repetitions
b/c total number of ways is 84 no?
so i had multiple students subtract it different ways from total number of ways from having at most 3 or some stuff like that
idk people are at each others throat since its 50/50 on 49 and 74 lmfao
our final exam deadline just passed so everyone is talking about it
and no one knows
hold on
okay i fucked up
theres more than one way of ordering ≥4 A donuts
without the at most 3 A restriction it's 84 yeah
so ok lets try to count the forbidden orders
an order is forbidden iff it has at least four A's so let's set those aside
we have two donuts left to pick
and they can be any type
4C2 + 4? that makes 10
so 74 is correct
the debate is over, one side has been granted victory through explanation
lol thanks, appreciate it
that answer makes sense
gj meliodas
anyways, can someone help me with a small brain far
i'm doing linear non homogenous recurrence relations with char eq
and i'm looking at an example off my powerpoints
basically
same polynomial
and different cases for F(n)
for the first one
F(n) = 3^n
you get your char eq
double root 3
all fair and good
here
what the fuck is p_0
n^2 is because of the double root and the s of s^n in the char eq being equal to one root
but what the fuck is p_0
it's a polynomial coefficient
as seen whenever you have other F(n)s
but the hell is its value?
Shoot just started this topic
What your language
Its determined by the initial conditions of your recurrence
wait
greek be making it hard to read LOL
i think its just us trying out
different polunomials
cause its our geuss right
can anyone help me on this please
whats your difficulty?
well firstly im not even sure i get what a zero divisor is
but in general modular arithmetic has been messing me up
like i know what mod is ive had more than enough programming to understand it
but in this context it's a bit weird ig
well for example
2*2=0 mod 4. but 2 is not = 0 mod 4. so 2 is a zero divisor in integers mod 4
hmmm
alright
but it doesnt have to be for all integers to be a zero divisor?
cuz 2*3 = 2 mod 4
then multiples of 2 are zero divisors in mod 4
not worth saying multiples of 4 right cuz that's just redundant?
every number is either 0, 1, 2 or 3 in mod 4
2=6 mod 4
etc
so only need to say 0 and 2
you could say the classes of congruence of 0 and 2 mod 4
damn see my prof skipped the number theory chapter and jumped to equivalence classes :|
would it still be safe to say the equivalence classes of 0 and 2 mod 4...?
if you show that the equiv classes of 0 and 3 are non zero divisors yea
ay caramba
ayy lmao
you could go by cases theres easier way tho
hint: the easier solution spoils (b)
tho there arent many cases anyway
you might want to check its just 3 cases
that's funny cuz i was abt to just skip and go to b
but even the forwards direction of b idk
like ok let m be a prime number

