#discrete-math
1 messages · Page 106 of 1
A function is probably the most basic topic in all of math
There definitely isn't a single part of math that doesn't use functions
i mean like this
Same response
bruh
Most use them in way, way, way more complicated ways
stats or accounting it is then (?)
Nope
F
Stats is full of super complicated functions
And using these ideas to create new functions
well yeah but do i really have to care if its bijective/whatever
Oh yeah
i mean i guess? like why does a statistician care if a function is bijective, per say
and is not like they would create the functions by hand, it would be done by a computer
so you dont need to worry about invertability
Because most of the time a statistician doesn't work with concrete numbers
They work with these same abstract ideas
Consider situations in which they have some data and they perform tests on them
ok
And they need to figure out situations in which this test will tell them certain information
You really shouldn't give up so easily
it just seems like im doing all these proofs and what not of problems with no application, and everything is arbitrary so you dont have an example to base it off/ visualize
like all of this fancy notation and using sets, and ordered pairs to just say f(x)=x
ok rant over
I mean you know that math and physics is all about abstraction
We need rigor to be able to do these things
To be able to rigorously talk about what a lorentzian manifold even is
Or how quantum states really works
We need to rigorously define things starting from the beginning
i understand that this class is like building the foundations for upper maths
but like
idk
half the stuff just seems so extra
Well, inverses of functions are important
You can see why that's true
And injectivity is basically the condition that you need for inverses to exist
yeah
but like what function doesnt have an inverse
in the sense that it cant be broken up
like just use a piecewise or something for x^2
No functions
But how do you break it up
For your example
You're basically going to say that 2 and -2 are the same thing, since they both map to 4
Oh I'm not saying it matters
we could have however many possibilities
The point is that
This is exactly an equivalence relation
You define an equivalence relation on your function such that two elements of the domain are equivalent if they map to the same thing here
so 2 and -2 are equivalent
Then, you can define a function from this set of equivalence classes to your codomain
And it will be injective
Sorry, I don't know if you know what an equivalence relation is
yeah sym reflex trans
Right
And this captures your intuitive idea of being able to break up a function so that it is injective
so we need bijectivity (injectivity) as a property so we dont claim that 2 = -2
Not sure what you're saying
and these propertys are applied to other, higher level maths?
uh
oh nvm i see what u are saying
i didnt see the eq class
Yeah no this idea is super super super super important
Like this simple idea might honestly be one of the most important ideas in math
And I'm really not exaggerating, so many theorems are just more complex versions of this idea
ugh
im sad now
and i have to write a 5 page hist essay by noon tomorrow
thanks for talking and helping
Good luck
If it helps
I was kind of in your situation
Well
In the sense that I got pretty stuck on some simple ideas that I was trying to learn
It also got me pretty disappointed and got me thinking that I couldn't do math
But I perservered and things started to click
Ideas started coming together and math is so interconnected that areas of math started coming together
hopefully thats whatl happen
anyways im off to the gym gotta take my mind off school
I'm trying to figure out how to go about this problem. Let A, B, C be sets. Prove or disprove this statement: A ∪ (B \ C) = (A ∪ B) \ C
Well do you think it's true or not?
try 'proving' it and see if any problems occur
according to the problems that might or might not occur you will maybe get an idea of a counter example that touches the problematic aspect of this statement
@mint salmon
I was able to sit down with a colleague who is better at it than I am
you can actually easily show that the two are equivalent if you write each piece of the statement in the form of its formal definition
oh
interesting
i actually thought it was false at first glance
but now that u say that im gonna have to write it down
@mint salmon what was your proof?
1) A ∪ (B \ C) ⇔ a ∈ A ∨ a ∈ (B \ C) ⇔a ∈ A ∨ a ∈ B ∧ a ∉ C ⇔(a ∈ A ∨ a ∈ B) ∧ a ∉ C 2) (A ∪ B) \ C ⇔ (a ∈ A ∨ a ∈ B) ∧ a ∉ C
that aint it, chief
$a \in A\lor (a \in B \land a \nin C)$
Zopherus:
is different from $(a \in A \lor a \in B) \land a \nin C$
Zopherus:
well I guess that's what I get for jumping to conclusions
😂
how about taking the very first statement and using de Morgan's law on it
Sure, what do you get
well I'm not yet entirely sure how to do it, but this is what I tried: ⇔ a ∈ A ∨ (a ∈ B ∧ a ∉ C) ⇔ a ∈ A ∧ (a ∉ B ∨ a ∈ C)
Keep track of those parentheses
ok one question: when I use de Morgan's law, do I also need to flip the and/or that is outside the parentheses?
and yeah, I'll put the parentheses back in
That's really not what demorgan's law says
I'll have to come back to this later, and I'll make sure to read up more on de Morgan's law first
Quick question, what are the basic steps to finding how many numbers 2000 is divisible by the number 3? Is it like 2000/3 = 666 (I removed the decimals)
Idk what to do after that
That's it?
Yep, that's it
Unless you count in the number 0 too
Because technically 0 is divisible by any integer (except 0) lol
In that case you should round up instead of down to account for this one extra case
Ok now to counting methods, this is an example that my professor did, but I don't quite understand it
I know that the alphabet has 26 letters, that's about it
oh, OR means to add
@analog sonnet I’m so sorry Mann
How many 2-symbol combinations are possible, where the 1st symbol is a letter and the 2nd symbol can be either a letter or a digit?
Is it discrete math related?
Does that basically mean like a0,a1,a2..a9...z9?
Hmm I would assume it would be a lot
the 2nd symbol can be one of the 10 digits, but it can also be one of the 26 letters, so there are actually 36 possibilities for the 2nd symbol
Oh wait so letter is 26, because it starts with a letter
The second symbol is a letter AND digit?

why are you in this channel @static ivy aren't you scared of combinatorics
So for 3 symbols, the 3rd symbol could be a letter or digit?
yep
Yeah
So basically from 2 symbols and onwards, 26 will be always fixed, then * 36 by how many symbols there are?
Yes
Ok thanks I understand it now
np 🦈
It’s just part 2
My intuitive guess is that it's around about n/2
Why that
If there’s 10 nodes
Then the average hop distance between two nodes is 5?
Hmm you're right, I might be wrong about my guess
Maybe even less than n/2, it could be closer to 3n/8
But why though
But I don't really have much time to calculate it now
Well, you could consider the extreme cases
If you're an endpoint node, your hop average is around n/2
If you're a midpoint node, your hop average is around n/4
it's gotta be somewhere between n/4 and n/2
But you could probably calculate this quite easily by exploiting some symmetries
I don’t understand what it means by average hop distance
If you can explain that
I’ll prob get it
would cardinality of union of mutually exlusive sets X and Y, | X U Y |
be |{null}|=1 or |null|=0?
why should it be either
Can anyone help me with this problem? My professor got it from a Bulgarian number theory textbook and he gave it to us for homework and the tutors have been working on it for days and can’t figure it out
I’m going into an exam in the next few minutes so I’ll have to read any responses in a bit, also we do not know induction yet just btw
Think about the gcd instead
The gcd is always 1
Then you can do it one at a time
The least common multiple of the first two is always n(n+1)
Then calculate the least common multiple of this and n + 2
I'm really confused about this practice question and how to anwser it?
@faint narwhal that’s not workin out for us. We’ve got tutors here who have been working on this problem for hours to no avail so idk man lmao
What's the gcd of n(n+1) and n+2?
I'm having a bit of trouble with this one question...
a1 = 7a0 + 2^n
a2 = 7a1 + 2^n = 7 (7a0 + 2^n) = 7^2 a0 + 7 * 2^n
a3 = 7a2 + 2^n = 7 (7^2 a0 + 7 * 2^n) + 2^n = 7^3 a0 + 7^2 * 7*2^n
an = 7 (an-1) + 2^n = 7 ( 7^n a0 + 7^(n - 1) 7^(n - 2) (2^n) + . . . + 2^n ) + 2^n
Now put a0 = 3
7^(n + 1) * 3 + 7^n * 7^(n - 1) * 7 * 2^n + . . . 7 * 2^n + 2^n (I distributed the extra 7 here)
that's what I have so far but not sure if I'm on the right track
@faint narwhal we already tried it that way, got stuck in a cf of unsolvable algebra, if you can find a solution that way that’s cool but I’m pretty sure the actual proof is mostly English. The professor has trouble solving problems of this sort and gave them to us expecting nothing. When I said he got it from a Bulgarian number theory book, that was not an exaggeration lol. The 3 problems that he gave us as homework can be thought of as extra credit worth 4 times a regular problem and many many times more difficult.
What problem are you discussing?
@last sigil it's just finding the lcm of n, n+1, n+2, n+3
@runic mauve you can do it this way, it's pretty straightforward
Just answer my question, what's the gcd of n(n+1) and n+2
The final answer is either n(n+1)(n+2)(n+3) divided by 2 or 6 depending on the cases as described in the hint
If P(a) = 0,6 and P(b) = 0,4 and P( A anb B) = 0,2 would P(A or B) give 0.8 right?
would it?
it's $P(B^c) = 0.4$ not $P(B) = 0.4$
Ann:
This guy go the meaning of B^c wong
$P(B) = 1 - P(B^c) = 0.6$
Ann:
$P(A \cup B) = P(A)+P(B)-P(AB) = 0.6 + 0.6 - 0.2 = 1$
its P(B)
Ann:
okay i got it Thanks!
Question,
Let A = {
k
k+1 |k ∈ N}. For each of the following, state whether it exists,
and if it does, determine its value:
inf A, max A, min A,sup A.
been a while since i did sets
k / (k + 1) btw
I don't have solutions but i kinda wanna verify im right
inf -> 0.5
max -> 1
min -> 0.5
sup -> 1
also question
p -> q
is only false if 0 -> 1 right?
and p <-> q only if they're not the same?
Ann:
yes
well if there's a sup
then isn't max the same?
or was it the other way around
if it's the other way around then max does't exist
cause it approaches 1
Also i have another question after those 2 ^ lol
p -> q
is only false if 0 -> 1 right?
and p <-> q only if they're not the same?
sorry for the spam
no 0->1 is true
1->0 isn't
anyway no just because sup exists doesn't mean max does
but if max exists then sup = max
yes
only if they're not the same, cool
last question for right now haha
- Consider the set A of numbers consisting of 4 digits, where each digit is from the
set {1, 2, 3}. For example 1311 ∈ A
Odd numbers in A:
(2/3) * 3 ^ 4
right?
And then numbers that are either odd, or start with a 1 -> 1/3 * (3 ^ 4) + 54 (answer from prev question)
but what if thye're both odd and start with 1, then it shouldn't count towards the total right
cuz this would just mean that ALL the numbers are either odd or start with a 1
is it like 1/3 * 1/3 * 81 + 54? (2/3 of those numbers also end with a 3 or 1)
?
I want to prove the following subset of R is closed under addition: [5, inf) . Is this proof correct? Let x,y be arbitrary elements of [5,inf). This means 5<=x<inf and 5<=y<inf. Add the three expressions in 5<=x<inf by y to obtain 5+y <= x+y < inf. Since we know y<inf then we can conclude [5, inf) is closed under addition.
Let's not <inf
?
sum of two real numbers is another real number
rewrite it
Want to show if x,y in [5, inf) => x+y in [5,inf). Let x,y be arbitrary elements of [5,inf). This means 5<=x<inf and 5<=y<inf. Then 5+y <= x+y < inf. Hence x+y in [5, inf)
since y < inf & x < inf and since 5 < 5+y
Does that re-written version work?
Let's not <inf
and how do we know 5+y <= x+y?
or rather
how can we conclude x+y in [5,inf) from that?
so we have 5 <= x and y <=5 where x,y in [5, inf). then 5<=x -> 5+y <= x+y since we have 5 < 10 <= y+5 <= x+y ?
so 5 < 10 <= x+y
y <= 5?
y in [5, inf) so y<=5
we have x,y in [5, inf), thus 5 <= x and y <=5. Then 5<=x implies 5<10<=5+y<=x+y, so 5< 10 <= x+y
oops
5<=y
GOOD catch!
re-writing...
y in [5, inf) so y<=5
we have x,y in [5, inf), thus 5 <= x and 5 <= y. Then 5<=x implies 5<10<=5+y<=x+y, so 5 < 10 <= x+y
sorry my brain is being weird mixing them up
ty
one question about that proof though, that convinces me that x+y is within the "lower bound" part of the set (don't know how to precisely say this) but doesn't convince me necessarily that it doesn't "go outside of the upper bound" part of the set (i.e. the inf part). how do I know not only is x+y in contained in the "lower parts" of the set but that also x+y isn't greater than infinity and thus goes outside the "upper bound" parts of the set? i know this is completely obvious but i want to be rigorous about it
what upper bound
there is no upper bound
the right end of your interval isn't a number, it's infinity
can someone tell me how this inverse mod works? i try to search some youtube but it make me more confused instead.
im fine with the whole top thingy
but the last
i get the answer s= -1839
but the inverse modulo whack my brain so hard
Helppp
Anyone?
3961 = 5800 - 1839
@analog sonnet but how? i just minus the Ø will do? In the rsa encryption case?
i mean add
I'm not sure what that question means
question about closure, say you have two sets: f(x)=3k, k in N for the set {3,6,9,12,...} which is closed under addition and a function f(x)=x^2, x in N for the set {1,4,9,..} that is not closed under addition -- what is going on a higher level here that makes the first set closed and the second set not closed? is there some sort of higher level property that describes this observation?
@finite portal In the second set, lets say you take x=1. you get f(x)=1. If you take x=4, you get f(x)=16. if you add them both, that equals 17. But that's not in our set
@robust mango -- indeed that is the case. is there a property we can abstract away about functions to say something about them wrt closure under addition in general?
or do you have to look at them individually to determine
depends on the function I think.
ok
In the first set, the domain is multiples of 3. And the function itself multiplies again by 3.
And we know if we take any multiple of 3, add it to another multiple of 3, it's still a multiple of 3.
But in the second function, it's not necessary that we get a number which is a perfect square.
So in the first one, we don't have to take any numbers individually, but it's evident in the second one.
I think that is how it would be done, I'm not an expert.
okay, what i was thinking ty
I tried though! 🙂
Actually in the second one
you do get a perfect square, but if you add two perfect squares, then it's not necessary that the result is also a perfect square
to have 5, we put square root of 5 in the second function. but we can't, it's not in the domain.
but you get the idea
1^2 + 2^2 = 1 + 4 = 5, which isn't in the set, and yeah
function f(x)=x^2, x in N for the set {1,4,9,..}
I meant to say the set is {1,4,9,16,25,...}
yeah i get it
f(x)=x^2, x in N
1^2 + 2^2 isn't in S, is my counterexample
oh i see what youre saying
wait
nvm
{1,4,9,16..}, that's the domain right?
thats the set
oh
i see
i was saying that set isnt closed under addition
then yes, your example was right
and counterexample yeah
k
there are things that would be in it, eg, 3^2 + 4^2
but i just need 1 counter example
yes
k, ty
np
Guys quick question, are there 26+26^2+26^3 ways to arrange 3 lowercase letters?
3 lower case letters?
Like making 3 letter words, but only using lowercase letters
I may have to ask this question later I don't have the math book with me right now and I don't think I'm asking the question right
whats the difference between any letter and lowercase letter
i mean there's still 26 options right?
or am I missing something?
Including the lowercase letter and uppercase letter would be 52 options
Yes
so that's 26^3
26 x 26 x 26
since repetition is allowed, and we hve 26 options for lower case
Thanks
Oh I just realized why my other answer was wrong
I included the case for 1 letter and 2 letters also
But the question only asked for 3 letters
What did you try?
why doesn't the line work?
Why doesn't the equation of the line work
Okay, well can you find the equation of that line?
That's the equation of a line yes
Hm idk the way I learned it is that they can't overlap but maybe I'm misremembering
For your circles at least
It would be the first one
We were told that the circles can't be contained within others, but overlap is fine
thanks!
Yeah, I think that is right, I misremembered
In fact, you want them to overlap to mae the circles as big as possible
Hey guys, I need help figuring out whether a directed graph with indegrees and outdegrees can exist.
I know that for simple graphs, you add all the degrees up. If the sum is odd, then the simple graph cannot be made, and if the sum is even, the simple graph can be made.
But what do I do for direct graphs (with indegrees and outdegrees) to see if they can be made or if such a graph can't exist?
is this a good place to ask about boolean algebra if I get stuck?
in my lectures yesterday there was quite a bit of overlap between the boolean algebra in computer systems and the formal logic in math
sure
ok cool
yes
,,, no
||you can view (b) as adding another option, "none", to the soups, appetizers and desserts||
So this would be a lot of "or" options
20
- 20 * 5
- 20 * 6
- 20 * 3
- 20 * 5 * 6
- 20 * 5 * 3
- 20 * 6 * 3
- 20 * 5 * 3 * 6
I am thinking it's this
Yeah precisely, you have 20 main dishes every time so you just permute the rest of the options, and the number of possibilities add
No, like now you have 6 soups, 7 apps, 20 mains, 4 desserts
because "none" is one of the options for soups, apps, and desserts
Fair, didn't follow the logic
I just listed them like subsets then added them
I think Sir missed the simpler solution
Kaynex could you explain how you did that?
It's the exact same as part a, except you have one more soup, app, and dessert
Because "none" is that extra option
Oh so it adds an option to them
But how did you know there was an added "none" option?
"Don't have to have anything" means to add a "none" option?
You have an extra choice, and that choice is not to have one
You can still get a soup and dessert, but not an app, for example
I see your logic now, just split it into cases where someone might pick none
Still the right answer
Ah I understand your way of doing it now
It's just adding an option
Ok 2 more questions, I know that (a) would be 26^3 ways but I have no idea what distinct means in (b)
Yeah that's just kinda poor wording. I would assume distinct within the word, so 'a' wouldn't be distinct in 'aba', but it would be in 'abc'
then its just 26c3
They didn't say pairwise or otherwise so it's vague
So we basically can't use the same letters in a word?
or n!/k!(n-k)!
"distinct" means "never used multiple times*
which is 26!/3!(26-3)!
The 3 is for the 3 letter cases?
why are you just spoiling the answer without letting 'em think 😂
Ikr I was going to attempt to use the formula 😦
because 26 choose 3 should be the very first thing you learn in counting
or n choose k
It's fine to have the answer, much better to have the reasoning
Guide them to it then yeah
Kinda, It's like out of n numbers you choose r numbers right?
So this would be a lot of "or" options
20
+ 20 * 5
+ 20 * 6
+ 20 * 3
+ 20 * 5 * 6
+ 20 * 5 * 3
+ 20 * 6 * 3
+ 20 * 5 * 3 * 6
I am thinking it's this
you're overthinking it
Yeah. Let's say you have a pile of 26 things, and you pull 3 of them out to make a new pile
There's 26C3 ways your new pile can look
also if we're doing 6b
then it's not 26C3
26C3 would be the number of ways to pick 3 letters without regard for their order
super helpful principle and one that you need to master if you continue on in discrete math
its used in statistics as well
Anyway, yes nCr counts the number of ways your new pile will look without considering the order you made the pile
I think you'd agree that abc is not the same word as cba
Yes
$C_n^r = \left|{X \subseteq {1, 2, ..., n} : |X| = r}\right|$
Ann:
So the order is important. In that case, nCr is the wrong function.
Now we have to account for the distinct letters right?
26P3 is the number of ways you can take from 26 letters, and make an ordered list of 3 of them
This is considering distinct letters. Once we take a letter from the pile, it's no longer in the pile; we can't take it again
Oh yeah, it might be easier to explain that way
26 options for the first letter, 25 for the second, 24 for the third
Where if you can keep using the same letters over and over again, it's 26*26*26
Oh so you like remove an option for the ones after the first letter
If you use c as the first letter, c is no longer an option for the second letter
Ohh I get it now, for the third letter it's 24 letters because the first and second letters are used up
Which means for the third one, you have 2 less letters
I really need to go to sleep now but from what I understand so far, 26/3 is what you keep because you are choosing 3 letters out of 26 letters to make a word, then the next step is to account for the distinct letters which is 26/3(26-3) where the (26-3) is so the letters are distinct
26/3? 
Sorry I mean 26C3
I need to get used to this notation because I keep thinking it of a fraction because it's a number on top of each other
Thx for the help everyone and good night
dam it, im late
I'm having trouble figuring out what I can and can't put together in boolean algebra
since AND and OR are commutative and distributive, does it mean that parentheses don't matter regardless of the operator? no right?
if I have ('x2 * x0 + x2 * 'x2 + x1 + 'x0) can I just add parentheses like this: ('x2 * x0 + (x2 * 'x2) + x1 + 'x0)?
and then get rid of that term because NOT x2 AND x2 is false?
usually its agreed that AND binds stronger than OR
just like with multiplication/addition in the integers
so it would be possible to reduce in that way
but now I see that there's actually a term of the form A + 'AB in that term
and that reduces further to A + B
the hardest part is knowing what to write
this course doesn't require strict proofs, but on the other hand, I don't know if I can even write a simple proof for this problem
if you reduce a logical expression to some other expression with only logical equivalence signs between them, it is a proof
(that the expressions are logically equivalent)
good point
my intuition tells me that ('x2 * x1 + x2 * 'x1) should reduce to zero
but intuition doesn't really help me
I need to use axioms and properties, but I'm totally unsure what I should try
ok I guess not
they're both prime terms
I just spent an hour minimizing the terms and that's not even what i was supposed to do
how in the hell am I supposed to get the canonical disjunctive normal form??
Hi,
discrete math questions
if you have
r -> ~q
q -> ~r
what does that become?
It was the rules of detachment, but I should use
q
q-> ~r
sometimes I am confused if I can use the rules when I have not before the symbols, but it seems like I can
So this is a proof of the bernoulli inequality my question would be, can u do that leap from the step in the middle to the last one and if so why?
if $ka² \geq 0$, you agree that $$1+(k+1)a+ka²\geq 1+(k+1)a$$
emeric75:
right? @jagged grove
well if i have thing1 >= thing2, and thing2 >= thing3
wait im reading this more carefully nvm
so hes just using the fact thing2=>thing3 to put thing3 in the right side of the inequality?
and thing3 just so happens to be the n+1 term of the induction?
@opal crescent
yeah
ok thx
XD
those are indeed the rules @weary tiger
just try both and see what works
(or what you like better)
imo there is no need to split it into individual cases, but you might have a different opinion
both would work, yes
it's just a matter of how many steps you are able to think ahead
or what makes for a "nicer" argument
https://gyazo.com/8663782bd98e3233081cc757c3283231
any ideas on how to establish that inequality?
i was able to get somewhere with the inequality but i can't really get to that point
Draw a picture
Hello I have a question, could someone please help me
Is this going to be x^3+3x^3+x^3 = 5x^3 ? where k = 1 and C = 5
This is a Big O problem
@olive dragon
You have to show that x² + 3x + 1 < cx³ for some c and values of x
As per the definition of big-O
Yes, I understand that. I usually solved this type of problem: 4x^3+x^2-x+10 < O(x^3)
I would choose x>1 and where k = 1 and do |4x^3+x^2-x+10| < 4x^3+x^2+x+10 < 4x^3+x^3+x^3+10x^3 = 16x^3
k = 1 and c = 16
@sour arrow isn't this one way of doing this?
Note that x² < x³ doesn't hold for all x. But yes, if x > 1
Yeah, I don't see a reason why that wouldn't work here
Okay, thank you
Hey, another question I need help with, someone please help, thanks
I think the big-O estimate should be O(n) since we only have 1 for loop and it runs from 1 to n
Okay, thank you
can anyone help with pigeon hole principle
Go for it

I'm trying to prove that this R := {(x,y) ∈ M x M | x < -y} either is or is not a function
what's M
right, M := ℤ \ {0}
ok
so my thinking is that if I just try to prove that it's possible for x to be larger than -y, then I will have shown that R cannot be a function
since it isn't true for every (x,y) in M
overthinking
(1, -7) ∈ R, (1, -8) ∈ R, -7 ≠ -8
therefore R violates the definition of a function
so giving a single example would be enough?
I mean, I immediately thought of that and said to myself " this is clearly not a function. now I need to prove it."
when can I be sure that "common sense" is enough to be a proof or to disprove something?
disproof by counterexample is a 100% valid proof method.
I'm glad
Isn't it ab ac ad bc ba cd
it is
thats the answr
but i w ant someone to explain why thats the answer @solar hearth
why arent ba and b elements
or cc or ca or cb or cc elements
Max has 5 weeks to prepare for a final exam. His tutor will tutor him for either 15min or 30min every day until the test but not for more than 15 hours total. Show that during some period of consecutive days, max and his tutor will study for exactly 8.75 hours. How can I use the pigeon hole principle to solve this?
i think there are 95 pigeons and 70 holes
the pigeons would be quater hours and the holes would be sum of quarter hours (35) + sum of quarter hours shifted by 8.75 hours(35)
Look at it in terms of days and how many minutes per day he can study
Hey guys I’ve got a definition of a Carmichael number in this textbook but I’m having trouble understanding it, any help?
I can post a pic of the definition in a sec
Did you read and understand the example below? It should be illuminating
heyo
so my math TA said I should take a course in discrete math
I am wondering if I could just learn it myself instead? or is a course very recommended?
also I am sorry if this is inappropriate place to ask and this is more for questions about the math itself
thank u! ❤
it depends imo
if ur doing pure math
you probably need like
just the first few chapters as they likee
are the first time u may see proofs and logic
so it can serve as a transition
to more advanced math
if ur doing cs
then i think its p importnatt xd
thats just imo.
@finite ginkgo
hi i need a bit of help on homework with combinations...
A major software company is arranging a job fair with the intention of hiring 6 recent graduates. The 6 jobs are different, and numbered 1 through 6. No candidate can receive more than one offer. In response to the company’s invitation, 136 candidates have appeared at the fair.
How many ways are there to extend the 6 offers to 6 of the 136 candidates?
im guessing its (6!)(136 C 6) but that doesn't seem right to me
its right
How many ways are there to extend the 6 offers to 6 of the 136 candidates, if we already know that Computer Joe is getting an offer, but we do not know which?
ratsella:
Compile Error! Click the
reaction for details. (You may edit your message)
ratsella:
Compile Error! Click the
reaction for details. (You may edit your message)
can I say
$\displaystyle \prod_{i=1}^n {p_i ^{min(a_i, b_i)} \cdot \prod_{i=1}^n {p_i ^{max(a_i, b_i)} = \prod_{i=1}^n {p_i ^{max(a_i, b_i) + min(a_i, b_i)}$
ratsella:
$\displaystyle \prod_{i=1}^n {p_i ^{min(a_i, b_i)} \cdot \prod_{i=1}^n {p_i ^{max(a_i, b_i)} = \prod_{i=1}^n {p_i ^{max(a_i, b_i) + min(a_i, b_i)}$
```Compile error! Output:
! Missing } inserted.
<inserted text>
}
l.11 ...}^n {p_i ^{max(a_i, b_i) + min(a_i, b_i)}$
I've inserted something that you may have forgotten.
(See the <inserted text> above.)
With luck, this will get me unwedged. But if you
really didn't forget anything, try typing `2' now; then
my insertion and my current dilemma will both disappear.
yo anyone here good at recurrence relations?
Go for it
What's x + 0.09x?
I believe the 9 percent interest annually?
Np lol. Feel free to ask if you need anything else
how many 4 digit codes can you make under the following condition:
-the digit 5 has to appear, and no other digit in the code can be greater than it```
ok so i tried it in 2 different methods
and i was hoping someone would be able to tell me why i got different results
method 1: i have 6^4 codes built using the numbers 0,1,2,3,4,5 , i substract all the numbers that are only formed from the digits 0,1,2,3,4 (cuz 5 has to appear) which is 5^4
so method 1 gives me 6^4 - 5^4
method 2:
i make sure 5 appears by first choosing one of four spots for it, and then choose 3 more numbers that each have the options 0,1,2,3,4,5
so 4 * 6^3
ty in advance
the second thing overcounts codes with more than 1 five
I suspected but can't really narrow it down to why
5352 can be constructed in two different ways using your second method
either pick the first slot to be a 5, and set the other three to 352
or pick the second to be a 5, and set the other three to 532
Oh dam
Well said
Is there anything I can do to get rid of those extras using this method?
Nvm it's too complicated and isn't worth
Thx btw
another one that i cant wrap my head around...
i have 13 boxes and 7 identical boxes, im asked to distribute them so that one box contains exaclty 2 balls and the rest contain 1 ball at most
so i did 13 * 12choose5 , which is first choosing one box out of the 13 to contain 2 balls, and then 5 places out of the 12 boxes to place the 5 other balls
however my teacher did 13 * 16choose5
which is distribute 5 balls to 12 boxes without restrictions (?)
which of us is correct
right
It says here let n be any number bigger than 1
n is a prime number if and only if the statement below is true
let's say n is 4 which is not a prime
if we follow the logic below basically the only thing r can be is 1
since it's 1 v s = 1
which means s must be 4
4 = 1 times 4
fair enough
except it's not a prime
=> r = 1 OR 2 = 1
no
r does not have to equal s
of course it doesn't
but it doesn't mean it can't
like
"4 is prime" is the same as "for any positive integers r and s, if rs = 4, then either r is 1 or s is 1"
this is disproved by presenting the counterexample r=2, s=2
Huh?
what
r always has to equal 1
Ann:
r = 1 V s = 1 => r = 1
$1 \lor s$ doesn't even make any sense
Ann:
Ann:
$1 \lor s$ does not make any sense
Ann:
$\lor$ is not an arithmetic operation
Ann:
it's a logical operator right?
it's a logical operator and it connects two STATEMENTS, in this case the equalities "r=1" and "s=1"
these equalities are connected by an OR
not an AND
have you not heard of the use/mention distinction
I never said that
This statement was never presented as a counter example
hhhhhhhhh
So I was working under the assumption of Modus Ponens
...
you're being incredibly dense or i'm being incredibly unclear despite all my efforts
and i can't tell which
Speaking of or. Would you consider or to be mutually exclusive or as V?
like OR or XOR
since the math book says x V y but both are correct
but semantically or is always mutually exclusive as far as I know.
mathematical OR is always inclusive.
all I am saying is that if we have 1 V s = 1 then we know that s can basically be whatever
but r always has to be 1 because r = 1 V s = 1
is the same as r = 1
well I guess we aren't talking about equality here
which makes this entire statement interesting if we aren't looking at it from a logical perspective
NO!!!!!!!!
WE DON'T HAVE "1 V s = 1"!!!!!!!!!!!!
YOU ARE COMPLETELY MISUNDERSTANDING ABSOLUTELY EVERYTHING!!!!!!!!!!!!!!!!!!!!
i already did!
"n is prime" is defined as "for any positive integers r and s, if rs = n, then either r is 1 or s is 1"
then what exactly is 1 v S called? if it's not a premiss then what is it?
THERE IS NO "1 V S"!!!!!!!!!!!!!!!!!!!!
THERE IS NO "1 V S"!!!!!!!!!!!!!!!!!!!!
THERE IS NO "1 V S"!!!!!!!!!!!!!!!!!!!!
THERE IS NO "1 V S"!!!!!!!!!!!!!!!!!!!!
THERE IS NO "1 V S"!!!!!!!!!!!!!!!!!!!!
THERE IS NO "1 V S"!!!!!!!!!!!!!!!!!!!!
THERE IS NO "1 V S"!!!!!!!!!!!!!!!!!!!!
HOW MANY MORE TIMES DO I NEED TO REPEAT THAT?????
ok what if I say n = 5?
5 is prime.
how can I deduce that from the statement?
5 is not divisible by anything, except itself and 1
it's not divisible by 2, not divisible by 3, not divisible by 4, and not divisible by anything greater than 5
from the statement
what statement
the one I asked you about.
that's a DEFINITION, not a STATEMENT
but it says n is a prime if and only if
it says
DEFINITION
right fucking there
in plain text
sigh
you're impossible
i'm out
How can you write 5 as the product of two things
only if one is 1 and the other is 5
if we know r = 1
then s must equal 5 since 5 = 5 x 1
still doesn't really help me to know if n is a prime or not.
maybe if it had said something like if s = r then n is not a prime.
but then we have 6
and since s always has to be n we always get n = n x 1
Why does s always have to be n
cus it's the only way for n = rs
since r has to be 1 us 1 = blablabla = r which is the same as r = 1
s can be whatever and r will always be 1 anyways
but I guess this is not logic so idk what this actually says
shrugs
That's the only way?
No other way to write 6 as the product of two numbers other than 1 times 6?
no, r does not have to be 1
hmmmm well aactually
=> means that everything past it could be false
so it's actually worthless for everything to the left of it
Uh
If the thing on the left side are true, then the thing on the right must be true too
Is what => means
however if we want everything to the right of => to be true we need to set 1 x 6
yeah
but
since we can get the left statement to be true through 2x3 we can also get everything in the right row to be false
so this definition is trash.
since it doesn't actually accomplish anything
but the definition is r in Z+: s in Z+:
"in", not "c"
right
the criterion for $n$ to be prime is $\forall r, s \in \bZ^+: n = rs \implies ( (r=1) \lor (s=1) )$
What did you even try to say
Ann:
so what it says if that if we can get n through rs then n is a prime IF => is true?
IF this criterion is met, THEN n is called prime. IF this criterion is NOT met, THEN n is NOT called prime.
so what it says if that if we can get n through rs then n is a prime IF => is true?
no
but => literally means that if the first row is true then so is the second.
and that is a lie since we can have 2x3 which is true
but still doesn't make the right row true
so if the definiton is true then n is a prime
:I
IF n satisfies this definition THEN we say n is a prime number.
and no, i'm not being pedantic.
well I understand how to use this now. Thanks.
i did nothing worth thanking for, but you're welcome i guess
I have a question regarding amounts
need to check which of these assumptions are ccorrect
I have a few questions regarding the structure itself
jämt mean even number
x is divisible by three in s and 6 in T
does R = {} mean all of the things according to the definition?
like . . . -2, 0 2, 4 . . .?
I keep seeing these = but there is not much of an explanation of how it's treated here.
anyways I feel R in T is wrong since 6,12,18 . . . are divisible with 3
well actually all of those numbers are in R
T = 3,6,9,12
S = 6,12,18
yeah got this nvm
I do have a question regarding an examination
which is kind of similar to this one
What is it?
because 0.09 is 9%
@pale epoch yea I get that part but why multiply it by the recursive call?
can someone help me with this problem
using induction, i either get
these two expressions, which are wrong
like i need the numerator for exp 1 but i need the denom from exp 2 to get n+1, am i just messing up the algebra or am i doing something wrong
im using it to sub in for sigma n, then manually putting in 1/2^(n+1) for sigma n+1
yea
That's an i in the numerator, not a 1
Lol sry. Hope it goes well
im putting n+1 for i, correct
If you pull a term off, that term would be (n+1)/2^(n+1)
This should follow by adding the fractions together, I can't imagine it would be any harder than that
Yus
im getting 2 - (3n+5)/(2^(n+1))
idk
if i had to subtract n-1 then i would get the answer in the right form
wait its negative nvm
I apologize if this is the wrong channel, not sure where to put it. Are restrictions on uncountable infinite sets bijections? I wouldn't think so but math be kinda wacky like that sometimes so I wanted someone at a higher level to either verify my intuition or correct me, thanks
define restrictions
a function which removes or "restricts" part of a domain
ie the floor function on R would be a restriction from R->N because it is removing all of the elements in R that aren't in N
Then no, they aren't bijections.
Not necessarily, at the very least
Like you said, the floor function restricts to a countable set. That's a surjection
They can be. Take R → (0,1) which can be a bijection
There's nothing special about the output being a subset of the input
if im understanding this correctly, 15) is asking for a bijection that switches the x and y components of ordered pairs between two sets
so just like f(a,b) = {(b,a) | a in X and b in Y?
Is that how functions work?
uh
You have the right idea. f(a,b) = (b,a)
functions take an something from the domain into a unique member of the codomain
Then f undoes itself
wait so is the set thing not necessary
A function outputs a unique member of the codomain, not a set
right
i was thinking of the image/preimage
my b
and yeah f composed w its inverse of (b,a) will just lead back to a,b
shouldn't it be (x,y) in C?
Why not?
bc it'll be circular
you can't use the thing you are defining when you are defining that thing
C the set of all points (x,y) in R^2 for which x^2 + y^2 = 1
C is a subset of R^2
a point (x,y) from R^2 is in C if and only if x^2+y^2=1
I thought R X R was a subset of C
...
no
no
no
no
C is not 1
you're missing the point again
C is a subset of R^2
it is a set of points
for example, (0, 1) is in C
(-0.6, 0.8) is also in C
(5, 2) is not in C
but C is a set of points. C is not a number.
can't we simply drop C = and just do the {}
"droo"?
Yeah C is just in the way
i mean, you CAN just write ${ (x,y) \in \bR^2 \mid x^2+y^2=1}$
Ann:
Ha I knew it
$C$ is just the name you're giving to that set
Ann:
it's convenient to have names for sets
So it's just a pleb. Have it shot by a firing squad.


