Check out my new course in Propositional Logic: trevtutor.com/p/master-discrete-mathematics-propositional-logic It comes with video lectures, text lectures, practice problems, solutions, and a practice final exam!
@mr.dumpling92418 жыл бұрын
Khan Academy should hire you to helm a Discrete Mathematics section for their site. Awesome vids man. Thank you.
@rachidfaouz46005 жыл бұрын
Definitely
@AntonioRonde4 жыл бұрын
Much needed at Khan Academy, they lack content ahead of high-school lvl
@qqqniyouqian Жыл бұрын
There is a really intuitive way to understand the "X is nessary for Y". "X is nessary for Y" is equal to "If you want Y, you must have X". So it can be written as q --> p.
@isakerem55856 жыл бұрын
Here is one way in which one might make translation of the sentences with "necessary" sort of more intuitive. First consider the sentence "if it is not sunny then John is not outside". Observe that it says pretty much the same thing as "If John is outside, then it is sunny". Here it looks like there is an equivalence between "not p -> not q" and "q -> p". Consider a natural language sentence of the form "A is necessary for B". This seems to be equivalent to saying that "If A is not the case, then B is not the case". Assuming that A translates into p and B translates into q, the natural language sentence seems to have the following: translation "not p -> not q". This, we have just seen, is equivalent to "q -> p". That is, the natural language sentence "A is necessary for B" (where A translates into p and B translates into q) translates into "q -> p".
@RASHAD_KHALIFA5 жыл бұрын
thank you most logical explanation for this case
@balcetus3 жыл бұрын
You blew my mind with this explanation. Thank you so much it's so simple now.
@AshAkash007 Жыл бұрын
But we can also say, "If it is sunny, then John is outside." Then it will be p -> q. Why will it be wrong? It is saying the same thing.
@Hasan-wz1nd7 жыл бұрын
Best teacher for Discrete Mathematics. Thank you.
@SupremeKingSovereign11 ай бұрын
I watch a playlist on a topic until I cannot understand, then I start another playlist from scratch on the same topic. I have learned a lot using this method. But I must say that you have cleared up so much for me.
@roadtosuccess82715 жыл бұрын
The statement: "17y + 20x is an integer" shown at 4:10 is a statement. It's what's called an "open statement" in discrete mathematics. So if you answered true, you are not wrong. It's just that we can't tell what the outcome of the statement will be. Don't believe me? Just do a quick search for "Open statements in discrete mathematics".
@SamraiCast3 жыл бұрын
I almost choked on my coffee when he said it’s not a statement
@shadowfantasiesf85562 жыл бұрын
@@SamraiCast mmmh coffee
@prasunakunasani86688 жыл бұрын
Sorry, I'm still a little confused about #2 @2:01. If q can't happen without p, why isn't it p->q. Can't that sentence also mean if I finish writing my program before lunch, then I can play tennis this afternoon?
@ibu4338 жыл бұрын
exactly
@mbarq28 жыл бұрын
Hm, not sure, but when you're doing if/then statement, you're not saying that q can't happen without p, just that q may not happen without p, but q can indeed still happen! So, just because you don't finish writing your program before lunch, doesn't necessarily mean you're not gonna go play some tennis :) Consider, q->p, where the only case in which you will ever be able to play tennis is if you finished writing your program. In this case, where p is necessary, it is also possible that you may not play tennis, :( What you're thinking of probably is "if and only if" where it is necessary for the conclusion (q) and the hypothesis (p) to both have the same truth value.
@IvanKleshnin6 жыл бұрын
Implications are confusing man, that's ok to feel so. The arrow of implication may go in the opposite direction to physical causality. For example Raining -> Cloudy is a good relation and Cloudy -> Raining is not. Why? See: Raining -> Cloudy is the same as ~(Raining & ~Cloudy) which means "It can't be raining with no clouds" which is correct. Cloudy -> Raining is the same as ~(Cloudy & ~Raining) which means "It can't be cloudy without raining" which is bogus. Another useful formula: a -> b ~b -> ~a. Let a ="Finished program", b = "Playing tennis". Now "If not playing tennis then not finished program" - bullshit. "If not finished program then not playing tennis" - legit. So ~a -> ~b, hence b -> a.
@murayyiamparvez93206 жыл бұрын
No it cant, if you finish you program(base condition) then you can or can not play tennis (optional). However, if you are playing tennis, then you must have finished your program(since it is necessary).
@omartayara51916 жыл бұрын
i understand how u explain nub 2 but then on 3 i can also write the opposit q -> (s AND r) cz if i am playing tennis it is necessary that low humidity and sunshine . but if it is low humidity and sunshine then it is not necessary that i am playing tennis. ??
@facebren7 жыл бұрын
Just waiting for Obama to drop that mixtape
@icecoolguita5 жыл бұрын
OBAMA GANGNAM STYLE
@jacobhubbell20474 жыл бұрын
The second example at the end would depend on how the sentence is defined I would think. If you were asking if 17y+20x was a integer as opposed to a expression, then it could be a statement. However if you were saying if the result of the expression 17y+20x is a integer, then it would be a function of x and y and it would in fact not be a statement.
@myonlynick6 жыл бұрын
i got wrong 2 and 3. After seeing the solutions my conclusion is that when i see the keyword 'necessary' the answer will always be q->p (second part of the sentence(q) will come first then the arrow -> then p). When i see the keyword 'sufficient' i just write down symbols left to right s, r, ->, q. If there is a 'not' keyword in the sentence i suppose it doesn't change the order that p, q, -> will appear on a paper.
@MrKB_SSJ2 Жыл бұрын
Amazing explanations
@ThLeMan4 жыл бұрын
You are a great teacher !
@samanthacruz21323 жыл бұрын
Hi, can anyone explain to me why statements do not have variables? I'm sorry if the question sounds stupid but thank you to the one who will answer!
@scaranpannoir8 жыл бұрын
"Tell me the time." "No." XDDDD Sorry I can't help it I just found that funny for some reason....
@andytheodorko98743 жыл бұрын
1:45 can I say: `if not p then not q`? is it equivalent to `if q then p`? p = Finishing the writing of my computer program before lunch q = my playing tennis this afternoon
@zigamer89222 жыл бұрын
What do you do if there is while tho? Eg: A: bob is happy B: dora is high "Dora is high while bob is happy" what to do?
@realquiller7 жыл бұрын
5:20 shouldn't be the 4) example "I can live without you"? because of the fact that we cannot write a statement with NOT?
@faysal3294 жыл бұрын
Wow
@kateyepawtch4 жыл бұрын
wait, isn't the second sentence qp??
@yousufabdullahborna5925 жыл бұрын
Just confused of the 4th statement problem. I think that "I can't live without you" is an opinion and I guess opinions cant be treated as true or false. I could be wrong so just asking for the clarification. Thank you.
@BlueCircle05 жыл бұрын
I think I can elucidate this for you. That opinion is stated, therefore it is a statement.
@TheWittyRookie5 жыл бұрын
Example of Question 2: Books are necessary for studies. Does that mean for you to study you need books even though you can study without books -_-??
@Trevorvalence2 ай бұрын
Keep teaching us please
@AshAkash007 Жыл бұрын
If we rearrange the 2nd example, we can get, "If I finish writing of my computer program before lunch, then I will play tennis this afternoon". Then the translation will be p -> q. Why will it be wrong?
@rakeemkapeshi72635 жыл бұрын
"If john manages his time well and studies hard then he will obtain good grades and have a better future." How would you write the negation, Inverse, converse and contrapositive of this compound statement?
@AntonioRonde4 жыл бұрын
A= John manages his time well; B= John studies hard; C=John obtains good grades; D= John has a better future (A *and* B) -> (C *and* D) I don't know how to type the sign for *and* so I put it in asterisks. Hope this helps :)
@durimmiziraj48155 жыл бұрын
"I cant live without you" is a compound of two statements. I cant live without you would be -q --> -p. Correct me if im wrong.
@That_One_Guy...5 жыл бұрын
It depends on what p and q are
@shadowfantasiesf85562 жыл бұрын
I think your solution for sentence 2 isn't really a representation of the sentence. q -> p would translate into "Under the condition of finishing the writing of my computer program before lunch I will play tennis this afternoon" But the actual sentence doesn't say that you are really going to play tennis. It just says "q would be possible if p". But if it is going to happen can't be concluded just by the sentence. Edit: Same thing for 3. These only state conditions that need to be true in order for it to be possible. There is still a condition left, it's not clear if it is going to happen.
@nightcoremobster78444 жыл бұрын
What if we had ,"is necessary and sufficient in one line" would it be implication or bi-implication.
@ntgc-tv5 жыл бұрын
Hello... Can you help me understand why p is sufficient for q thus p -> q for question 3 when p: I finish writing my computer program before lunch but not Low humidity and sunshine
@shadowfantasiesf85562 жыл бұрын
4:11 That's a very beautiful Yes you wrote there.
@chukwuerikadike8047 жыл бұрын
I am still confused about how answer 2 is q -> p. I read the question as if I finish the writing of my computer program before lunch, then I will play tennis this afternoon. The current solution doesn't make intuitive sense to me. Please, what am I missing?
@Trevtutor7 жыл бұрын
If you do not finish writing your computer program (0) and play tennis (1), then the statement is true under your interpretation. But I said that writing the computer program is necessary for playing tennis, which means it should be false, not true.
@chukwuerikadike8047 жыл бұрын
I see what you mean. Thanks
@E1808757 жыл бұрын
why it should be false? I'm still confused...
@AMRITPALSINGH-xo6dz7 жыл бұрын
Yeah why it should be false?
@AMRITPALSINGH-xo6dz7 жыл бұрын
TheTrevTutor by the truth table of p-q he seems right and your wrong. I tried to do with q-r but if q is t and r is f then the value will be false opposite to you
@michaelgeinopolos69115 жыл бұрын
Number (1) is definitely a true statement.
@hellopeople61604 жыл бұрын
Crazy world. This is great. Thank U 🙏
@jimmykimmel96425 жыл бұрын
How is “Tell me the time” not a statement? But “I want you to tel me the time” is a statement? They’re both commands. They both can be accepted or denied.
@Peanutzard5 жыл бұрын
"Tell me the time" cannot be true or false, whereas "I want you to tell me the time" can, at least to my understanding
@EvanGaoTV5 жыл бұрын
"I want you to tell me the time" is not a command. It's a fact. Wanting you to turn off the lights, and you turning off the lights are not related.
@E1808757 жыл бұрын
what if its Low humidity and sunshine are necessary for my playing tennis this afternoon? Thank you ~
@E1808757 жыл бұрын
whats the difference between "necessary" and "sufficient"?
@IvanKleshnin6 жыл бұрын
Assume some statement in p -> q form. "sufficient" means statement is wrong when p=1 and q=0 (wasn't sufficient). "necessary" means statement is wrong when p=0 and q=1 (wasn't necessary). Implications are easier to get from the opposite because of their truth table.
@eimaldorani7 жыл бұрын
The following two statements sounds equivalences, aren't they!? “If you do your homework, you will not be punished” “If you do not do your homework, you will be punished.”
@Trevtutor7 жыл бұрын
No. They are inverses of each other.
@eimaldorani7 жыл бұрын
but in natural language, both say the very same thing, isn't it!?
@IvanKleshnin6 жыл бұрын
Natural language tends to conflate two weaker logical if-then into a stronger if-and-only-if-then. If both your statements are applicable, it means you're actually saying "If and only if you do you home work you won't be punished".
@gonzalezm2445 жыл бұрын
In the first case you may not do your homework and also not be punished while in the second case you may do your homework and still get punished lol
@Submersed248 жыл бұрын
For #2, since if finishing the writing of my computer program was false(q), wouldn't that make playing tennis this afternoon(p) true according to a truth table of q implies p?
@Trevtutor8 жыл бұрын
+Submersed24 Well, we aren't computing truth values for that one, but the p's and q's you have written are switched around. If the antecedent is false, the conditional is true.
@Pages_Perfected4 жыл бұрын
day 1 of 3 {studying for final}
@OWeWereAngelsO7 жыл бұрын
about the second sentence on 1:53, can't it be if and only if? as in the two sides arrow ↔
@Trevtutor7 жыл бұрын
That would be "is necessary and sufficient for"
@OWeWereAngelsO7 жыл бұрын
OK got it thank you very much and God bless you 😊
@andredejager36376 жыл бұрын
I can't live withoot you :)
@MrKB_SSJ2 Жыл бұрын
0:00
@MrKB_SSJ2 Жыл бұрын
3:27
@anatolyrozhkov8514 жыл бұрын
1:54 I really don't understand the logic...
@slugfest9997 жыл бұрын
Is this a statement? In 1999, Barack Obama told me that 17y & 20x are Integers.
@Trevtutor7 жыл бұрын
I would say so. That is True or False and does not depend on what the variable x and y actually are.
@pattyboi556 жыл бұрын
TheTrevTutor Why can't variables be statements, they could be integers or could could not?
@secretnobody6460 Жыл бұрын
2nd example does not make sense. if you play tennis then you will finish the computer program before lunch? WTF.. even if you put it in reverse. it is necessary to finish my com program before lunch so i play tennis. but when you make first p false and q true according to the truth table. then it says that it is NOT necessary for you to finish the program to play tennis. XD
@k3p7404 жыл бұрын
.
@E_N_D_E_R Жыл бұрын
Kinda wanna listen to an Obama Kpop album
@sunnyzhu57914 жыл бұрын
all the teachers should be fired, use tutors to instead them
@zigamer89222 жыл бұрын
What do you do if there is while tho? Eg: A: bob is happy B: dora is high "Dora is high while bob is happy" what to do?
@Trevtutor2 жыл бұрын
Those are two facts that are both true right? What happens if one is false in the compound? What happens if both are false? What happens if both are true? Sounds like a conjunction.