#discrete-math
1 messages · Page 174 of 1
ah so
if thats the case would I have something like u, v e V and u~v so theres a path
a graph isomorphism is a map between the vertices of two graphs
so i dont have to specify which graph
there are no paths here
so I have to show that each vertex "maps" onto another vertex
f is a bijection between the sets of vertices
in this case {1, 2, 3} and {A, B, C}
and it preserves adjacency
so {x, y} is an edge if and only if {f(x), f(y)} is
for example {1, 2} is an edge in LHS and {f(1), f(2)} = {A, C} is an edge on the RHS
you have to show that this relation is an equivalence relation
so that there is such a map f from every graph to itself
that if a graph G is isomorphic to a graph H, then H is also isomorphic to G
and that if G is isomorphic to H and H to J, then G is also isomorphic to J
wow that makes sense
so that there is such a map f from every graph to itself
that if a graph G is isomorphic to a graph H, then H is also isomorphic to G
and that if G is isomorphic to H and H to J, then G is also isomorphic to J
this is how i would apply the bijection
instead of the transitive, reflexive etc
well
the corresponding terminology for bijections i guess is
inverse of bijection is bijective
and composition of bijections is bijective
so that still holds
the
transitive, reflexive etc
but just being applied to the whole graph
and the idea of isomorphic
🤯
another sub noob question
how do i know to apply that equivilance relation to the idea of isomorphic
(if you wanted you could interpret this as a graph but the vertices are other graphs)
you get existence of bijections for free, but you have to verify that they are actually graph isomorphisms
and well, we want isomorphisms to be equivalence relations
an equivalence relation is a generalization of equality (=)
ah ok
and we dont want to consider graphs with i.e. differently named vertices as separate objects
but i guess my question is more so
so that there is such a map f from every graph to itself
that if a graph G is isomorphic to a graph H, then H is also isomorphic to G
and that if G is isomorphic to H and H to J, then G is also isomorphic to J
this explanation here
how isnt this already the answer
i dont see how i would detail this in a proof
you have to show that such maps exist
like
the easy case is reflexivity
a graph is isomorphic to itself
you can just take the identity map on the vertices
then symmetry is you take two graphs G and H
and a graph isomorphism f: V(G) -> V(H)
and you have to (more or less explicitly) find a graph isomorphism g: V(H) -> V(G)
so i have to use my graphs as the like testing sets
omg
that makes sense
okok
last question
😳
(this will just be the inverse of f, but you have to verify that is a graph isomorphism and not just a bijection between the sets of vertices)
it shows that the relation defined in the question is reflexive
where two graphs are related iff they are isomorphic
gotcha
ok my mind expanded
so the idea of bijection always changes based on what im applying it to
so here isomorphic
im showing how isomorphic is equivilent
then using the graphs in my set to prove it
gotcha gotcha
ok i think i got it
Because an isomorphic graph maps to itself, V(G) -> V(H) so let v e V v~v so it is reflexive (empty path) @pale epoch
is this correct way to think about it?
does anyone know what step to take after this to simplify the expression to n+1/k bin(n/k-1)?
,rotate
you could think of the (n+1-k)! term as being (n - (k-1))!
now it should be more clearly binom(n,k-1)
yeah, i don't see that clearly
so that i can inverse my hypothesis
what hypothesis
"Assume that n = ab where a, b > 1 is not true"
a, b > 1 not true == either a or b is 1, and your factorization is no factorization at all
that any 3 digit composite numbers has a prime factor less tha or equal to 31
Le sigh, I answered in #proofs-and-logic but you moved for no apparent reason. Read. The. Rules. #❓how-to-get-help...
you need what to be greater than 31?
Ann seems to helping now though, so it's fine.
what even are a and b?
a and b are the factors of n which is a 3 digit composite number
'the' factors
okay, so you are factorizing n in some way.
notably, you cannot assume both a and b are prime, as you seem to be doing fsr
sorry bro I'm really panicking right now
yeah I'm really bad at math
deep breaths, drink water, make sure your needs are met, etc. then we can talk.
i will not continue until i am 100% certain you have calmed yourself down from your state of panic
I want to contradict 100lessthan or eqaul n less than or equal 999
calm yourself down.
i'm good now
...okay
since there is already a helper
oh ok
and you need to require a and b to both be greater than 1, so as to exclude the trivial factorization n = n*1 which is entirely unhelpful here
n = ab where either a or b is a prime
oh, so you're requiring one of them to be prime.
yeah
that's why i do a or b >1
why or?
because the question only wants a prime factor that is <=31 for n
100<=n<=999 such that a or b <= all primes <= 31
you read me saying "you need to require a and b to both be greater than 1"
and you replace the and with an or as if they are interchangeable somehow
oh so i need to write a and b > 1?
if you wish to put it that way, yes...
i mean, really, your requirement for one of the factors to be prime is a little extraneous.
extraneous?
oh so what should i put here?
it will be enough to show that if n = ab with a, b > 1 (with no assumption on which one of them, if any, is prime), then at least one of a and b will have to be ≤31.
well, almost enough. there's still a little work to be done afterward.
is the , red as or?
no
omg
a, b > 1 is shorthand for (a>1) AND (b>1)
i though commas are ors
commas are context-dependent symbols
we know that n ≤ 999 and that n = ab with a and b both greater than 1. we wish to show that at least one of a and b is less than or equal to 31.
if the conclusion were false, i.e. if a and b were both ≥ 32, then ||we would have ab ≥ 32^2 = 1024.||
||and that would contradict n ≤ 999.||
oh ok what i meant is that 100<=n<=999 wherein n=ab where a,b>1(so that they are considered prime or composite). Then by inversing a,b>1 I can say that a,b<=allprimes<=31 is not true giving me the inverse a,b>=32 =1024 that will contradict my first statement 100<=n<=999. Therefore, it must be true that a,b<=allprimes<=31
all primes <= 31
are you saying a and b have to be less than or equal to 2, 3, 5, 7, 11, 13, 17, 19, 23, 29 and 31 all at once?
(i.e. that a and b both have to be at most 2?)
no just 1 of them need to be at a time o that n has a factor <=31(primes)
what if i do this wait
100<=n<=999 wherein n=ab where a,b>1(so that they are considered prime or composite). Then by inversing a,b>1 I can say that a or b<=all primes<=31 is not true giving me the inverse a or b>=32. Thus ab >=32^2=1024 that will contradict my first statement 100<=n<=999.
do you just use wherein to sound fancy
no i just use it so that there is a condition
"(whatever) ≤ all primes ≤ 31" is still bullshit. being less than or equal to every single prime under 31 means being less than or equal to 2 !
i don't know why you're in denial about that.
ok so i will remove it
and the (so that they are considered prime or composite) is also completely unnecessary and adds nothing
and why "inversing a, b > 1"? do you want to run up against someone factorizing n as n*1 on purpose?
you're making this way more complicated than it needs to be
way way way more complicated
the argument is simple:
write n as the product of two factors. the claim is that one of the factors must be at most 31. why is that?
if they're both 32 or greater, then n ≥ 1024. but n can't be greater than or equal to 1024, since it's a three-digit number. and we can't have that.
there is no need nor reason to twist and stretch it to fit bureaucratic language standards
n<=999. n=ab where a,b>1. We need to show that at least a or b <=31. If a or b < 31 then ab < 31^2 = 961, if a or b = 31 then ab=31^2 = 961, if a or b > 31 then a or b >=32 where ab >= 32^2=1024. a or b <= 31 satisfies n <=999 but a or b >31 does not. This means that any three digit composite number must have a prime factor that is less than or equal to 31.
@stray reef
If a or b < 31 then ab < 31^2 = 961, if a or b = 31 then ab=31^2 = 961, if a or b > 31 then a or b >=32 where ab >= 32^2=1024
this case analysis is pointless, non-exhaustive, and incorrectly written.
Oh my pardon me
you say "a or b < 31" but then just pretend a and b are both less than 31
so can i say both of them are <=31?
ok letme try again
ab=n<=999 where a,b>1. If a,b>31 then ab >=32=1024 which is a contradiction to the first statement. Therefore, a,b <= 31 and any 3 digit composite number must have a prime factor that is less than or equal to 31.
@stray reef
better but not by much
Is it correct?
no there are still issues with it but i'm too tired to point out every single one
Let n=a⋅b≤999 with 1<a≤b. Then a2≤a⋅b≤999, hence 1<a≤31. It follows that a, and therefore n, is divisible by a prime ≤31
this is unrelated but quite interesting that the correct idea is present in the original proof but it still took Ann a very long time trying to remedy all that is wrong with the writeup
what should i write?
this is more or less fine
but you should write what you think is correct
is this homework?
yup
is it graded?
yea but just bonus
im just asking if you will get feedback
I'm at the bottom of the class so pardon me
all good lol
as i said your latest attempt is fine
there is a few things
i.e. there is no reason to assume a,b > 1
you can start with an arbitrary factorization
and then assume that no factor is <= 31 and arrive at a contradiction like you did
oh ok can i try again?
what you could (maybe should) do is think about why it suffices to consider a factorization into a product of two factors
wait what? don't you want to show n has a prime factor ≤31? if you allow a or b to be 1 then someone could apply the argument to n=199 or something by factoring it as 199*1
ab=n<=999 where a,b>1 . Assume that a,b is not <= 31 . This will give us a,b>31 which is a,b>=32. This means that ab>=1024 which is a contradiction. Therefore, a,b <= 31 and any 3 digit composite number must have a prime factor that is less than or equal to 31.
but yes, Ann is right, i didn't think enough
Thank you @stray reef and @pale epoch
if 2 sets, set A {1,2} and set B {1,2} would the difference of 2 sets be just empty?
is that a thing
Yes
thanks a lot
How do I find the number of factors of a number N that are less than some number x?
you compute all the factors and check which are less than x
Any other way other than computing all the factors? and checking every factor
exact values i doubt
in special cases you can give estimates, but in general it seems hard
like, if your number consists of a lot of small prime factors you can throw logarithms at it to get an estimate
Could anyone help me out in this problem?
I feel like i have to use inclusion/exclusion but can't really figure out how
@prime parcel don't just give out answers
also that number looks out of the blue, how did you get it
Hmm I ended up distinguishing 6 cas
6 cases based on where the ambidextrous players go?
Yup exactly
I have just left it in this form
The following error occured while calculating:
Error: Undefined function choose
damn ok
well luckily i have some binomial coefficients precomputed on paper
,calc 21 * 28 + 21 * 56 * 2 + 21 * 70 * 1 + 35 * 2 * 28 + 35 * 56 * 2 * 1 + 35 * 1 * 28
Result:
11270
so either we're both right, or we're both wrong in the exact same way
I'm looking on this question now but not sure whether I'm doing the right thing here
I've done polynomial division
and got something like
$-1 + \frac{5}{2(1-2x)} + \frac{3}{2(1-2x)^{2}}$
Laïka
it'll affect only the first term
constant generating function = sequence with a nonzero first term and everything else zero
so the above thing becomes $-1 + \frac{5}{2}\sum_{n=0}^{\infty}(2x)^{n} + \frac{1}{2}\sum_{n=0}^{\infty}(n+3)(2x)^{n}$
Laïka
yeah sure
Wow that completely went off my mind so -1 is just the gen func of a0 = -1 then the rest 0?
yes
Thanks!
Yes that's the answeri got
and this is not equal to the 7350 you blurted out
Oh wait I see I forgot that I was going to write the addition of ways 7350 was just the thing I got form 4 cases
I was going to write like 7350+3920=
Mb I just wrote half and didn't see it
Ann could i bother you to check my graph theory question in #combinatorial-structures @stray reef 
nyeh... i guess
.-.
you should post your question instead of asking for someone and/or pinging random ppl
nvm its 4th
Suppose we have a sequence of n-2 elements from the set {1,2....,n} (repetition allowed)where n>2021
How many such sequences are there with 2020 repetitions of 1?
@weary tiger it is basically the same as saying how many sequences of length n-2020 without ones there are BUT you then have to check possible permutations
krieg
listen buddy I will love you forever
if you can tell me how to write this sentence using quantifiers
There is a man who came to the meeting, and there is a man who is absent from the meeting
you mean n-2020-2 right?
cuz we had n-2 elements initally
Actually i'm trying to figure out a wider question
About the number of trees with vertex set {1,2...,n} such that vertex 1 has degree 2021
I basically went down the prufer code route
if vertex 1 has degree 2021 then it appears 2020 times in the prufer code
so i'm trying to figure out how many prufer codes there are with 2020 repetitions of 1
Commander Vimes
@latent galleon
thank you sir
i picked the first and last, was i wrong or right? thats all i wanna know
HI everyone, I need some help with stat exercise
Are logic gates actually useful programming wise. What are the real life applications of them?
I understand that but programming wise
For circuits I understand that logic gates are used
oh, well
Everything I've learned so far in my class I can see a correlation to programming but for logic gates I'm struggling to see
Maybe it's more of a computer architect ordeal
Also I have a quick question
If we have p-->q and q-->p is it false to say that therefore p and q
<@&286206848099549185>
what do you mean [n]
well i started by thinking about the equivalence class of 1
and thats just all odd numbers i think
the equivalence class of 2 is just all even numbers
yes
and then the equivalence class of 3 is the same as the equivalence class of 1
yes, that's what equivalence class means
if all odd numbers are in the equivalence class of 1
well 3 is an odd number
so then the only distinct equivalence classes are given by two numbers that are 1 apart right
so those can be given by n and n+1 right, where n is just some integer
yeah
LETS GOOOOO
i was talking w a friend about this and they were making me doubt myself so much
your notation kinda confused me
it doesn't say what the equivalence classes actually are
i'd rather just say the equivalence classes are {2n} and {2n+1}
evens and odds
yeah idk it's just the notation prof used for the class
yeah that's fair
but n and n+1 work as well as 2n and 2n+1 right
well [n] and [n+1] works, as does {2n} and {2n+1}
okok j making sure lol, merci
what's your definition of a cycle graph
its a graph where you can start at any vertice and return to that starting vertice
and u need to have at least 3 vertices in a cycle graph
what does it mean to start and return, a complete graph with 4 vertices would satisfy this, but I wouldn't call that a cycle graph
i guess your walk from one vertice to another goes through each verices when returning to your starting point??
hmm actually a complete graph also saftifies that
@obtuse lance could u give me a clue?
i mean in a cycle graph with n vertices must have edges between {1,2}{2,3}...{n-1,n} and {n,1}
so this is your definition of a cycle graph?
yea
the degree of a vertex is the number of edges it's connected to right
yes
hmm right, and that has a degree two
yeah
yeah you're welcome
lots of stuff at this stage boil down to checking the definition of things, if you're unsure how to prove something think about the definitions more and make sure you understand them
i see, i'll keep that in mind
if f(x) is the generating function of some sequence (an) then how can I write $\sum_{n=0}^{\infty}na_{n}x^{n}$ in terms of f(x)?
Laïka
yep, it's xf'(x)
Thanks ^^
any polynomial in n multiplying a_n can be gained through repeated differentiation and multiplying by x and sums like this
just be careful, getting n^2 is not the same as x^2 f''(x)
you need to do x(xf'(x))'
I get it
Also how do we prove that a generating function is some transformation of the other?
Do we just have to show that they count the same thing
not sure what you mean by transformation
like how do you prove power series are unique or something?
I want to show that the gen func for t_n is (h(x))^2
do you know about the convolution
the coefficients on h(x)^2 are the coefficients on h(x) convolved with themselves
Hum yep the convolution theorem is familiar to me
if $a_n$ are the coefficients on h(x) then they obey $$t_n = \sum_{k=0}^n a_k a_{n-k}$$
Merosity
that's just what the convolution looks like on the generating function side
yeah, you're welcome, if it helps a bit you can think of how k and n-k add to make n, so you're combining every possible way to make n from two parts
A 15 regular graph has size 45 how many vertices does it have?
Is the answer 6 vertices ? 45 x2 /15
6 vertices doesn’t make sense, I forget how to calculate this
what do you mean by size again?
Edges
Oh
Use the handshake lemma
Sum of all degrees = 2 * number of edges
Times 2?
yup
So 45(2)= 90 is the sum of all degrees
Yes
But then how do I find out the number of vertices?
15*n = 90
n = 90/15
6?
How could 6 vertices have 15 degrees each?
You said its 15-regular
Doesn’t that mean each vertices have 15 degrees?
Yup
the sum of all degrees is thus 15 times the number of vertices
So a 6 vertice graph could have 15 degrees each vertices? I didn’t no edges could repeat?
@weary tiger is it possible to draw a regular disconnected graph that have two non isomorphic components ?
🥾
Suppose n is not odd, so n is even. Product of two even numbers is even ,therefore n^2 is even.
Now, n(n^2) is a product of two even numbers, therefore n^3 is even. This is a contradiction . Therefore if n^3 is odd then n is odd , for all integers n.
,iam adv
Gave you the Advanced selfrole.
How can I find all the integers $n, m \in \mathbb{Z}$ such that $\frac{1}{n} + \frac{1}{m} = \frac{1}{5}$ without guess and check? Is there a rigorous way to solve this?
add
(m+n)/(mn) = 1/5 so mn = 5(m+n)
you can write this as mn - 5m - 5n = 0 and 'complete the rectangle' to get (m-5)(n-5) = 25
Can you define graphs that have infinite number of edges/vertices (not necessarily countable)? I was thinking maybe you can think of curves or sets in general in R^n as some kind of graph if you have an ordering between the vertices(points). Does that make sense?
halp pls
In case you didn't know, the definition of modulo is: $a\equiv b \mod n$ means that $n \mid a-b$ . That should help
Estridgenet
A direct proof isn’t too hard in any case. Suppose that $a \equiv c \pmod n$ and $b \equiv d \pmod n$. Then there exist integers $k, \ell$ such that [ a = kn + c, \quad b = \ell n + d. ] Then $a - b = (kn + c) - (\ell n + d) = (k - \ell)n + (c - d) \equiv (c - d) \pmod n$.
opengangs
how would I find incongruent solutions?
I found the amount of solutions and subtracted by 120?
is this correct?
so 108
You can reduce this to an equivalent linear congruence equation by dividing every term by gcd(32, 120) = 8
This tells you that there are 8 solutions to the equation
Then apply the Extended Euclidean Algorithm to find your first positive solution
What are some fairly simple theorems that deal with Finite state machines?
Besides proving the equivalence between Deterministic and non-deterministic FSMs.
pumping lemma
May I also have someone tell me if this proof is correct?
is that test
yes
hi
i started CS70 recently
and the lecturer says that first its better to take a basic course like MATH55 which seems pretty hard . so why would he said that .
if thsts the case then should i first take MATH55 and then go for CS70
your negation's wrong
what would it be?
there exist sets $A$ and $B$ such that $A \subset B$ but $B^c \nsubseteq A^c$
Ann
tho you dont really need to do a proof by contradiction here in the first place imo
yea idk why its asking me to
oh wait, you're explicitly instructed to
Hi, what does \lambda(G) stand for here?
Connectivity number - defined as the minimum number of edges whose deletion from a graph results in the graph being disconnected
Yeah I saw that yesterday, just thought there might be something else.. The lemma is not intuitive to me.
Thanks @haughty garden
anyone have an algorithm for linear search??
wait i have a quick question
how do you complete the square for nm - 5n - 5m = 0 when there are two variables
it's more of a rectangle
so consider a rectangle with sides (m - 5)(n - 5)
the area will be mn - 5m - 5n + 25
you see on the LHS of your original equation you're just missing the 25
so you can just complete the rectangle by adding 25 to both sides
so if mn - 5m - 5n = 0
then mn - 5m - 5n + 25 = 25
and (m - 5)(n - 5) = 25
@limpid fossil
yeah but how did you know you wanted to consider rectangle with sides (m-5)(n-5)?
i see that it factors out nicely
experience
how would you know you wanted to consider a square with sides (x + a/2)
if you were completing the square for x^2 + ax
it's just a standard trick sorta thing
oh i se
If you have mn - am - bn = 0 then you will do (m-b)(n-a) = ab
today i learned
it feels like im memorizing it though, i dont have the intution to understand why that is
you can visualise it as an L-shape
like
an m x n rectangle
and on the top, on the m, you have an m x a rectangle
with the two m sides next to each other
and on the right you have a b x n rectangle
so it's like
m x a
m x n b x n
and then you can complete the rectangle with a b x a rectangle in the top right
yes
wow thanks
Hello, I just need an example of formal deductions. This is the practice problem I was given but I think with an example I can figure this problem out
is anyone here familiar w inditinguishable objects and indistinguishable boxes?
Just combine all those facts
when you say unique strings does that mean abc not equal to cba? or the other way around?
I just wasn’t sure what format I was supposed to do it in but I figured it out. Thanks
can someone help me with this? i just started learning equivalence relations and i know that u have to prove how its reflexive, symmetric, and transitive but idk how to prove those things
i mean, you just check if the statements hold
i mean doesn't the transitive property of tilde follow directly from that of equality?
if you give the "smallest prime factor of n" a notation like spf(n)
n ~ m iff spf(n) = spf(m)
so spf(m)=spf(n) and spf(n)=spf(k) directly imply spf(m)=spf(k)
oooh i see
thank you
i still dont know how to do the last part of the problem though
what's spf(15)?
uuhhhh 3
9 and 21
good
you'll need another one though, since the problem asks for at least three such numbers
same thing
say what the smallest prime factor of 7 is, then name several more numbers whose smallest prime factor is the same
is 1 prime 
i posted this in #help-8 , but i thought posting here may be more fruitful
any help with #5 would be appreciated
s and t are supposed to be subsets of B for this problem..?
yeah
i just don't know how to go about proving this
he awarded my friend 6/7 points for a proof that made absolutely 0 sense lol
rly inconsistent with grading, but i'd like to know how to solve it for the final
\begin{align*} y\in f(S\cup T) &\iff \text{ there exists } x\in S\cup T \text{ such that }y = f(x)\
&\iff \text{ there exists } x\in S \text{ such that }y = f(x) \text{ or} \text{ there exists } x\in T \text{ such that }y = f(x)\
&\iff y\in f(S)\cup F(T)\end{align*}
Botnuke
would i need to establish that for #5?
oh, no, that's for 4
ah, yeah
i completed #4 lol
I think 5 is easier actually
using what i did for #4, i came up with this
though ik it’s wrong
obviously not in the form of a proper proof
\begin{align*} x\in f^{-1}(S\cup T) &\iff f(x) \in S\cup T\
&\iff f(x) \in S \text{ or } f(x)\in T\
&\iff x\in f^{-1}(S) \cup f^{-1}(T)\end{align*}
Botnuke
ah
how would you phrase that?
that's my entire proof
you could write it how it's normally taught to be written, let x ∈ ..., then stuff, therefore x ∈ ...
then, there exists an f(x) such that f(x) is an element of S or T
since f(x) is an element of s or t, then x is an element of {f'(x)|f(x) element of S} or {f'(x)|f(x) element of T}
therefore, x is an element of f"(S)Uf'(T)
no?
and then do the same thing again with the lines reverse for the other direction of the set equality
but it's really the exact same thing I wrote
then, i could just say that they're elements of each other?
i'm sorry. it's a bit late -- i didn't see your above message
to the deleted message: mine is in english too, but the english is packed into the ⇔ symbols that should be read as "is equivalent to" or "which is equivalent to"
and "is an element of" is ∈
etc
the language here is kinda off
"there exists f(x) such that..." would be a weird thing to say
yeah, i agree
if you fix x, f(x) is a fixed object
i'm just following his notes 
then~~, there exists an f(x) such that~~ f(x) is an element of S or T
for 4 this really only demonstrates one 'direction' of the set equality (you showed X ⊆ Y, but not Y ⊆ X)
change words like "then" and "therefore" to "equivalently" or "which is equivalent to" or something
how would you demonstrate equality for both directions in these problems?
or that both sides are subsets of each other (i.e. proper subset)
change the wording a little bit, or write up another excerpt where you let y ∈ f(S) ∪ f(T) first and then do the same thing in reverse
Let x in preimage of S U T,then f(x) is in S or f(x) is in T. If f(x) is in S then x is in preimage of S. If it's not x is in preimage of T,therefore x is in preimage of S or x is in preimage of T

It's just writing down the definitions
confused as to how to prove equivalency here
the wording is arbitrary, so far as this professor is concerned at least
the equivalency follows from the definitions of the terms
first equivalence: preimage definition (or at least one possible definition)
second equivalence: definition of union
third equivalence: same as first
this is my friend's submission (6/7)
do you mean to define them in this way?
are you asking if I am suggesting writing those definitions? no
yeah
does anyone have a recommendation for this proof?
unsure as to where exactly i went wrong
what is f
fibonacci sequence
well first of all you have indexing broken
what is k on RHS
why you have basis as n = 2
ah
i meant 2t-1
etc
got ahead of myself there
but otherwise, how would i prove that these sides are equivalent?
Commander Vimes
wdym?
we were told to select a value n for the summation, assume true for k terms such that k>=n, and prove true for k+1 terms
then you assume that statement is true for n = 1
and that if statement is true for n-1 then it is true for n
Commander Vimes
consider how you can split sum in terms of n-1 and n
(just apply definition of sigma)
oh you want strong induction?
yeah
where you assume that it is true for all naturals less than n
anyway this does not change the stuff man
the statement is true for 1,2,..., n-1 contains the statement is true for n-1
so we can use that
Commander Vimes
do you agree that this is true @weary tiger
yeah
so this is true
Commander Vimes
using strong induction*
;/
i can't use that
i have to use k and k+1
my professor would not accept that
ik they're the same
first of all
transition from n-1 to n is the same as transition from n to n+1
just difference in noitation
.
i'm aware
but i'm unable to use this format for my submission
and nothing in statement of strong induction forces us to use two terms
:/
k and k+1
instead of n-1 and n
that's it
basis case, assume true for k, and prove for k+1
:/
i am doing this with n-1 and n transition, noithing stops you use my approach fro n to n+1 transition
anyway
using these two
you just plug second into first and get f(2n-2)+f(2n-1)=f(2n), qed
what
replace sum in first equation by its value which is known by hypothesis
i am not working backward
i am continuing transition from n-1 to n
that is i am completing inductive steps
you should be able to modify this for n->n+1 transition since this is just difference in notation
ik how summations work, though
i just needed to rearrange these things to prove k+1 terms
:/
is f2k + f(f2k+1) the same as f(2k+2)?
look at the summation for k terms
yes it is
okay
because by definition of fibonacci f(k)=f(k-1)+f(k-2)
so does adding terms of the fib. seq work in a way similar to exponents?
what do you mean
i do not get your point
i treat subscripts as indexes
it's like doing 2*2^2
no
you get 2^3
i mean in some sense there is connection since integer power is recursive
and we can define
p(0)=1
p(n+1)=2p(n) and get exactly 2^n function
but that is just similarity due to recursive nature
c:
Is this true?

the wording
what exactly are you proving?
you should state at the beginning what you are setting out to prove.
I'm proving that you can only have a equivalence relation on the cartesion product of two sets if they are the same set?
that's. part of the definition of an equivalence relation
there's nothing to prove here
I couldn't find anything that said it online so I wanted to clarify it
i mean, from what i gather you're saying that symmetry is impossible to make sense of
this does not at all require the symbol soup you have served to the reader
I wasn't sure how to word it so I just used symbols
but ideally a concise statement would be better
to be clear this is not a proof
but rather an informal explanation for why we can't talk about symmetry for relations from X to Y where X and Y are different sets
yes
for such a relation R to be symmetric, we need xRy to imply yRx- but yRx may very well be nonsensical, as nobody said y had to be a member of X
I don't quite follow could you elaborate?
R is a relation from X to Y, so in order for x R y to be a statement that we can say is true or false, we need the stuff on the left (x) to be an element of X and the stuff on the right (y) to be an element of Y
but when you switch it up and write y R x, suddenly you are requiring y (which is now on the left) to be in X
and who says y has to be in X?
I thought the statement itself implied that?
I'm sorry my knowledge is quite half baked
I learnt most of it from Wikipedia yesterday
i mean let's say R is the relation "x owns y" where x is a human and y is a pet
if you try to reverse it to talk about symmetry suddenly you have dogs owning humans
I understand
my understanding of it is tat we have two sets the set of humans and the set of pets
the binary relation is a subset of the cartesion product humans x pets
which would imple that only the forward relation is correct
since the set of pets and humans are different
lets say we have a relation that maps the positive real numbers to the negative real numbers by the equation -sqrt(x)
before you go could you point me to a good resource where I can learn stuff
I really am trying here
It is not my intent to frustrate you. I'm sorry
oh wait there are question channels. My bad I should of gone there I apologize for my negligence
how is the statement, if you finish your meal, then you can have desert equivalent to you can have desert iff you finish your meal
isnt it just p => q
im confused how u understand that its biconditional
with a simple if, then
it isn't
oh nvm
i think the author was trying to make a point about the imprecision of the english language
Yo, was doing some problem and I came up with some recurrence I have no clue how to solve: $$ A_n = 6 \sum_{i=0}^{n-2} A_i 2^{n-2-i}$$ with $A_0=1, A_1=0$. Any ideas?
Ledog
Induction?
Lol I want the general formula for n-th term.
Ok,you could do a couple of manipulations
Would have to guess it, no clue what it is.
Take B_i=A_i 2^{-i}
sounds like some kinda generating function fuckery might be of use?
I thought about if for a second, but seems not that fun to do.
You could turn that whole thing into B_n=3/2(B_{1}+B_{2}+...B_{n-2} )
That seems doable
Does it?
Define C(n)= \sum_{i=0}^{n}B{i}
You end up with a homogenous reccurence in C(n) I think
Hmm I guess on LHS you have C_n+1 - C_n = C_n or sth?
Yes
There will be some 2's and 3's in the coefficients
But it will be of that form
Aight thanks I'll try that.
hmmm actually there's a problem with this
For different n's, A_i will be multiplied by different power of 2.
Okay yeah, calculation error.
i just tried it
its possible to get a generating function for this thing
$\sum_{n=0}^{\infty} A_n x^n = \frac{1-2x}{1-2x-6x^2}$
Ann
That was a nice way of doing it
Okay after fucking up 123618 times I finally got it 
Btw this was a recurrence for the problem: how many 'roads' are there using n steps in which you start and end in the middle
can anyone here help me with 1 question?
@wanton marlin
Don't you think it's unreasonable to ask us to commit to helping you before showing us the question?
Show the question and someone will help if they can
Okay
Apply Binomial Theorem twice
So write [(x + sqrt y) + z]^8 and apply Binomial Theorem on (...) and z
Then check which term will give you a z^2
Then only focus on that term
And apply binomial theorem again on the (x+sqrt y)^whatever power part
alright got it thank you
Np
I posted a problem a few weeks ago with 3-regular graphs and now I'm trying to solve the general case for it... but I don't know how to interpret Delta(v) for all v vertices. Do they all have the same degree bound?
Yes
as far as i remember you wanted a subgraph without vertices of degrees 3 or higher
so Delta(v) would be 2
Yeah, I just don't understand exercise 2. Are we generalizing it to any graph?
Here's the old one
we're generalizing it to allow different bounds for different vertices
That also implies any graph or is it at most 3 now
?
doesnt looks like it
Not sure where to begin with this
Also, regarding exercise 1. I got the same result (1/sqrt(5)) by calculating the probability like this: Pr(e included)*Pr(deg(e_u) <= 1) *Pr(deg(e_v) <=1) = Pr(e included)* (1-Pr(deg(e_u) =2)* (1-Pr(deg(e_v) =2) = p*(1-p^2)*(1-p^2)
But I am not not sure if that's just by luck
can someone help check this
(iii) is wrong
yep
Oh
Wasn't sure what the complement was on the RHS, so left that.
5 is unclear, complement in relation to what?
hello im curious as to what the ^6 does outside the curly braces
I want to make sure im following the right route.
I have a problem that says to Prove by mathematical induction that C(2n+1, 3) is a solution to the recurrence relation Sn = S(n-1) + (2n-1)^2. For >= 2 with the initial condition s1 = 4
To do so i set x = n+1 and am now trying to show that
(2x+1)!/3!(2x+1-3)! = Sx-1+4x^2
do I have that right? Because im not sure what to do with all the factorials
{0,1}^6 is the set of all bitstrings of length 6
oh ok so any combination of 0 and 1 with length 6
thanks
hello everyone, i have a problem with Proof strategies, like how to write a proof and such, it's very confusing and didn't understand the doctor's material
is there a particular result you're trying to write a proof for rn?
you have a logical circuit with a bunch of switches that act as inputs, and a bunch of lights that act as outputs.
satisfiability asks, "is there a configuration of on/off states for the switches that make all the lights turn on at once?"
so configuration of inputs that basically provides a complete solution to smth?
each light corresponds to a proposition
post your problem
what have you tried?
also uh wait
is this a test
i see the
4 points
in the top right corner
It depends on your provided set of axioms lol
to be honest not really sure the first one i think is 0 and the second one i think is a probiltiy formula but idk which rn
Im supposed to define this set inductively. The base set is {1, 2} but I'm not sure on the inductive step. Any hints are appreciated. Thanks
is that all you're given
yup
so no information about any other elements in the set
yeah
sorry ill shut up
@untold raptor what makes you think the first answer is 0?
cause their are only no way of filling the commitee when there are only republicann and democrates
???
bruh
there are 5 dems, 3 reps and 4 independents, and we want to make a committee of 3
our restriction is that the committee can't include both a dem and a rep
so like
you could pick three of the independents
and that'd be a valid committee
or did this somehow not occur to you? @untold raptor
also i am begging one of you two to change your pfp from discord default yellow
I would first try to find out how many possible combinations there are to picking a committe, then count how many of those fit the criterion
Alright, on it boss
i mean you could count the number of D+I committees, and the number of R+I committees, and the number of indep-only committees
and then use the inclusion-exclusion principle on those
ah i see
thansk
weeb picture applied.
anyway kalgerion who's to say your set isn't actually {1, 2, 5, 7, 10, 12, 25, 27} \cup {n in N : n ≥ 42069}?
Maybe ... is an element of the set

lmao
because there is a constraint of maximum 2 elements in the base set
which are 1 and 2
and the elements after that are added inductively
i mean
i can turn this into an inductive defn
call your set S
then it's defined by n ∈ S => f(n) ∈ S, where f(n) is defined as follows:
$f(n) = \begin{cases}2 & n=1 \ 5 & n=2 \ 7 & n=5 \ 10 & n=7 \ 12 & n=10 \ 25 & n=12 \ 27 & n=25 \ 42069 & n=27 \ n+1 & \text{otherwise}\end{cases}$
Ann

its even better cuz here base set only 1 element
theres infinitely many possible patterns
what Ann did was of that form
yea but i dont think ill need a function for it
you should tell your teacher that the set is not well defined
others have solved it, albeit with 2 steps in the induction step
you are only given the first few elements of the set. there is no information about the others
so they could be anything
^
True, I dont see any other solution than a function that maps the inputs like Ann did
all solutions are with functions
true true
theres infinitely many possible solutions

AFAIK, the symbol on the right is always used for the set with no elements.
Is this inclusion-exclusion if so, why?
well it is possible to use the inclusion-exclusion principle here
with four sets
hands not containing any spades, hands not containing any hearts, hands not containing any diamonds and hands not containing any clubs
its what the solutions used
In yoga class, all of the students are lined up according to height. Andy notices that the number of students who are taller than he is one-fourth the number of students who are shorter than he. Violetta notices that there are 3 times as many students who are taller than she than students who are shorter than she. How many students are in the class if there are fewer than 40 students?
plz help
Hmm I'd recommend drawing out the position of students that satisfy Andy's requirements first.
The first example would be
x x x x A x Then ask which of the X's can be Violetta that meet her requirements.
More algebraic approach:
If we know the proportion of student to the left and right of Andy we know there only a few number of total students that work for him. In that first example there were 4+ andy + 1 = 6, 8+ Andy + 2 = 11, 5*(students shorter than Andy) + 1 = total number of students. Similarly for Violetta, 4*(students taller than V) + 1 = total number of students. Then you can set the total number of students equal to each other and find pairs of (shorter than Andy, taller than Vanessa) that satisfy the equation.
would anyone know how to prove this?
my professor isn’t requiring that we use the summation above for the proof
for proving that this is a perfect number try to list divisors of this number and then sum them using above formula
yeah, ik
how do i write it
😐
like, ik the divisors are itself, 1, 2^(s-1), and either 2 or 2^s-1
but how do i prove that
i can’t just add them and say that it’s a perfect number
like, ik the divisors are itself, 1, 2^(s-1), and either 2 or 2^s-1
no
you are missing out on a lot
like... 2^k is a divisor of your number for any k between 1 and s-1
let $p := 2^s - 1$ for clarity, then the proper divisors of $2^{s-1}p$ are as follows:
$1, 2, 4, \dots, 2^{s-1}, p, 2p, 4p, \dots, 2^{s-2}p$
Ann
?
misunderstood — i apologize
thought these were for nth terms
i’m still unsure as to how to set the proof up, though
$(1+2+4+ \dots +2^{s-1})+(2^{s}-1)(1+2+4+ \dots +2^{s-1})$
LearTsura
and use formula given in exercise on these sums in parenthesis
$(2^{s}-1)+(2^{s}-1)(2^{s}-1)$
LearTsura
second sum only goes to 2^(s-2)
oh okay, my idea was to sum all divisors and then obtain 2*number
my friend sent me a solution that does that
i just don’t really understand what’s happening lol
like, idk. i understand how you got the divisors, but how do you account for its being prime?
which part are we summing?
how do you set it up?
like, its divisors are 1/10 the proof
sorry, what being prime?



