Let’s now learn about how we represent propositions.
In logic, it’s not appropriate to write the whole statement repeatedly.
Let’s look at an example. We have a proposition: ‘python is an object-oriented
programming language.’ Writing the entire sentence of ‘python is an object-oriented
programming language’ would be tedious.
Therefore, instead of writing it over and over again, we use a symbol to represent it.
In this case, we will use lowercase p to represent the statement. Therefore, p
equals ‘python is an object-oriented programming language.’
Now whenever we need to write the statement, ‘python is an object-oriented
programming language’, we can use lowercase p to represent the proposition
instead.
, The important thing to note is that we always use lower case letters to denote
propositions. And the most commonly used letters are p, q, r and s.
Let’s look at an example in which the truth value is false.
The proposition is ‘Kathmandu is the capital of America’, and it is represented by
lowercase q.
Therefore, we can say that q equals ‘Kathmandu is the capital of America’ and q
is false.
In logic, it’s not appropriate to write the whole statement repeatedly.
Let’s look at an example. We have a proposition: ‘python is an object-oriented
programming language.’ Writing the entire sentence of ‘python is an object-oriented
programming language’ would be tedious.
Therefore, instead of writing it over and over again, we use a symbol to represent it.
In this case, we will use lowercase p to represent the statement. Therefore, p
equals ‘python is an object-oriented programming language.’
Now whenever we need to write the statement, ‘python is an object-oriented
programming language’, we can use lowercase p to represent the proposition
instead.
, The important thing to note is that we always use lower case letters to denote
propositions. And the most commonly used letters are p, q, r and s.
Let’s look at an example in which the truth value is false.
The proposition is ‘Kathmandu is the capital of America’, and it is represented by
lowercase q.
Therefore, we can say that q equals ‘Kathmandu is the capital of America’ and q
is false.