#discrete-math
1 messages · Page 109 of 1
i thiught the probs were listed 1) 2) 3) not a) b) c)
so you are done w a)
now do b)
2.5
what is the ordered pair
because the intersection is a set, so your final answer needs to be in the form {(x1, y1), (x2, y2) etc.}
what are they
(2.5, - 2.5), (2.5, 7.5)
7.5
so why do you have (2.5, -2.5) as an element of the intersection
those elements in the intersection have to satisfy both properties
x - 5 = y
and it has to satisfy y=3x
not sure what you mean
you literally have the intersection of two linear lines
yes
there can only be 1 point of int as is has to satisfy both requirements
2 lines and the formula for geting the intersection is make to make the two formulas equal to each other
omg
yeah, however you always have to plug the x value you get into the equation being substitued in
listen, id strongly recommend doing a quick sketch on some paper of the graphs
(-2.5 , -7.5)
this is everything not in B or C so "not S" is everything in B or C
is there an equation for this?
you have 2 actually
cough B and C
and x - y =5
its just asking you to define it
so do I just write {(x, y) | 3x and x - y = 5}
this seems wrong to me
I know it is both equation tho
its or
or
How do I compare the cardinality of countable and uncountable sets?
For example, rational numbers between 1 and 2 and natural numbers
Is the cardinality of natural numbers less than that of all rationals?
no. Q is countable.
Ok perfect thank you
Is there something I can google to find a proof of that
Or a textbook article or something
Ok i'll look around in my textbook
thank you
thats not continuum is it?
No bc thats dealing with the powerset of naturals
actually no |R| is continuum by definition
Hi guys, I have a question that I have almost solved but I know it’s wrong. Can you help me?
Question 3
Mac:
$ = a_0 + a_1 + \sum_{k \geq 2} (a_{k-1}+6a_{k-2})x^{k}
\
= 5x + \sum_{k \geq 2} a_{k-1}x^{k} + \sum_{k \geq 2}6a_{k-2}x^{k}
\
= 5x + \sum_{k \geq 1} a_{k} x^{k+1} + \sum_{k \geq 0}6a_{k}x^{k+2}
\
= 5x + x \sum_{k \geq 1} a_{k} x^{k} + 6x \sum_{k \geq 0}a_{k}x^{k}
\
= 5x + x \sum_{k \geq 0} a_{k} x^{k} - xa_{0}x^{0} + 6x \sum_{k \geq 0}a_{k}x^{k}
\
G(x) = 5x + x G(x) + 6x^2 G(x)
\
-5x = 6x^2 G(x) + x G(x) - G(x)
\
-5x = G(x) (6x^2 +x-1)
\
G(x) = \frac{-5x}{6x^2 + x - 1}
$
Mac:
Then I use partial fractions to find the formula
$ 6x^2 + x - 1 = 0
\
G(x) = \frac{-5x}{(x- \frac{1}{3})(x+ \frac{1}{2})} = \frac{A}{x- \frac{1}{3}} + \frac{B}{x+ \frac{1}{2}}
\
-5 = A(x+ \frac{1}{2}) + B(x= \frac{1}{3})
\
A = -2,B=-3
\
\frac{-2}{x- \frac{1}{3}} + \frac{-3}{x+ \frac{1}{2}}
\
\frac{-6}{x - 1} + \frac{-6}{x+ 1}
\
6(\frac{1}{1-x} + \frac{-1}{x -(-1)})
\
G(x) = 6 \sum_{k \geq 0} (-1 + 1) x^k
\
a_k = 6(-1+1)^k
$
Mac:
The last few parts I'm sure I didn't do it right but not sure how to manipulate it properly
Hello everyone, I have an exercise I need help with.
Fermat's little theorem:
I don't see how to get from Fermat's Little Theorem to the congruence asked in the question.
What have you tried?
One second, I will show you!
This is the whole exercise:
These are my answers to 1b):
I still don't see the connection between a) and b), although b) was easy to solve.
,w 4^14 mod 15
Nothing yet, I thought I could prove the general case if I solved the examples.
Also, you realize that 15 is not a prime number, right? :p
You were lucky that 4^14 is one more than a multiple of 15
In any case
I suggest that you try proving the converse "<=" first
Hmm you're right, totally overlooked that. Thanks for pointing it out.
🦈
it looks wrong '='
Right to left, first place can be filled by 7 digits only, then 7, then 6....
yeah this solution is fucked up actually
Good, thank you!
C and R occupy end places means _ _ _ _ _ _ _ _ C and _ _ _ _ _ _ _ R or _ _ _ _ _ _ _C R and __......RC?
the number of possible paths from the origin to any fixed point in the first quadrant in R^2, if you are allowed to move up or down, but strictly right, is aleph naught, right
we did only up and right in class, and the answer was x+y choose x or y, just wondering about if you arent restricted
yes
ok makes sense
same for freedom in both horizontal and vertical, as it would still be the (infinitely) countable union of (infinitely) countable sets/families
?
Permutation and Combination has never been intuitive for me
Why we are multiplying 6! with 5!? 5 software engineers has to be seated in 6 seats.
Isn't that 6C5?
looks like a typo
is this the same book as the previous problem
bc if so i wouldn't trust it
anyway the 5! is (6-1)!
5 SE and 6 EE
hang on though
this screws up their entire reasoning
bc their fig 5.2 shows a table with 12 seats
as if there's 6 of each type of engineer

yeah their solution to this problem is just fucked up
as was the last one
the book's trash
though i guess that wasn't exactly shocking
Lol, if you remember the books I usually use are trash.
uhh
ok alright maybe this can be saved somehow
so since there's 11 engineers to be seated
11?
5 software, 6 electric?
oh 6+5 (if you read trash, your mind becomes trash)
and there's 5 software engineers who can't sit next to one another
the gaps between them in any seating arrangement will be of sizes 1, 1, 1, 1 and 2
so
ok lemme get a pic rq
they're always gonna sit like this
does this make sense
yeah so at this point it's kinda obvious that the orientation of the table is fixed and the number of ways the 11 engineers could sit is just 6!5!
coincidentally, arriving at the same answer as the book, but without the wonky reasoning!
o
How 6!5!?
Is it like to make electronic engineers sit we have (6-1)! ways, to sit 5 software engineers when available seats is 6, we have 6C5 * 5! = 6!?
So, total ways is 5!*6!
no??
the electronic engineers can be seated in 6! ways
and the software engineers in 5! ways
round table? (n-1)!
Genius then
eh
no
it was probably a collection of different resources that even i couldn't replicate if i tried
Unfortunately, fucked up university hinders a lot of your learning.
So I thought of an interesting argument, but I can't think of a way to formalize it.
If you take a complete graph on n vertices, that's the net of an n-1 simplex
From that perspective, it makes a little bit of intuitive sense that k5 can't be drawn without crossing
It ostensibly means that there's no way to orient a 4-simplex such that all vertices are visible, looking from the top down
Can anybody think of a way to formalize this?
You’d have to define visibility in 4D space
And orientation, and the notion of “top-down”

Maybe think of it like a spot light, shining on the object?
If we think 3 dimensionally, I can orient a tetrahedron so the casted shadow has all 4 points visible
So we don't need topdown persay
We can define orientation by any rotation of the object
The cube is a planar graph
Yet we can’t see all vertices at the same time in the shape of a Platonic solid
As long as it isn't solid we can
(Wire frame)
The argument would ostensibly be about the projection of a 4-simplex into 2d space
protocol, create a regular expression that finds ESTABLISHED and LISTENING
network connections on TCP port 502.```
Does anyone know how to approach this
@weary tiger Can you use the definition? Show your work.
I kind of understand it but I dont understand it fully
its not super neccasary though if you are busy I can just ask my TA
if you ar busy
@reef thistle Did you recommend me a book on graph theory?
I don't remember if I did
What is the number of sequences of six digits where the number of even digits is equal to the number of odd digits?
how to solve this???
if there's as many even digits as odd digits in this sequence, and there's 6 digits in total, how many are there of each
3
sorry i think in there 5 even , and 5 odd
in your string
and there should be only 3 odd/even in two places like that i think
your string is composed of three evens and three odds, potentially repeating since there's no specification that they don't repeat
now before we answer this
it might make sense to ask yourself this simpler question
how many ways are there to arrange 3 E's and 3 O's in a row
but what about the other two odds and evens left
what do you mean, "the other two odds and evens"
you seem to be under the impression that the digits in your string can't repeat
when that is not the case at all
like there should be 6digit number which should have 3o ,3e so the other 2e/2o we should use them right ?
no?????????????????????
you're missing the point??????????????
are you even reading what i'm saying?????????????????
no they can repeat because the digit sequence can occur
again
i mean with position change
what if the question was asking for the number of strings of length 20 instead of length 6
then there would have to be 10 each of evens as odds
and in your words
what would we do with the -5 that remain
what if for like 23 ? not 20 ,30
23 isn't even, you can't have equal numbers of even and odd digits in a string of length 23
anyway you're really overthinking all this
oh ok
We first select three positions for odd digits. For each of these three positions, we select one of five odd digits. For each of the remaining three positions, we select one of the five even digits. Overall, this gives 6c3 * 5^3 * 5^3
well there you have it
@reef thistle Can you please recommend?
Hey i am new to proofing and Discrete Maths in general, i am a bit unsure if my proof is "Correct"and i would appreciate it if one of you could take a look 🙂
fourth line fucked up
Doesn't the \mid sign mean that the second number can be described by the first number times some other number q?
so exists q,r in N would fix it?
with proper placement of quantifiers, yes, there is a chance that the proof might be fixed
but just one question
are you explicitly required to write the proof in this clunky formal manner
I am required to proof the statement a => b by showing not b => not a
that is not what i am asking you
are you required to shit quantifiers all over the fucking page
or are you allowed to use words like a human being
Recursively define the set of bit strings that have more zeros than ones.
how do i do this..
not entirely sure what you're being asked to do, but I'd probably imagine I have a set of bit strings of length n (and less), then try to describe how to construct the strings of length n+1
yea i think that's what it means while fulfilling the condition "have more 0 than 1"
I guess there are two routes, take all the length n strings, and then put a 0 on the end of them, and then the other route is to make the "maximal" type ones which we don't get from this way
kind of hand wavy, might need to be fleshed out a bit more than that, like where you add 0 to the left or right might make duplicates and when you add "maximal" ones it might depend on if the string is even or odd, I'm not thinking too much here but hopefully that helps
interesting, I see what they're doing
try to describe what you do understand or what you're thinking about it
at basis we starting with a bit string with length 1, so obviously string "0" it is.
in recursive step,
that's where i stuck
does it mean that s and t is just "0"?
yeah when you first start all you have is "0"
so s="0" and t="0" so you can make st = "00"
now S has "0" and "00" in it
so you keep building in this way
recursively
damn big thanks for clearing this up
yeah cool trick they have, I think the way I was doing it was not so elegant but I was more planning on creating a recursive formula so I could count them in mind so I don' tfeel too bad haha
I'm trying to construct a phrase-structure grammar based on some sets, but how do I know if the start state S can transition to the empty string?
@toxic fjord Pretty sure its the pigeonhole principle you have to look into
can someone help me with this problem?
Suppose p and p + 2 are both prime numbers with p > 3, show that p(p+2)+1 is divisible by 36
i tried to do it with induction but i don't think thats the pathway
if someone could just give me a little nudge in the right direction that would be all i need
You want to show that p(p+2) is -1 mod 4 and -1 mod 9
yeah i figured that after i sent it
thanks
@faint narwhal would i use the chinese remainder theorem for this btw?
No you don't need it
hmm
oh ok im getting it more now
actually this is still kinda confusing me, is there some elementary way to work around mods that I haven't learned or smth? I'm trying to make an argument mostly with english but i'm having trouble coming up with stuff
well it has to be a multiple of 3 but not of 6
or no thats not what i meant lmao
i mean it has to be one less than an even multiple of 3
Why
because since they're both primes then they cant be even and for any given 3 consecutive numbers one of them must be a multiple of 3
which means one of p, p+1, and p+2 must be a multiple of 3
since p and p+2 are prime then it must be p+1
well it can be any number one less than 4?
if you're only considering the mod 4 part of it
And why?
well just because of the mod part
but idrk what to do with the prime aspect of that you know
like with the multiple of 3 it was pretty easy to say that p+1 has to be a multiple of 3 and 2 but -1(mod 4) makes it odd already
No, you're not thinking in the right logical direction
You're trying to show that p(p+2) is -1 mod 4 and -1 mod 9
This is what you're trying to show, not what you know
can p be 0 mod 4
So you have two cases
so i have to show that it cant be 1 mod 4 and then do the same thing with 9
oh ok so i have to take the two cases where p is 1 mod 4 and where its 3 mod 4 and show that that number times p+2 is always -1 mod 4 and -1 mod 9?
ok
@faint narwhal the question or my answer being incorrect
the question is terrible
ahhhh
The relation they give
Isn't an equivalence relation
So it really makes no sense to talk about equivalence classes
Or at least, not the equivalence classes people usually talk about
i tried looking around but all examples i see is with divides @faint narwhal
There's a reason for that lol
The question is broken. They're assuming a result that isn't true
Ask her why the relation is an equivalence relation
10N5 is true
But 5N10 is false
I mean yeah, it's not symmetric either
We don't expect that to happen with an equivalence relation
Where's the question from lol?
exam question @sour arrow
i got it wrong, im trying to fix it. to prepare for the finals
Whoa. They actually gave you a completely broken question for an exam. I'm so sorry
Complain. And get a teacher who has at least seen set theory before
I mean
is there a definition of equivalence class somewhere in your notes
maybe they use this term a bit differently than what's standard
no we base it on the book
Discrete Mathematics with Applications 4th
edition.
ill check
Susanna Epp?
yep
yea ill definitely ask tomorrow
Does this mean my answer shouldve been: T0 = {0,0,0}, T1 = {0,1,-2} and so on? @faint narwhal @sour arrow
Wouldnt index for this mean T0UT1UT2UT3?
Derp. Yes, that's what T0, T1, ... are
However, you're taking the union of 4 different sets
That returns a set that has everything all four sets have
The answer should be
{0,1,2,3,-2,-4,-6}
U means "squash into one set"
Is there a difference if the question was [0, i, -2i]? Instead of {} @sour arrow
ah okay, because the book had something like this which is what im practicing on. @sour arrow
Okay. [a,b] means the set of all real numbers between a and b
a and b are in the set as well.
They define it with the set builder notation to the left
oh okay i see
I need some quick help regarding congruence relations
I have the problem:
[8] + [6] in Z base12
And the answer sheet says [2]
I'm wondering what steps I need to take to achieve the answer [2]
what's 8 + 6?
yes
Got it thanks
but like
what do you mean 22
accient
the answer is 2
accident
yeah
i understand now
thx
okay
what about multiplication
[5] times [12] in Z base 8
5 times 12 is 60
the answer sheet says [4]
what's 60 mod 8
uhm
60 = 7*8 + 4
60 / 8 = 7.5
that .5 represents 4
since 4 is half of eight, 4 is the remainder
i see
aight
it is 4782969
Are you asking about 9^7 (mod 7)?
let me check
i've got a similar problem in #help-6 if 1 of u guys knows about that one, no rush tho sry for interrupting
Hey i'm posting the same problem in here again because the guy who helped me got stuck but i figured i would try again if someone could figure it out? I'm just gonna skip the problem for now:
"find the last 3 digits of 17^2019"
I've gotten to 17^19 = 17^19(mod 1000) but idk how to get past that
my professor did something where he used phi(phi(phi(1000))) (or maybe more phi's after that idr) to find the answer when it gets small enough to not reduce but also still not be computable and somehow was able to set that up to work but i've forgotten the method exactly
you're not being serious are you
jk
🤨
i guess ill just leave that problem blank lmao
i dont think i actually need it to keep 100% on homework so no worries
heheh
Honestly a pretty interesting problem. If/when you get a solution set, would you mind posting it?
@runic mauve I woke up if your homeworks not due yet
It’s not but maybe I can @ you tomorrow? It’s 1:43 am here lmao
Sure
It’s due Thursday so Wednesday is all good for me
@runic mauve you essentially did it
Using Eulers, we get 17^19 mod 1000
Then you can just break it up
Agh fuck this is bigger than i thought ahahaha
(17^3)^3 * (17^3)^3 * 17
(913)^3 * 913^3 * 17
11^6 x 17 x 83^6 mod 1000
So powers of 11
There are easier ways
nCr = !n / r! * (n-r)!. 52 playing cards. What's the probability of picking out 3 cards and have at least one spade? I've gotten to : (13C1 * 51C2 + 13C2 * 50C1 + 13C3)/52C3 but the probability is pretty high here - 93ish%. And logically should be somewhere under 75%.
I think it's easier to calculate the complement probability: how likely is it that you draw 3 cards, but none of them are spades?
Once you have that, subtract it from 1 to get your desired outcome
1-(39/52x39/52x39/52) that would get me at 57,8125%
Looks right
Wait
No
First of all, those two numbers aren't even equal
Second of all, the expression you wrote down doesn't represent the probability that you have to calculate
39/52 is probability of drawing none of the 13 spades.
Only on your first draw
Remember that when you draw your second card, the probability will change
Why 39/51?
Let's take a step back
How many ways are there to pick 3 cards out of the entire deck?
Ok, so far so good
How many ways are there to pick 3 cards out of the deck without the spades?
39C3
Why would this not work?(13C1 * 51C2 + 13C2 * 50C1 + 13C3)/52C3 Creating all the possibilities of (1spade 2 random cards + 2spade 1 random + 3 spades) / all possibilities
The probability that you draw 3 cards, and none of them are spades, equals (39 choose 3)/(52 choose 3)
@faint narwhal oh with CRT
@hardy yoke You're over-counting
For example, that 51 choose 2 includes every card except in the deck except the one you just picked
In particular, it contains the spades
Ah, right
So with your method, the correct calculation would have been something along the lines of (13C1 * 39C2 + 13C2 * 39C1 + 13C3)/52C3
Yes, probably, thanks for the help.
@faint narwhal yeah I think that I GOT the answer but it’s just that I’m fairly certain he doesn’t want us to just go calculating that huge number
Which is essentially what I did
I’m interested to see what you would do
Think about chinese remainder theorem
Would i break it up and use Chinese?
Yes
Ok
How to prove?
are you sure they're true?
Pretty sure
And why?
If you have an injection from set A to B does all of A get mapped to B?
I always thought the whole domain of A didnt havent o be used to still be injective
Just that the points were 1 to 1
I made up some sets and tested it @faint narwhal
Okay well how do you show two sets are equal
What does it mean for two sets to be equal
subset has entered the chat
hey guys, im doing an internal examination high school paper on Dijkstra's algorithm, im not very aware of the notations and only really spend time udnerstanding the algorithm
so could someone have a look at my paper to see if everything checks in with the notations and stuff discrete math has?
ty
is it an equivalence relation if every test is not symmetric, not transitive, and not reflexive?
Can a multigraph have a loop?
My teacher has written in the definition of Multigraph(General graph) that
A graph which ahve either loop or parallel edge or both the edge is called general or multigraph.
is that verbatim what your teacher wrote
what is it with the proliferation of broken english i've been seeing lately

Find the number of sequences, containing $a_1$ ones, $a_2$ twos, $\ldots$ , $a_n$ numbers $n$, such that
for each number 2 there is a 1 to the left of it, $\ldots$ , for each $n$ there is an $(n-1)$ to the left of it.
<@&286206848099549185>
hmm I am going to have a go at it, but did you come up with anything ... partial discoveries?
@cerulean sentinel
We've come up with a sort of algorithm to build them (not sure if it's even correct), but no idea about a formula
Another way would be to get all numbers from them and order them ascendingly (while keeping the condition satisfied)
hmm let's do 112233 as an example
123123 works!
actually 12XXXX always works which is nice.
Yup
112XXX also always works.
1122XX also always works but has only one choice for the right side: 112233
oops
double counted
Yeah 😄
No
I've written two programs, in python and cpp, the python one tries to count them on input but misses some as of right now, actually both
Currently I'm using a way of 'bubbling' each first occurence of n until it reaches the first occurence of n-1
so this is a very interesting problem but it's 8 AM where I am! Sleep calls 🙂
No prob, thanks for taking a look
sure is this due within 24 hours?
doh okay. If I don't make it back, good luck!
But I do think there is a lot to be said for this (just a thought I wanted to test but haven't):
All numbers must have:
1[]2[]3[] where neither 2 nor 3 cannot be to the left of the first 2, and 3 cannot be to the left of the first 3.
Yeah, that's kinda what I'm doing rn
and I'm summing the product of the permutations of each []
If someone wants to run this and fix it cause it's not counting some rn
for 112233 ... 1[]2[]3[] --> 1[1*]2[2*]3[3*] where N* denotes the number of digits that can be there.
I dunno it's very half-baked.
1[*,1]2[*,1,2]3[*,1,2,3] would list the choices ... yeah that's all i got!
okay yeah very very half-baked. Anyway good luck.
thank you for sharing the problem though.
Hey I have a question about recurrence relations, can anyone help?
hey, can somebody help me with a visual proof of the dijkstra's algorithm, like why it works
oops
Hmm gotcha ty
small question about paths in graph theory, only walks have alternating pattern of vertices and edges or no
there are very little standard definitions in graph theory
I just wanna say thank you to this server. I have passed my discrete math class
grats
yes
so in problems like this we should always start with the base case
especially because observing behavior of a structure in its simplest form
can often make it easier to think about more complicated cases
so lets say n = 1
this means that we have a function
$f \colon A \mapsto B$
hegel:
there is only 1 element in A, lets say a
and B has m elements
how many distinct functions
can there be?
m?
yep
so now lets say we have a function f
with n elements
in A
and m in B
so by induction lets assume that there are m^n distinct functions from A to B
what happens when you add 1 more element to A?
since every element in A has to map to an element in B
how many elements in B can this new element in A map to?
right
so we have n+1 elements in A
we assumed by induction that there were m^n functions distinct functions mapping n of our elements to m elements in B
and now for each of those functions, there are an associated m possibilities
for which the last element can map to
so how many functions do we have in total?
m^(n+1)
right
so now we've proved that if we have $f \colon A \mapsto B$ with $|A| = n $ and $|B| = m$
hegel:
and if we assume that there are $m^n$ distinct functions from A to B, if we add 1 element to A and thus have $|A| = n + 1$, there are $m^{n+1}$ functions from A to B
hegel:
i.e
by induction on n
our proposition is true
its true for n = 1, and if it is true for some n, its also true for n + 1
oh, so its mainly the wording
ya
dont get caught up in thinking "wow i cant figure out how this could work" if ur told to use induction
the problem is basically telling u what to do
you just gotta trust it for a little bit
and prove the base case
and that n implies n + 1 is true
I see. So for a concise answer, what key parts do you need to include for proving for it for n.
do you want me to write up a proof?
No no just the key parts you need to mention
well, obviously you need to prove the base case
ye
then you'd need to demonstrate what happens when you add 1 extra element to A
ye thats were I was sort of confused about this because you can just get away with writing the anwser without doing some mathematical working to prove how you got there
i.e show that if you have n elements in A, for each function f from A to B, there is now an extra m functions associated with it
and thus for each f you have m functions, with m^n f in the set of functions from A to B and thus m + ... + m m^n times, i.e m^n * m = m^(n+1)
and then ur done
Ok I see, thanks a lot for your help!
when proving "if n^3 is odd, then n is odd" how would you do this without contradiction
with contradiction its like 2 lines but i feel like u should be able to directly do it
You probably can, it's probably not nice
hmm
The contrapositive proof is probably what you want or are talking about
There's really no reason to use contradiction here
oh yeah, contrapositive you dont use p at all until the end right
uh whats p
n cubed is odd
p \implies q is equivalent to (not q) implies (not p)
That second statement is the contrapositive
when stating a range, how do you say natural numbers greater than 2
n in N st n>2?
im confused about each of these parts. how do you combine f and g and how do you get the inverse of f if it isnt in terms of x
what does g dot f mean
composition
dw I solved it
...ok
hey guys. i gotta proof following 2 tasks.
i tried to solve this via using the definition of x|y. which means that xn=y and xn=z -> x*n =y+z
but i am not sure, how to continue
n1 n2 n3
ok, so what you have is that $y = n_1x$ and $z = n_2x$ for some $n_1, n_2 \in \bZ$
Ann:
and what you want is to show that y+z can be written as an integer times x
$y + z = n_1x + n_2x = ; ??$
Ann:
but with your first tep i know that this is ture isnt it?
what?
step 1: y=n1x and z=n2x then i know that y+z =n1x+n2x : They left side is only true , if both terms are true
what's your point
you were what
something we say in germany if you dont know the answer despite the fact the answer is obvious 😉
That'd be pretty useful for me lol
hey guys, i cant seem to understand what the heuristic value means in the A* search, can anyone explain>
please dumb the explanation down a bit for me ty
P(A|B) = P(A) is for proving if events are independent of each other. If i have dice 1-6 and P(A) = "Roll 1", P(B) = "Roll even". P(A|B) = ((A and B) / B) = 0/3 . P(A) = 3/6. 0/3 != 3/6 so that means events are dependent...?
according to that formula?
but they're not
P(A) = "Roll 1", P(B) = "Roll even".
no
P(A) is a number, as is P(B)
writing P(A) = "Roll 1" is incorrect
did you mean A = "Roll 1"?
but also, yes, "roll 1" and "roll even" are dependent
even though you calculated P(A) incorrectly as 1/2 when it should be 1/6
@hardy yoke
Yes
@stray reef If I have to roll on first try 1-6 and on second try 1 then they're independent
How can i prove that with P(A|B) = P(A)?
A = On first try roll 1-6
and are you doing two dice now
I can use one dice though...
Yes
Yes
AB = A?
P(A) = 1/6 chance
no!!!!!!!
What
Ah, right.
A happens ALWAYS
Why did i want to compare it to B..
Lets say A = " roll 1st dice 1" and B = "roll 2nd dice 2".
P(A|B) now equals to 0
0 = 1/6 according to P(A|B) = P(A)
uh
i dont have context
but are you just rolling 2 dice
because p a given b is 1/6 not 0
Yes, i'd like to prove if they're independent or depended using formula
ok and how is p a given b 0?
P(A|B) = (A and B)/B
1/6*
ok
so you have that formula for p a given b
how do you get 0 from that
I can roll a 1 on one dice and 2 on the other
uh
think about it in real life
youre saying its impossible to roll 2 dice
and have one land on a 1 and the other a 2?
I know that's possible, but I need to use this formula
Or some kind of proof
Using numbers
what exactly is your formula for P(A and B) happening?
Lets say A = " roll 1st dice 1" and B = "roll 2nd dice 2".(edited)
P(A|B) now equals to 0
0 = 1/6 according to P(A|B) = P(A)
no
P(A|B) is 1/6
P(AB) = 1/36
P(A) = 1/6
(1/36)/(1/6) is not 0
the event AB is "roll 1 on the first die and 2 on the second"
One outcome from 36 possibilities?
which describes precisely one of your 36 equiprobable possibilities
please write and
my probability prof uses $AB$ for $A \cap B$ and i've adopted this convention
Ann:
or is that common notation?
Feels like it could get confusing
with distributions you have like XY
meaning multiply the result
yes but in something like P(AB) one udnerstands A and B to be events
you can also use commas for and
yeah I guess...
like P(X = 4, Y < 7)
anyways
Okay, I think i got this 🤷
sounds like you didn't
I just had this (AB) confused
Okay, just to confirm now. Single dice 6 sides 1-6. A="3" , B = "1". ```
P(A|B) = 2
P(A = 1/6)
2 != 1/6 => not independent
aaaaaaaaaaaaaaaaa
your notation
is
fucking abhorrent
to the point where it's actually incomprehensible
There, fixed notation, i think
A and B have 2 common outcomes
whatsoever
blink blink
how is it not a red flag for you that a PROBABILITY ended up being GREATER THAN 1
Hmm...
how is it not a red flag for you that a PROBABILITY ended up being GREATER THAN 1
🙄
Okay, right..
what does A = "3", B = "1" even MEAN
I just assumed it would be understood as rolling 3 or 1
does it mean A = "roll 3", B = "roll 1"
then their intersection is EMPTY
hJEHLQRTGJHJKHGAKJHG
ARSGHKADFG
SADGAGSAG
NO
YOU
DO
NOT
ASSUME
THAT
INTERSECTION
IS
THE
SAME
AS
UNION
BECAUSE
THAT'S
NEVER
FUCKING
TRUE
Okay
it is IMPOSSIBLE to roll 3 AND 1 at once
the intersection is EMPTY
P(AB) is ZERO
"roll 3" and "roll 1" are NOT independent
And this wont be confused with cartesian product?
no it won't
If you say so.
cartesian product is always denoted with ×
R^2
I mean, I see no problem with the symbol for intersections. It's pretty clear as it is.
Anyways
what exactly was the issue?
I couldve sworn the original problem involved rolling 2 dice
oh nvm there was another problem
Okay A = "Rolled number is even" B = "Rolled number is 4". ```
P(A|B) = 1/1
P(A) = 3/6
Is this right?
yes
Hi! So I have a problem and I just need to know what direction to take when solving it, because it feels we've tried everything at this point.
So, we have n^4 + 4 = p, where n is a natural numbers that is not divisible by 5 and p is a prime number. We need to solve this equation. Any pointers are welcome. Cheers 
of course not
always good to look for some
Have you tried taking the equation in various bases
You're expecting for there to be no other solutions, right?
Yes, we concluded that n >= 1, but given that it's a natural number to begin with, that didn't really get us very far
Kind of, yes
n greater than 1??
or equal to
sure u cant get any other info
i mean bases as in modulo arithmetic
eg. I can see the prime has to be 1 mod 4
i dont think so
you're right scratch that last line about the 20
However
but the 1 mod 5 part is correct, idk how I butchered chinese remainder theorem so hard lol
I guess we'll start there and see what happens
it tells you the prime is 1 mod 5
@obtuse lance um how
by fermat's little theorem
well that did the q
it tells you p-4 is 1 mod 5 yeah
$n^4+4 \equiv p \mod 5 $
$n^{5-1} - 1 \equiv p \mod 5$
$ 0 \equiv p \mod 5$
Merosity:
oh wow
double dollars
no
lmao i was brute forcing mod 5 in my head
$$n^4+4 \equiv p \mod 5 $$
$$n^{5-1} - 1 \equiv p \mod 5$$
$$ 0 \equiv p \mod 5$$
emeric75:
$n^4+4=5$
Merosity:
n=1 is the only solution
i is also a solution
Let $${A_i}_{i\in I}$$ denote a partition of A. Define a relation R on A as $$\forall x, y \in A, (x, y) \in R \iff \exists i\in I (x, y \in A_i)$$ Prove that R is an equivalence relation.
SpiderString:
Can someone check my work with this?
For some reason I temporarily forgot that "there exists" is a backwards E and instead wrote an E so if you see that please forgive me. XD
I thought that looked weird
<@&286206848099549185> can some check over my work for this discrete problem?
can anyone explain to me why this is true
Well, let’s see
Let x be an element of the empty set.
Then, the empty set is a subset of the set containing the empty set iff all elements of the empty set also belong to the set containing the empty set.
In other words, the statement above A is:
A <=> [(x E phi) => ( x E {phi} )
Since there are no elements in phi, the antecedent is false and so, the conditional is true. Since the biconditional is true, it implies that A must be true as well.
^Of course, make sure you’re writing all this down very formally, yea?
But it’s the general idea
Huh. If you wrote P({phi}), where P is supposed to represent the power set, wouldn’t you get { phi, {phi}}?
Besides, it can be proved that phi is a subset of any set, no?
Unless I’m getting this terribly wrong.
please don't use "phi" for the empty set
Ann:
I mean, it doesn’t really matter. But yea, sure.
Honestly I think I had a stroke, I was just working through why it made intuitive sense and then I decided to throw all that out in favor of some bs argument. I blame (even worse) sleep deprivation due to dead week.
Yes, just ignore me.
Ah don't be too hard on yourself. Making wrong arguments and realizing the mistake in them is a natural part of learning
Also doesn't it follow, then, that ø={ø} since both contain the exact same elements
Which is what I was originally thinking but then I decided that was too reasonable, I guess.
Uh, no?
The set containing the empty set is not the same as the set containing the empty set. The former has a cardinality of 0 and the latter has a cardinality of 1.
The empty set is empty cos there are no elements within it. The set containing the empty set has one element (the empty set).
Aren't all sets subsets of themselves?
Ugh actually yeah I'm gonna just stop before I say something even stupider
Yes. A given set is a subset of itself because x E A => x E A, for any set A, is a tautology.
However, that just having one set be a subset of another set isn't enough to guarantee equality.
In order for a set A to be equal to the set B, for all elements belong to A, x E A <=> x E B. That's the Axiom of Extension.
Idk, doesn't make sense to me that you can say x is a subset of {x}
Then, you can prove that that's basically equivalent to mutual containment.
Because x is not a set, but just some element of a set
Huh, of course not. The set of subsets of {x} is given by {phi, {x}}
