Discrete Mathematics: Logic and Proofs
Transcript
>> MA3001 Discrete Mathematics: Okay. Okay, so good evening everyone. So the idea is just like the previous week this week, also will discuss a brief summary on the different logic and proofs and notes. Sorry, the large part whichever was covered and us brief summary of whatever was covered in.
All over discuss the summary. But before that do you have any doubts or any queries regarding The. concepts so I can move that. Which parts of the concepts to focus a little bit more or anything. So if you have any doubts or did you find any portion difficult or did you have any doubts on but queries on the practice assignment GA is I can discuss right now because the red line is still not over, but from PS or the week's content or from the previous week's content or any other things that you want to discuss. Or do you have any doubts of queries or anything? What should we just start?
>> HARSH SINHA: I'm, I have only watched till we in second video, but I haven't understood that Axum. Axiomatic axiomatization process. >> MA3001 Discrete Mathematics: The rules of Inference part. >> HARSH SINHA: Yes. >> MA3001 Discrete Mathematics: Okay, okay. we will cover that rules of inference part so I'll give you a brief idea on what those things. Any other word any other portions, anything else? >> HARSH SINHA: Not.
means having means after the video to I haven't watched nothing else from my end at least. No. >> MA3001 Discrete Mathematics: Okay. if anybody else has any other queries or any other doubts or anything, then let me know, okay? Okay, so this week's content is on logic. Okay, so there are two forms of logics. Okay, basically what the idea here is this logic, the basic idea behind this logic thing is, how do we represent the statements that we and counter in our daily life in a mathematics form? Okay, so the reason why we want to do this is and it's relevant to computer. Science is improve pool. First of all,
the this logic kind of things, it kind of helps in the electronically. the digital electronics, part of the system, okay? When we are designing a computer, the motherboard chips and everything, the circuits and everything to design all of that, this kind of mathematics representation helps you first thing, second thing is from computational point of view you have done a lot of Programs and everything. So, while you are doing the programs one while you are writing a program, you need to know how to write the program. So to understand how to write the program, not from the synthetic point of view. But from a semantic point of view like whether you should use a form loop or into all those kind of thing. What should be the iterative of Variable iteration variable in the group stuff like that. Okay. So when you are interested in learning of interested in knowing those kinds of stuff, the I it will be easier if you can have a proper representation, proper
format of representation for this. Kind of statements, there are other scenarios as well. Like, if you want to prove something like, if you want to show that, this problem is and become good. That is a proof. Okay, if you want to show that this problem, this graph is doing something like that. That is another kind of approve. Then if you want to show something along the lines of this algorithm is correct, those are and the kinds of who's, okay? So when you're like, trying to move all of those things, that's when these kind of mathematics, statements will help you out. Okay, so, that is the whole concept of why this logic is actually a very important chapter in this district. Maths course. And
the idea is for this logic to handle this. So in this week we are we are looking into two different types of logic one, is the propositional logic and the other is predicate logic. Okay, so propositional logic and predicted logic. The differences propositional logic is more of a declarative statements. Mathematics representation of declarative statements, but propositional logic is more along the lines of proper like, With proper equations and the proper like computational statements. Okay, let's for example if you like mathematics statements containing variables and equations and
for loops form, iterative, kind of statements and stuff like that, okay? So that is what the difference. So, in predicate logic, you have already seen this but in predicate logic, you will need some idea from the propositional logic so that's why we're looking into propositional logic post. And then we will go to the predicate, okay, so basically the idea behind prepositional logic is you have to So let's start with this, let's go to propositional logic. Okay, so in propositional logic, what we do is we have some declarative statements, like we say that he is a good boy.
Okay, these are the Delhi is the capital of India. Okay, so these are like declarative statements. So these are the statements that we want to represent using this propositional statements. Okay, so Let's say we are what we can do is we can just use some variable to represent a statement. Let's say the speed represents the notation survey generally using is is this p. Column. And then we say something along the lines of Delhi is the capital of India.
This means that this p is a variable, which is used to represent this particular statement, Okay? Let's say I'm going to use another statement, like, say another statement like Delhi is in, not the India. Okay, so this is another statement and it is represented as Q, Okay? Now we may want to connect some statements using conjunctions, so now this conjunctions are basically this and or statements stuff like that, which is basically used to connect two different statements that we have already seen from English. Okay, this is basically English that end up. so in English, we have seen this different kinds of conjunctions like and or e. Okay. So these are the different conjunctions that we have already seen and we want those conjunctions to connect these two different statements. So, similarly, in propositional logic, if we are having two
variables to represent two different statements, then there must be some conjunctions to connect this statements as well. Okay. So here basically, in propositional logic, we are having a couple of couple of conjunctions. There is a And/or not ex or Exotic then land not and there are several others also. But all of that has not been covered. Okay, so we will look into the so the conjunctions that have been covered in the week to content, those are only and Or. Not.
Equivalence, which is basically different if if and only if okay. So this is basically also known as equivalents also and I had actually posted Text and Discourse. I'm a post on discourse, and I have also made in the Google chart on the different notations that we will be using for even if and only if so for this notations. Also, we have I had mentioned for and this is the notation that we are going to use. See here, we have this. Dramas like we have letters to write a statement. Like we have these letters to write this sentence. So and this sentence is being
represented by you. This sentence is being represented by you, Okay? This is p, This is true. So now if we are representing this sentence and this sentence using variables and there must be some sentence to represent the conjunction of the statement and containing both of the statements. The conjecture, the full state. Like if I'm saying something along the lines of Delhi, Is the capital of India and is in north.
Okay, so this is basically in conjunct. This is basically two sentences using a conjunction, okay? So that should be some way to use. Propositional logic to connect these two statements as well, this p and q variables as well. Okay, so these are the notations that we use to connect this statement. So if I'm writing p this thing and then q, this means that we and so we are using the conjunction and to connect these two sentences. That is the basic meaning of all of these notations and everything that you have seen. Okay? So this is for and this is all this is not And if is a, I used this one, we discussed to use this one. Then equivalence we will be using this one.
Okay, so this is to this is a fan only, we will discuss on what this, okay. So now what we are saying is This is P and q. This means p and okay, as I have already discussed, this means and we're using the conjunction, and this is all or means this is p or you. Okay, this is red as we all what it means. It means that Delhi is in, for example, when we are connecting these two statements, it will mean that Delhi is the capital of India. Or Delhi is in north. So either of them will be happen, both of them, both of them might also happen but either of them must Okay, so then the North not is basically, it's a unary operator not as a unary operator.
So you use not of p or not of you. It means that it we read it as not of p and we say that what it means is, if we use not a p over here, it will mean that there is not the capital. Then if is more along the lines of p. Implies q. This is red as p implies q. It means that if p is true then q has to be I think I'm Mistake here. If we implies q, it means that Sorry, it means that if P is true, you has to be true. Yeah, I was right. Okay.
if p is true then you have to be true but if p is false we don't care whether you Okay, but our condition is a p is true. Then q have that's, yeah, if p happens, if p happens. Then q must has to happen. Okay, there is no way that you cannot This is the meaning of this statement, okay? Now if we come to equivalence, it means that the it is represented like this It means p if and only if q it means that both of them are equal statement. So if p is happening, then q is happening. If q is happening, then p is also They are basically equivalent to each other.
Okay, so now how do we write these things? Like Why always said some things that if this happens then that should also happen. How do we mathematics really represent it that is done using fruits tables, okay so for truth tables, if we're using the and operation let's say we want to represent me and you okay so now we have P and we will have two straighteners like if we have two possibilities for each of the statements, this statement can be true. That means that the statement, the thing is occurring. The thing is happening or the statement can be false saying that this thing is not. Right, so basically we will be having two scenarios
either. The statement is true, or the statement is false, because these are only declarative statements. So, if the statement is true or the statement is false, right? We have two options. So now that if we are having two different variables, now we can have multiple combinations that this will be true simultaneously. This can be true, but this can be true but this can maybe falls. Yeah. This might be true but this statement might be false, we don't know that, okay? Then this my statement might be false. Sorry. This statement might be false and this statement might be true. Similarly, this statement might be false but this statement might be false also. Okay. So we will be having four different combinations. So for each of those combinations, what will be the scenario when we are training that p and q? So, when
we are saying we and q, it means that both p is offering and you is offering, right? When I'm saying the Delhi is the capital of India and Delhi is in north. It means that both of the statements are. If both of the statements are true, then that thing will be true, right? Because you're using the condition, and this is simple English only, okay, not the mathematics part, we are using a condition and which means that both of them has to offer simultaneously. Then we can say that the statement is offering Okay. Or in other words, if both of the parts of the statement are true, then only we can claim that exact statement that both this statement is also true, okay? So that means that if both of the statements are now coming to the mathematics notation it means that if both p and q will be true, then only p and Q will be. Otherwise it has to be.
Okay, I hope this is, this makes sense on how we get this. PFM scenario, okay? This true why this is happening Now comes P or Q. Can you give an item? Do you have an idea on why it will happen? I mean, we already know what is happening P, or q P or Q. Means what either pay is happening or q is happening, or both of them are happening. Then, only the conjuncture state, like the combines statement saying that, release the capital of India or really is not, if either of them have offers true. Then we can say that. Yes, this statement is true, right? So, what should be the mathematics notations here?
the idea, anybody wants to >> AVINASH SHRIVASTAVA: And the last one falls. >> MA3001 Discrete Mathematics: yeah, so why >> AVINASH SHRIVASTAVA: because either of poq is true in all three cases, >> MA3001 Discrete Mathematics: Yeah, exactly, exactly. If both of them are false, then we will say that. None of this is happening. So, the even if with the odd statement, we cannot satisfy this, the statement will not be true, okay? But if any of them is true, then it will be true. So that's why we have, if one of them is true in among me or Q then we get this t t. And if it is, both of them are false and we get the false
Yes, exactly. Okay. Then comes Okay. So the thing is, I might not be able to read the messages because my screen is being shared. So let me know if you want to say something. Okay, you can interrupt anything, okay? So now let's go to north of p. So not of p is will be what it means. That this is not happening, This statement is not happening, okay? So if I'm claiming that this is not of p, then what will be the story? What will be the values over here? So if P is true, I'm
saying that Delhi is the capital of India, if this is true. Then if I say the story that really is not the capital of India, then that statement will become right, so, if the true statement is already true, we already know that the statement is true. Then if we say that this is not the statement, then it will false. Okay. Now if we state say the statement or this to this sits, this is a false statement. We already know that this is a false statement. We will we are going to say that Mumbai is the Country. We already know that the statement is Pause, This is not true.
Say that Mumbai is not the capital of India, then it will become a true state. Okay, so that's why. If it is true copy then we will have a false and if it is false then we have a true but now notice that there are two T's and two apps over here. But here we are. We like we don't need to tease and two webs over here. Okay, I'm writing it over here just for so just so I can write everything over here but this is not the truth table for not. Okay. When we are having just one variable tea, what we will have is only two scenarios either. We will be true or we
will be false. Okay, so not of P. We will be calculating only for these two cases, not for that. Should not be repeats. We should not have these rows, must not be repeating because you can repeating. But then you have you can repeat it infinite and so, okay, so we prefer not to repeat it so that this table will be small and that's why if we are having a unary variable, then we will just one variable then we will just use two lines of in In the table, which will basically be t and f. And if it will be like two variables and we will have four rows and it will be three variables and we will be having three row, sorry, eight rows, and so on.
Okay, so basically not of P, this will be, this is how it is written, okay? So let's let's go to the next one which is basically p implies q. So what will the mathematics representation for this? So as I have already discussed being in place. Q means if paste true, then Q has to be true. Okay? And if P is force, then we don't care. Whether Q is true or false. Okay? So in this scenario, what should be the OH, Anyone wants to take an attempt on, what should be the? Values here.
Okay. So, what was the condition first condition? If p is true, then q has to be true. So this and this is true. So what will be q? Q has to be true. So you have to be true. Basically this Okay, so this is the only scenario where it will be true. Okay, among these two, okay? Among these two, if these true and q is first, and that is not allowed. So that means this will become false okay, if q is true, then sorry, if p is true, then q has to be true. So that's why we will have tea here true. So,
In that P has implied Q so that will become true. Peace. True but q is false as for the definition of implies itself. If p is true, you cannot be false. So that's why this has to be false. Now, if p is forced, then we don't care. Okay, So if we don't care, if p is false or you whether q is true or false, we really don't care. So we'll just have to Is this clear, why? This is the mathematics notations?
Okay, so if that is the scenario then try to find q implies p, okay? I am not going to discuss this over here. If you are not able to solve you implies speed and let me know, I post the solution on Google chart, but try to solve this on your own. What happens if you implies be okay? so now we'll go for the equivalence part equivalence as I already discussed, it means that both of them should be equal. So if p is true, then q should be true.
if he's fast and you should be false. Okay, so now basically, this is sorry. Yeah, so if you pay is true, you should be true. If p is false q, should be false, but if we so these two will be true, right? If p is true, then q is also true. So we can say that. Okay p is true. So q is true, p is force and q is also falls. So p equals cube will also make sense that okay. P is first Q is fall. so that means beer P equals Q. So that way, that's why this statement will become now coming to this to statements. What will happen? Please true. But q is false. so they are not equal, right? I'm saying that 2 plus 3 is equal to 5 so that is
true. But I am also saying, that two plus two is equal to 4 and that is sorry. Two plus three is equal to 4 so they are not equal statements, right? So we have one is through the other is false. So then we will say that this is false Okay, similarly one is false. Other is true. Then also it will be the same scenario. This will be false. okay, so now once you do this actually, if once you find well, you implies p, you will realize that this statement P or if and only if q is actually equal to this statement and this statement are equivalent, which means that both of these statements are just equal statements
If both of them are equal statements and thus that is P. If p is equivalent to then this happens p implies Q. Q implies. Okay, this entire statement will happen. Okay, so now notice that this statement is having multiple portions inside it, okay? So pain implies q is one part with q implies P, is another part. These are not like statements Exact statements. Like we had used represent one of this, These are more of a nested nature. So we have an and operator and this and
operator is connecting two different. Propositional statements one is being placed q. The other is q implies B and these are being connected using the end operator. Then here also we have pain implies q. We don't have just be is a sorry peak equivalent, we don't have people something that you We have something in a nested nature, okay? So which one to evaluate first? That comes When we like, look into the order of like, a mam, has discussed this in one of the lecture videos, what should be the order of computer, like order in which you will you, in which you will compute these operators. Okay, so that order you can look from the lecture videos, whatever is order. Look at the table. Okay. You can follow the order to solve this equation. This kind of equations, so once you know that you try to solve this particular state this entire statement, You already have. So
what we can do is first of all, we have computed P in place q. Then you compute pq implies p, then you compute. So the so the table will look something like this, okay this is b, This is q then your compute P implies q then your compute queue implies. okay, then you compute this part, okay, we implies q and q implies Hey, okay. So this becomes the right hand part. Now let's come go to the left side part which is P double M, which P equivalent to cube. Okay, so you got the double left side part. Okay, then compute the there will be one more column over here. This column I am writing over here and that will be basically this statement this whole statement we are double implies Q.
Which does this is the equivalent to p implies Q and you place. See now this statement and this statement and this statement you can just compute directly like find the values directly using P and but for this, which columns will you be using to find to find the values of the, in the rows for this particular column? Which columns will you be using? So, you use this column in this column. Okay? So you take the values, like the b or f, whether this is T, or this is F, or this will be looking something like this, right, between place. You will look something like EFT. And you in place, we will look something else. Okay? And then you use these true false notations, to compute this and the values in this, in the rows for this for this particular column, okay? Similarly for p double in place q, you can just use this and
this columns to compute there, to find the not so false values over here. But for this one, you use the left side of left side, part you use this column the right side part, you will be using this one. And you try to solve this. Okay, these kinds of tables are called as truth tables. That's just a name for this kind of papers. Anything else? That I am missing from propositional logic.
okay, so the answer do this, you will see that this law, this particular column will have all tools All rows of this particular column will be true, please. Okay, there will be no cause in this column. So what it will mean is that this particular statement is called a topology okay, this is another naming notation just tautology is basically means that that column will have only two
which means that this is a true statement, no matter what happens, this statement will always offer again. So that is called a tautology statement. So then there is something called as What was? Contradiction right. Sorry contradiction, right? If it is always false, what is >> HARSH SINHA: Fallacy. >> MA3001 Discrete Mathematics: Sorry. >> AVINASH SHRIVASTAVA: Call contradiction if it is always false. >> MA3001 Discrete Mathematics: If it is always false and it is contradiction. I believe that I'm going to believe you. Yeah. So >> AVINASH SHRIVASTAVA: Image. And The valid. >> MA3001 Discrete Mathematics: It's called policy as well. And that is, what was I had in mind. But if ma'am is using the word contradiction, so then let's go with contradiction. Contradiction
is basically, then that column has the words has fals there are no truths. Okay, so this is cottology and contradiction. Just one information I need from. You did man cover, inverse and contrapositive, or converse in the lectures. Have you come across the words inverse? okay, I'm going to skip that part and if you come across inverse Contra positive or converse and let me know, then I'll cover it all over during the next week or during I just posted post one on this course or Google Jefferson. Okay, so that was about propositional logic, Let's go. Okay, there are different properties of propositional logic. I believe, man, I don't know. It man has covered this or not. So let me just That. So, there are some basic statements of propositional logic. Like, for
example, if you are saying that P or Q, try to solve this using truth tables, try to find this truth tables for this. And you will see that if it is p is equal to sorry p or q. Then this statement will be equal to q or p. Both of these statements will be equal to, okay? This is called as the commutative property. Okay, then there are these there are several of these kinds of properties. It is listed in the book, Okay? I can take a screenshot of the page, and I will post that in the Google chart. Okay, so this is basically is a different properties of this operators, okay? So I would like you to just construct the, maybe you should construct the truth tables for each of these. So what it will happen here is we will have be, we will have q you find p, or q, find q, or P and you will
see that whatever is along. These rows will also be along those these rules, basically, these two will be equal to okay, so what here equal means is these two are the exact same statements but from a propositional logic point of view, you can also view them as like this. okay, so if you calculate p or q, H If and only if you are P then you will see that it is. This is a topology.
Okay, so this equals means that these two statements, this is happening, okay? So from the post point of view, it doesn't happen at all the scenarios like if it is equal, then this happens. But if this happens, then it may not be equal. okay? But the rivers may not be okay, but if it is equal, if p or q is equal to q or t, if i write like this, be your q is equal to q or p. Then this does imply. That we are Q.
Qrp. Okay, so this and if this happens, then this must happen. But the reverse may not do that. This, if this happens, then it may not be the scenario that this also Okay, so Okay, from, but from logic point of view, from this mathematics, logics point of view, this will be true, okay? At least for your course where scenarios when this doesn't happen, that is beyond the scope of the course from the post point of view, just assume that these two are the equal statements Okay.
So there are different properties that I will send you a photo of that page. And you can actually look into those properties. You can. Like, try construct truth tables for and see why this properties are true. Okay, so that is that part is done. Then there is predicate logic. Let's go to predicate, logic and quickly review it. So as I already told you predicate, logic is basically variables here. So we say something like Of X is a computer. Or x is a student. Okay. And
Let's say X is a student. Okay, so this we are going to represent as a function, okay? Because we have some x, right? So let's say p of x represents that. Okay, so for some particular value, if this is not exactly a function, that was a wrong DOM to use. So we are going to represent. something like that. So somebody is a student. There might be something like Let's say ABC is a student. X y z is a student. Mno is a student.
okay, so to have all of these kinds of statements multiple types of statements all I am going to do is like just write this one particular statement. P of X is that x is a student and now who can be x x can be a b c x. Can be x y z x can be no and x can be anybody you want and you want you can just fill in the name of x and you get of complete the statement. So what happens is when this is called a predicate logic. So what happens is spread there is a variable and when you fill in a particular very name, a particular value for that variable, you get a propositional logic state Okay, so for example, if I am saying P of a b c, it means that what it will mean. I am filling the value APC in for x. Instead of x, I will be writing a B C. So what it will have become a P of ABC will become, ABC is a student.
Right, so it means that this is a propositional logic statement, right? Notice that. This is a declarative statement. This is not a variable. This doesn't have any variables. This is a declarative statement. So, this statement can be represented as p. Okay, so we, when we are saying that p of a b, this is capital P, okay? P of a b C is equal to small. Okay. And why it can be small way because this becomes a propositional statement when you fill in a very value for a variable, in the predict, in the given predicate, then it becomes a, propositional state proposition, it becomes a propositional state.
So this is basically about predicate logics. So now using this predicate logics, we can have multiple variables also. Like for example we can have q is equal to x comma y and i say that x plus y is equal to 3. Okay, then we can put fill in values for x and y here, right? So, x can be 1, y, can be 2 x can be 2. Y can be 1 or something like that, okay? Or x can be let's say 1.5 and y can be one point. both of all three of them will give you three, okay, but the thing is x plus y becomes 3 and you feel in some values for these variables in the predicates. okay? So if there is a variable and you need to fill in some values and therefore, predicate logic, if the values already filled, then it becomes a proposition.
Okay, so now there are some quantifiers to represent these predicates. There are two different types of quantifiers. One is the existential quantifer and one is the universal. Quantifier, universal quantifier means everything in the universe. Satisfies, For everything in the universe, this is happening existential, quantifer is more of there is one of them, okay? So basically in computational, in programming point of view, universal quantifier represents the four statements, okay, and existential quantifier represents a combination of more. And if statements Okay. Inside of our statements you have an if statement so that will become more existential quantifier story. Okay, so now how do we mathematics represent? So now comes the universal quantify for universal quantifier. I am going to use notation
This represents the for all, for all values, for all values of something for all values of x. Something holds true. Let's see of it. Okay, so now if this is happening, then there must be a universe for this obviously, otherwise for all values of X. We can't have like the universe cannot be numbers and strings and stuff. Like if we are considering P of X is a student, we cannot say that x the universe for X will be you know in teachers, okay. That should be proper universe for this also. So if we are saying that, If we are saying that there is some unique, look, it may not be the case that the universe is explicitly given to you in this particular scenario. But it should be implicitly, understandable, okay? Even if it's not given to you, it should be an implicitly understandable that this should be the universe. Like for example, if we are having X is a student in universe cannot be set up in teachers. Okay, so that's what it is. Implicitly
implicitly understandable. The universe is. Implicitly understandable. okay, so this is how we represent for all now, there is something like their exist, this. So, this means that there exist. It means that there is at least one value in the universe, for which p of x source. True Okay, this means that this statement means there is for every value of x in the universe p of its source. This means that the reasons of value in the universe such that p of exposed. I hope this this is clear. This is clear or a mankirt confusing, you more.
Okay, so these are, um, Oh, did not cover domain of quantifiers. Okay, let me just talk about the domain so what happens is let's nest it. Okay. What I'm going to say is for all legs, p of X, Then there is for all Y. Q of y, x comma y. Okay, so what happens here?
Don't assume this P of X and let's let me just change out of it. So there is some value of for every value of x are of exports. True. Okay. And this is basically a nesting thing that I'm doing, okay? For every value of x are of exports true. And for every value of y, along with every value of x, this what, this full statement means, is for every value of y for every value of x r of x holds true. A qfxy holster. Okay, so now notice that this X only covers this particular, sorry this to this. Sorry, let's make it Y.
It will make it less confusing. Okay, so let's see that this X only covers this part X doesn't cover the entire part. The entire predicate. Okay. So this to, this is the predicate portion, right? These are the quantifiables. This is the quantifiers. These are the predicates and among these two predicates, this is basically combination of two, predicates. Okay, let's say R of X and you. Okay. So this is basically, let me just restrict the statement Making more confusing. So let's say, we have for all why? There is X. Out of it. So and He was. Fine. Or.
S of Y. Okay, so this is the predicate that we are giving, okay? And I'm connecting this predicates using and the or statements. So what does this mean when you connect to predicates with an and or we had propositional value, propositional statements, we connected to statements and we said that if p is true, then q is true. Right? So that is an if both p and q are true then we and q is true, right? So now how what it means when we are connecting to predicates using it and state or an allstate or the other operating operators that we discussed so what it means is if we have an r of x and this q of y and 2 of y, it means that we are going to fill in a value for x. We are going to fill in a value for y, and then we will
see if the r of whatever value that we have filled in is true. And then whatever value we have filled in for y, q of that. Value is true. Then this particular statement will become Okay, does this? hope that makes clear? So, this is what is the concept of using operators on predicate logics. So if we are having predicates and you are using this, propositional operators that you have already seen from propositional logic, it means that, that operator doesn't operate on the predicate itself. It means that that operator operates when you feel in some values for those, Okay, so now we have this particular statement. This is the powerful predicate statement and we want to see what happens is. Notice that this X value is required only from this to this. Beyond that x is not required. Okay? So what we
mean here is this to, this is the domain of x, this r of x, this is the domain of x. So this is a slightly different or terminology from set theory and functions. This domain means that x operates only within this part of the predicate, why you operates only on this part of the predicate, but we cannot take from between So we are going to take the entire thing. Okay? Why operates on the entire part of If we have something like this here, And there is a Z. P offset.
okay, then it means that despite the fact that this is the full predicate, why occurs only in this part of the predicate. So this this part of the predicate is the domain for Y. And this part of the predicate, is the domain or set. Okay, I hope this means clear. What domains are? I think man has not covered it If you Okay. now comes the negation of a predicate, we had the negation operator, the NOT operator. As we discussed already that we can use the and operators and we look into the specific values now. Similarly, there is a not operator. Also we can operate on not the predicates. Okay. So let's say we have not of p of x.
Then what will it mean? It means that when we fill in some value for x, then, whatever will be the truth value for p of x. If it is true, then this entire statement will become false. If this particular statement becomes false, then this enterted Okay, that is the basic. Thing, now, we introduce quantifiers. Okay? We are going to say for all X. P of X. Happens. But then not of that. so it what it means is this statement can be read as For all x. P of X. Is true. And then you say not of that. No, this doesn't happen. Okay, so what we are going to do is we are going to reverse the statement, okay. We are going to reverse our statement, we are going to statement. No, this statement is not what statement is not true, this part of the student for all let's be of X
is true. This statement is not true, we have to think. Okay. So what it means is whatever value. You, this part this statement means that whatever value of x from the universe are going to choose and feeling p of x will be. Okay, whatever. Exit. Choose like APC. You fill in A or ABC. You fill in M and y m, n o m n x whatever you put in. From the universe for every value P of X will become true. Yes. Yes. Yeah.
>> HARSH SINHA: I'm here. Just for example, you have taken p of x x is a student, right? >> MA3001 Discrete Mathematics: Yeah. >> HARSH SINHA: So here at the bottom left, you have written negation of for all x p of x. How will say if we have to say it in words, how will you say? Like, for all X, who is a student. And negation of that thing. >> MA3001 Discrete Mathematics: For all X in the universe of students be of access. That is how you read this. this part of the statement, okay? And this entire statement will be read as negation of for all XP of X.
you can only read that this part, you can only read as for all XP of X or for all XP of X is true. This part. This entire statement you can read as negation off for all XP of X is true. Now coming to particular statements This part can be read as for all X in the given universe or in the universe of students or in the given universe p of x or X is a student. Okay, for all x in the given universe or in the universe of students or whatever is the universe for all X for every x in that universe. Or for all. Let's in that universe X is a student. Okay.
This part. Now, when you include that, this entire thing, you will read it as Not of not of the entire statement. This does this does not happen. Okay, this does not occur. So when I am going to expand it a little bit for the if we become easier to read it, I'll come to that next part. Okay, but initially, you can just think of it as know this statement is false. Okay? For all x X is in the universe. X is a student but no, this doesn't happen. Okay.
Negation of or not of negation of for all x in the universe access. This stupid Okay, so what it means is this comes to the okay, does that clarify your question? I it will become a little bit more clear when I go further. >> HARSH SINHA: Okay, okay. >> MA3001 Discrete Mathematics: Okay, so what happens is, when you are saying this statement, we have a Let's take the half of this statement for all x p of x is true. So we have a universe In this universe, we have different values of x. And we
are saying that for every value of x, whatever value you put it in there, p of X will become. Okay. Now you're saying that? No, this is not. Okay, if this is not true, then what will it mean that there is some value in the universe for which fee of x has to be false? Then that is the only scenario when this will become false. Right? If there is a value in the universe such that this entire statement doesn't happen, this p of x becomes false, then this statement will not hold true. Do you agree?
>> HARSH SINHA: And then it must become their exist, right? >> MA3001 Discrete Mathematics: Exactly. So that is what will happen. So here we are going to say that it means that there is an x for which not of p. Of x is true. Which means that p of x becomes false. The reason it's x in the universe such that p of x becomes false. So if p of x becomes false than not of p of x will become true. Okay. So a simple way to and know this like to finish this up is then maybe so Okay, we'll come to that simple way later. So this is the concept of not on This is the This is what happens when you apply not on for all the universal quantifier, Okay. So how do you read this? I'm coming back to your state question, how do we
read this? This will be read as the reason x. Such that X is not a student. The reason x, there is a X in the given universe. Such that X is not a student. Okay. Is that clear harsh? >> HARSH SINHA: Means a little bit. I mean I am not able to imagine means like x is an element of this universe, right? >> MA3001 Discrete Mathematics: Yes. >> HARSH SINHA: We have. >> MA3001 Discrete Mathematics: Hello. >> HARSH SINHA: And and there are yes. Am I audible? >> MA3001 Discrete Mathematics: Your voice is cutting here.

Ask anything
We've read this whole study set, so questions about it get the best answers.