0% found this document useful (0 votes)
143 views3 pages

Module Code MA4001: Logic and Problem Solving Tutorial: Week 1

This document is a tutorial on logic and problem solving that covers: 1) Identifying propositions and their truth values from sentences. 2) Writing the negations of propositions. 3) Expressing logical statements using propositional variables and connectives like "and", "or", "if-then". 4) Calculating the truth values of compound propositions using truth tables. 5) Defining key logical terms like propositions, compound propositions, and valid/invalid sentences.

Uploaded by

Ashish Ghishing
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
143 views3 pages

Module Code MA4001: Logic and Problem Solving Tutorial: Week 1

This document is a tutorial on logic and problem solving that covers: 1) Identifying propositions and their truth values from sentences. 2) Writing the negations of propositions. 3) Expressing logical statements using propositional variables and connectives like "and", "or", "if-then". 4) Calculating the truth values of compound propositions using truth tables. 5) Defining key logical terms like propositions, compound propositions, and valid/invalid sentences.

Uploaded by

Ashish Ghishing
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

Logic and problem solving Tutorial: Week 1

Islington College, Kathmandu


Module Code MA4001: Logic and problem solving
Tutorial: Week 1

1. Which of these sentences are propositions? What are the truth values of those that are
propositions?
a) Kathmandu is the capital of Nepal.
b) Patna is the capital of India.
c) 2 + 3 = 5.
d) 5 + 7 = 10.
e) x + 2 = 11
f) Do not pass go.
g) What time is it?

2. What is the negation of each of these propositions?


a) Mei has an MP3 player.
b) There is no pollution in New Jersey.
c) 2 + 1 = 3.
d) Jennifer and Teja are friends.
e) There are 13 items in a baker’s dozen.
f) Abby sent more than 100 text messages every day.
g) 121 is a perfect square.

3. Let p and q be the propositions


p : I bought a lottery ticket this week.
q : I won the million dollar jackpot.
Express each of these propositions as an English sentence.
a) ¬p b) p ∨ q c) p → q d) p ∧ q e) q ↔ p f) ¬p →¬q
g) ¬p ∧¬q

4. Let p and q be the propositions

p : It is below freezing. q : It is snowing.

Write these propositions using p and q and logical connectives (including negations).
a) It is below freezing and snowing.
b) It is below freezing but not snowing.
c) It is not below freezing and it is not snowing.
d) If it is below freezing then it is also snowing.

Also, state the truth values of each assuming p is true (T) and q is false (F).

5. What are the different types of connectives? Write with symbols.

6. Given that propositions p, q and r have truth values T, F, T respectively, find the truth
values of
a) p  (q  r) b) (p  q)  r c) ¬ p  q d) ¬(p  q)

7. What is the truth value of each of the following propositions?


a) 4 is even and 5 is even. b) 6 is even or 9 is even. c) 8 is even or 5 is odd.
Logic and problem solving Tutorial: Week 1

d) 2 is not even or 8 is even.

8. Calculate the truth values of the following propositions:


a.   (true  false) b. true  (p false) c. [(p  false)]  true
d. (false p)  q e. p  (false  q)

9. Calculate the truth value for the following propositions:


a. (1<0) (3>2) b. (1+1= 2)  (2<1) c. (0<1)  (1<2)

10. How many rows appear in a truth table for each of these compound propositions?
a) p →¬p
b) ¬p ∧ (p ∨¬r)
c) (p ∨¬r) ∧ (q ∨¬s)

11. Write out the truth table for the following:


a. p  q b. ¬ (p  q)
c. (p  q)  (pq) d. (p  q)  (p  q)
e. [(p  ¬q)  ¬p]  q f. [p  (¬p  q)]  (¬p  ¬q)

12. Define Proposition with two suitable examples.

13. What types of sentences are not considered as valid propositions? Write two examples.

14. What do you mean by compound proposition? Write two examples.

Additional Questions:

1. Construct the truth table of the following compound propositions:


a) (p ∨¬q) ∧ (q ∨¬p)
b) (r ∨¬p) ∨ (p ∨ q ∨ r)
c) (¬p ∨¬q ∨¬r)
d) ¬p ∧ (p ∨¬r)
e) ¬¬ [(p ∨¬q) ∧ ( p ∨ q) ]
f) ¬ (p  q) ∨  (p  q)
g) [p  (¬p  q)]  (¬p  ¬q)

2. Construct the truth table for: (pq) and (p q) and comment your answer.

3. Explain, without using a truth table, why (p ∨¬q) ∧ (q ∨¬r) ∧ (r ∨¬p) is true when p, q, and
r have the same truth value and it is false otherwise.

4. Let p and q denote respectively the propositions


Logic and problem solving Tutorial: Week 1

p: ‘it will be snowing’ and


q: ‘I will go skiing’.
Write down English sentences corresponding to the following propositions:
¬ p q, p  ¬ q, p∨¬q

5. Let p and q denote respectively the propositions.


p : Tolstoy wrote “War and Peace” and
q : Tolstoy wrote “The Brothers Karamazov”
Give a simple English sentence for each of the propositions:
p  q, p  q , ¬ p , q  ¬ p , p  ¬ q.
Also, state the truth values of each assuming p is true and q false.

End of Tutorial

Common questions

Powered by AI

The compound proposition (p → ¬p) is always true unless p is true, given that the implication p → ¬p is equivalent to saying 'if p then not p,' which is a contradiction when p is true. However, if p is false, the implication holds vacuously as false implications are considered true by definition .

Using De Morgan's Laws, ¬(p ∧ q) is equivalent to ¬p ∨ ¬q. The proposition ¬(p ∧ q) ∙ (¬p ∨ ¬q) simplifies to (¬p ∨ ¬q) ∙ (¬p ∨ ¬q), which is logically equivalent to just ¬p ∨ ¬q, reinforcing that if not both p and q are true, then at least one must be false .

The compound proposition p ∨ ¬q is a disjunction, true if at least one of p or ¬q is true, whereas p ∧ q is a conjunction, true only if both p and q are true. Thus, they represent different logical operations and cannot be logically equivalent. This means they will evaluate differently based on the truth values of p and q, with the disjunction being more inclusive in what it considers true .

'x + 2 = 11' is not considered a proposition because it is an open sentence dependent on the variable x, which means it can neither be assigned a truth value of true nor false without a specific value for x. Thus, propositions must be closed sentences with definite truth values .

The negation of a proposition involves changing its truth value to the opposite. For the proposition '2 + 1 = 3', which is true, its negation would be '2 + 1 ≠ 3', making the statement false .

'Kathmandu is the capital of Nepal' is a declarative sentence and qualifies as a proposition because it asserts a statement that can be either true or false. In this case, it is true because Kathmandu is indeed the capital of Nepal .

The logical expression for 'If it is below freezing then it is also snowing' is p → q. When p is true and q is false, the implication p → q is false because it implies a scenario where the antecedent is true, but the consequent fails to hold, breaking the condition required for a true implication .

'What time is it?' cannot be considered a valid proposition because propositions must be declarative statements that are either true or false. This is a question rather than a statement, lacking a truth value, and thus, not qualifying as a proposition .

The logical connective 'and' (∧) yields a true compound proposition only when both individual propositions are true. For 'p: It is below freezing' and 'q: It is snowing', the compound proposition 'p ∧ q' would only be true if both it is below freezing and it is snowing simultaneously. If either p or q is false, as when p is true and q is false, 'p ∧ q' evaluates to false .

A conjunction requires both propositions connected by 'and' to be true. '4 is even' is true, but '5 is even' is false since 5 is an odd number. Thus, the conjunction '4 is even and 5 is even' is false because one of the propositions is false .

You might also like