#discrete-math
1 messages · Page 215 of 1
which makes it work
any
the reason why they went with n = k - 1
was because that's the simplest case
24 + 5 = 29
what do you mean by 'any' we literally just shown that n=k-5 doesn't work
so k +1 >= 29 where k >= 28
what???? we can't use 'any' we literally just concluded that for IH n=k-5 doesn't work...
I think how it works is that it has to be
IH n=k-(whatever is lowest component)-1
so that you can account for the offset
but n=k-4 working disproves that
he could have done
k + 1 = [(k + 1) - 7] + 7 = (k - 6) + 7. if you check the first 7 numbers, through 30, then this works
24 + 5 = 29
nobody is “picking” anything for n
ah right mb
you have to pick or else it doesn't match in IS I showed this using n=k-5 for IH already
you use n = k for IH assuming that it holds for all m <= k and then show it for n = k+1. there is no picking for the Ih. it’s just using the fact that it works for k - 4 or k - 6 <= k, whatever those numbers may be
We could try with 7:
n = k - 7 + 1 => n = k - 6
for k >= 31
so
We assumed k - 4 to be our inductive hypothesis:
k - 6 + 2 = [(k-6) + 2] - 2
=> [(k-4)] - 2
=> k-4 can be expressed as a sum of 5's and 7's via inductive hypothesis, so k - 6 can be expressed as a sum of 5's and 7's
I thought the main reason why it works is because of the fundamentals of how you prove this type of problem. You need to offset the (k+1)
I hate grimaldi
it gets even worse when we get into divisibility proofs
and euclidean algorithm I hate that thing so much
euclidean algorithm isn't difficult
wait
I suppose this is for gcd?
Yea
gcd lcm
cancer for me
please teach me your ways
wise one
For instance, I have absolutely 0 idea what is going on in this proof
Suppose you have two numbers a and b.
The euclidean algorithm finds the GCD via:
gcd(a,b)
=> a = b(greatest positive integer possible) + positive integer (this is called the remainder)
b = remainder( greatest positive integer) + positive integer and so forth till you get the remainder to be 0
lol your example looks hard
lmao
I hate grimaldi
this has to do with the transitive property or something
We let
gcd(a,b) = g
gcd(na,nb) = h
gcd(a,b) = g is just the same thing as the formulaic representation:
g = as + bt, where s and t are integers
gcd(na,nb) = h can also be represented the same way:
h = (na)s + (nb)t
h = n(as) + n(bt) => ng = n(as)+n(bt)
so we can get ng = (na)s+ (nb)t or h = ng
so that gives us that ng is divisible by h
since ng = h
the second part is just repetition lol
same thing for third part
h1 = h/n
what is the reason you can use the same s and t?
I see
if they're equal, they must use the same s and t
What kind of frame of mind should you have when you are trying to prove stuff with euclidian algorithm?
what are the possible variations?
i don't think you could do much with Euclidian algorithm actually
it was the divisibility def
my prof used it to prove that all n >= 2 is either a prime or can be factored into primes
he also used it to prove if all integers are either even or odd
division algorithm is the same as euclidean algorithm ngl
yeah euclidean algo is gcd
Something like this is also extremely confusing for me
wack af
Could I get help in figuring out how to solve this please?
what happens if x in B? what happens if x not in B?
I'm not too sure, idk where to start on this question
I'd appreciate any help in going through it tho
if x is in B, then x is in A and …
and if x isn't in B, then it's also not in the power set of A?
um. that’s true, but completely irrelevant
just look at the definition of B. write out what it means for x to be in B (here, we have f(x) = B). if x is in B, then x is in A and x is not in f(x) = B… this is a contradiction.
find a similar contradiction if x is not in B
If x∉B:
Then x∉A and x∈f(x)=B. This is another contradiction.
Is this right? @cerulean wind
oh so we only consider that its saying, f(x) is in B so you cant say x is not in B
i’m not sure how to interpret that
i was emphasizing x in A because i wanted u to finish off my line of reasoning
B is a subset of A. x is an element of A. x is either in B or not in B. in either case we get a contradiction
shit i didnt look at that middle line where it states x is in A
So by using these two cases of x in B and not in B
if they're both proven wrong by contradiction, is there anything else I'd need to state to finish off the original proof by contradiction that A implies the power set of A?
*proof that there is no onto function from A to P(A). no. that’s it. you have reached a contradiction in both cases. this is impossible.
Cheers, appreciate the help
looking back at it, it shouldn't have been as hard as I thought it was initially
Would anyone be able to have a quick look at this proof and let me know if they think its ok? Im not great at induction so Im just wondering if i have actually proven what ive tried to and if ive been clear about it, Its a proof that every non empty finite set has as many even sized subsets as odd
(If anyone feels sketchy about downloading the PDF i can post screen shots the PDF was just easier)
what does mentioning amount of subsets do?
the important thing is {a_1,...,a_k} has the property from induction hypothesis and if adding a new element then you make the even odd and the odd even
I thought it was useful just because it shows that we are accounting for every element of the new set, but i suppose youre right its not really relevent, i have satisfied the induction hypothesis though yeah?
Si
Can someone explain this proof to me?
Also what are the principles and laws I need to know for euclidean algorithm proofs? My textbook sucks (grimmaldi) and my prof's lectures are also confusing af so I just want to ask here
hey i needed help with a problem
i cant figure it out at all like im so lost
how do i find the big o of n+log(1+n^2)
Could you do it if it was n+log(n^2) for example?
not really i havent done big o of anything that involves log
a workthrough would be very helpful
n^2 is not a term
And do what I said
well cant i say that log(1+n^2) <n for any n>=1
If you actually know that
You can
Looking at a graph or whatever is not knowing it
Can someone explain this proof to me?
Also what are the principles and laws I need to know for euclidean algorithm proofs?
If they're equal, they should share a common divisor
can you elaborate?
@dire obsidian do you still need help on understanding that proof
Sure. Lemme switch to my laptop real quick and walk you through it
Do you understand the basic divisibility properties or no
Kind of
My prof lectures are confusing af and my textbook also sucks at explaining
so I'm really stuck in eudlidean algo proofs
Alright for sure. I’ll start from scratch then
Thank you so much
I also kind of need a brush up on the principles and laws I need to know
I get the divisibility thing I think
Yeah for sure. Gimme a bit to walk to a library. I just got out of a class and connection where I’m at rn isn’t good enough for computer
$a \mid b \implies a=bx, x \in Z$
I’ll @ when I’m all set up
aight
Salt
@dire obsidian Alright, so to recap the definition of divisibility. a|b means that a divides b. Aka a is a factor of b
yup
Intuitively speaking then, we get this
$a|b \implies ak=b$ where $k \in \mathbb{Z}$
3K
yeah
Alright cool. So, there's a property of divisibility that I'll prove real quick. If a|b and a|c, then a also divides a sum of multiples of a and c
So the example proof has that proof as the first one. Lemme show a quick proof for it
ok
Suppose $a|b$ and $a|c$
3K
By the definition of divisibility, then $ak=b$ and $aj=c$ for some $k,j \in \mathbb{Z}$
3K
yup
We can multiply $ak=b$ by some integer $x \in \mathbb{Z}$ and $aj=c$ by some integer $y \in \mathbb{Z}$. Then we get $a(kx)=bx$ and $a(jy)=cy$
3K
We can then add these two equations together to get $a(kx)+a(jy)=bx+cy \implies a(kx+jy)=bx+cy$
3K
Note that kx+jy is an integer as it a sum of a product of integers. So it satisfies the definition of divisibility. So, $a|bx+cy$
3K
So that's the first part. And it's a similar situation for the whole r|b and r|d part
You would do the exact same thing but subtract equations instead. Teacher seems to be fine with you using the properties without proving them, but that's why that property works if that's all cool so far
So we've gone over this stuff so far
I'm trying to compartmentalize this give me like 3 minutes
Yeah for sure
I can write it up in latex if you want it all together in one image then separated by text too. Just lemme know
why was it necessary to multiply by x and y?
The reason for that was to show that if you know that some number, in this case a, divides two things
does
$a(k)+a(j)=b+c \implies a(k+j)=b+c$ work?
Salt
Then it also divides the sum of products and yep you got it
You could add the two initial ones to say $a|b+c$
3K
a|(b+c)
a|b a|c
ak=b
aj=c
so ak+aj = b+c
a(k+j) = b+c
exactly
so I'm also utilizing the principle where I can randomly assign integer values to the divisibility statement?
that part is also kind of wack to me
I can only assign it to the left side right?
because right side would screw things up
So you're not randomly assigning integer values, but let's try to think of it intuitively
And I think I get what you're saying, but yes
so if 30 is divisible by 5
30*4 is still divisible by 5
but I can't say the same thing for right side
if I mult the right side it will screw things over
Remember that 5|30 is completely different from 30|5
Divisibility doesn't go both ways it is a one way street
5|30 says that there is SOME integer that multiplies against 5 to get 30 (5*6)
30|5 says that there is some integer that multiplies against 30 to get 5, which isn't true
So when you have 5|30
ah
And then multiply both sides by 4
You still have 5|30*4
If we wanna write it out. From 5*6=30 aka 5|30
wait what
We would get 5 x 6 x 4=30*4
That is true as well
But also notice that 5 is a factor of 120 too
The biggest trick with this is that you purposefully group numbers together to still say 5|120
Let's start with what you are saying. 20|120 is definitely true
So this says 20*6=120
We can break up the 20 to get 5*4
yup
So we have 5x4x6=120
4x6=24
So, we have 5*24=120, which means that we can say 5|120
so you just divide the other side after multiplying to see if it still works
So when you take that 5|30 and multiply by an integer you want, 5|30 * (new thing) will still be true
Yeah you can think of it like that
Intuitively it makes sense and then our proof formalizes that thing
I'm still confused about ak = b though
wait ak|b
because it looks to me you are just multiplying one side
ak=b is the definition of divisibility from a|b
oh right
if we multiply by whatever integer we want we would apply the same logic we did for the 5|30 example
So if we take a|b, ak=b, and multiply by c
so with divisibility you can't multiply only one side
We get ac|bc, akc=bc
but theoretically I think multiplying right side only works
You can group the akc=bc to get a(kc)=bc, so a|bc
Divisibility still follows algebraic properties. So whatever side you multiply one thing by you have to multiply by the other
I would be careful of thinking of it in that manner
But in terms of going from a|b to a|bc
You can think of it that way
well like I said if we have
5|30
5|30*C would still apply
But I would strongly recommend to think of how it works from definitions
because 5 already takes care of entirety of 30
doesn't matter how many 30s there are
But this example I'm giving is like only multiplying by right side
I don't think multiplying only left side works
but only right side should work
you treat c as both an integer and a variable?
5|30 does indeed not imply 5C|30
yeah
c is an arbitrary integer
I'm confused why you are allowed to just remove the kc
Whenever you're working with divisibility properties, you'll assume everything you're working with is an integer
Unless specified otherwise
since left side is more strict than right side
So the definition of divisibility states that a|b implies ak=b for some integer k. Note that a and b are also integers
So if you have integer times some other integers = integer, you can use the definition of divisibility to say that they divide
So like if you were given ak=b
and a,k,b are all integers
you could say a|b
ok so you treat (kc) as k
so when we have akc=bc. I grouped kc to be one big integer
Exactly
So that's why I wrote it as a(kc)=bc to show the grouping. So you can say a|bc
why exactly are you allowed to leave behind one c
actually ok
so lh side is allowed to do a(k) groupings
to manipulate stuff
while rh side is allowed to multiply by anything
Exactly. This technique comes up a lot in divisibility proofs
You're multiplying by stuff to keep the left side the same
In our case a|
And then you're manipulating right side to be something else
the part that gets me is proportionality because you still have a c left over in the rh side
So that's how your teacher got the whole a|bx+cy from a|b and a|c
I'm kind of having trouble wrapping my head around that
like is it actually true that it still divides
if we leave behind the c on the rh side
and group up the kc on the lh side
Yep it still does
Think of it back with your number example
5|30 means 5*6=30
Multiply by 4, we get 5x6x4=30x4. Group the 6 and 4 to get 24
That 4 is still on the rh side and we grouped the 6,4 on the lh side
But 5 still divides 30x4
I see
Same case with arbitrary integers
because the actually important part is 5
as long as you have the 5 it is
basically divisible
Yep
Here is some good basic divisibility properties that are helpful to know
That we covered
The last one is what your teacher used. So, from that
He/she could say this part
Note that he/she did specify a,b,c,d have to be positive integers
This is just because he defined r to be a greatest common divisor of b and d
And a greatest common divisor isn't negative
So he/she is just stipulating that to avoid problems
I'm confused at step 1 how you know immediately to use a|b and c|d in the proof
The reason why he knows that r|b and r|d is because r is the greatest common divisor of b and d
So r obviously divides both b and d
And then he/she applies the property we found to say r|d-bc
it's a he
So your teacher used the first thing we showed because they were given that d=a+bc
Alright cool
I thought the d=a+bc is a twisted version of gcd?
also isnt r|d-bc
basically r|a?
How do you prove that?
This is because he defines it in the beginning of the question as such and not as a gcd
So do you understand the r|d-bc part or do you wanna go over that still
I can write it up in latex rq if you want
yeah I'm also confused why you can just go ahead and say a|c first step in the proof
I get gcd(a,b) shows s|a, s|b
but
idk how it leads to step 1
So your teacher is just referencing the first part as a property of divisibility
So he can say the whole r|d-bc stuff
Lemme write up your teacher's proof being overly formal
Or at least writing more stuff
Ok i have to confess this is not my prof's proof he never did any of this stuff in class.
(he just threw us the tb exercises then said 'good luck')
It was stuff I copied online
Hahahahahaha it's all good and no problem
Discrete can be rough. I'm assuming this is your first time doing proofs? It's usually this or some number theory class for most people
Ahhh gotcha
Honestly discrete needs good prof that can explain stuff clearly. I didn't have this much trouble in earlier chapters in my course
I do have this really good video lecture I watch online but that prof got sick when he was supposed to cover divisibility and euclidean
so i am completely in the dark for divisibility and eudlidean
grimaldi textbook sucks at explaining I honestly wish that dude never decided to write a discrete mathematics textbook
😔
There's no public video lecture on youtube that actually explains discrete mathematics deeply
trevtutor and kimberly are too surface level
this is why discrete math is hard no good teachers that can explain well
but you are doing stellar job I'm actually starting to understand this stuff thanks a bunch
but yes I'm still confused at the first step of the proof
Why you are allowed and how you know to go ahead and say
'If a|b and a|c'
Like what frame of mind caused this decision
So I'm still writing up the latex proof, but basically it saves time
If you're allowed to use the property or prove it to use it
You save a lot of time
I got this question wrong on a test
Could someone please walk me through this problem so I know what's wrong
For sure
I'm not holding your hand off weirdo
@ me in whatever help channel you want
This is a public server
damn I guess common courtesy doesn't exist in a public server shame
I just asked a question you don't have to be a jackass
It's not like the person who's helping you will immediately jump to my question abandoning you
I don't have to scan the entire chat before sending a text
Well I personally never intrude on someone who is currently trying to solve a problem in public channel (help channels exist for a reason) but whatever floats your boat I guess
There are 26 letters in the English alphabet.
How many strings are there consisting of exactly 5 uppercase letters?
(Note--if a question does not mention any requirement about no repeated letters, then repeated letters ARE allowed.)
This looks to me that the answer would be 26^5 but that is not an option for the answers.
Here is how I see the problem:
If there are 26 letters in the alphabet and if you are looking for the 5 letters exactly then it would be 26 options for the first letter, 26 options for the second letter ect ... 26 letter options for the 5th letter in the string. I It looks like repeats are allowed.
My guess then is D if I am wrong and repeat letters are not allowed. D is the option that has if one letter gets used then it is taken away for the next letter in the string.
answers
A 24×23×22
B 26×25×24×23
C 25×24×23×22
D 26×25×24×23×22
E 26^3
F 26^4 G 26^5 H None are correct
??? you say 26^5 is not one of the answer options, but option G says 26^5???
f(n) = 1 + … + (n-1)^2 + n^2 <= n^2 + … + n^2 + n^2 = …
@severe swan 26^5 is the correct answer and appears as option G in your list of 8 answer options
i want to ask a question but im not 100% sure if its for discrete math
can i ask it anyway?
just ask
m=13
25 = 13q + 38
25d = 52p + 38d
note that 52 = 4 • 13…
maybe try multiplying 25 = 13q + 38 by 4
A solid object formed by sticking the bases of two square
pyramids together. All the faces are isosceles (but not equilateral)
triangles of the same dimensions. (N.B. it is not a regular octahedron.)
The faces on the top pyramid are labelled 1, 2, 3, 4 in cyclic order. The
faces of the bottom pyramid are labelled 5, 6, 7, 8 with face i sharing
an edge of with face i + 4, for i = 1, 2, 3, 4. A top view is shown in
Figure 2 with the bottom pyramid being flipped over about the edge
shared by faces 1 and 5.
Find the group of geometric transformations that leave the solid invariant.
since all the vertices have the same number of edges
I was thinking that the generator permutation will be (123456)
but the part that says "this is not a regular octahedron" is throwing me off
If f: X->Y and g: Y->Z are bijections, find the inverse of g o f in terms of g and g. Prove your answer.
Proof:
Let,
f: X->Y
g: Y->Z
Be bijective functions
Since f, g are bijective functions then their composition (g o f) is a bijective function due to theorem . Due to another theorem we know that since g o f is a bijective function then there exist an inverse function (g o f)^-1.
We also have bijective inverse functions:
f^-1: Y->X
g^-1: Z->Y.
We will show that the inverse function (g o f)^-1 = (f^-1 o g^-1).
We will need to show that:
(a) (g o f) o (g o f)^-1 = z = g(f(f^-1(g^-1(z)))
(b) (g o f)^-1 o (g o f) = x = f^-1(g^-1(g(f(x)))
Proof of (a):
(g o f) o (g o f)^-1(z) = z
g^-1(g o f) o (g o f)^-1(z) = g^-1(z)
f o (g o f)^-1(z) = (g^-1)( z)
f^-1(f o (g o f)^-1(z) = (f^-1 o g^-1)( z)
(g o f)^-1(z) = (f^-1 o g^-1)( z)
?
Proof of (b):
i’m trying to prove (a) is this the right approach? i am getting (g o f)^-1(z) = x and not z and don’t see what’s wrong
We will show that the inverse function (g o f)^{-1} = f^{-1} o g^{-1}
this part
just do this
without any z's
show that (g o f) o (f^{-1} o g^{-1}) = Id_Z and (f^{-1} o g^{-1}) o (g o f) = Id_X by using associativity
then f^{-1} o g^{-1} must be equal to (g o f)^{-1}
function composition is associative
how about this @cerulean wind
We will need to show that:
(a) (g o f) o (g o f)^-1 = id_z = (g o f) o (f^-1 o g^-1)
(b) (g o f)^-1 o (g o f) = x = (f^-1 o g^-1) o (g o f)
Proof of (a):
(g o f) o (g o f)^-1(z) = id_z
g^-1 o (g o f) o (g o f)^-1(z) = g ^-1 (id_z)
f o (g o f^-1) (z) = g ^-1( id_z)
(f^-1 o (f o (g o f^-1) (z) = (f^-1 o g^-1) (id_z)
(g o f^-1) (z) = (f^-1 o g^-1) (id_z)
what do i need to fix
id_z is a function (it appears as if you are treating it as an element of Z)
there really is no need to use a variable z
at some point you messed up the parenthesis on (g o f)^{-1}
i don’t see how to do it
can you show me for (a) km confused
from there i will attempt b using same method
(g o f) o (g o f)^{-1} = id_z
f o (g o f)^{-1} = g^{-1} o id_z = g^{-1}
(g o f)^{-1} = f^{-1} o g^{-1}
there’s no “part b” after doing it this way
this is it
ahhhh wow
a lot simpler than i thought
but don’t you have to show the other “side”
nope
like usually it’s f o f^- = something
f^- o f = something
how come you only can do one side
you already know that the inverse function exists
if you found another expression for it, then you’re done
oh
starting from whatever “side” you want
the method i was suggesting was coming from a different perspective
isn’t f^-1 o g^-1 like a “candidate” for the inverse and you have to show both sides to show it’s actually the inverse
i mean i know i have a misunderstanding so trying to get rid of my confusions here lol
that would be correct if you wanted to do it this way
but your way, we just obtained the correct expression
anyone know why 7 is the correct answer here?
ok thx i’ll think this over- will ask more questions once i can unfortunately busy most of tonight but this puts me closer to understanding the
ty
number of roots (with multiplicity) is the degree of the polynomial
OH OK, it has TWO roots that each have a multiplicity of 3, and ONE root that has a multiplicity of 1
thank you for that
few questions: why don't you have an input element on the LHS? also isn't g^-1 = y and not z?
i don’t have an input element on either side
oh
id_Z is the identity map on Z
can you explain again why you dont need to do (f^-1 o f) and (f o f^-1) again
because you showed that the inverse of g o f is exactly equal to f^-1 o g^-1 by ur method
Hey guyes
I am stuck with this question
How to get the value of 'm' such that
(n/m) ^m is maximum? (both m and n are natural numbers)
say, for this question, just a guess, but for anyone who knows how to do it, is the answer ||3||?
Would this be correct?
why are you doing 10^9? I assume your options are 1 or 0?
ohh
nvm
if it is 0-9 I guess that sounds right
I'm having a hard time differentiating different counting techniques. For this I thought you would have 6 places to have the 'i', and then 5^5 ways to permute the other 5 slots of the password? so 6*5^5?
not permute, but 5^5 total strings of vowels to pick from
so yes, 6 * 5^5 total passwords to try
6·5^5 overcounts passwords such as iiiiii that have more than one i.
yea but it says atleast one i?
am I missing something?
Six, 'i' for the password would be valid?
Sure, but iiiiii is just one possibility. However 6·5^5 counts it six times.
oh I see
Now I get where you are coming from.
As you would count each i distinctly
rather than once
The model answer looks like it's doing its best to camouflage the method behind obfuscating symbolism.
The idea is just: To count those strings that have at least one i, start by counting all strings and then subtract those that don't have any i.
This is useful because both those numbers are easy to get.
Right that makes sense,
Wish Zybooks just explained things a bit better
Feel like that should be one of those side annotations of a common pitfall/trap in a way of thought for these types of questions.
Thank you.
University math looks hard
All math that you haven't learned yet looks hard.
@tardy comet there are 14 edges
is there any algebraic elegant way or math definition to check if two permutations are the cycles of each?
If f: X-> Y and g: Y-> Z are bijections, find the inverse of g o f in terms of f and g. Prove your answer.
i have if h:=gof we need to show
For all x in X, and for all z in Z
h^-1 (h(x)) = x
h(h^-1 (z)) = z
i got h^-1 (h(x)) i think but need help with the other
Proof of: h^-1 (h(x)) = x
h(x) = g(f(x)
g^-1 h(x) = g^-1 (g(f(x))
g^-1 h(x) = f(x)
f^-1 (g^-1 h(x)) = f^-1 (f(x))
f^-1 (g^-1 h(x)) = x = h^-1 (h(x))
Proof of h(h^-1 (z)) = z:
h^-1 (z) =
how do i finish this off
can I get some confirmation as to if these look good regarding my answer. This is just a HW for my class.
Just making sure I am understanding the R to R. I believe the domain has to include all of R but the range just has to be a subset of R or could be all of R
so in all these cases, x must be valid for all R but our output just needs to be in the set R (could be all of R or a subset of R)
Answer is c
Any value you enter you get an answer
While the other no for example in the first it can’t be negative inside the root
Can any one help me?
yes x, y are integers from N
p —>q is T when p is T and q is F.
Can someone explain because intuitively.
p—>q should be F
Because the statement reads
If p is true, then q is true
But p is T and q is F
Therefore,
p —> q should be F
p —>q is T when p is T and q is F.
No, on the contrary that is the single case where P -> Q is false.
i have this sentence $\exists x \in \mathbb{R}: \x^2 = 5$. I know that is false but what counter example can i give to prove that?
Sorry, i'm trying to use latex but something is wrong
You should't have a backslash before the x.
$\exists x \in \mathbb{R}: x^2 = 5$ is true, by the way.
Troposphere
Oh, and why is it true?
The square root of 5 is an element of a R.
Oh yeah, of course it is. Thanks. Just another question, can i prove that with a "math sentence"?
"Let x = sqrt5. Then x^2=5, Q.E.D."
can i get a proof check
Let,
f: X->Y
g: Y->Z
Be bijective functions
We also have bijective inverse functions:
f-1 : Y->X
g-1 : Z->Y
Proof:
h := g o f: X -> Z is a bijective function due to theorem proven in class.
h-1 := (g o f)-1: Z -> X is an inverse due to other theorem in class.
Take any z in Z.
h(h^-1(z)) = z
g(f(h^-1(z)) = z
g^-1(g(f(h^-1(z)) = g^-1(z)
f(h^-1(z) = g^-1(z)
f^-1(f(h^-1(z)) = f^-1(g^-1(z))
h^-1(z) = f^-1(g^-1(z))
Thus, h^-1 = f^-1 o g^-1
can i get a proof check
@cerulean wind is this what you meant yesterday
How can I solve this problem? Am I doing it correctly? I tried B but it was not correct.
Are you sure if the question is looking for 0-9 as valid values or only 1 and 0. I see they say bit of string length 11. Maybe they are asking about a bit string which in a case like this would only have 0 or 1 as valid inputs
so instead of the 10^9 which you had because of the 0-9 values you would only have 1 or 0 and then you have 2^9
can someone check this
If I have a number 7 * (1 mod 20) + 8 * (1 mod 20) + 6, how can I show that this number is always 1 mod 20?
Can I assume that its 7 * (1 mod 20) + 8 (1 mod 20) + 6 * (1 mod 20) such that 7 + 8 + 6 = 21 mod 20 is 1 mod 20?
Please let me know if that's the right way to go about this problem
i don't know if your method works but this is really easy to show when you consider that every number 1 mod 20 is a number in the form 20n + 1
I don't understand your question. mod in that case would be an operation, so 1 mod 20 would just be 1. Can you send a picture of your question?
Imagine a number such that it holds the property 1 mod 20
So yeah as valley said 20n + 1 ig
how did you get fro mthat
to this
technically you'd have to change one of them to 20k + 1 too
wdym
Its an induction problem but the inductive step is to show p(n+1) where 7 * an + 8 * an + 1 + 6 to be 1 mod 20
what?
Where the inductive hypothesis is that an is a number 1 mod 20
why would you ever use induction for that
a_n?
all g
Required by the problem
not sure how 15a_n + 7 would be in the form 20n + 1 though
Modulo properties
you should send the whole problem (in its entirety--preferrably a picture) so we can see if you are approaching it properly
this might be a (not so rare) case of https://xyproblem.info/
Asking about your attempted solution rather than your actual problem
@mental pecan is there a reason you would do induction over just this
No its ok i think someone else said it was the correct approach
in this channel?
oh then yeah it would be the correct approach
And cogwheels said it was fine
I just used modulo properties
Just wanted to make sure that was fine
yeah i do wanna see
thanks
well you left out the part of it being floor n/2
Yea dw about that part
If n is odd then its 2k+1 such that its a_k+1 and if n is even then its 2k such that a_k
oh u already did the cases
But by the inductive hypothesis k and k+1 are 1 mod 20 numbers
So yea
Like a_k and a_k+1
Are 1 mod 20 numbers
So at that point we just multiply and add with modulo properties and then yea
Thats 1 mod 20
No
2k + 1 + 1 all over 2 is k + 1
2k + 1 all over 2 is just k
k + 1/2 floored is k
k + 1 floored is k + 1
not sure why we care about a_n-1 though
Or how you can induct like that
If you start with p(1) you can only go to p(2)
You dont really know p(2) in this case
Because its a recursive defined function
cauchy induction, no?
Naw but this is recursion
Its impossible to reach p(2) without p(1)
Rather i should say
P(4) without p(3)
So i dont confuse with the base cases
i think they're referring to this
what would be a combinatorial interpretation of the cauchy product formula? (if the two series in question are generating functions). Some places say it represents the union of disjoint sets, while others say the union of disjoint sets is the addition of their respective generating functions, rather than their product. So which one is it?
could someone maybe verify my reasoning through this problem?
pretend C means subset idk i am at work rn
How does this proof look?
It is I 'proved' it with 3K the day before yesterday
so you assert that for all positive integers s, n and a it is true that if s | na then s | a.
do i understand you correctly?
yeah
i meant what i said.
no
it is true that 42069 divides 42069*1, but it is not true that 42069 divides 1.
(s, n, a) = (42069, 42069, 1) is a counterexample to the statement that you just asserted right in front of me
put simply, you asserted something that is in fact false.
i would ask you to present the proof you say you wrote 2 days ago, but i'm about to be busy in a zoom call so i won't.
Ok so where exactly in my proof did I assert this? I think the old screenshot I sent was wrong but this one is okay?
ok wait
I se
e
Let,
f: X->Y
g: Y->Z
Be bijective functions
We also have bijective inverse functions:
f-1 : Y->X
g-1 : Z->Y
Proof:
h := g o f: X -> Z is a bijective function due to theorem proven in class.
h-1 := (g o f)-1: Z -> X is an inverse due to other theorem in class.
Take any z in Z.
h(h^-1(z)) = z
g(f(h^-1(z)) = z
g^-1(g(f(h^-1(z)) = g^-1(z)
f(h^-1(z) = g^-1(z)
f^-1(f(h^-1(z)) = f^-1(g^-1(z))
h^-1(z) = f^-1(g^-1(z))
Thus, h^-1 = f^-1 o g^-1
can i get a proof check on this? i can think of at least 3 different ways to prove fhis
want to see if this way is valid
wtf
what should I have done instead of doing
$s|na \land s|nb \implies s|a \land s|b$?
Salt
also
$s|a \land s|b \implies s|na \land s|nb$ still works right?
Salt
what should I have done instead of doing
$s|na \land s|nb \implies s|a \land s|b$?
Salt
can someone help me with this proof:
prove, by contradiction, that 9 does not divide nˆ2 - 3
n is any integer
I have to go to another class soon, but hopefully this is enough to help you out @weary tiger
Note $n^2 \equiv 0,1,4,7 \bmod 9$
3K
Note $n^2-3 \equiv -3,-2,1,4 \bmod 9$
3K
This is equivalent to saying $n^2 -3 \equiv 6,7,1,4, \bmod 9$
3K
im so lost
Note that this is not divisible by 9 then as it $n^2-3 \equiv 0 \bmod 9$ isn't an option, so you're done. You could say to begin the proof suppose that 9 divides n^2-3 for purposes of contradiction and ah I see
3K
Compile Error! Click the
reaction for more information.
(You may edit your message to recompile.)
Have you learned about modular arithmetic yet or no
i know what mod is but i've never seen it written in that form
my prof was using def of odd and even to do these problems
and show that an integer equals a non integer, which is a contradiction
Ah I see gotcha
most of the stuff ive seen online uses different format like what you were saying
so im just kind of lost because i don't understand what it means
i have the even part down
but idk how to approach odd
also I saw someone use the QRT to do cases
but they said that n = 3q, 3q + 1, and 3q + 2
and i dont understand how they got rid of the square on the n
to end up with n = 3k + 3
Gotcha. I gotta bounce now, but I can try to help later if anyone else doesn't help you before hand
For sure
@weary tiger
Professor is having trouble setting up the projector Imao, so I’m typing this up rq.
I’m gonna use what that other person said with n=3q, n=3q+1, n=3q+2. These all together can get all integers. You can find proofs of this online if you haven’t already proved it in class.
It’s similar reasoning for each using modular arithmetic.
Case 1: n=3q
Then n^2-3=9q^2-3.
9q^2 is a multiple of 9, so when it is divided by 9 remainder of 0.
Then n^2-3=9q^2-3 divided by 9 will have a remainder of -3 (equivalent to a remainder of 6 for mod 9), so contradiction.
Case 2: n=3q+1
Then n^2-3=9q^2+6q+1-3=9q^2+6q-2.
9q^2 is a multiple of 9, so when it is divided by 9 remainder of 0.
Note that 6q divided by 9 gets you the possible remainders of 0,3,6
So, then 6q-2 divided by 9 gets you the possible remainders of -2,1,4. -2 is equivalent to a remainder of 7 for mod 9.
Then n^2-3=9q^2+6q-2 divided by 9 will have a remainder of 1,4,7, so contradiction.
Case 3: n=3q+2
Then n^2-3=9q^2+12q+4-3=9q^2+9q+3q+1.
9q^2+9q is a multiple of 9, so when it is divided by 9 remainder of 0.
Note that 3q divided by 9 gets you the possible remainders of 0,3,6
So, then 3q+1 divided by 9 gets you the possible remainders of 1,4,7.
Then n^2-3=9q^2+9q+3q+1 divided by 9 will have a remainder of 1,4,7, so contradiction.
Ah wait. I forgot your professor did integer equal to non-integer. I'll try to see if I can find a manner to do so in that way. Although I think this would be easier if your professor allows it. If they want it a specific way then rip. Lemme know if you need help understanding some part
Hello there!
I'm stuck on this problem - can anyone break it down and help me understand it?
Do I assume that when there exists an n >= 100 P(n) then from 10...n P(n) is true? Would that suffice for all A?
I also don't understand how A could be empty or how A could be N
how do you get to n = 3q
or, rather, n = 3q + 3
I don't understand how nˆ2 - 3 = 9k, for some integer k (def. of divides) turns into that
n=3q and n=3q+3 will give the same outputs of possible integers
For n^2-3=9k
You aren't trying to get into that form. You are supposing n is equal to that for a case
And testing what happens if that case is true
And then you wanna show "Hey when n is equal to this. 9 doesn't divide n^2-3. This is a contradiction"
how do you know to assume that
i understand every other part of the proof
if it helps
n=3q, n=3q+1, n=3q+2 can get you all possible integers. It's equivalent to the set of integers
If you prove that none of these work
Then 9 will never divide n^2-3 regardless of what integer n is
I thought that you had to test cases as long as r < d
like how do you know what to put for d
in n = dq + r
There's proofs online for the n=3q, n=3q+1, n=3q+2 being equivalent to the set of integers
So for this we aren't using division algorithm at all for this, but I guess you can think of it that way (or at least I wasn't thinking about it). I was using previous knowledge about n=3q, n=3q+1, n=3q+2 being equivalent to the set of integers
so what you're saying is that by the QRT, n = 3q, n = 3q + 1, and n = 3q + 2 regardless of the formula
or the equation
Nah. I'm saying that n = 3q, n = 3q + 1, and n = 3q + 2 represents the set of all integers
lemme run the odd proof rq. that might make more sense than using the n = 3q, n = 3q + 1, and n = 3q + 2 represents the set of all integers
It's all good. If you haven't proved it then best to not use it
Unless you wanna prove it to use in the proof
I've been shaky on the QRT because the definition in my text literally just says n = dq + r and 0 <= r < d
and then a couple pages later it talks about cases
Hahahahaha gotcha
so I feel like r could scale all the way up to d
and like I need to get a problem in the form of n = dq + 4
so now I'm understanding that is not the case of the matter and that r 0 through 2 can be used to represent any integer, correct?
n=3q, n=3q+1, n=3q+2 can be used to represent all possible integers yes
For division algorithm, it's saying this
So there is a UNIQUE q,r
So only a single one of each
I think I understand? the 0 through 2 for remainder is just a standalone fact
Yoyo, quick question. What is the length of a language containing only the empty string?
im just shocked that information isn't explicitly stated anywhere in my text
the n=3q, n=3q+1, n=3q+2 is a standalone fact yeah. For the division algorithm, it's saying. Let's take any two integers a,b and where b is notequal to 0. Then there are two unique integers q,r such that a=bq+r with 0 <= r < |b|. So this is saying that there are q amount of b that divide a
and that r is the left over remainder part
should be 0 as no symbols in an empty string
Yeah you're fine. I hope I'm not coming off as too passive aggressive. I'm just trying my best to not give you faulty info and correct minor things
you aren't coming across as passive aggressive
I'm just lost because everything else makes sense to me
I think i understand that there are q number of b that divide a
i don't understand how that can be applied to anything
im probably just gonna do this problem with the standalone fact because i can do that
@compact hound would you mind if i send my work to you in a few mins when i finish
Later you'll learn that the division algorithm can be used to get the Euclidean Algorithm and oh I see what you meant earlier. I misunderstood
yes you can use the division algorithm to find cases of various possible remainders when dividing by stuff. I wasn't choosing b=3 in a=bq+r as I was using the standalone fact
And for sure
you are correct though. if something is like a=4q+r and you are dividing by 4. then r=0,1,2,3 is less than 4
Here's the odd version you can think of too if it makes more sense
Suppose n is odd. Then we know that n could have the remainders of 0,1,3,5,7 when divided by 9
Squaring n we get that the possible remainders can be 0,1,9,25,49 when divided by 9
simplifying this we get 0,1,0,7,4 when divided by 9. so possible remaidners of 0,1,4,7
subtracting 3 from this to get the possible remainder of n^2-3, we get -3,-2,1,4
-3 is equivalent to 6 for mod 9 and -2 is equivalent to 7 mod 9
so the possible remainders of n^2-3 when divided by 9 are 1,4,6,7. contradiction and you're done
We finished discussing it in DMs. Feel free to use chat
Could some one help explain C to me?
Sorry I meant to say,
p —> q is T when p is F and q is T
Shouldn’t p —> q be F, in those conditions because the statement reads if p is T, then q is T
but p is F therefore q must be F.
unless the truth value of q is not entirely dependent on p
Perhaps one of the explanations at https://math.stackexchange.com/questions/70736/in-classical-logic-why-is-p-rightarrow-q-true-if-p-is-false-and-q-is-tr would convince you?
Yea already understood it, thanks though
Is this correct?
R = {(1,1),(2,2),(3,3)}
Symmetric -True
Anti-Symmetric -True
Transitive - True
Yes
thnaks
For this question I need to know if its is reflexive, symmetric, anti-symmetric , transitive.
What i need help on is figuring out how to do symetric, how do I get the relation containing the ordered pairs?
I think N in this case = {0, 1, 2, 3, ...}
N is naturals, right? don't you specifically exclude 0 there?
we do in Australia and this course
Its different in different countries, the teacher covered that.
try using a form like a > b, then if we call the > relation R then we know aRb
and then you can play with the algebra to prove the properties of the relation
Thanks ive got them all right so far basing them off the cartesian product of N X N, then applying the x > y. I just wasnt sure how to get the ordered pairs to begin with, is it always just the Cartesian product of the set?
a relation on a group A is always a subset of the cartesian product AxA
awesome thank you
what set is the relation on?
{1,2,3}?
Is there a proof by combinatorial argument for this identity $$ \binom{n}{0} F_m + \binom{n}{1}F_{m+1}+\cdots + \binom{n}{n}F_{m+n}=F_{m+2n}$$
whitedwarf
Where F_m is the mth Fibonacci number
I was trying to look at tilings of a (m+2n)X2 board with 2x1 Dominos
But then the left hand side dosent make much sense to me as to how to count it
How do we use inclusion exclusion for part b? I understand part a would be be (23 choose 3) by stars and bars
Oh I guess we also have to use the fact that (AUBUCUD)'=A' and B' and C' and D'
Now let A be event x_1 >9
B be event x_2 > 9 and so on
We can find AUBUCUD by inclusion exclusion and then subtract it with the total no of solutions
also I believe A and B and C and D size is 0
And u can calculate A by like setting x_1 =10+X_1 and so on
was able to to solve it that way thanks
np:)
How would i find how many permutations of order r are in S_n? Is it just n!/(n-r)! ?
If r is prime yes
I'm working on some code where I am trimming very large video files by grabbing every nth frame. However, I'm getting stuck on how I would calculate the correct frame number from the n frame skip, as well as calculate the number of frames dropped (assuming remainder frames get dropped off the end), and prove it would work for any number of frames.
For example:
Original File Frames- 1 2 3 4 5 6 7 8 9 10
Every 3rd frame- 1 - - 4 - - 7 - - 10
I can see that it's not as simple as just dividing by n (10/3 = 3, but we end up with 4 frames).
I've been trying to prove a formula for 2n and 2n+1 to say "It works for evens, and odds, so it will work for any N frames."
But maybe I should prove "if n is true and n+1 is true, then all N is true."
I'm not looking for a proof because I wanna figure it out myself, but does anyone have any tips on how I should approach this?
So from your example n=2 is 4?
Well, it depends on how many frames you'd have. If there were 10 frames, grabbing every 2nd frame, starting with one , the result would be 5 frames: 1,3,5,7,9
With one dropped frame at the end.
Oh gotcha so you want the total number of frames
Right. I'm pretty sure (frames + 1)/n gives me the correct number of resulting frames, but I realized I don't know how to prove that.
Ok I think looking at is n is true and n+1 is true is the right direction
Lol me too, I enjoy thinking about problems but have never learned proofs
Never really thought how CS related discrete math topics are
Discrete and Linear Algebra are required for my CS degree. My school goes hard on math for compsci, all I have to do to get a math minor is add Differential Equations
I wish I had more time to study and really absorb it, I find myself running into issues where I wish I'd done better in those classes.
Similar experience in engr. I took only linear algebra to get the minor. You can always come back to subjects later, having interest is what really matters
How do I show this is not onto? I feel like it isn't but I don't know how I can show it that it isnt onto.
find z in Z, which is not in the imgae of f, ie find z in Z such that x^2-y^2=z has no solution with x,y in Z
I have a feeling 2 isn't but I don't know how I prove it
look at modulo 4
well lots of numbers I guess but I have not done any proofs regarding onto and how to show it
we have not looking at modulo yet is the problem
or doing anything with it
so I don't think we have learned how to show such things
then without modulo... We want to show that x^2-y^2=2 has no solution. WLOG x, y are natural numbers. So we are looking for 2 square numbers with a difference of 2. Square numbers are pretty rare. How close together can square numbers be? What is the closest square number to n^2?
x^2 -0^2 ?
that would get you to n^2?
f(x,0) or f(0,y). not sure if that is what you meant
would factoring it into (x+y)(x-y) help us at all?
you can do that, it works (and its better than what i thought of)
hmm I guess now that we know we are working with integers we are looking for cases like. (1)(2), (-1)(-2), (2)(1), (-2)(-1)
yes
well lack thereof I guess
if it isn't true as we might assume :l
well I guess we know it can't be 1
unless y =0
or x = 0
these are the possible values for x+y and x-y. You can now for each of the cases compute x and y and you will see that they are never whole numbers, which means that there is no solution
Can someone explain how to solve this problem?
base 3
you completely ignored the fact that the problem talked about base three, and not base ten as you wrote
(also the choices for the second and third digits would be 0-9 and not 0-10 even if it were base 10!)
@severe swan

A multiple choice quiz has 2 questions with 3 choices each and 4 questions with 5 choices each. How many ways are there to answer the questions on this quiz?
Why is the answer (3^2) * (5^4) and not (2^3) * (4^5)?
Perhaps start by looking at a simpler situation. If there were a question with 2 choices, a question with 3 choices, a question with 4 choices, and a question with 5 choices, what would you get then?
I don't understand this question
does anyone get it?
isn't f defined if its one to one?
this function isn't one to right?
$\text{A relation }R \subseteq A \times B \text{ is a function iff: } \1) (\forall x \in A )(\exists y \in B) \text{ s.t. } (x,y) \in R \ 2)\text{ if }(x,y_1)\in R \land (x, y_2)\in R \text{ then }y_1=y_2$
.nai
It means that if one element x maps to two different elements then they must be the same
yeah then 1 to 1
No
It means
If you have an x in the domain, then there is exactly 1 y related to it
For example
(1,2)
(1,3) is not a function
-1≠1
wait why is (1,3) not a function
Because 1 unique x maps to two different y
One unique input has two different outputs - > not a function
Ok I'm really confused 1 sec
so the pair (1,3)
how do u use it in the equation given?
Let me ask you something
Sure
.nai
hmmm
You're confusing injective function with function
.nai
yes
No.
And also, y^2=x doesn't pass the vertical line test
ahhhh
I see
I knew the vertical line test
but i couldn't tell
well
I thought because -1 and 1 map to 8
so that means is not a function
but I guess
the problem would've been
if was the inverse
if 8 pointed to -1 and 1
I get it I was confusing one to one with functions as u said
If 8 mapped* to -1 and 1
it passes vertical line test
Yes
It's just not continuous, it's discrete
Yes, for injectivity
I see
,w graph |x|
Still a function, but not an injective function
And also not surjective if you define it as R->R
Np
I noticed you were discussing y^2 = x vs y=x^2 and how one is a function or not but how would you formal write this out as to show how one is a function and one isn't. I feel like there is a bit of implication that goes on with y^2=x, right?
in the case that we are referring to y^2=x as a function of x vs function of y perhaps?
like f: y-> x : f(y)=y^2 is a function , right?
I guess this is all to say when someone applies the "vertical line test" we are assuming that we are working with a function that map x -> y vs y -> x
The vertical line test is informal. It works to test if a curve is a function when the domain is represented on the horizontal axis. If you take the domain to be the vertical axis, as you did by switching to f: y->x f(y)=... the vertical line test would test for injectivity. That's why there's a formal-ish way to define a function.
Take any two sets A and B and some mapping f. Then you can define f to be a function from A to B by making sure that every element from A maps to exactly one unique element in B. We write: f: A->B f(a)=..., a in A, f(a) in B. As such, there is no confusion for the domain and codomain of f.
yes, and also yes about the one above
okay oaky I see
How do I solve A?
$x=\floor{x}+frac(x)
\implies \floor{7x}= 7 \floor{x}+ \floor{7frac(x)}$
BYE BYE!
If 7 frac(x) <1 the sums will be equal
Presumably "fractional part", defined by
frac(x) = x - floor(x)
Has anyone finished a discrete math course and remembers compatibility relations well?
Yea latex doesn't like {x}
\{ x \} works just fine
I'd say all of the options are wrong in the first part. The next-to-last is almost right but fails to match the string 0.
turn out next-to-last was correct somehow, thanks anyway
FINKI struggles... relatable x)
How'd you do?
I dont have discrete math, I did this first semester discrete structures
R u on seis?
KN
Ahaam
I was surprised to see another one from FINKI on this server, had to say hello
Mnogu dvosmisleni bea 😦
I was shook too hahahhh
Tends to be that way, the second part is easier though, with relations and graphs/trees
Hahhahah, gonna be together on a mail by disciplinska komisija or were you... ahm... discrete about it
You on seis?
Noo we were solving the tasks after the exam hahahahaha 😂
I don’t mess with prepisuvanje xD
Which answer did you arrive at?
Idk he doesn’t remember
I was trying to solve it afterwards but I couldn’t specifically remember what consistent meant
It's when it is possible for all 6 of those claims to be true
Otherwise it'll lead to a contradiction and the requirements can't ever be met
So all of them should be a tautology?
Not necessarily. It just cannot be a contradiction. A contingency is fine as well, I think
for F) why is the answer [9,16]u... sHOULDN'T IT BE [0,16]? since e for example is [0,49]?
what element in (-4,-3] U [5,6] squares to make 0 or 1 since 0 and 1 are in [0,16]
ok so why is [-7,2]?
none of them give 0 right?
oh
are we
including all numbers
between -7 and 2?
I see
I thought it was only 7 and 2
Search up closed and open intervals
which among these can be considered computable?
a. fetch me a bottle of water.
b. can a computer fetch a bottle of water?
My guess is that (a) is not computable because we're really not computing anything. (b) on the other hand can be if we can precisely describe the machine that is to carry out the task.
Neither looks like an utterance that the concept of "computable" even makes sense about.
what makes (b) nonsensical in the context of computability?
I was typing a longer response to sketch out my line of reasoning for (b)'s computability but midway I realized I am not yet ready to ask this question. Nonetheless, @coral parcel, I appreciate you taking the time to leave a response. Thanks!
I meant, I'm not aware of a definition of "computable" that even assigns a truth value to the claim "(b) is computable".
Computability as far as I know it is always about computing some symbolic output from some symbolic input. Actions in the physical world are simply not what the concept I know is about.
My definition of computable here is that an algorithm exists that can output yes or no for (b). But yes, this question isn't coming from a textbook. There's a good chance both of them are nonsensical to present as problems whose computability can be argued.
A single question is always computable, as long as it has a definite yes/no answer -- it is either computed by the algorithm that immediately answers "yes" or by the algorithm that immediately answers "no" (and just because we don't know which of the algorithms works doesn't change the fact that one of them does).
The concept only becomes interesting for a family of questions speficied by some input to the algorithm.
Does anyone have a great resource to help me become better at proofs by induction in discrete math? I need to understand it in order to be able to do recursion and tail recursion functions in functional programming.
How many bit string palindromes of length six or seven start with 1?
Answer is 12
Can someone explain how to get 12? When I tried solving it I got 2^4 for length 6 and 2^5 for length 7.
You don't really have 2^4 and 2^5 options
if you want it to be a palindrome
what you have here
you are basically saying 1 0 0 0 1 1 would be valid
to prove there are infinites larger than R can i say the power set of R is such a number and to prove that would i prove the power set of anything is strictly larger then the power set of the thing?
and do i need to break that proof up into cases for finite and infinite sets
but in reality you don't have the freedom of picking 4 values and really only have the freedom of picking 2 values as the other 2 must match on the other side
so for 6 bit string that ends with in 1's 1 x x x x 1 is more like 1 a b b a 1 as you have to keep the pairing but you have calculated something more like 1 a b c d 1
where a, b would be the bit values you manipulate 0/1
with the 7 bit case we have something like 1 a b c b a 1 and so we have freedom on a,b,c being 0/1
if i want to prove power set of N is strictly larger than N do i need to break it into cases of where N is finite and N is countable infinite and N is uncountable infinite
so for 6 bits strings palindromes you have 2^2 = 4 and 7 bit palindromes you have 2^3 = 8 and this is where your 12 comes in as 4+8 = 12
i think it's just enough to show that the cardinality is always 2^n, where n is the cardinality of the previous set
not sure though, i could be wrong
ok
you would do that by showing there isn’t a surjection between the power set and set yeah?
i think you want bijection here
well if there was a bijection the two would be equal which they aren’t
since power set is strictly larger than the set
lmfao i'm stupid i forgot what a surjection was for a sec
wait no im just fucking idiotic
power set of N is uncountable
i meant "you want to show no bijection here'
which is the same as showing no surjection or injection
he wants to prove it
no, no cases
there is a general proof
that there is no surjection from X to P(X) for any set X
if there is a set X with a surjection f : X --> P(X), look at {x in X : x not in f(x)}
Thanks @wide vine
Can someone explain how to solve this?
How many positive hexadecimal integers with exactly six base 16 digits are there that start with a letter and contain no 0's?
A 516^6
B 515^6
C 616^6
D 616^5
E 616^5
F 615^5 Correct Answer
well generically speaking there are 16 ways to pick a digit
but if the first digit has to be a letter, how many letters are there as digits? only a,b,c,d,e,f which is 6
so there are 6 ways, then the rest of the digits you want them to just not have 0, so instead of 16 ways there are 15 ways to pick those
it might help to work out a smaller example by hand like make it only 2 digits and you can draw a kind of table for it
rows being all letters, column being all digits except 0, then look at each place you make the combination makes a 6 by 15 box which is counting all the possibilities for 2 digits
It is possible to have a relation between two sets A and B in which A = B. A binary relation on a set A is a subset of A x A. The set A is called the domain of the binary relation. when they say this, it is still possible you could could have a relation where it equals to the set A x A?
or no?
like If all of set A mapped to every one of the set B then you would have A x A, right?
