#discrete-math
1 messages · Page 144 of 1
need help, not getting anywhere with my attempts
I think it would be helpful to rewrite the left side with $\sum$
mathew_soto78:
Let Sn be the sum on the left. How can you rewrite S(n+1) in terms of Sn and n?
||S(n+1)=S(n)+2^(n+1)||
what's the -1 though?
1+2 = 2^2 - 1
ah right..
the sum of the first n powers of 2 (including 2^0) is always one minus the next power of 2
that's what the problem is asking you to show, but I recommended to write out the left side with a summation symbol because I usually find it easier to do these sort of problems when I've written it out more formally, or "mathematically"
can't believe I had to refresh on how to correctly write sigma notation but.. I got it
yep that's the left side
so show that $\sum_{k=0}^n 2^k = 2^{n+1}-1$ for all $n\in \mathbb{N}$ using induction, you need a base case and an inductive step
mathew_soto78:
I don't know if the way your teacher defined $\mathbb{N}$ includes 0 or not, but it works for 0 as well as 1 so it doesn't matter which one of those you take as your base case
right
Hey, i just started learning discrete math and have become familiar with the conjugation operator, can anyone confirm if my answer to this question is correct?
does that emoji mean yes or no...
@delicate ridge Yes, there is.
Okay thanks
though a might work, its been a while though so probably want some more confirmation
from the examples i read, i dont think its a, but then again im the noob here
considering this question, which is supposedly really easy, i have no clue at all how im supposed to solve it
im not familiar with how to solve this type of problem in my practice sheet, does anyone know how to solve it?
here's a hint: consider O_1 + O_2
i got this example saying sqrt2 to the power of sqrt 2 is rational and I don't see how? It was a non-constructive proof
I think it proves (irrational)^irrational can be rational, not √2^√2
yea this textbook trolled me then
kobayashi are you sure you aren't misinterpreting it
u want a screen shot
yes
i'm like 99% sure it says
"either sqrt(2)^sqrt(2) is rational or it is not. if it is, we're done. if it isn't, raise it to the power of sqrt(2) and end up with 2"
if x is rational, then x is rational
Is this a statement that even makes sense?
https://puu.sh/GsUeX/21c3b9e646.png
I don't understand what the intersection of a set X and a cartesian product of two other sets would even be
Empty?
the cartesian product of two sets is a set
and you can intersect any two sets
for X=R^2, Y=Z=R, its not empty
its R^2
the intersection of R^2 and R
then its empty?

what's the problem?
so it does make as little sense as i originally thought
it's a valid statement
Wait what
We just found a counterexample
Last I checked R^2 is not equal to the cartesian product of the empty set with the empty set
yes, that does not make it less of a statement
it just happens to be wrong in this case
Can someone please explain What Left Identity of => is,
and what ex false quodlibet?
i know ex false quodlibet mean, from falsehood, anything
$a_1=\left{a_i:::2\le :i\le n\right}$
The-Elite:
is this how you would say "a_1 can take any value of a_i where i is greater than or equal to 2 and less than or equal to n?
Can anyone help with this? I'm not sure how to even start this.
use the product rule and binomial coefficient
is this how you would say "a_1 can take any value of a_i where i is greater than or equal to 2 and less than or equal to n?"
no
you're equating a_1 to the entire set {a_2, a_3, ..., a_n}
no, should have been $\in$ @weary tiger
Fractal:
but also, the set builder notation is wrong as well
well, not the notation. the set is wrong
a_1 should be in that set
not with how she specified it
well
what does A subset B mean
that set A has the same elements as set B?
doesnt that make them both equal sets
right and we didnt use the proper set symbol
so we know set B doesnt have another elements that are not in set B
thus, set A and B have the same elements
and are both subsets of each other
?
bruh what
i never said B was a subset of A
it is possible to have A ⊆ B without B ⊆ A yknow
for example, A = {1,2,3} and B = {1,2,3,4,5}
symmetric*
and no obviously it isn't
would you expect the less-than-or-equal-to relation ≤ to be symmetric?
would you expect a ≤ b to be the same as b ≤ a?
Yep so basically if it’s improper ⊆, similar to what Ann said, then all elements in A are in B. If B just so happens to have the same elements in A, then that’s why there’s the bar under the subset symbol. The relation doesn’t commute because if it did, then all sets would be equal to each other. This notion is explored when you get into subset inclusion proofs where you prove two sets to be equal by proving two cases where each is a subset of each other.
what do you mean
like how do i write it in math notation
so I have a set P that contains elements from 2 all they way upto n
is that all
ya
P = {2, 3, ..., n}
{k ∈ N | 2 ≤ k ≤ n} if you want to be stuck-up and formal
so P = {k ∈ N | 2 ≤ k ≤ n}
is it fine to put the P there
P = {k ∈ N | 2 ≤ k ≤ n}
also what is N?
the set of natural numbers
oh
so if we want to describe the elements of a set P it is fine to say P = {k ∈ N | 2 ≤ k ≤ n}?
that's set builder notation, so yes
can anyone explain a state machine please
i have a textbook explanation but im curious if anyone has a different wording or something like that
I've just started with discrete math 
with set theory, let's say i have a set A = {1,{3,5},3,6,7} is {3,5} an element or a subset?
of A? an element
oh i c so {{3,5}} would be a subset?
yes
@gritty crescent use the MIT opencourseware on it, i started about a month ago
it goes pretty fast but im going really slow to counter it and ive liked it v much
Yeah, I was bothered by their pace. I liked their assignments though, I might use them. Currently, I've enrolled in a different MOOC, which is also free. It's going at a manageable pace, but they're not offering a lot of courseware, so I might complement it with OCWs material.
yeah what im doing is just following the OCW lectures but since they go so fast if they talk about something i missed i go back and read up do practice etc
hence, im only on lecture 4 after a month lmao
But that's good, they do cover everything in a lot of depth.
And this also highlights MIT's own academic rigour. I guess the students over there have to grind real hard to get through their college lives.
yeah probably true
im supposed to be a sophmore but taking a gap year and i go to a decent private uni in PA, super different
then again i mostly bullshitted my freshman year unfortunately but MIT seems crazy
Freshman means first year at uni, right? Not familiar with American education terminology, sorry.
yeah lol first year, supposed to be second year rn
I see. So you're majoring in maths?
we should probably talk in PM tho, dont wanna get too off topic here
👍
I was given an explanation in #help-8 , which seems to be the standard analogy. However, I personally struggled with understanding it, and need some intuition to understand this.
If kid 1 ordering chocolate and kid 2 ordering strawberry were different from kid 1 ordering strawberry and kid 2 ordering chocolate, then I think it would be n^r (each kid can order from any of r flavors)
but it seems like what this question is really looking for is the number of different possible orders of n ice cream cones if there are r different flavors, so the order in which the cones are ordered doesn't matter
I just checked questions-theta, I was about to give you the same explanation you're struggling with lol
@gritty crescent what about that explanation gives you trouble?
Need to confirm my answers are right here is the context and answers:
Context:
U={1,2,3,4,5,6,7}
A={1,7}
B={1,2,4,6}
C={1,3,5,7}```
Answers:
- C-A = {3,5}
- A∩ B′= {7}
3)(A∩B)∪C′= {2,4,6}
4)(A∪B)′= {3,5} - (C-A)'∩B={1,2,4,6}
Thanks in advance :))
Any time :)
how do i go about this problem
read the definitions
I have such that if x is in A and B then x is in a and x is in b but I do not know how to prove something is a subset of something else
I need direction on how to start
you take an element from the left hand side and show that it is also an element of the right hand side
so x is an element of a and b. Hence, x is an element of a and x is an element of b. Therefore x is an element of b and AandB is a subset of B?
This was what I answered previously before consulting this channel
ye
Ok thank you!
your argument works for every x, this then shows A and B subset B
yo can someone explain how to draw hasse diagrams
im very confused
i'm looking at this question and my brain is drawing a blank
i think i have an idea of how to solve it
but i dont know if i'm right
is anyone here?
yea, i just have questions regarding formatting and whatnot
I have to draw a hasse diagram of natural numbers less than or equal to 10
And the divides are “|” whatever that means
I just feel like this isnt right because i dont think 8 would be the maximal?
if i have a function that maps i to a_i and they're all the same values, how do i write that in set notation?
i was thinking $a_i=\left{i\in N:::1\le i\le 4\right}$
but idk if that's right
The-Elite:
<@&286206848099549185>
$A_{i} = {X | X \in \mathbb{N}, 1 \leq X \leq 4}$ might work
Swagger:
$\frac{a}{b}
Well if u can relate something to something else is that is certainly true, then the subrelation must be true as well, dont you think?
I guess in this case sure?
Well there is little context here for me, so theres not to much to go off of.
But that would be my main argument ^^^
Hey, is there anyone that could help me with a concept?
I've been stuck on this concept for quite some time now

Depends
But yes if you have a limited number of bits there will be overflow at some point
@gritty crescent what about that explanation gives you trouble?
@gusty crag I've figured it now, initially I had trouble processing it.
what made it click?
hello all
in this NFA, the prof said it accepts an epsilon input
but I thought in a NFA you have to take the epsilon path if it is an input
what made it click?
@gusty crag I took a look at the visual of separating by sticks again, and then all of a sudden the idea started making sense. I still have a minor doubt though.
Bro i love ur pfp @dapper mason
lol thanks
issue has been resolved, NFAs aren't forced to traverse epsilon transitions
Hi, can someone explain to me about Quantifier?
what about them
I do not understand when to use for all and there exist formula in the word statements
can you show an example of what you're struggling with
okay yeah some of these are not obvious
How to know which one to use in this statements?
(d) seems to be a case for "there exists" quantifier.
The other three all seem to be "for all" statements since any passenger/man/woman/student qualifies if they meet the given criterion. I could be wrong though. 🤷♂️
What have you tried so far?
The first three I put it as forall then the last one as there exist
Could someone check my work? I'm going through the Book of Proof Section 1.4 and I'm having a difficulty solving question 12. Now, if I'm reading this correctly, X is an element of that powerset but 2 must be an element of X. 2 isn't the same as {2} right? Which would mean that the answer is an empty set since there's none. I'm not sure if I'm right though so if there's someone that could help me understand, that would be fantastic.
\in, by the way
also, no
your set is the set of all subsets of X which have 2 as an element
{ {2}, {1,2}, {2,3}, {1,2,3} }
these questions confuse me a lot but I think I got it now, I wish it was part of the solutions so that I didn't have to ask. Thank you for clarifying my concerns @stray reef
that makes so much sense now
@stray reef Also another question if you don't mind, if the rule was something like |X| ≤ 1, does that mean the set would be any element that only has a size/cardinality of less than or equal to 1? For instance, the question would be {XeP({1,2,3}):|X| ≤ 1} and the answer would be { {}, {1}, {2}, {3} }, am I doing this right?
Sounds good to me.
@gritty crescent Thank you!
that wording will get a grumble grumble from me but otherwise fine
In how many ways can one move from (0,0) to (5,5) on the Cartesian plane, making only unit movements to the right or upwards?
For instance, one such path would be (0,0)->(0,1)->(0,2)->(1,2)->(2,2)->(3,2)->(3,3)->(4,3)->(5,3)->(5,4)->(5,5)
I'm not aware of any systematic method of solving this problem, and I guess there are too many possibilities for brute force.
10c5?
10 steps will always be required to do that
You have to choose which 5 will be upward
I think so
Wolfram says this is equal to 252, which does sound like a compelling number.
I'll try solving it for a simpler case, then try to generalise and see if I catch up with your result.
@cunning thistle Help me on this one.
Can i see the question?
In how many ways can one move from (0,0) to (5,5) on the Cartesian plane, making only unit movements to the right or upwards?
I don't know a formal way of doing these type of questions but i guess counting manually won't be such a bad idea.
Fr? Drake suggested the answer's 252- how am I supposed to count that?
I understood Drake's solution. Nvm.
The idea is that you're going to make 10 moves in all, so you choose(without loss of generality) which 5 of these will be upwards.
This gives you 10C5, hence 252.
Are you certain that 252 is the correct answer?
Should be
Idk. It just seems like alot.
Yes, that's the correct answer.
Now a bit trickier part: We still need to move from (0,0) to (5,5) using rights and ups, without crossing the diagonal joining (0,0) and (5,5)[touching the diagonal is permissible, but crossing it isn't]. In how many ways can this be done?
I've been suggested the answer's $\binom{10}{5}-\binom{10}{6}=42$, but I don't exactly understand where the latter term comes from.
TedNowKaczynski:
@gritty crescent learn about the catalan numbers
can't directly help rn cause in class
Np, and yes this answer is supposed to be linked to Catalan numbers but the instructor didn't explain the how-and-the-why, so I'm looking up in different books now.
admittedly the only way i know of to derive the catalan number formula is through generating functions
Above and below the diagonal, yes. Touching the diagonal is permissible but crossing it isn't.
admittedly the only way i know of to derive the catalan number formula is through generating functions
I see. I guess generating functions will appear only very later in my current course sequence, so I might have to wait till then to get a satisfactory answer.
The instructor did some weird explanation by saying one possible way of crossing the diagonal is RUU|RURRURU. The diagonal is crossed after the UU. He then said he'll take "the complement" after the seperator to get RUU|URUURUR. Then he claimed there are 6 Us and 4 Rs, which give C(10, 6) combinations of crossing the diagonal, which can now be subtracted from C(10, 5) to get 42.
I didn't understand the explanation at all.
Idk how this would help but i suggest you dig up on Andre's principle of reflection. It has a close relation to problems of Random Walk as well as that cashier problem.
@gritty crescent
Yeah, one of the books talks about this reflection too but I'll pass on this problem for now. There's far too much I don't know atm, so I'll wait for a while to get to the gist of this solution.
There is?
Nor do I. 🤷♂️ The reasoning seems too contrived.
What could be a possible way to count crossings?
Every crossing path will either go this way (n-1, a)->(n,a)->(n+1,a) or (b, n-1)->(b,n)->(b,n+1), right?
0<a<5 and 0<b<5
One of the books used the exact same words you did lmao, I couldn't follow that line of reasoning.
Thanks! Ping me if you have any ideas.
@gritty crescent
I'll look into it.
Hello peeps
discrete math is really whooping me
anyone have a good resource for learning it?
cant seem to find khan academy videos
MIT OCW's Discrete Math course is worth looking into.
don't think there is a central resource since most of the concepts in discrete math that are taught vary
I'd focus more on specific techniques/concepts you struggle with and google from there
don't think there is a central resource since most of the concepts in discrete math that are taught vary
I'd focus more on specific techniques/concepts you struggle with and google from there
Agreed.
b.) is saying that for atleast 1 value of x in R, every single value of y in R will make P(x,y) true
@cursive elk they both sounds similar to me..
@burnt herald quite different
@cursive elk In other words,
for a, we define a range of x, then only we choose a y that satisfied the P?
and for b, we choose an x first, then only a range of y
Is it right to think that way?
What's the difference between Contraposition and Contrapositive?
Is it the same thing?
is this possible to do using the Euclidian Algorithm?
If a and b are not coprime, integers r and s won't exist
You can use Euclidean algorithm to find integers r and s ,such that this condition is satistifed when (a,b)=1
@weary tiger o thanks for clarifying
@unreal stump is coprime another word for relatively prime?
okay, do you have any idea how to begin if I wanted to use the Euclidean algorithm?
I know I could probably just assume d = common divisor and go from there
to eventually prove that it's not possible
but I was wondering if it's possible to do using the algorithm
I don't think you can
Prove using math induction: n < 2^n
Base case 1 is true for above
n = k
Induction Hypothesis: k < 2^k
Show: k+1 < 2^k+1
2(k) < 2^k * 2
2(k) < 2^k+1
k+k < 2^k+1
k+1*k < 2^k+1
Is this correct?
The last statement LHS k+1*k is "much better" / greater than k+1, which is still less than the RHS
Yes
can anyone help with some pretty simple propositional logic questions
I'm also learning it @void maple ...what kind of questions?
basically i need to translate the math form into plain english
maybe post them here?
not allowed to post directly unfortunately
hold on
So one part of it is (x=/=y) and i'm not really sure how to read that
@burnt herald
Yes
∃ y ∀ x (x>0 → x>y) would you say this is true? x and y are real numbers
@quaint star
Yes
really ? o.O
For proof by contradiction
If P is our statement
We have to say the negation of P is true, and then prove that is wrong, correct?
$\frac{n^2}{2n:}-1<\frac{n}{2}+1$ having trouble proving n>=2 using induction, i proved the base case made the hypothesis but am confused on how to do when n=k+1 $\frac{\left(k+1\right)^2}{2\left(k+1\right):}-1<\frac{k+1}{2}+1$
The-Elite:
So if my P is
In a graph G with at least two vertices, there are always at least two vertices that share the same degree
Then my negated statement is
In a graph G with at least two vertices, there exists less than two vertices sharing the same degree
i can't get them to equal my assumption of $\frac{\left(k\right)^2}{2\left(k\right):}-1<\frac{k}{2}+1$
The-Elite:
@plucky stirrup yes, but it would just be that such a graph exists, not that all graphs have less than two...
So negated statement is
Such a graph G, exists where there are less than two vertices sharing the same degree? @quaint star
so my first negated statement was incorrect then
Yes, it doesn't read as clearly as this does
It sounds like you're saying it's true of all graphs
okay got it
∀ x (P(x) → Q(x))
is true.
can someone help
∃ x (P(x) ∧ ~Q(x)) cant be determined right?
i need to write everyone has something except 1 person
x & y = all people
A(x) = x has a car
i need to write everyone has a car except John
in the like math form
@plucky stirrup could u help
The Arsonist:
(subtract n/2 from both sides and it's -1 < 1 which is true)
I know that I need to invoke the Fundamental Theorem of Arithmetic, and I know that primes and perfect squares are mutually exclusive, but I'm having trouble finding a way to prove that?
you could try proving (or cite, if you've already learned this in class or whatever) that a number is a perfect square if and only if the unique primes in it's factorization are raised to even exponents
then a contrapositive argument could easily be used
if the prime factorizations of x or y contain some number of odd exponents, and x and y are relatively prime, then the factorization of xy also has odd exponents, so it isn't a perfect square
@void maple you still need help didnt see your message till now
everyone has a car except john; can be rephrased as all people that are not john has a car
does that help?
to render except would be something like this though
∀x(P(x)∧¬J(x)→C(x)) ∧ ∀x(P(x)∧J(x)→¬C(x))
where P(x) are people, J(x) is John and C(x) is owning car
You have a set $S$ of integers up to $3n$. Now we define a new variable $N_k$ which counts how many subsets of $S$ we can form. We actually create multiple variables, one for each $k$. We call those subsets $X$, and they should fulfill two conditions: 1) their cardinality should be 2n+1. This means that X should contain exactly $2n+1$ elements from $S$. 2) the smallest element in X has to be equal to k.
The question now is, for which values of k can we create such subsets (i.e. $N_k \neq 0$) @weary tiger
lyinch:
If I have to show two sets are equal to each other using the laws of logic:
- Do I have to make arbitrary sets and make the relations by using logical operators, and then use logical equalities to show that the two sets are equal to each other? And if so, do we have to use the definition of subsets to prove that both ways works?
- Or, can i show this using set equalities?
Really dumb question cause I'm blanking, how do I prove a function countable compared to natural numbers?
show the question @violet geode
you just use absorption law
ya
it is
your question is literally the definition of the absorption law
well the question i have is actually much harder
show it
i cant
is finding an inverse function sufficient to prove a function is injective and surjective?
show that f is invertible
not sure what you mean.
for example $f(x)=6x-9$. I can find an inverse function, $f^{-1}(x)=\frac{x+9}{6}$. Is that sufficient
nix:
You find all the lists that are three entries long where each entry is 1 of the n possible elements.
And then consider the restrictions.
Can any show how to prove this statement is true or false:
a^(x) =(congruent) b^(x) mod m
x is a natural number
I’ve tried a few values for a counter example but those hold, not sure how to go about proving/disproving this
Give a counterexample.
sorry I completely forgot to put the first "if"
a =(congruent) b mod m => a^(x) =(congruent) b^(x) mod m
conditions for my attempted counter examples always seem to match but maybe im just not seeing a proper counter example
So all I've been able to figure out for this problem so far is that we have 7 days in the week so we choose any one day and then go for five consecutive days and we get 7 * 6 *5 * 4 * 3 =2520 possible ways to go through the 5 days. Is that correct?
@weary tiger You can prove it by induction.
Didn’t think of that, thanks !
@pliant horizon
It's enough to show that the function is injective and surjective on some domain and range.
Consider x², x ≥ 0. It has an inverse, √x. Of course, this is assuming the range is x ≥ 0, otherwise this isn't surjective.
@sour arrow so going off my example from before, if i can find an inverse and show it has the same domain as the original function then its proved?
It's enough to show that the function is injective and surjective on its domain and range, but that range may not be R
If you've shown that range is R, then you got it, but that's a lot of work at this point haha
Yeh surjective and objective functions really depend on what the function is defined by. Just remember for surjective functions all output values have at least one input value. Considering kaynex’s example, you have a simple parabola. Suppose your output is -1. Can you find an x such that when plugged into the function will map to that value? No, because the range doesn’t contain negative values for parabola; and geometrically, x² doesn’t push further down into negatives. Hence, it’s not surjective.
Surjective and injective functions^
Can someone help?
How can it be written like that?
Can someone explain to me why p <-> q when p is FALSE and Q is TRUE equates to FALSE? Because I know in p -> q it's still true, so what changes in if and only if?
think of it as if one side does not rationalize the other side, both sides are brought down
this is essentially how the and keyword works in many programming languages
well sort of
Damn see now this has also made me get confused on how normal p then q works
So how come in the bottom half of p -> q it's true?
Like why is if false then false, true?
Ah okay when you put it like that in programming terms I understand it
good source
It's just the wording in discrete math is confusing
My biggest issue with being a cs major is im very good at coding, not good at math
I believe you can sum up -> and <-> as this:
-> as in (x == y)
<-> as in ((x == y) == (y == x))
Well in -> saying F == T doesn't make sense because in the end that would be true, right?
no cause its false
okay so in <-> it's only true if both values are the same
so either both true or both false?
yeah
Alright so I sorta get why "if true then false" is false, because it's basically saying when p is true, q is false, and therefore the overall thing is false
idk if that makes sense
Like I get why "if false then false" is true because logically it makes sense when spoken, same for "if false then true"
It was just "if true then false" that was throwing me off
For example
x = 2 ⇒ x^2 = 4 is generally true
but x^2 = 4 ⇒ x = 2 is not necessarily true
so isnt x^2 = 4 <⇒ x=2
because x can be -2
its like saying a square is a rectangle
but a rectangle is not a square
in one simple step
@versed summit its hard to visualize with bools
so i get your confusion
hope you understand what i mean
i'm wondering if this is equivalent - (i typed this)
right side doesn't include the negative c's
@hardy viper if we assume c is non-negative, then it is true?
yea
This isn’t right
$\sum_{c\equiv0\pmod{5}}x^a=x^a\sum_{c\equiv0\pmod{5}}$ converges only when $x=0$ and $a$ nonzero
Whoever:
Ok my point is that the left hand side doesn’t depend on c and that’s a problem
Neither is the right side to be honest
So technically this is true but not the way you wanted it
$\sum_{c\equiv0\pmod{0}}x^c=\sum_{c=-\infty}^\infty x^{5c}$
Whoever:
@finite wren
If you assumed c is nonnegative then it’s
$\sum_{c\equiv0\pmod{0}}x^c=\sum_{c=0}^\infty x^{5c}$
Whoever:
@naive saffron I’m just generating a series it doesn’t have to converge
With that, would they be equivalent?
Sorry pretend a=c
I typed it wrong
Yeah that was my point
can some explain what the last two lines mean? https://puu.sh/GutAS/00637534b0.png
the R^n and tau of R
if R has (x,y) and (y,z), then R^2 will just have (x,z)
so like if R was x has y as a parent
R^2 would be about grandparents
and t(R) would be parents grandparents great-grandparents etc
but $R^n$ would still be of the form $(x,y)$ if $x,R^n, y$ for elements $x,y\in X$?
nix:
or i guess maybe i should say it a different way
if R has say (x1,x2),(x2,x3),...,(x_{n-1}, x_n}, then (x1,xn) is in R^n?
that's right
I am trying to find the time complexity of T(n) = 3T(n/4) + cn^2
The way I have learned is that you sum the work you are doing at each level.
Level 0: cn^2
Level 1: 3c(n/4)^2 = 3*c*n^2/(4^2)
Level 2: 3^2 *c*(n/4^2)^2 = 3^2 * c * n^2/(4^4)
Level i : 3^i * c * n^2/(4^(2i))
Summing up: cn^2 (1 + 3/4^2 + 3^2/4^4 + ... + 3^i/4^(2i))```
How do I sum this series?
are you summing infinite terms or just up to i?
@hardy viper Just up to i.
ok that's a geometric series, because each term is multiplied by 3/16
a1 is the first term, let's say 1, and r is 3/16
is this step mathematically right?
i just havent worked with summations like this before
the idea is correct but you misused the exponent rules
@weary tiger so is the wrong part that I made x^45?
should i keep x^30 , 10 , 5 in each summation?
$x^{30a}\neq x^{30}\cdot x^{a}$
HoboSas:
how do you solve this? anyone can give a hint?
Can anyone help me understand polynomially larger because im having a hard time understanding a question on one of my homeworks.
context?
Post the whole question and we may be able to help better
nah poco don't you know, we're all supposed to be telepaths who magically know the entirety of every question ever /j
Sorry I was eating lunch. The question was about comparing if n/log(n) is pollynomially less than nlog(n)
n/log(n) <(p) nlog(n)
I dont really know how I should show this, he showed an example where he stated that this is equivalent to
n*n^E/log(n) = O(nlog(n)) , where E > 0 but I dont know if I just show that if i can cancel the n's on both sides just show that n^E/log(n) = O(log(n))
Not too sure, but maybe you could do smething lazily like: n/log(n) < nlog(n) n < n(logn)^2 (* logn) 1 < (logn)^2 (/ n)
i need help proving set identities. question is (R\S)\T=R\(S\T)
i know the answer is true but i just don't understand how i'm supposed to say it's true
should be deduced from some list of axioms in your notes your given. (screenshot them and post them here maybe?)
hmm is boolean algebra fair game here?
if so:
I need to factor this ~w*x*z + ~v*w*x*~y*~z + ~v*~x*y*~z for a fan-in of 2
Not really seeing a clear way
Hey can anyone help me prove that the cardinality of ZxZxZ is the same as that of Z
I tried to find a bijection but it's getting a bit difficult to find such a function
do you want an explicit one?
cause if not i'd first show that Z is equipotent with N, then use that to show Z^3 is equipotent with N^3, and then make a bijection from N to N^3
Yes I tried that but it seems that it was a bit long and may be extra work... Maybe we can find an injection from Z to Z3 and then Z3 to Z
Maybe we don't need to go for N
injection from Z^3 to Z will take some work
actually you can just make a bijection from Z^3 to N
How so?
split Z^3 into a countable collection of finite sets
one way to do this would be as follows: $$\bZ^3 = \bigcup_{k=0}^{\infty} C_k$$ where $C_k = { (n_1, n_2, n_3) \in \bZ^3 : \max(|n_1|, |n_2|, |n_3|) = k }$
Ann:
you can imagine the C_k as being cubes made of lattice points
like C_0 is just the origin, C_1 is the 3x3x3 cube surrounding the origin (without the origin itself), C_2 is the 5x5x5 cube surrounding C_1, and so on
basically like an infinite matryoshka of cubes
do you get what im talking about
I got the definition of Ck, and a bit of geometrical intuition but how can it give a bijection from Z3 to N
i'm gonna make it N -> Z^3
basically as an enumeration of the points of Z^3 in a sequence
you start with the origin
then the points of C_1
then the points of C_2
then C_3,
and C_4, and C_5, and so on
each of them is finite (in fact, |C_k| = 24k^2 + 2 for every k ≥ 1) so you'll always exhaust each C_k before moving onto the next
Can you express it in functional notation... Like f(n) =?.. Sorry I'm a beginner in this subject
i was trying to avoid doing that
i mean honestly what im giving here isnt even a concrete description
but if you wanna make it concrete, you could list the elements of each C_k in lexicographic order
I think it isn't a function in the first place... Many triplets have same k... So starting with a natural number n, many triplets can be found
Many triplets have same k...
??
ok like let me be clearer
i'm not mapping the number 1 to the entirety of C_1
C_1 is mapped to the numbers 2 through 27
(if we start N at 1)
C_2 is mapped to 28:125
C_3 is mapped to 126:343
and so on
the ranges grow with the sizes of C_k
Okay I got you now...
Though I need some time to write it formally but it gives a well defined bijection... Thanks👍
is this true or false?
True
Can anyone make sense of this proof?
https://i.imgur.com/TiYr1a7.png
The highlighted portion is what's confusing me.
They're checking surjecting by picking one variable n (that is a positive integer) and another variable m ( that is another positive integer)
and somehow these two equal each other?
Ah. I thought 'onto' meant surjective. My bad.
One-one is injective
OH
And in your marked passage,he says one-one
Don't use the same index for different sums in the same formula
no it is not. The current expression doesn't even quite make sense
@naive saffron mb pretend the index things are unique
it was originally summ 0 to infinity x^(a+2b+30c)
@finite wren
Yes
@naive saffron I'm just not sure if what i have is multiplication or "repeated summation things"
like basically is
is the shape () () () = () () () (equal obviously)
or (1(2(3))) = (1(3(2))) (equal??)
Are these repeated summations, or are you trying to multiply the three summations?
@worthy palm is there a difference - i think thats what im trying to ask
@pale epoch how does this set builder notation specify mapping
it just says that all of the tuples in the set has to come from A B and C
it dosen't specify all combinations
@lyric pumice are there any exmaples of A being a subset of powerset(A)
other than the powerset(emptyset)
how would i go about these?
i know the best way to start would be to assign different sets to each value and then work from there but tbh i don't really understand the logic
@spring mica No. Prove that there are none.
gotcha
i have no idea what im doing
my answer for A looks like minecraft enchanting table so I'm not sure if it's correct
this is a cry for help
You could see this unfold step by step.
TedNowKaczynski:
Hi, I was wondering if anyone could help me with this proof
I'm not exactly sure what it's trying to have me prove, or where to start with writing the proof
prove that if m has no prime divisors up to its square root then m is prime
or equivalently that any non-prime will have a divisor less than or equal to its square root
ohh ok lmao
it's probably just too late
for some reason I couldn't think of how to do the contradiction
or wait that's contrapositive
I'm not sure how we get from the step before to the one with an arrow, could anyone explain?
Ooh thanks alot lol
Need help with this question -
Count the number of ways in which n identical items can be distributed into n identical boxes such that no group has more than 2 items each
To be clear, this is a homework question, so I don't want the final answer, just want help with how to approach it
There's 1 way in which every group has 1 item, 1 way in which there will be one group with 2 items and another with 0 while the rest all have 1, and so on
So do I just need to enumerate that?
You need to have an even number of pairs of 2-0 groups so it will be a different value of odd and even n
Or am I missing something
correct but are you supposed to simplify?
~(pvq) v (p^r)
hmmmm ... actually it does not simplify further ...
I am a "bit" surprised at that 😁
@backgrounddeep
here is another way to view the problem:
n=1: one way, all 1s
n=2: three ways: 2 with one zero in it, 1 with no zeroes: specifically { (0,2), (2,0), (1,1) }
n=3: 7: six ways with one zero in it, one way with no zeroes
n=4: two zeroes has 4 choose 2 arrangements, one zero has 4x3 arrangements, no zeroes is still 1, so 19 ways total
n=5: two zeroes has 5x4 ways to place zeroes and 3 ways to place the 1 so 60, one zero has 5 places for the zero and 4 for the 2 so 20, and then there is all 1s, so 81 total
so what is the inductive pattern, how can this sum of sums be converted into a formula in terms of n? Do odd values of n need to be treated differently from even n, requiring two inductive rules, two formulae?
@silver raptor you're right, my bad
Secondary question
What does consitent mean?
Would
r t ~r ~r v t
T T F T
T F F F
F T T T
F F T T
be inconsistent because there's no line where it's all T
or does ~r not count?
How many ways are there to put m distinguishable elements into n different locations, given the locations and elements are different? Also, there can be more than 1 element in a location
I thought it would be $m^{n}$, but wasnt sure if its that or the normal permutation equation
AH:
@versed summit
The statement ~r v t is consistent because there is a way to make it true.
Take your first element. There's n different places it could go. That's n choices.
Take your second element. There's n different places it could go. That's n choices.
Take your third...
You get n×n×n×... (m times) choices. That's n^m@fallow raft
@sour arrow so if a statement is a tautology is it also consistent
These proofs are kicking my ass.
https://i.imgur.com/N7vcrVf.png
How in the world are they mapping d1 to d11?
OH
I just got it
Is there a python package that lets you easily generate a random eularian graph with N nodes?
quick question: what does a uniqueness proof look like? im not entirely sure what one looks like
@winged bramble depends on context, but one common way is assuming u and u' satisfy the conditions, and concluding u=u'
so is it bascially saying "only this particular thing makes this particular thing true?"
hello does it matter which premise i start with for this problem?
quick question: what does a uniqueness proof look like? im not entirely sure what one looks like
@winged bramble https://docs.google.com/document/d/1Bc1rAp1EN9_UIpnCaVKKlPpNtwq8h62WHYVrknwpig4/edit
another uniqueness proof: https://docs.google.com/document/d/1UDMAeoEkKbqGNXPTQlwIXLRKId_qq4yX_N0Gbb6vHqU/edit
oh, so its showing something exists and then has that unique property?
well. i combined the proofs of existence and uniqueness.
but there are two sections in the proofs: one section proves existence. the other section proves uniqueness.
Can someone explain to me Idempotent law and Absorption law? I don't get them at all.
Can someone explain to me Idempotent law and Absorption law? I don't get them at all.
@versed summit
Refer to 3, 8, and 12\
So why is it that A or (A and B) = A?
do a truth table?
do a truth table for A
do one for B
use excell, google sheets
i guess. i dont even think about it anymore, i just follow along and use it
yeah this stuff is really hard to me
and my professor doesn't really teach us
just tells us to learn it before the next quiz
can someone explain to me how they went from 2 to 3 here, says law of implication on 2 but i don't get it
@sonic path that's the definition of the -> sign
seems like they applied it wrong though O_o
how so?
p->q is -p or q
@iron crescent What's the whole question? I mean, is it state that it's true/false?
typo i think, they meant doesnt belong prolly
...it was a proof by contradiction
Yeah now that I see it
x is in the intersection of all the intervals
that's our assumption
and that can only happen if 0 < x < 1/n for every n (for every interval that is), but then by the Archimedean property, we find that there is a N such that 1 / N < x, or there is an interval which doesn't contain x.\
np!
Is the collection of all circles in a given non-Euclidean plane a set?
I'm tempted to think it's not, since circles may not be well defined in non-Euclidean geometries, but I don't know if that's true.
circles are well-defined so long as you have a metric
I see. So this is a set?
why wouldn't it be
Aight, thanks!
these are graphs, not sets
K_j does contain K_n as a subgraph if that's what you actually meant
Well, for the expected value, usually it’s ∑x(f(x))
"usually"
you mean in the discrete case @zenith thorn
Oh yah, my bad for clarity
hi may i please get help for this question? Is it right to assume that
p: n is an integer and 𝑛^2 + 1 ≤ 2^n
q: 5 ≤ 𝑛 ≤ 7
You are trying to prove that: 5<=n<=7 implies n^2 + 1 <= 2^n
@quaint star so can i use proof by contraposition (indirect proof) in this case? which means i assume that n^2 + 1 not less than or equals to 2^n (n^2 + 1 > 2^n) and show that n < 5 and n > 7
i'm sorry if i'm not making sense lol
you're kinda overcomplicating it
there are only three integers between 5 and 7 inclusive
5, 6, 7
meaning to say i just have to show that n is not 5, 6 or 7?
so trivial proof
Suppose that the following propositions are true:\if $x\in A$ and $y\in B$, then $y\in A$;\if $x\not\in A$ or $y\in A$, then $y\not\in B$\What simple conclusion can be drawn from this?
TedNowKaczynski:
I guess it's $A\cap B=\emptyset$, but not completely sure.
TedNowKaczynski:
Even this doesn't make much sense I guess :3
why not?
This was my first hunch but I couldn't put this thought down on paper
seems true, but there is more you can say i guess
Hi, I have some questions about discrete mathematics
My head's spinning, I really don't know what else I can conclude.
Feel free to ask here, I'll bang my head against my question laters lol.
Kk, sorry if I'm disturbing yah 😅
For this compound proposition, I've already written out a truth table and I've discovered that this is a tautology
But how do I prove this using logical equivalence? Could someone walk this through with me because I'm looking at the list of laws and I'm just not sure how to apply it to this case. I am very new to discrete mathematics and I'm not used to applying these laws yet
use the fact that $(p \rightarrow q) \equiv (\neg p \lor q)$
Lochverstärker:
hmmmmm...
🤔
The thing is there is 3 implications on this so I'm just a bit confused. "P" is a compound proposition too
just start with any of them
Do I use rules of inference in here too?
like $(p\land \neg r) \rightarrow q \equiv \neg(p\land \neg r) \lor q$
Lochverstärker:
Ah
what's that
Okay that's starting to make sense
I'll try that and then I'll post what I got
I'm writing this out and
I can either continue with the
distributive laws or the de morgans law
however both laws doesn't have any negations in them
This one has
and that is a problem because?
how do I convert them if there is a negation inside?
or rather how do I convert them with the negation?
convert to what
I've seen my lecturer done it but he has never clearly explained how he is able to do that with the negation
I want to apply the distributive law or the de morgans law
you can just do that
well
you can't distribute in this case
but de morgan tells you how to "move" the negation into the parenthesis
this will also remove the need to distribute anything in this case
can you show me an example?
there is an example listed in that picture
I would really appriciate it if anyone could help me with this as soon as possible
$\neg(p \land q) \equiv \neg p \lor \neg q$
Lochverstärker:
also notice that $\neg\neg p \equiv p$
Lochverstärker:
so would it just be...
$\neg p \lor \neq\neg q$
is that the right answer 🤔
oooh that wasn't what i intended
Wumbo:
the answer to what
Anyone?
nvm i'm just gonna try to solve it myself
yes that was the goal, i just told you how
I don't know how to apply it correctly
then either ask precise questions or go back to easier questions and study first
(and its not like you will find a better way to solve it)
btw the statement is not a tautology from what i can tell
e.g. if p, q and r are all false, it's false as well
If not maybe the truth table for it?
I'm still a bit lost on this.
r t ~r ~r v t
T T F T
T F F F
F T T T
F F T T```
Inconsistent?
Because there's no line where it's all T?
So then the statement ~r v t is inconsistent, right?
what does that mean
On thing what is <=> expression wise. Is it NAND or NOR?
Wait Nand And NOR
Hey, so im confused over one thing
lets say i have this sequece -3, 6, -9, 12... given that f(k) = (-1)^k(3k)
and i need to prove this by using induction
so the first step is the basis step, i need to prove f(k)
and then its the induction step, where i need to prove f(k+1)
once i have proven those 2 steps i have proven the sequence formula correct?
am i not supposed to prove that the given formula does indeed give us the correct kth term in a sequence?
by using induction
so by proving that f(k) = -3
we have proven the first step
how is the sequence defined?
lets say i have this sequece -3, 6, -9, 12... given that f(k) = (-1)^k(3k)
so by f(k) = (-1)^k(3k)?
yes
and what do you want to prove?
idk tbh
what is induction then
i dont understand induction i guess
i thought i knew what induction is
is this some exercise or did you make this up yourself?
no i took it from a youtube clip
induction is a way to prove that some statement is true for every natural numbers
but if you have a sequence defined by f(k) = (-1)^k(3k) and want to show that f(k) = (-1)^k(3k), then there is nothing to do
really?
if you assume something, then how are you supposed to prove it?
what am i assuming?
i thought you said that you have a sequence defined by f(k) = (-1)^k(3k)
how is that an assumption
how is it not??
well, ok, this does define a sequence and that is a fact
but then, what do you want to prove from that?
ye thats the thing, i think i dont understand induction
yet
i thought i did
kinda lost
lol
i watched this video
Learning Objectives: Prove a family of claims, indexed by the positive integers, using the idea of induction.
Step 1: Write out the Basis Case
Step 2: Assume true at the kth level. This is the induction assumption.
Step 3: Use the induction assumption to show it is true at ...
he tried to prove the above sequence
oh wait he is proving that n >= 1 ?
by using induction?
no
wtf
he is proving that the sum of the first n natural numbers is equal to $\frac{n(n+1)}{2}$
Lochverstärker:
how is that any different from the one i wrote
i.e. $1+2+3+\dots + n = \frac{n(n+1)}{2}$ for all $n \in \bN$
Lochverstärker:
what
any different from what you wrote?
yes
your example was just a sequence
the claim here is that $1 + 2 + 3+ \dots + n$ and $\frac{n(n+1)}{2}$ are actually the same thing
Lochverstärker:
what is your claim?
lets say i have this sequece -3, 6, -9, 12... given that f(k) = (-1)^k(3k)
oh wait
what is f(k)?
ok
wait what do you call the one above
and then what is the claim
the claim i assume is that the given formula can gie me any kth term from the sequence
this is from my understanding
and how is the sequence defined then?
huh
"-3, 6, -9, 12" what is the next term?
-15
why not 42?
ok we dont know thats the point isnt it
ahh shit
ok but
what if it was -3 + 6 + (-9) + 12...+n
different story?
that's still not a clear definition
like, can you explain in words how your sequence is supposed to look
and not just put random dots somewhere
idk i dont have a question/sqeuence
like, when you want to prove that 2 sides of an equation are equal
you first have to know what both sides are
what does a=1 have to do with that
idk this is literally a question
i have
from Uni
thats literally all the information i have
well, you can prove n^2-2n >= 0 for all n >= 3 with induction
So I'm again having trouble making sense of Cantor diagonalization argument.
Having rouble making sense of the last part in particular: https://i.imgur.com/UDBuzc0.png
How does choosing a random decimal expansion made of 4s and 5s
and having it the placement of the 4's and 5's contingent on the real numbers in the notation.
Supposed to prove that this new real number isn't part of the list?
it's different in at least 1 place from every number on the list
I don't get it. Do theese other numbers have some sort of overlap that I'm missing?
no, why?
to show that 2 decimal expansions are different it suffices to find 1 place where they differ
and the constructed number differs from the ith number on the list in the ith place
Yeah. But:
0.23794102
0.44590138
0.09118764
0.80553900
The majority of these are all different in one or more spaces too. No?
yes?
I'm confused as to why it matters then. If they're all sufficiently different anyway.
all numbers on the list are different
by assumption
you want to show that there is another number that is different from all those, yet not on the list
i.e. your list must be incomplete
Ah. Okay. I think its making a bit more sense. So just to make sure it makes sense.
Countable numbers must be able to be shown in a sequence, such as 1,2,3,4. . . n
What Cantor's Diagonalization argument does is prove that this isnt the case with real numbers. Due to the fact that no matter what sequence you create, you can always make another sequence that does not follow the rule, right?
what's a countable number?
Countable sets*
countable sets are in some sense "listable"
you can write a potentially infinitely long list
so this list does not have to terminate at n
and the idea of cantors argument is
assume that we have an infinitely long list listing all real numbers
then we can construct another real number that is not on that list
so our assumption must have been wrong
Ah.
That makes so much sense.
so this list does not have to terminate at n
And fair. So I guess it would be more accurate to say that a countable set must at the very least be able to d oa sequence like so: '1, 2, 3,4 . . .' As opposed to with an n, which implies termination at some point.
Right?
yeah
👌
in technical terms a countable set is in bijection with the natural numbers
(or with a subset of the natural numbers)
So to go over one last iteration just to make sure I have a good grasp.
Basically, a countable set is an orderd listing with the same cardinality (number of elements) that is either the same or a subset of Natural Numbers. These sets have to be able to be listable. IE: (1, 2, 3,4 . . ) and can go on infinitely as you'll know which comes next.
What the argument is stating that a countable set is not possible for the set of real numbers. It proves it by showing that no matter what the listing you have in your proof, you can always make up some number that would not possibly be listable.
If so, eureka. This has been kicking my ass all day.
that's the gist of it
eureka
I introduce the steps to doing an Induction Proof. I then work through three examples that I hope will help you understand the concept and complete your homework:)
More Induction Proofs:
Induction Proof for Divisibility: https://youtu.be/CjD2KppNRxg
Induction Proof of Inequal...
ok so im kinda confused, why did he do the 5th step where he added k+1 to both sides
look at the 3rd step and 5th step
from 11:00
$S_{k+1} = S_k +6(k+1)$
Lochverstärker:
his 3rd step looks horrible though
