#discrete-math
1 messages · Page 110 of 1
Well, phi is a subset of any set and what you've given is a set.
Hence, phi is a subset of that set.
I mean I think of it moreso as a relation than an actual distinction between types, but sometimes it's just more convenient
You've just proven a statement by citing the statement, though
Huh
Okay, have you seen the proof of the following statement: Let x be the empty set and let A be any given set. Then, x is a subset of A.
Have you seen the proof of that?
I'm aware it's true. It just seems completely synthetic and odd. The logic you wrote earlier was pretty straightforward, it just doesn't make much intuitive sense.
It's synthetic because it's vacuously true. It's true only because the antecedent is false. Then, ex falso quodlibet tells us, then, that the implication actually does hold. Since the biconditional is true, by definition, we conclude that the empty set is a subset of any given set.
Now, the set containing the empty set, last time I checked, is a set and so, the empty set must be contained within it. Indeed, if you take the power set of that set containing the empty set, you'll see the empty set being listed as a subset.
^I hope I'm clear enough lol. My bad if I'm not.
I suppose a more intuitive way of looking at it is that for all sets A, the intersection of ø and A = ø which implies ø is a subset of A
no the implication isn't there
I'm stupid
The implication you gave is wrong but the intersection is fine.
Let A & B be two sets:
A is a subset of B iff, for all elements in A, an element belonging to A implies that the element belongs to B. As far as I can see, the intersection has nothing to do with that.
hmm actually $B\cap A=B\implies B\subseteq A$
EpicGuy4227:
that's an iff
yeah it can be
That's what I was thinking epic, yeah. Though without the guarantee of a proper subset
Oh fuck lol shite
That personally seems much more intuitive to me since the left side states all elements of B are in A, which is the definition of a subset
I do remember proving that but it was sort of not the biggest idea presented so I didn't bother keeping it in my head.
Oh good so it is true
I kind of approach set theory as an extension of logic, so everything is reducible to some tautology.
I mean I haven't taken set theory or discrete or anything. Highest I've gone up to so far has been Cal 3. But I've been working on discrete problems to help some people out. That statement seemed right and I could give reasoning for it but it's not like I had paper in front of me and formally proved it
Hadn't seen it before so whenever you guys started questioning it I started to second guess myself
Is there a reason you guys are using the proper subset?
Shouldn't it have no guarantee its proper?
Urm okay, so the book that I use doesn't make that distinction. It basically starts off with the axioms of ZFC and just doesn't bother to make a distinction between proper subsets and subsets.
I think it will do it later but I haven't gotten to that point yet
Ah alright. I knew there was some contention there but just wanted to ask
$\subseteq$ is normal subset
EpicGuy4227:
not proper
Wait seriously? Huh.... Yeah I don't like that.
Actually, let me prove this a little carefully.
Well... Oh yeah actually it makes sense.
It's almost like an amalgamation of = and the proper subset
For some reason I had it in my head it was the other way around
back to the original question, $\subset$ sometimes means subset and sometimes means proper subset
EpicGuy4227:
I imagine in most cases it doesn't matter
Anyway, thanks for dealing with me tripping all over myself. If any of you want to look over that question I posted almost 11 hours ago that'd be nice but it's pretty late and I should probably go.
I had posted work and just wanted someone to look over it but no one ever did
Urm didn't write everything down cos a lot of it is quite obvious lol.
@pastel wolf Urm, I tried looking at the stuff you posted but it's unintelligible cos your handwriting is very messy. Could you write it up nicely and send it again?
I might tomorrow sometime
Sure.
All of people know at least 2 languages. 15 people know French, 24 German, 21 Italian. 8 know all three. Would the right answer be 15+24+21-8?
We have positive number which contains 20 digits, it can't contain 0, it contains Exactly three 1's and five 2's. How many numbers exist with such rules. My solution: ```
8!/(5!3!) = 56 ways to arrange three 1's and five 2's.
20C12 = 125970 ways to rearrange rest 12 numbers in 20 spots.
7^12 = 13 841 287 201 ways to rearrange 12 numbers where position matters and repetitions are allowed. Digits 0,1,2 are excluded
56125970*13 841 287 201 = 97 640 869 127 758 320 the answer
Would be nice to know if this is right, I don't have an answer sheet 😢
All of people know at least 2 languages. 15 people know French, 24 German, 21 Italian. 8 know all three. Would the right answer be 15+24+21-8?
depends on what the question was
Total amount of people in the group.
"it can't contain no 0" What does that mean?
contains at all times the 1s and five 2s.
EXACTLY three or AT LEAST three?
Are trees necessarily connected
@orchid jasper if it's disconnected, it's called a forest haha
Can anyone help me out with this question
What have you tried?
This is the answer still dont really know hwo to do it
since 9 choose 2 is not the same when you plug it into the formula n choose k plus 1
if n is odd sure
you can also just do it like they told you to
yeah I dont know how to
write out the explicit formula
and manipulate it with algebra so you get the result they want you to
you already know what you want to be looking for
You're assuming that $\binom{n}{k} = \binom{n}{k+1}$
Zopherus:
yes if the equation is true then n must be odd
That's what you're trying to prove
I was gonna try it using contradiction but then I tried 9 choose 2 and since it didnt work for the equation got confused and did not know what to do so I looked at the answer which did not really help me at all
I almost feel like contradiction is overkill
I don't think you understand what it means to prove such an implication
just write the formula
Or what contradiction actually does
and manipulate it
with contradiction wouldnt I assume n must be even
And try to reach a contradiction yes
yeah
n! / (k+1)! * (n-(k+1))! = (2k+1)! / (k+1)! * (2k+1-(k+1))! = (2k+1)! / (k+1)! * (2k-k)! = (2k+1)! / (k)! * (2k+1-k)! = n! / (k)! * (n-k)!
there u go
if you want to be thorough, you can also show that it breaks if I make n even
That doesn't mean you should consider something like 9 choose 2
That doesn't really make sense
I wasnt considering it in my proof
outside of the proof I was just trying examples of n being an odd number too see if it actually worked
for example I tried n = 5
since it was saying n must be odd I thought it would work everytime n was odd
It does work every time n is odd
But you must pick k such that $\binom{n}{k} = \binom{n}{k+1}$
Zopherus:
which is not true for all k
yes
so with a restricttion on k it would work
ahh
I think david is right about the 2k + 1 thing
Stop just revealing the answers
so n + 2k + 1
Let them figure it out
Shoot
need to work through these
what have you done
just starting out and getting my head around the topic, brainstorming for now
I know 3 is true (fairly sure right, since topological minor is homeomorphic)
I feel pretty sure (?) that 1 & 2 are true as well
since subgraph seems like it can be fairly analogous to minor relation for most (?) intents and purposes (if not all, unsure if there might be a good counterexample...)
in which case it would be just asserting graph minor theorem
and #2 would just be special case of #1 i.e. Kruskal tree theorem
Well, proving that things are well-quasi-ordered takes a few things
yeah, something something with progressions
and show that I can find at least one pair that is increasing (I believe)
I feel like #4 is false
since it doesn't necessarily preserve "orientation"
What do you mean by orientation
I'm thinking specifically of a tree case
where I specify the root
but I might be able to embed the tree such that what started as the root no longer remains the root
not completely sure...
Hm yeah, I need to sleep so can't think about this much, but it seems likely that 4 is false
I'm not sure about what you're saying though
thank you for the help
yep np
@faint narwhal ah here's a better explanation of what I meant: since it's a subgraph relation (not induced), I get to choose which edges I retain. So vertices that were increasing in distance away from the root in the original tree, once I embed it, I can choose edges which retain the overall "structure" of the tree, but which invert the ordering of the vertices
I think
can anyone tell me how to use the well ordering principle to prove mathematical induction
Hmm? You want a proof given to you? Maybe google it and post the parts of it that you don’t understand over here?
If you just want to construct the proof on your own, here are 2 hints:
-
State the exact forms of the well ordering principle, the principle of mathematical induction.
-
Let P(n) be a statement that you want to prove about the positive integers, given that you know that:
a. P(1) is true
b. For all n, P(n) => P(n+1)
Let S be a subset of the positive integers that contains all the elements such that P(n) is false. (We’re proceeding by contradiction).
Then, show that S is empty if all the conditions that we’ve stated are true.
Yeap, those are the conditions for induction to hold, yes?
Okay, what’s the well-ordering principle?
@weary tiger Make sure you state it exactly as it is.
Given any two distinct integers x and y we know that we must have either x < y or y < x however this is also true if instead of being integers, x and y are rational numbers or real numbers
? Haha let’s make it work a little more in our favour, yea?
It states that every non-empty subset of the positive integers contains a least element. That’s what will be super useful for us.
So, going back to our argument above, if we let S be the subset of the positive integers such that P(n) is false, then we can see that it must have a least element, yes?
byu least element you mean like an element with the lowest value
I dont get out P(n) being false means we must have a least element
No no no.
We’ve defined S to be a subset of the positive integers such that P(n) is false. By the Well-Ordering Principle, S must have a least element because it’s a subset of the positive integers.
So, S is a subset of the positive integers => S has a least element
ahh okay so the subset S is a subset that make P(n) false
and because of the well ordering principle it must have a least element
Yes.
alright I follow
Let’s call that least element m.
Now, we know that P(m) is false, correct?
P(m-1), then, has to be true. If it wasn’t, then m-1 would belong to S and would be the least element.
However, we also know that P(m-1) => P(m) is true. That is, the conditional is true. That means that P(m) must be true.
So we have shown that P(m) is true and false at the same time. That’s a contradiction.
wait P(m - 1) => P(m) is mathematical induction
Hence, S has no least element. Since S has no least element, it must be empty.
so we can know that cause arent we trying to prove that?
No. That’s an assumption, you see.
The thing that we’re trying to do is to show that if the following holds:
- Well ordering principle
- P(1) is true
- P(n) => P(n+1)
Then, P(n) must hold.
or is it just obvious that we can say we know that?
For all positive integers
okay okay continue
thanks for the help btw
my prof gave me a hint that it is likely this is a bonus q on the final so that is why i am trying to understand it '
So, S is empty. If S is empty, that means that there are no integers that exist such that P(n) is false, assuming that all the conditions above are true.
Therefore*
Yes
Remember, the three conditions that we assume to be true are:
- Well ordering principle
- P(1) is true.
- P(n) => P(n+1)
Then you must show that P(n) holds from all three of those by way of contradiction.
so I state that there exist a positive intger set S such that P(n) is false
and because S is a set of postive integer i must have a element m with the lowest value
and since P(n) is false for the set S
P(m) is also false as m is in S
but since m is the lowest value element in S we know that m - 1 is true since it is not apart of S
and since we assumed number 3
-
Let S be a subset of the positive integers such that P(n) is false.
-
If S is a subset of the positive integers, it must have a least element. We call that m.
-
P(m) is obviously false. P(m-1) has to be true by virtue of (m-1) not being in S. If it was, it would be the least element.
-
We know that P(m-1) => P(m) for all integers.
-
Hence, we have shown that P(m) has to be true. But we just said that it was false. Hence, it is true and false at the same time and that is an absurdity.
-
Hence, S cannot have a minimal element and so, it is empty. This proves that P(n) holds for all integers.
we know that P(m) must also be true resulting in a contradiction
Your phrasing is off but you have the right idea. Just remember that a number cannot be false. That’s in reference to “m-1 is true”. A statement about a given number can be false, though.
Yes. Be very clear about your phrasing. I don’t think your professor expects an excessive amount of formalism in your proof. Your class should be pretty basic, right?
so this is a method in which the well odering principle proves mathematical induction right?
yes it is an intro
class
Yeaaa it is lol
That’s what I spent the past 20 minutes doing lol. You must make sure that you’re convinced by the argument presented
we can also use mathematical induction to prove the well ordering principle right?
Yes, they are equivalent
yes that would be useful for future classes although my prof advised that since the exam is coming up if you still dont understand something make sure to atleast memorize then
thanks for the help btw
Haha I’d say that that’s bad advice lol.
I’d rather fail the exam than go in having memorized stuff for it
Oh well
Yea no worries, just ask questions anytime
this is a proof by contradiction yes?
Yes
Now, you can try proving the well ordering principle from the principle of induction using a proof by contraposition.
Yes, we assume that induction doesn’t hold
Then we show that it leads to an absurdity
alright this makes sense thanks for explaining
Can anyone tellme w why f is true
The empty set is a subset of every set
yes
$\varnothing \subseteq \text{anything}$
Ann:
But also {empty set} contains the empty set
that's d, kaynex
Oh yeah, tru
what is the difference between c and f
well I know the {} is the difference
since c is false
$\subseteq$ is subset, $\subset$ is proper subset
Ann:
judging by the fact that your problem uses both of these symbols
$A \subset B$ iff ($A \subseteq B$ but $A \neq B$)
Ann:
yes
I am aware of this
proper subset is only if there are some element in A that are not in B
no see the thing is
...
We had a discussion about this very thing yesterday.
i feel like there's a fundamental misunderstanding at play here
can we say 0 is the symbol for empty set since I dont know how to type the actual one
Oh I see.
∅ is a set that contains nothing.
{∅} is a set that contains another set.
Okay, here's the thing about the subset relation.
If A & B are sets, then A is a subset of B iff x E A => x E B, for all x belonging to A.
Let C be the empty set. Then,
C is a subset of {C} iff x E C => x E {C}, for all x E C
The thing is, x E C is always FALSE.
So, we have an implication that has a false antecedent. Hence, the implication is true by ex falso quodlibet. The idea is that you can prove anything from a false antecedent.
@weary tiger
Uh yea, if ya want to think of it that way.
Yis. ∅ is not the same set as {∅}
You can prove that the empty set is a subset of any set by using the argument I gave above.
An intuitive way to think about it is that a box containing an instrument is not the same thing as the instrument. They're related but not the same. So far so good?
Well, okay, think about what C intersection D represents.
Yeap.
Look at the information you've been given and think very hard about C intersection D. Wht does it mean?
C is the set of all integers that are divisible by 2. D is the set of all integers that are divisible by 4. What would their intersection be?
set of all integers divisble by 4 no?
Right, so it's the set of all integers that are divisible by 2 & 4. Now, what does B represent? The set of integers that are divisible by 8, right?
Now, is 4 divisible by 2 and 4?
That's Cbar, which I assume is the complement of C
Oh right my bad, I didn't see that C bar.
Okay, so C bar is the set of all elements that are not divisible by 2. The intersection of C bar and D is?
before we get to the C intersect D is just 4n right
since
C contains {.... 2, 4, 6, 8....} and D contains {...4, 8...}
Yea, C intersection D is just D.
so C bar is everything that is not divisble by 2 so odd numbers
Yes. So, what's the intersection of Cbar and D?
It's empty.
yes
it B bar and yes it is
so it make sense
I wasnt thinking of empty set thats where I messed uo
I though since it was nothing it was not a subset of B
ty!
Go back and prove all set-theoretic statements that have been discussed in your class
That will help you more than just grinding through problems. You need to be familiar with the theory so you can do problems.
I think that this chapter on set is the one I am most confident on
but yes I do plan on going through the definition and statments of all chapters
Yes, please do that. It'll be very important to get a good grasp of how everything works.
@weary tiger
Still looking for it?
when I got part a using a diff method as this was an assignment from earlier but yeah I still have no idea what the ta is doing here
Urm still stuck on it, I assume?
what part confuses you in the proof?
need to find out how many nonisomorphic graphs with vertices deg (3,3,3,3,3,3,2)
i found out that this is graph of 7 vertices and 12 edges
I used this formula to estimate at least how many graphs can i construct with these requirements
2^(nr. of vertices choose 2)
than i divided by n! and got that i can draw at least 417 non-isomoprhic graphs
but these aren't following the requirements of the vertices deg,
So how do i see how many of these graphs have 12 edges
shouldn't the graph have 8 vertices
if there is 8 numbers in the degree sequence
also, have you tried drawing the graph
see what you notice if you do
@daring bane
Yes i have tried here is how it looks like
@pale epoch i have added one three mistakenly in the degree sequence
so the correct one is (3,3,3,3,3,3,2)
as in the picture
i mean, both examples this is the only graph up to isomorphism
you just have to find a good argument
for the second case, you can delete the vertex with degree 6
and get C_6
for the first graph you can argue similar
ok thank you @pale epoch
hey
i have a question about the a* search
so the heuristic value, can it be much smaller than my edge paths?
or does it have to be similar, for ex my edge paths are all have a value of 100+, and for the heuristic i measured the literal straight line distance of it to the goal node on my computer
so the paths have a giant value whilst the heuristic value is like 9 or 10
does that make any difference?
<@&286206848099549185>
plz help
does anyone here know the a* search algorithm??
wait i think im wrong one sec lemme fix
potapeno:
In your case the straight line distance satisfies this equation by the triangle inequality @rapid herald
so it has to be either an underestimate or equal to the smallest path?
i dont know if that answers your question
basically it has to be an understimate of the actual path
yeah
perfect, so the whole point of it is to avoid it from going to as many tangents as dijkstra does
exactly
the heuristic is to make it tend towards to actual solution
Hello, could someone please help me with some questions:
I found this:
Is there another way of solving this problem?
have you heard of fermat's little theorem?
no
it's pretty straight forward, if you have two relatively prime integers, like you do, then
$a^{p-1} \equiv 1 \mod p$
Merosity:
p being a prime number
11 and 17 are both prime so it works out fine
since you want the inverse,
$a^{p-2}*a \equiv 1 \mod p$
Merosity:
just separate this by exponent rules
notice, since that something multiplying a gives you 1
that means it's the inverse
this isn't the most efficient way either, but it is more direct than just checking everything
well you'd still have to find 10^15 mod 17
there are some shortcuts I was considering offering, but I think they left
extended euclidean algo is quite ok here also
I'm watching a video on fermat's little theorem on YT
It doesn't seem like a nice method to solving this but doesn't hurt to learn
Mind giving an example using inputs from (a)? @opal crescent
It is easier to learn from examples rather than a general formula
finding an inverse mod 11 of 4 is equivalent to solving the diophantine equation 4x-11k=1
since 4 and 11 are relatively prime, a solution exists to this eq, and extended euclidean algo is gonna give us one
lemme type it up now
$$11 = 4 \cdot 2 + 3$$ $$4 = 3\cdot 1 + 1$$
emeric75:
thought it would be longer lel
so yeah gcd(4,11)=1 what a surprise
and 1 = 4-3 = 4-(11 - 4 * 2) = 4 * 3 - 11
ie 3 is an inverse of 4 mod 11
Honestly, thats how we did it in class and working backwards gets me confused all the time.
well i used to be confused also lel
so yeah it's not that quicker than just going through the multiples with 4 mod 11
but god it's so much easier for the other one
Yes, this is the best method. I will try to learn "working backwards" part
Thank you very much though
well actually the multiples way is faster in this case also
cause instead of recalculating the multiple each time like you did
you could just add 10 to the result from the previous multiple
reduce mod 17
but yeah for bigger numbers it becomes long also
Yes, if theres a big number, I don't want to be doing all that
exam: find an inverse of 101 mod 257

I'm trying to work this out with inputs from (b) a=10, m=17
Answer should be 12 but I don't get it
17 = 10x1+7
10 = 1x7+3
Are you still here @opal crescent ?
10 = 10x1+0
1x7 + 3?
need some sleep?
definitely
change 17s division
now.. am I dividing 1 or 7?
7 by 3
if you have a = bq+r, you get that gcd(a,b) = gcd(b,r)
that's the basis of euclidean algo
a = 10, m = 17
17 = 10x1+7
10 = 7x1+3
7 = 3x2+1
Work backwards with remainders:
r1 = ((1)7-2(3))
r3 = ((1)10-1(7))
r7 = ((1)17-1(10))
1 = 1(7)-2(r3) = -2(10)+3(7)
1 = -2(10)+3(r7) = 3(17)-5(10)
1 = 3(17)-5(10) = 0 + (-5(10))
if # in 1=3(#) match mod, stop and evaluate.
3(17) = 0
-5(10) #10 is = a from the start and -5 is the inverse
or add mod 17 to get positive inverse of 12
1 = 1(7)-2(1(10)-1(7))=-2(10)+3(7)
1 = -2(10)+3(1(17)-1(10)) = 3(17)-5(10)
1 = 3(17)-5(10) = 0 + (-5(10))
-5 is the inverse or if +mod17, the inverse is 12!
@opal crescent thank you 
when going from line 2 to 3, why b only distributed to the last term, b^k
shouldnt there be 2 sums
or is it just not listed out
not sure how you're thinking in your mind, but there are only 2 "overflow" terms, a^k+1 and b^k+1
the rest pair up
maybe this helps to see
what's being grouped together
the resulting a^k b term comes from a^k and a^{k-1}b
depending on if you give it b or a
,rotate
oh yeah one sec
too vague and sheisty to say otherwise
about to cook dinner, so you have more than a bit I'm afraid lol
ok thx lol
I feel like it would be easier for me to type up the solution myself and you check that it's the same as what I wrote lol
nevermind I started typing it and realized that's also not fun
ok that looks good
lmao ok thanks
Neither
Are you talking about functions from $\bR$ to $\bR$?
Icy001:
yea
x^2 is neither injective nor surjective
Icy001:
F

I have an idea what he might have shown
$f'(x)>0\cndall x\in\bR\implies f$ is injective
Icy001:
I don't think you need ivt
hmm ok but thanks
I just thought of the proof and it does use the mean value theorem but then again I can't think of a counterexample on a space that isn't connected... oh wait
Ok you do need ivt
Let $X=\bR^-\cup\bR^+$ and consider a function $\func f X \bR$ defined separately to be increasing on the two parts
there's no reason it has to be injective
Icy001:
ok makes sense
so to prove surjectivity here, i would need to show that any y in R can be expressed from a single x in -1 to 1
i dont know how to do that though..
I think you can take a shortcut as follows
look at the limits as x approaches -1 and 1
and then use the intermediate value theorem
Wait...
wait a minute
This is not bijective at all
I don't think 2 can be represented
If $f(x)=2$ then $x\geq 0$ because the $x<0$ portion is clearly all negative
Icy001:
Meanwhile, $0<\frac{x^2}{1+x^2}<1\cndall x\in\bR^+$
Icy001:
You can fix this by replacing 1+x^2 with 1-x^2
in both parts
Then I confirmed it is bijective
the domain of the original function is also -1 to 1 right
ya
aka the same as the image
Icy001:
so to be bijective, its range has to be $\bR$
Icy001:
right
Ah yes the other way to fix it is to change the codomain to $(-1,1)$
Icy001:
i get that mixed up
Then it will go back to being bijective I think
so if i do that, or switch the + with a -, then i can take the limits and use that and ivt to show that there will exist a unique x in (-1,1) that gets mapped?
Not necessarily unique
right
but uniqueness was proved by your proof that it's injective
uniqueness comes from injectivity
yes
ok got it
Surjectivity: $#f^{-1}(x)\geq 1\cndall x$
Injectivity: $#f^{-1}(x)\leq 1 \cndall x$
Icy001:
what does pound sign mean
size of a set
oh cardinality
yep
I like how that formula unites the concepts of surjectivity and injectivity, whose definitions look so different from each other
The difference between your notes and my formulas are that the implications in your notes only go one way
but mine are equivalences
for example injective implies $|A|\leq|B|$ but $|A|\leq |B|$ isn't enough to tell you that $f$ is injective
Icy001:
that makes sense
uh last question as i go over earlier reviews
i need to find functions h, k st neither are constant but h • k and k • h are contant
i was thinking the characteristic function might work but it doesnt
and same with inverses
an idea is to make them constant over certain ranges but not others and then have the image of each of them not land in the range where the other is non-constant
hmm
so in fact your characteristic function can work
but you just have to add a constant to one of them
hmm alright give me a bit
yeah the characteristic would work but i didnt realize what was going on, or what i needed to do in that making the outputs of each function fall into only 1 catagory of the other
also i was initially trying to make them equal
i have seen those inj/surj equations before, those are extremely nice
hey, struggling with this proof
after the induction step i got:
6 + [ (k+1)^2+4(k+1)+6 / 2^(k+1) ] + [ (k+1)^2 / 2^(k+1) ] = 6
so i guess according to me everything after 6 + and before = should all = 0?? but that doesnt make sense, so any idea where im going wrong?
well you don't have a sum with the n^2+..../2^n that's quite the problem
what are you trying to show ? @dusky silo
okay so for subbing in k for n, we assume all of that = 6 right?
i assumed after that you just sub in (k+1) everywhere there was an n and showed that that too would = 6 oops
well you assume $$\frac{k^2+4k+6}{2^k} + \sum_{j=1}^k \frac{j^2}{2^j} = 6$$ for some $k$ yeah
emeric75:
and wanna show this holds for k+1
ie
$$\frac{(k+1)^2 + 4(k+1) + 6}{2^{k+1}} + \sum_{j=1}^{k+1} \frac{j^2}{2^j} = 6$$
emeric75:
what you did is like saying $$\frac{(k+1)^2 + 4(k+1) + 6}{2^{k+1}} = \frac{(k+1)^2 + 4(k+1) + 6}{2^{k+1}} + \frac{k^2+4k+6}{2^k}$$
emeric75:
you treated that thing as if it was being summed over
but it's not
so now yeah
how could we go from that to (k²+4k+6)/2^k
(the thing i circled in red)
idek i expanded it and got k^2 + 6k + 8
for the numberator, i thought youd be dividing everything by 2 or something but numerator / 2 doesnt result in (k²+4k+6)
wait you mean k^2+6k+11
anyway yeah if you expand you'll get $$\frac{k^2+6k+11}{2^{k+1}}$$
emeric75:
which is just $$\frac{(k^2+4k+6) + (2k+5)}{2^{k+1}}$$
emeric75:
right?
yepyep
now let's put things together a bit $$\frac{(k+1)^2 + 4(k+1) + 6}{2^{k+1}} + \sum_{j=1}^{k+1} \frac{j^2}{2^j} = \frac{(k^2+4k+6) + (2k+5)}{2^{k+1}} + \sum_{k=1}^n \frac{j^2}{2^j} + \frac{(n+1)^2}{2^{n+1}}$$
emeric75:
okAY i actually got it but man that was way above my paygrade
ok noice
thank you for the help haha idek how ill do that in like ~5 minutes but eh
was drinking coffee at the same time lel
^^
👌
alright
only q on the final i wasnt feeling good about
so we were asked to find how many possible binary strings of length 10 exist such that each string starts and ends with 1, and has exactly three 0's in between
isnt the part about the endpoints irrelevent and the answer 8C3
yup you got it
It’s not irrelevant lol. If that condition wasn’t there, the answer wouldn’t be 8C3.
well if the ends had been other stuff it wouldn't matter in that sense
like if it started with 11 and ended in 00 and was of length 12, etc etc same answer
Yea
i mean if it was like has atleast one end char is a 1
then the ans would be 3 x that
but alright, ty
Fuck me
one of the qs was asking to define countably infinite
i originally put that a set is countably infinite if it is equipotent to N
then crossed that out and put a countable union of subsets
cuz i thought that that definition is circular

How do I show that the maximum number of elements in a matching is
If
G is a bipartite graph with bipartition (A, B)
$$|A| - \max_{C \subseteq A} (|C| - |N(C)|)$$
ratsella:
ok 95% both of these are not bipartite. Can someone just check for me? I feel like I am dumb because I feel like hw would have at least one be bipartite.
just because usually homework likes to test proficiency
so you would expect at least one answer to be true
hm, i wouldnt
two questions about this:
- why are the only sums you can make starting from a1 ? couldnt you start a sum from a2?
and 2. why are there (n-1) distinct remainders possible with the sums they listed?
it doesn't really matter what order you make the sum in
there are n-1 distinct remainders because you're imagining the worst case scenario
where none of the sums are divisible by n
if one of them is, then the thing you're trying to prove is true
but even when none of those sums are divisible by n, you still get the result that there's a sum divisible by n
okay following up until the last line, not sure what that bit means though like
if none of S1, S2,... Sn are divisible by n then one of them is divisible by n? wat
no, if none of them are divisible by n then you have two of those sums with the same remainder when divided by n. So you subtract the smaller sum from the larger sum, since it contains all of its terms. @dusky silo
@jagged grove show your best attempt at it
OHH dude that took me a minute to wrap my head around, tysm ! @obtuse lance
yeah it's weird lol
kind of hard to follow but I sort of see what you're doing
$1^3+2^3+\cdots+n^3 = (1+2+\cdots+n)^2$
Merosity:
you assumed that was true right
yes
hmm would it be cheating if I just show how I'd do it?
its not a homework
try n = 2???
im just doing it cause i want to refresh stuff
Merosity:
oh wait 🤔
wouldnt that be
I would look at the next term, then expand
$(1+2+\cdots+n)^2 + 2*(n+1)\frac{n(n+1)}{2} + (n+1)^2$
Merosity:
the thing on the left is what we know, the sum of cubes
$1^3+2^3+\cdots+n^3 + n*(n+1)^2 + (n+1)^2$
Merosity:
simplifying step
again factor out (n+1)^2 to get (n+1) and
done
$1^3+2^3+\cdots+n^3+(n+1)^3$
Merosity:
$2*(n+1)\frac{n(n+1)}{2}$
Merosity:
$$a=1+2+\cdots+n$$ $$b=(n+1)$$
Merosity:
$a^2 = 1^3+2^3+\cdots+n^3$ is what we assumed for induction
Merosity:
yes
$2ab = 2*(1+2+\cdots+n)*(n+1)$
Merosity:
$1+2+\cdots + n= \frac{n(n+1)}{2}$
Merosity:
I maybe assumed you knew this formula but maybe I assumed too much
quick way to derive it is
write the sum below itself but backwards
$$1+2+3+4$$$$4+3+2+1$$
Merosity:
like that
ohh
thats neat
well if i said something like it is known that $1+2+\cdots + n= \frac{n(n+1)}{2}$
dandida:
dandida:
beats me, I'm not your teacher
I would prove it by induction if I felt like I had to thought
i have done that proof before
its literally on my last exam lol
i guess teacher was lazy
rofl
i mean $1+2+\cdots + n= \frac{n(n+1)}{2}$
dandida:
idk, do what you gotta do for your teacher, I feel like it's not too crazy to use that as a formula
if you have time leftover at the end of your test then prove that by induction too to cover your bases I guess
i just want to learn so i can take a real analysis text book
I'd rather just derive the identity for sum of cubes directly
and then equate them
the identity for the sum of cubes?
yeah, well in general you can derive the sum of nth powers iteratively from smaller sums of powers
at least, that's more interesting imo than confirming identities someone else gives me by induction
i took those topics in a math for software engineers major
so i bet they just wanted to cover induction
you seem like you're ready to read a real analysis book and learn by yourself
I say just go for it, read a little bit every day and just don't let yourself get discouraged when you get overhwelmed and do a little the next day etc
ill just keep doing excersises and come here every now and then
like once each day
i guess that will put me up to speed
Hey can someone help me with this question: “how many different k cycles (cycles of k length) are there in Sn?” (Only count two k cycles as different if they define different elements in Sn)
I’m not sure how to approach this
I guess I should try different Sn cases and then see whether there’s a pattern?
well, how would you construct a k-cycle naively?
What do you mean naively?
@lethal sequoia I don't have a solution in mind off the top of my head, but I've been doing similar proofs in my class as well so I have some ideas to help you brainstorm strategies
Check out Menger's theorem for identifying vertex disjoint paths
and you can partition a cycle into two "arcs" which you can obtain via menger's
and then rejoin the arcs to form a cycle
pretty sure this question is about cyclic permutations in the group S_n, not cycles in a graph?
oop my bad
I've been so focused on graph theory recently I'm just primed to see it everywhere haha
its a lot simpler than graph cycles
i dont really know how to help with the question without just giving the answer
i can do an example with S3 i guess
consider 2 cycles in S3
lets list all "naive" 2 cycles
(12),(13),(21),(23),(31),(32)
but we have double counted, since the cycle (12) = (21)
so we have to divide by 2
@lethal sequoia
we can use similar reasoning for 3 cycles
(123),(132),(213),(231),(312),(321)
in this case we triple counted (123)=(231)=(312)
so we divide by 3
given these cases, think about how many cycles are double counted, and how many "naive" cycles there are
and it should be easy to generalize
Ah okay, I think I have an idea now. I’ll try something and let you know if I got the answer
Thanks!
@jagged grove its quicker to prove the sum of natural numbers formula the gauss way than by induction
@weary tiger the exercise explicitly states that u want to use induction
though ill try proving it the gauss way next time
have to or want to?
oh well i have this exact problem written out funnily enough
as i told the guy who helped me with this
just refreshing concepts until to read a analysis book
to read*
fk sideways pic
i evaluated the right side directly with the gauss method then used induction to show they are equal
faster than doing induction twice
u used the fact the gauss formula is equal to replatinate the problem?
rephrase*
english is not my main language u se
yea i just rewrote the sum of naturals squared in another form
and then showed the sum of cubes was equal to that
and to get it into another form i used the gauss method to show what the the sum of naturals was equal to then squared the result
I am really confused about transitivity
How is this transitive if when i pair up (1,2) and (3,3) i don't have (1,3) ?
wait no
You can't pair up (1,2) and (3,3)
yeah just clicked that
It has to be (a,b) and (b,c) and (a,c) follows
thats it - makes sense now
👌
Word of advice: don't answer questions so fast - people might figure it out in the next 5 seconds themselves ^^ :p
Haha it happens very rarely that I even can answer a question, this was such an occasion.
How do i form bijection between [4,inf) and (2,10)
Task is to prove equivalence by forming bijection between those sets
hint: the composition of bijections is bijective
composition of bijections
so you're saying that [4,inf) is a bijection
and (2,10) is bijection
do you know what a bijection is?
injective, syrjective
so what is "[4,inf) is a bijection" supposed to mean?
im just confused of what u meant by "bijections"
sorry english is not my native tongue
Can someone help me with partial orderings :d
pm if this interrupts here
i just need bit of help
well i have no idea how to go forward
but are those intervals?
the task says they are sets
but if you combine you just get (2, inf) like number line and that is one to one and goes trough all numbers but idk i have not dealt with this before so retard answer prob
someone pls help me with partial ordering task on my exam that i dont understand even after reading solution
Let Z be the whole numbers, and N the natural numbers, og let for each i element in N, the set iZ given by.
a) Show that the set C is a partial ordered set under inclusion
do you know the definition of a partial order
yeah
then check it
you don't even need to know the specifics of C. inclusion is always a partial order.
well i dont see how i have the whole (a, b) (b, a) situation
A subset of B & B subset of A => A=B. it's a basic fact from set theory.
i am not 100% what inclusion is
$\subseteq$
Ann:
...
i have like an idea
do you know what the word "subset" means
ahh :d
"inclusion" is just another name for the subset relation
you're asked to show that $\subseteq$ meets all the requirements for a partial order
Ann:
which frankly should be almost obvious as they boil down to properties that are easily verified for it
I feel like i have the most problem with understanding the question
but like if something is a subset of a
and that is subset of b and so on
i understand how that is a partial ordering
but i dont understand what the question is doing
with all the iZ and C and things
and what is the set C
is it C that is the partial ordering under inclusion idk
,,,,
I understand how to see if it is one to one
however, how do I check if it is onto?
check if all integers are hit by it
take an arbitrary element and find a preimage or show that there is an element with no preimage
so set the function equal to an arbitrary element?
essentially
so say I set it equal to one, then what do I do
solve it
well, in this case you can also look at 3662x^3+9102x first
and try to simplify it
I seeee
ty
I got another
"prove 4-c theorem for planar graph without using 3-cycles"
What exactly does this even mean
4 color
theorem
that question has a wiki page lol
thank god
yeah, you are not going to prove the 4 color theorem on a homework set
it's going to be on the exam
hilarious
omg I can't replicate this
you must be trolling
I'm not
there is not even a proof of that theorem that can reasonably be presented in class
is it open laptop with proof-assist
kek
It's easier right?
Ok so that doesn't mean 4 color
well, it's a weaker version i guess
Gotcha
this can be done using eulers polyhedron formula
which for regular planar graphs still shows 6-colorability
and produces one of the best proofs in all of mathematics, bcs you can prove it imagining a polyhedron in a bath tub that is slowly filled with water
i gotcha
not really sure of a good way to attack this
there's a result by Chvátal (it uses min degree, but chromatic + clique numbers can be related to min degree):
but it only gives subgraphs, not induced
How do i form bijection between [4,inf) and (2,10)
Task is to prove equivalence by forming bijection between those sets
"When a planar graph is drawn in the plane, one can distinguish, besides its vertices and edges, its faces
(more precisely, these are faces of the drawing, not of the graph itself). The faces are the regions into which
the graph subdivides the plane. One of them is infinite, and the others are finite."
Can someone explain this to me?
I'm not really seeing the whole "subdivides the plane" visually
if you draw a graph in paint
and use the bucket tool to fill regions in
those are your faces
But graphs can be seen in a 3d way, right
That's why something like a square with 2 diagonals running through it is still planar?
yes
Can you explain what the terminology "subdivides the plane" means?
I can see how we got f = 4
I just want to know in a technical sense
what that term means
How many different colors you have
4
thats it
that doesnt help LOL
i'm no longer interested in our calculations
i want an actual definition
4 is not a definition
of faces is not a definition
"How many different colors you have"
what do the colors represent
The faces
thats a circular definition
faces = subdivides the plane = colors = faces
its ok i think i see it now its fine
so we consider graphs in graph theory to be 2d?
Basically
"If the graph is not a tree, it must have a cycle. Take any cycle and delete any edge of the cycle. This
amounts to reducing both e and f by one, without changing v. By induction, the formula is true in the
smaller graph, and so it must be true in the original one as well."
I'm not sure I understand this paragraph?
Why are we deleting an edge of a cycle
Also, if it's true on a smaller graph, why must it be true in the original?
What does drawing back the edge do to the formula
In induction we try to prove n+1, why are we just deleting an edge and going to n again?
We're not going to n again
I guess I'm not seeing the logical jump here:
Take any cycle and delete any edge of the cycle. This
amounts to reducing both e and f by one, without changing v. By induction, the formula is true in the
smaller graph, and so it must be true in the original one as well.
What does drawing back the edge do to the formula
increases e and f by 1
So why, if its true on the smaller graph, then its also true in the larger graph?
Guys I need to compute these permutations as a product of disjoint cycles.
(2346)(3425)(54) and (123)(234)(461)
Is my answer correct?
For the first: (1)(2536)(4)
And second: (13462)(5)
I know I should ignore the (1) and (4) in the first. And also the (5) in the second. Just wanted to check if I had the right thinking
yes
Thanks!
I put it in wolfram but it is giving a different answer so I thought it was wrong
,w (2346)(3425)(54)
did you get something like this? because WA treats it as multiplication
Is any complete graph with 5 or more vertices guaranteed to be non-planar?
Since it would contain K5?
Yes
Is there an easy way to know if a graph contains $K_{3,3} or K_5$?
Momo: