#discrete-math
1 messages · Page 117 of 1
there are multiple ways to do it
Also search up the peano axioms if you’re interested in this
Don’t blame you, it is interesting stuff
You’re welcome.
don t forget about sypherz question haha
he posted a question before me
sorry sypherz
chillin man glad you figured your stuff out
i would ve helped you but sadly i haven t had a course regarding ur question
You must use the assumption that
and additional information about k to show that
In general, this is arrived at in the form of a sequence of inequalities involving k.
It appears that you have posted for a different problem.
idk hopefully I'm not undermining you help but I did it another way, might as well share it:
$$2^k>k$$ $$2^{k+1}>2k = k+k > k+1$$
Merosity:
I just multiply the inequality by 2
good point, I should have put the last inequality as >= instead
You can also prove that 2^(n+1)<(n+1)! for all integers n>2.
is there a difference between a = b mod c and a = b (mod c)?
no
thanks~
If I have two propositional functions G(x), C(x) that ive already shown to be true for some c, is there something special I must do to show Ǝx(G(x)&C(x))? Or can I just use normal existential generalization
‘Normal existential generalization’?
You’ve find an x = c such that G(c) is true and C(c) is true. Hence, their conjunction must be true for some x = c
By normal existential generalization I mean if you show G(c), you can say ƎxG(x)
Now that ive found those two propositional functions whose conjugation is true for c, I can do that same generalization to their conjugation right?
I couldnt find anywhere in the book that explicity says that but it seems right
Part of my homework is going through existing arguments in english and explaining which Rules of Inference were used in reaching their conclusions
so im just translating all of them into logic and identifying the Rules of inference that way
and the conclusion I wanna arrive at is Ǝx(G(x)&C(x))
Yes that’s correct. You can do that generalization to their conjugation assuming that G(x) and C(x) are both true for the same x
don't apologize for seeking help dude. induction is also a pretty tough concept to grasp at first
$\overline{A}$?
Ann:
like this?
@neon thorn The proof displayed shows that the left-hand side is less than the right-hand side.
2^k+2^k was introduced since it is greater than 2^k+2k+1 and equal to 2^(k+1).
This allows us to establish, or complete, the overall relationship that (k+1)^2<2^(k+1).
what does the fancy looking P mean?
Given that k>=5, we have
So
This implies that
Next,
This implies that
Therefore,
This shows that
@iron crescent do not post your question in multiple channels
can someone tell me what is the term used to describe these word formations using a language terms ?
this is basically regular expressions
not really
those are studied in theoretical computer science
see: finite state automata
@neon thorn Yes.
any german speaker here ? i didn t understand the notation
What don't you understand
I don't speak German but I can understand what it's saying
what does bzgl mean
bzgl in relation to
and somit?
therefore
and genau?
precisely/exactly
and you're just asked to compute (X+X^7)(1+X^3+X^4) in that field? lmfao
how can you prove the distributive rule
You mean something like a(b + c) = ab + ac?
well presumably to multiply it out, then compute the remainder modulo p(X), the degree 8 polynomial given

tbf he asked about the notation
hermeskid either didn't see my inquiry or did but is refusing to clarify...
O mb
I was in class
P & (Q or R) -> (P and Q) or (P And R)
I don’t have the and /or notions on my phone
Here is a picture on Wikipedia
I need to write a proof for this rule
what axioms are you allowed to use
or is it a semantic proof ie by truth tables that you're asked for
No I can’t use truth tables sadly
I have to right it out line by line in new to this type of math btw so bare with my bad terminology
I need to use other rules to prove this rule
I have to start with my hypothesis and go from there
so then as i said before
what axioms are you allowed
Anything I believe
My professor only said we can’t use the distribution rule to prove its self LoL
I started with de Morgan’s and implications but I’m kinda lost on where to go from that
Ok so here is a straightforward question
N identical dice are rolled , number of possible outcomes are?
I just want to know how to interpret the question
Where do I start my journey and make it end at stars and bars
I was thinking in terms of like the total output
So like if I have one die the max value it can hit is 6
So I have 6 outcomes
If two die then the total output's max value is 12
So d1+d2=12
and let mi=6-di
So m1+m2=0
I mean so it hits a wall, is this due to the approach( I highly think it is)
@someone
@stray reef you have a couple of minutes?
no
wdym "possible number of outcomes"
Like, the sum of the pips of the dice that you throw?
@analog sonnet pips?
Like a sequence
Where all digits are less than 6
Like for n=1 possible outcomes are 1,2,3,4,5,6
For n=2 it's (1,2),(6,1) etc.
And since the dice are identical
1,2,3,4 and 2,3,4,1 are the same
Oh
The sequence of the pips
All possible sequences of the pips of a given number of dice
@analog sonnet
did you understand the question now? or should I translate it
or which notation were you confused about?
@hybrid plume
what does this mean? P({1,2,3}) ?
power set of {1, 2, 3} ?
idk my teacher used it as if it was a set?
it is
ok.
it's the set of all subsets of {1, 2, 3}
ohhh ok. thanks
so P({1, 2, 3}) = {{}, {1}, {2}, {3}, {1, 2}, {1, 3}, {2, 3}, {1, 2, 3}}
@weary tiger The question you have posed involves multisets.
Hoping to get some help on the last steps of my recurrence relation and see whether I’m doing my algebra right, ty in advance
Haai〜☆ I have a question about discrete mathematics, how can I enumerate the members of {x ∈ N : x divides 0}? Wouldn’t that mean literally all numbers? 
you seem to have answered your own question
But how do I enumerate it?
Enumerate means to list all the numbers of the set, right?
@graceful shard just writee N
you need to enumerate N
I’m not sure I don’t have experience with that but wouldn’t it just be x is an element of N
It’s a weird question
all strictly positive natural numbers
I’ve been stuck on that for hours
I've tried using the quadratic formula to pick epsilon but im not sure how to proceed
@fading widget what is that ^ looking symbol before y = (n+e)^2-n^2?
Abhijeet Vats:
i forgot that's what it was
in that case, it would have been easier to say "there exists epsilon between 0 and 1 such that bla bla bla" rather than saying epsilon greater than 0 WHICH IS between 0 and 1
Let e be epsilon. You can show that the following is true.
How does demonstrating that prove the question?
You will show that some real number epsilon>=0 that fulfills all the requirements must exist.
The epsilon is between 1 and 0 and is the solution to the given equation.
Hey everyone, I have a quick question on bit strings and predicates that can be used on them. Let's say we have a concatenation predicate ⌢ that concatenates some free strings w and v into wv. We also have a substring predicate that lets us know if some string w is contained within other string v, defined as w⊑v. My question is, how can you build a predicate to satisfy the following:
I guess my question is how can I approach just the problem a in terms of how can we show it if w is instantiated to a string in the set
it's pretty clear that strict monotonicity does give injectivity, so you should have a look at surjectivity more closely
Would a piecewise function make Bandar incorrect?
Since it could be strictly increasing or decreasing but not all the values in the codomain have an input
Jack.N:
Quick question. I am trying to show that an argument is valid. I reach the point where I have this:
$p \ and \ \lnot p \lor \lnot q$
Jack.N:
Can I use Disjunctive Syllogism to conclude not q despite the fact that Disjunctive Syllogism is defined as:
Given $\lnot p \ and\ p \lor q,\ conclude\ q$
Jack.N:
yes you can. note that by the double negation rule, you can turn $p$ into $\lnot\lnot p$
patrick:
which gives, $\lnot\lnot p$ and $\lnot p \lor \lnot q$
patrick:
you can then just use disjunctive syllogism here as well to conclude not q
Awesome Thanks!
So this is gonna sound kinda dumb, this is the first question for this chapter, all the other ones I've done without issue, but this one, which looks so simple, is making me want to pull my hair out:
$P \equiv Q$
Icemasta:
Apply commutative rule of ≡ (P ≡ Q ≡ Q ≡ P) where p,q := q, (r ^ s)
Icemasta:
But doing that, I can't seem to make it link back to P ≡ Q
Uh show the exact statement of the problem
Also lmao @lofty iron you don’t need disjunctive syllogism:
$p \lor q \iff \lnot{\lnot{p}} \lor q \iff \lnot{p} \implies q$
By modus ponens:
$[\lnot{p} \land (\lnot{p} \implies q)] \implies q$
Abhijeet Vats:
Determine whether each of these statements is true or false and provide a justification foreach. a)∅⊂{}
is a) ∅⊂{} false or true?
What do you think the answer should be and why?
true
Why's that?
Sorry false
Because its not a proper subset
it would be a subset but not a proper subset
Yep
that's all I need for a justification?
Ehh
Explain why it's not a proper subset
In particular
Are these two sets the same?
🤔
R{0}?
can someone walk me through how to convert a number into an 8 bit quartenary system
I need help translating a sentence to first order logic statement. Sentence is:
There is no set belonging to precisely those sets that do not belong to themselves.
My attempt:
Let F(x,y) mean set x belong to set y. So we get
For all y there doesn't exist x F(x,y) and ~F(y,y)
That seems to be correct at first glance
Thanks for your reply, I am not too confident in my answer
what if x was 0?
Anyone know if these are the correct choices?, I can post my reasoning for any just not sure if I went about them correctly
Is my reasoning wrong?
What if x = -y or smth
is there a turorial for the latex bot in this server ?
most of my exercises are in german
so i need to translate them using the bot and latex
it's just latex, so any latex tutorial will do
ok thanks
i ve never answered a question correctly
please help me
i know the formulas
i ve done a tone of exercises
still rarely have the right answer
can someone tell me how to proceed when working on a combinatorics exercise
this question is way too vague to answer as is honestly
ok i will frame it in an other way
i want to know if i m counting right
given a set and conditions
that's still kind of too vague and there's no good answer to be given here beyond like
idk
double checking your work?
making sure you don't rely on any formulas you don't fully grasp?
do u have some ressouces u studied with for combinatorics ?
me? no
didn't really ever learn off a book. some things i had originally come up with on my own
and all it took in class was just learning some names
¯_(ツ)_/¯
ok no worries thanks a lot
Some people can become world-renowned researchers in combinatorics without ever having taken a related class.
Sometimes it takes a certain mind.
try to unfold definitions
what does it mean for a number to be even
@woeful galleon
then try to arrive at contradictions
if you assume both
Using a modulus is not necessary.
If you understand the context, then "congruence" is almost a hint.
x*4=6+6+4 for x=4
if x is another multiple of 4, we get (6+6)(floor(x/3))+4(ceil(x mod 3)) because 3 is the gcd and 12 is the lcm
adding two, we have a multiple of 6
because we can subtract 12 from the 14 because 12 mod 6 = 0
because x is a multiple of 4, x mod 3 is always >0 and <1 so there is always one extra 4
i feel like i overcomplicated things
times
tanks freb
idk anymore
x could be x*4 so yes?
hello
I NEED HELP
but i am confused because my gcd-lcm thing does not work when x is not exponentiezed
#7
what are they asking for?
truth tables? i dont get it
plz @ me if you know what to do
but how
They're asking you to show that operatios between 3 propositions can be expressed as a disjunction of conjunctions
9 is simplification
So, you have to come up with a procedure for taking F(A,B,C) and turning it into a disjunction of conjunctions
So whatever you discussed in class, extend it to 3 propositions
so (C AND F(A,B,True)) V (NOTC V F(A,B,False)) ???
aha so instead of ceil(x mod 3) it is better to do (4*3)(x mod 3) and because 4*3=12 the whole term can be removed
then only 4^n satisfies 4^n mod 3 = 1 idk why lol but its much simpler and i think you can prove it by induction
First step is to go back to what you discussed in class for one and two propositions
Literally go back to that first, do the reading, and then come back to the problem
F(A,B,C) just means that you're connecting three propositions A,B & C using some logical operators
That's all it means
The solution is clear without resorting to fancy moduli.
im gonna just guess
thank you all for helping!

yes i am pretty sure i overcomplicated some things
$(A \land B) \lor C \neq A \land (B \lor C)$
Ann:
@solemn cairn
same here, sorry but i went to sleep lol. for even #s we got n=2k and n=2k+1 i am not sure where to go from here tho
@woeful galleon Hi. You can perform a proof by contradiction.
hey! mind giving me a few hints ? it is just so clear to me that i cant prove it using math lol
Use a proof by contradiction. So suppose that x was odd. Then, there exists an r in the integers such that x = 2r+1. What can you do with that?
can someone explain what this set has as elements ?
Assume, to the contrary, that x is even and x is odd.
Then x=2a and x=2b+1 for some integers a and b.
Don’t give the entire proof away
Let them respond to whatever that has been said first
guys help me out pls
@hybrid plume I’ve not seen that notation before. What’s the context under which it was introduced?
I am still here, lol . I appreciate all the help
what i am missing to understand is that lets take the first part which is If a number x ∈ Z is even, then it is not odd, i know that an even number is given by x=2k and for odd number is x=2k+1. they are clearly not equal to each other. is that not enough ?
k must be an integer.
x must be equal to x.
x is assumed to be even by some integer and odd by some integer.
@woeful galleon Like Millennial said, x = 2a and x = 2b + 1 for some integers a and b. You need to show that there’s a contradiction. Perhaps try relating a and b in a particular way
Well to show contradiction doesnt a have to be equal b?
If you choose different values for a and b that you can't really prove much
Or I am just stupid.
New material for me lol
No, not necessarily. You would have to demonstrate that a=b.
would setting the equal be the easy way of proving it ?
lol, i feel so bad cuz u trying to help me but i honestly have no idea whta i can do with that
if a = b then we get 2a =/ 2a + 1 ?!
Okay, the thing is, we have 2a = 2b + 1. So, what can you say about a-b?
You must manipulate the equation to see if you can arrive at a new equation that is clearly a contradiction.
well, a-b is not 0
What is a-b?
1/2
okay so what's the problem with that?
a & b are integers, so what's the problem with a-b = 1/2?
and why's that a problem?
so regardless of what values a and b are.. the answer will not be an integer
we assumed that x was a neg/pos integer
right ?
x is an even integer, by the given hypothesis.
but the problem is that a -b should be an integer
yes (the first hypothesis)
so that's a contradiction
i get what it means now. in terms of work, i would just show that a-b is not an integer which contradicts the "assuming" factor of the hypothesis that x ∈ Z is even, then it is not odd ?
How would I prove that 1/2 + 2/2^2 + 3/2^3 + ... + n / 2^n < 2?
Lol idk how to really do induction in inequalities well tho 😦
I don’t know where to start
For the inductive step
proofs are so aids.
Analyze that and see if you can relate the convergence of that series to the one that you have right now.
Consider: $S_n(x) = \sum_{i = 0}^{n} x^i$
Fml
that's just (n+1)x^n abhi
Wait fuck my life
Abhijeet Vats:
Pranked myself @stray reef
@bleak kite But yea use that and then try to get to your sum through the one above
What exactly is that tho
I can’t see how I can use that to solve this
@sleek swallow what does that have to do with this problem
Uh I tried a different approach. Assume it's true for some integer n=k. Then you have k/2^k < 2. What I did was add k/2^k on both sides, so LHS you have (k+1)/2^k, then you multiply/divide LHS by 2. You have 2(k+1)/2^(k+1) on the LHS, you have some stuff on the RHS which you can simplify.
?
Idk how to do induction/inequality proofs :(((
We assume the hypothesis is true for some integer n=k before proving for the next integer, n=k+1
So k/2^k < 2 is true according to our hypothesis, then I just manipulated the inequality to get what we needed, ie k+1 / 2^(k+1)
Why would k/2^k be relevant tho
Well it needs to be true before proving for k+1
But wouldn’t it only work for k=1
Then why are you proving if you think that's true
no it'll work for any integer k >=1
so we prove for k=1(base case), assume it's true for some integer k, then prove for the next one(k+1)
I just don’t see how k/2^k < 2 matters
Because they can all be less than 2 but still sum up to more than 2
If they add up and be greater than 2, then our inequality is wrong. That doesn't happen
My way is not the best way maybe someone else can help you
$S_n(x) = 1 + x + x^2 + x^3 + ... + x^n$
$\frac{dS_n}{dx} = 1 + 2x + 3x^2 + ..... + nx^{n-1}$
Abhijeet Vats:
@bleak kite
I still don’t really know what to do with that besides setting x = 0.5 
S_n is a geometric sum
Look very closely at the sum you have. Look closely at what i've written. Can you form a link?
I can't just give you the answer. You can't just say 'I don't really know what to do with that....'. Think about a relationship between the above and what you have.
I know that my sum is equal to the derivative of your sum when x = 0.5
Are you sure about that?
It looks like it is
Except I think it’s double it
Wait no
Wait yes
@sleek swallow so uhh what am I supposed to do with the derivative of a sum
Well, there's an explicit form for $S_n(x)$. It's just:
$S_n(x) = 1 + x + x^2 + ... + x^n = \frac{x^{n+1}-1}{x-1}$
So, your sum really is just:
$x \cdot \frac{dS_n}{dx} = x + 2x^2 + 3x^3 + ... + nx^n$
Where $x = \frac{1}{2}$
Abhijeet Vats:
So what can you do with that?
Integrate?
Shhh I’m tired and trying to do math
@sleek swallow plez explain I’m brain dead
Hmm
Do you understand what has been written above?
So:
$x + 2x^2 + 3x^3 + ... + nx^n = x \cdot \frac{dS_n}{dx} = x \cdot [\frac{(n+1)x^n}{x-1} - \frac{x^{n+1}-1}{(x-1)^2}]$
At $x = \frac{1}{2}$, we have:
$\frac{1}{2}+\frac{2}{2^2}+\frac{3}{2^3} + .... \frac{n}{2^n} = \frac{1}{2} \cdot [\frac{-2(n+1)}{2^n} - \frac{4}{2^{n+1}}+4] = -\frac{n+2}{2^n}+2 < 2$
Abhijeet Vats:
@bleak kite
this doesn't make any sense. the power set should be bigger
it s written by the professor
he said
this
because each subset can be identified with its characteristic function
you have $|\bN^\bN|$ on the right, not $|\bN|$.
Ann:
it's true that $|2^A| > |A|$ for any set $A$, but this doesn't apply here.
Ann:
what your Prof said does imply this
https://cdn.discordapp.com/attachments/496785905474994186/675993096273526794/Capture.PNG
and in this context what does the n powe4r n mean
i know it s a bijective function
from n to n
oh
$X^Y$ is the set of all functions from $Y$ to $X$.
Ann:
Could anyone give me a negation example of If it is sunny and windy today, then today we go sailing or kite flying.
wdym by "negation example"
How would you negate the sentence_
how would you negate "if A then B"?
if not A, then not B
aha, alright. Thanks !
another question d. ¬∃𝑥(¬𝑄(𝑥) ∧ (𝑃(𝑥) ∧ 𝑅(𝑥))) No athletes who does not use performance enhancing drugs wins a medal
Does this look right?=
P(x) is "x is an olympic athlete", Q(x) is "x uses performance enhancing drugs" and R(x) is "x wins a medal". Universal set is set of all humans.
Can someone help me.walk through this recursive solution ?
Hi everyone
How can I solve this
2x+3 congruent to 2 (mod 5)
or 2x+3 = 2 (mod 5)
Hi.
Reduce the equation algebraically until you obtain an equality with a particular congruence class that is easy to evaluate.
@weary tiger
Perhaps.
~(S --> G) == (~S --> ~G) ?
are those two equivalent ^?
or does the arrow change when you start to put the negation inside
Perhaps? 😆
lol
@copper ore your thing is pretty easily found with a truth table tbh
@weary tiger There are several possibilities for obtaining a useful congruence class.
You should end up evaluating for x outside of that class.
... I know that
I want to know what to do with the +3
Because to remove the 2 I have to multiply the inverse modulo 5
So maybe to subtract I have to do some weird thing also
And google only has simple examples like 3x = 2 (mod 5) and such
I obtained the solution without multiplying.
Keep reorganizing the equation.
@tacit willow What do p and q mean?
That problem is nice.
There are no fancy tricks required.
You can solve it by using sets.
10 points) Use the method of direct proof to prove the following statement:
∀m, n, l ∈ Z,(m is even ∧ n is odd) → (ml + n is odd)
would someone be so kind as to walk me through this?
dont know what direct proof is but m is even so write it as 2p for some p. n is odd so write it as 2q+1 for some q. then ur ml+n will look sth like 2s+1
<@&286206848099549185>
dont know if i should have done that
but
u guys help right?
What's wrong with nnut's hint
@vernal violet you can prove it several ways, one way is induction
ok so would it look something like this ((2i) & (2i+1)) → (2i+1)
What does the & and arrow mean
You wrote 2i and 2i+1 imply 2i+1
i thought that it meant both sides need to be true
@vernal violet look up "triangular numbers" on wikipedia
Kozz you say
Let m=2k for some k and n=2r+1 for some r
ok
$2k\ell$
gfauxpas:
so i can turn the arrow into an equals sign
@vernal violet https://proofwiki.org/wiki/Closed_Form_for_Triangular_Numbers here's like 6 proofs
You may not understanding all of them and that's okay
Just try to understand the direct proof for starters
@charred cargo I wouldnt use "and" and "implies" here,I would use English
Well that's just 1+1+1+...+1 n times
elaborate please
You're not using & and -> properly and there's no reason to use that notation for this proof anyway
If you add 1+1+...+1 n times you're counting to n 1 number at a time so you get n
You said 2i & 2i+1 -> 2i+1, if i =3 then you're saying "6 and 7 implies 7"
It doesn't make sense
indeed
Yeah the triangular number is the trickier one
No, implies means that if statement before the arrow is true then the statement after the arrow is true
you said that doesnt make sense in this context
Like (my dog is red) & (my cat is red) implies (i have a red pet)
Because you were dealing with numbers, which can't be true or false
What is?
implies
5 & 6 = 6 doesn't make sense either
ok
"5 and 6 is the same number as 6"
You're using notation from logic for numbers
"2 and not 7 if and only if -11"
Doesn't make sense
ok
2k(ell)+2r+1 =2s+1 for some s
how is the l in there
m= (2s) for some s
n = (2i + 1)
ml + n = (2i+1)
right
They told you to consider $m\ell+n$
gfauxpas:

but help me understand how you got that equation
If a=b and c=b then a=c, that's how = works
= means the left side and the right side are the same object
Different names for the same numbers
i dont get how that helps me derive this formula
could you help me with something else?
im not understanding this
(15 points) Use the method of direct proof to show that for any positive
5-digit integer n, if n is divisible by 9, then some of its digits is divisible by
9 too.
🤔
but hten i dont understand how to turn the second half into a logical statement
some of its digits is divisible by
9 too
how
like if i had the number 43255
Are you allowed modular arithmetic?
Actually, it wouldn't be too bad without modular arithmetic either
i guess
Consider writing your number digit wise
Say the digits were a, b, c, d, e
How could you write n in terms of these?
And e
wouldnt it an,bn,cn,dn,en
No
and also in that specific order
Not that the ordering is important
For example
Any three digit number
I can write a * 10^2 + b * 10 + c
Right?
Then a will be the digit in the hundreds place
i guess
b the digit in the tens place
c the digit in the ones place
So how could you write n
i honestly dont know
Think about it
Would someone mind correct me if I am using De Morgan's Laws incorrectly here, please:
I believe it's true, but after doing a bit of searching I'm not sure if it's true as the second statement is in parentheses as oppose to an example:
Yeah, which is what led me to believe mine isn't too correct as if we apply the negation the "or" should change to "and" and the negations would be applied to j and k if I'm not wrong
But this also doesn't seem correct, so now I'm sandwiched on what is correct
that looks better
to give a sanity check
you can always think
what if j was true and k was false?
or other similar combinations
this won't necessarily tell you if something is correct
but it can very well tell you if something went wrong
So in other words I could verify my answer with a truth table
a full truth table
would verify if it was logically equivalent or not
yes
a quick check wouldn't involve doing the whole thing
Yeah if I wasn't able to solve it by just looking at them then that would've been my second option, but that would've took a bit longer
Thank you
First, make three overlapping sets.
Put 6 objects into the region where all the sets overlap.
Put 8-6=2 objects into each region where two sets overlap.
Put 15-(6+(8-6)*2)=5 objects into each region where a set does not overlap with another set.
Then put 30-(6+3(15-(6+2(8-6))+8-6))=3 objects outside of the sets.
The probability is 3(15-(6+2(8-6)))/30=1/2.
Can someone approve of my negation (b)
I think I'm missing some context about this problem
Lmao
$\lnot{(p \lor s)} \land r \iff [\lnot{p} \land \lnot{s}] \land r \iff \lnot{p} \land [\lnot{s} \land r]$
$\lnot{(p \lor s)} \land r \iff \lnot{[p \lor \lnot{(\lnot{s} \land r)}]}$
Abhijeet Vats:
Also, your truth table isn't correct because there are supposed to be 8 combinations of truth values for p,r & s. So, you missed out FTT and FTF
@somber ember
But anyways, none of that matters cos you can 'demonstrate' it using the equivalence above. I don't know what 'laws of equivalence' they're talking about. They're probably literally referring to the laws of boolean algebra, in which case that's some weird terminology.
What does it mean when they are asking for an inverse of a statement? For example: "If Samantha lives in Paris, then she lives in France."
Let $p \implies q$ be a given implication. Then, the inverse of the implication is just $\lnot{p} \implies \lnot{q}$
Abhijeet Vats:
I'm not sure what you mean by 'inverse of a statement'. Inverses of implications are defined but i've not seen the inverses of other kinds of logical expressions being defined.
We are learning in class about the inverse, converse, contrapositive, ect of statements and i keep getting them all confused on how to write them
It's very simple. Let $p \implies q$ be a given implication. Okay?
Abhijeet Vats:
These are just things you have to get used to, so don't sweat it too much
I'll go through them with ya, yea?
Id appreciate that
So, the above statement is any given implication. p and q are just propositions. To keep things simple, we'll say that they are primitive propositions, though there really isn't anything stopping them from being logical functions of two or more primitive propositions.
Then, the converse of $p \implies q$ is just $q \implies p$.
Abhijeet Vats:
The inverse of $p \implies q$ is just $\lnot{p} \implies \lnot{q}$
Abhijeet Vats:
The contrapositive of $p \implies q$ is just $\lnot{q} \implies \lnot{p}$
Abhijeet Vats:
The point is that this is just new language that you have to pick up and it's not gonna happen in a day. So, keep using it and refer back to the definitions when you're using them or when you encounter them in questions. You'll get used to them slowly.
I should say that I do NOT condone any kind of willful memorization of this or anything else. Instead, work it into your vocabulary in a natural way by using it in the correct context.
honestly your explination helped a lot to understand the thought process behind it
thank you
You're welcome. Don't memorize any of this, use it and make it a natural part of your language.
Hi,
I need help with the following question:
I have the following values for S: S = {(1,3), (1, 4), (1, 5), (2, 5), (1, 1), (2, 2), (3, 3), (4, 4), (5, 5)}
Show a Hasse Diagram for S```
I've done it like this, is it correct?

I can rewrite it maybe it'll help
(A * ~B) + (A * B * ~C) == (A * ~B + A * ~C + B * ~A)
- and * are pretty standard symbols for 'or' and 'and' respectively
Are they? Idk I've not really seen them used in logic
I want to simplify
(A and ~B) or (A and B and ~C)
the answer is
(A and ~B or A and ~C or B and ~A)
but how? I'm stuck at this step
I have tried "A and (~B or B and ~C)"
but then I'm still stuck
Okay so:
$[A \land \lnot{B}] \lor [A \land B \land \lnot{C}] = A \land [ \lnot{B} \lor (B \land \lnot{C})] = A \land [ (\lnot{B} \lor B) \land (\lnot{B} \lor \lnot{C})] = A \land [\lnot{B} \lor \lnot{C}]$
Abhijeet Vats:
Thanks boss 👍 ☕
This is for CS, yea? Then you'll have to convert it into the notation that's used most commonly in your CS class
Yea no worries
I was stuck at this step, converting it to the right notation is no prob
Thanks again
Makes a bit more sense in terms of bits if you let 0 be false and 1 be true
If we say p only if q, is that the same as p implies q?
Yea
Thank you!
um
(~b or (b and ~c)) === ((~b or b) and (~b or ~c))
but there are three variables there
~b, b, and ~c
none are common to both sides of the +
of the or *
Isn't distributive law like for three variables
$p \land (q \lor r) = [p \land q] \lor [p \land r]$
Abhijeet Vats:
Also, no
Distributivity can work for two variables as well
It's just that there's a simplification you can do
And i really shouldn't be calling them variables. They're propositions or, at the very least, open sentences
I mean I think they meant p, q, r as variables
thanks everyone
Not really variables ye
If r is a sufficient condition for s does that just mean r implies s?
Just another fancy way of saying if r then s?
But yea, those are all equivalent ways of saying r implies s
gotcha
But usually, we stick to the symbolic convention, since it's easier to do algebraic manipulations on the symbols
F
Abhijeet Vats:
Oh shit rekt
Can't call something that don't exist a variable
Sorry for shitposting here btw
But yea, we stick to that
Mkay
Abhijeet Vats:
Oh ya
In symbols than it is to write out the words for it lol
I learned that just few hours ago
Helped me with my homework
LOL
is texit
in latex
Latexit
$\sim p$
Tamaarine:
oo
It's true lol, I'm dying to get my first midterm and first homework
But 7 months to go before that happens
Cos i'm dying in the army lol
ooo
So 7 months to go before i fuck off to uni
Oh shit rekt
good roast
very well done
i know
wait @sleek swallow do you mind taking a look at this one
A sufficient condition for compoundXto boil is that its temperature be at least 150◦C
If p is the compound x to boil, q is temperature to be at least 150
I said it was the same as the conditional
So a sufficient condition for p is q
Mhmm
So what's the conditional you can write?
I wrote p implies q
For the conditional
Then for that sufficient condition
I also wrote p implies q
My bad should have give context
Uh okay, so let p = compound X is boiling and q = temperature must be at least 150
Then, the statement is saying that p => q. Hence, p is sufficient for q and q is necessary for p.
Option a is just the converse and that doesn't have to be true just because the conditional is true.
Option b is the contrapositive of the implication. That means it has to be true.
Option c is just rephrasing the implication so it's the same as the implication.
Option d is the inverse of the implication and that doesn't have to be true.
Option e is just saying that q is a necessary condition for p, which is exactly our implication.
Option f is saying that q is a sufficient condition for p, which doesn't have to be true.
Sorry took a while, I'm out in the field now
No but jesus
i didn't expect you to verify all for me
wtf
i had all of the mdone
just f
wanna make sure
but i give my sincere thanks
now i can check my answer
pog
Check mine cos i'm in a bit of a rush so i wrote them down quickly
Make sure i didn't make any mistakes lel
I'll check it later myself
okay a-d
is exactly the same
but e and f
i flipped
I was basing it on this shiet
$\lnot{r} \implies \lnot{s}$ is the inverse of $r \implies s$
Abhijeet Vats:
And the thing is, it's the contrapositive of $s \implies r$
Abhijeet Vats:
So r would be a necessary condition for s and s would be a sufficient condition for r if s implies r were true
im having a mind fuck right now
can you elaboate
a little more
you are like my professor
im dumb
I am flattered that you would compare me to a professor lol
Especially since I'm only a dumb army boi
bruh
i barely
understand shit you just said
you at least know
what you are saying
I can go through the basics with you
But ultimately, this is just new language and you'll only get used to it through repeated use done over a period of time.
2 weeks in man
and professor gave out homework in latex already
never touched latex before
Okay, so $p \implies q$ is a proposition iff p is a proposition and q is a proposition.
Abhijeet Vats:
So far so good?
Yes, a proposition is just a sentence that's either true or false and nothing more.
Gotcha
Now, one can ask what a 'sentence' is but I don't think that'll concern you unless you take linguistics or pure logic.
In any case, there are several different ways to talk about an implication or a conditional.
So, $p \implies q$ is the same as:
-
If p, then q.
-
p if q
-
p is a sufficient condition for q
-
q is a necessary condition for p
FUCK
Abhijeet Vats:
So, there are other types of implications that have specific names
You'll pick these up over time, as you solve more problems
So, suppose that $p \implies q$ is our given conditional. Then, we have the following special conditionals:
-
$q \implies p$ is the converse of $p \implies q$
-
$\lnot{q} \implies \lnot{p}$ is the contrapositive of $p \implies q$
-
$\lnot{p} \implies \lnot{q}$ ist he inverse of $p \implies q$
Abhijeet Vats:
converse flip
Once again, don't memorize these. Learn them over time and make them a part of your language
I'm going to have to write them down
But don't memorize them willfully. Weave them into your language




