Before we can reason with sentences, we must agree which sentences we are allowed to use. Logic works only with sentences that have a clear answer: true or false. This section explains exactly which sentences qualify.
What is a proposition?
“Declarative” means the sentence states something. It does not ask, order or exclaim.
Examples of propositions:
“New Delhi is the capital of India.” (true)
“7 is an even number.” (false)
“For all real numbers x and y, x+y=y+x.” (true)
Sentences that are not propositions
Sentence
Proposition?
Reason
“Shut the door.”
No
It is a command.
“What time is it?”
No
It is a question.
“What a lovely song!”
No
It is an exclamation.
“Python is the best language.”
No
It is an opinion; people disagree.
"x+2=5"
No
Its truth depends on the unknown value of x.
“She is a software engineer.”
No
We do not know who “she” is.
”x+2=5 for x=3”
Yes (true)
The value of x is fixed.
A sentence with an unknown variable, like "x+2=5", becomes a proposition only when the variable gets a value, or when we add a phrase like “for all x” or “for some x”. You will study such sentences in the section on quantifiers.
Naming propositions and truth values
We name propositions with small letters such as p, q, r, s. These letters are called propositional variables. For example:
p: “Chandigarh is in Punjab.”
q: ”210=1024.”
The truth value of a proposition is T (true) or F (false). In logic circuits and in programming we often write 1 for T and 0 for F.
Key takeaways
A proposition is a declarative sentence that is either true or false, not both.
Questions, commands, exclamations and opinions are not propositions.
A sentence with an unknown variable or an unclear pronoun is not a proposition until the unknown is fixed.
We name propositions p,q,r,… and write their truth values as T/F (or 1/0).
Practice questions
Answer on paper first, then check. The explanation matters more than the letter you chose.
Question 6 · short answer
Which of these are propositions? Give the truth value of each proposition: (a) "3+4>6" (b) “Open the file.” (c) “He scored 90 marks.” (d) ”x2=9 for x=−3”.
Show worked answer
(a) Proposition, truth value T, because 3+4=7>6. (b) Not a proposition: it is a command. (c) Not a proposition: we do not know who “he” is, so it has no fixed truth value. (d) Proposition, truth value T, because (−3)2=9.
MCA Online notes are made for reading on screen. Open https://mcastudy.online/mcs-212/propositional-calculus/propositions-and-truth-values/ to read this page.