MCS-212 · Block 1 Unit 1

Propositional Calculus

Section 1 of 8

Block 1 · Unit 1Propositional Calculus11 min · Section 1 of 8

1.1Propositions and truth values

Covers IGNOU MCS-212 §1.2

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 xx and yy, x+y=y+xx + y = y + x.” (true)

Sentences that are not propositions

SentenceProposition?Reason
“Shut the door.”NoIt is a command.
“What time is it?”NoIt is a question.
“What a lovely song!”NoIt is an exclamation.
“Python is the best language.”NoIt is an opinion; people disagree.
"x+2=5x + 2 = 5"NoIts truth depends on the unknown value of xx.
“She is a software engineer.”NoWe do not know who “she” is.
”x+2=5x + 2 = 5 for x=3x = 3”Yes (true)The value of xx is fixed.

A sentence with an unknown variable, like "x+2=5x + 2 = 5", becomes a proposition only when the variable gets a value, or when we add a phrase like “for all xx” or “for some xx”. You will study such sentences in the section on quantifiers.

Naming propositions and truth values

We name propositions with small letters such as pp, qq, rr, ss. These letters are called propositional variables. For example:

  • pp: “Chandigarh is in Punjab.”
  • qq: ”210=10242^{10} = 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,…p, q, r, \dots 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 1 · multiple choice

Which of the following is a proposition?

Show answer

Answer: C. 15 is a prime number.

“15 is a prime number” is declarative and has one truth value (F, because 15=3×515 = 3 \times 5). "x+3=8x + 3 = 8" is tempting, but it has an unknown xx, so it is not a proposition until xx is fixed.

Question 2 · multiple choice

Which of the following is NOT a proposition?

Show answer

Answer: B. y−4>0y - 4 > 0

"y−4>0y - 4 > 0" contains the unknown yy: it is true for y=5y = 5 and false for y=0y = 0, so it has no single truth value. “Chandigarh is in Kerala” is tempting because it is false, but a false declarative sentence is still a proposition.

Question 3 · multiple choice

What is the truth value of “For all integers nn, n2≥nn^2 \geq n”?

Show answer

Answer: A. T

For n≤0n \leq 0, n2≥0≥nn^2 \geq 0 \geq n; for n≥1n \geq 1, n2=n⋅n≥nn^2 = n \cdot n \geq n. So it holds for every integer. Option 4 is tempting, but “for all integers nn” fixes the meaning of nn, so the sentence is a proposition.

Question 4 · multiple choice

“Every even number greater than 2 is the sum of two primes” (Goldbach’s conjecture) is:

Show answer

Answer: D. a proposition whose truth value is not yet known

It is a declarative sentence that is either true or false; we just do not know which yet. Option 1 is tempting, but a proposition needs a definite truth value, not a known one.

Question 5 · multiple choice

Check Your Progress E1(vii): ”2n+n2^n + n is an even number for infinitely many nn” is:

Show answer

Answer: C. a true proposition

“for infinitely many nn” quantifies nn, so it is a proposition. For every even n≥2n \geq 2, both 2n2^n and nn are even, so their sum is even; there are infinitely many such nn. Option 1 is tempting, but nn is not free here.

Question 6 · short answer

Which of these are propositions? Give the truth value of each proposition: (a) "3+4>63 + 4 > 6" (b) “Open the file.” (c) “He scored 90 marks.” (d) ”x2=9x^2 = 9 for x=−3x = -3”.

Show worked answer

(a) Proposition, truth value T, because 3+4=7>63 + 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(-3)^2 = 9.

↑ ↓ move↵ openTab switch type