THE UNIVERSITY OF SYDNEY
MATH3066 ALGEBRA AND LOGIC
This assignment comprises a total of 60 marks, and is worth 15% of the overall
assessment. It should be completed, accompanied by a signed cover sheet, and handed
in at the lecture on Thursday 17 April. Acknowledge any sources or assistance.
1. Construct truth tables for each of the following wﬀs:
(P ∨ Q) ∧ R
(P ∧ R ) ∨ Q
Use your tables to explain brieﬂy why
(P ∨ Q) ∧ R
(P ∧ R ) ∨ Q ,
(P ∧ R ) ∨ Q
(P ∨ Q) ∧ R .
2. Use truth values to determine which one of the following wﬀs is a theorem (in
the sense of always being true).
P ⇒ Q⇒R
P ⇒Q ⇒R
P ⇒Q ⇒R ⇒ P ⇒ Q⇒R
For the one that isn’t a theorem, produce all counterexamples. For the one
that is a theorem, provide a formal proof also using rules of deduction in the
Propositional Calculus (but avoiding derived rules of deduction).
3. Use the rules of deduction in the Propositional Calculus (but avoiding derived
rules) to ﬁnd formal proofs for the following sequents:
P ⇒ (Q ⇒ R ) , ∼ R
(P ∨ Q) ∧ (P ∨ R )
P ∨ (Q ∧ R )
P ∨ (Q ∧ R ) ⊢ (P ∨ Q) ∧ (P ∨ R )
4. Let W = W (P1 , . . . , Pn ) be a proposition built from variables P1 , . . . , Pn . Say
that W is even if
W ≡ W ( ∼ P1 , ∼ P2 , . . . , ∼ Pn ) .
Say that W is odd if
W ≡ ∼ W ( ∼ P1 , ∼ P2 , . . . , ∼ Pn ) .
(a) Use truth tables to decide which of the following are even or odd:
(i) W = (P1 ⇔ P2 )
(ii) W = (P1 ⇔ P2 ) ⇔ P3
(b) Use De Morgan’s laws and logical equivalences to explain why the following
proposition is odd:
P1 ∨ P2 ∧ P3 ∨ P1 ∧ P2
(c) Explain why the number of truth tables that correspond to propositions
in variables P1 , . . . , Pn is 22 , and, of those, 22
tables correspond to
2 n −1
tables correspond to odd propositions.
even propositions, and 2
5. Evaluate each of
and Z14 , or explain brieﬂy why the given fraction does not exist.
6. Prove that the only integer solution to the equation
x2 + y 2 = 3 z 2
is x = y = z = 0.
[Hint: ﬁrst interpret this equation in Zn for an appropriate n.]
Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.
You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.Read more
Each paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.Read more
Thanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.Read more
Your email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.Read more
By sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.Read more