UNIVERSITY OF VICTORIA DECEMBER EXAMINATIONS MATH 122: Logic and Foundations

Similar documents
Department of Computer Science University at Albany, State University of New York Solutions to Sample Discrete Mathematics Examination I (Spring 2008)

MATH FINAL EXAM REVIEW HINTS

Lecture Notes 1 Basic Concepts of Mathematics MATH 352

MATH 13 SAMPLE FINAL EXAM SOLUTIONS

Final Exam Review. 2. Let A = {, { }}. What is the cardinality of A? Is

RED. Name: Instructor: Pace Nielsen Math 290 Section 1: Winter 2014 Final Exam

1. From Lewis Carroll: extract a pair of premises and finish the conclusion.

Do not open this exam until you are told to begin. You will have 75 minutes for the exam.

1. Consider the conditional E = p q r. Use de Morgan s laws to write simplified versions of the following : The negation of E : 5 points

DISCRETE MATH: FINAL REVIEW

MATH 114 Fall 2004 Solutions to practice problems for Final Exam

Math 230 Final Exam, Spring 2009

MATH 2200 Final Review

Math 109 September 1, 2016

MATH CSE20 Homework 5 Due Monday November 4

Chapter 1 : The language of mathematics.

MATH 13 FINAL EXAM SOLUTIONS

Notes for Math 290 using Introduction to Mathematical Proofs by Charles E. Roberts, Jr.

Homework #2 Solutions Due: September 5, for all n N n 3 = n2 (n + 1) 2 4

Math 230 Final Exam, Spring 2008

MAT246H1S - Concepts In Abstract Mathematics. Solutions to Term Test 1 - February 1, 2018

8. Given a rational number r, prove that there exist coprime integers p and q, with q 0, so that r = p q. . For all n N, f n = an b n 2

Contribution of Problems

Mathematics 220 Homework 4 - Solutions. Solution: We must prove the two statements: (1) if A = B, then A B = A B, and (2) if A B = A B, then A = B.

Problem 1: Suppose A, B, C and D are finite sets such that A B = C D and C = D. Prove or disprove: A = B.

Exam Practice Problems

CS 514, Mathematics for Computer Science Mid-semester Exam, Autumn 2017 Department of Computer Science and Engineering IIT Guwahati

(1) Which of the following are propositions? If it is a proposition, determine its truth value: A propositional function, but not a proposition.

Economics 204 Summer/Fall 2017 Lecture 1 Monday July 17, 2017

Contribution of Problems

Solutions to Homework Set 1

STUDY PROBLEMS FOR EXAM I CMSC 203 DISCRETE STRUCTURES. n (n +1)(2n +1), 6. j 2 = 1(1+1)(2 1+1) 6. k (k +1)(2k +1) 6

1. Given the public RSA encryption key (e, n) = (5, 35), find the corresponding decryption key (d, n).

1. (B) The union of sets A and B is the set whose elements belong to at least one of A

PSU MATH RELAYS LOGIC & SET THEORY 2017

Math 10850, fall 2017, University of Notre Dame

PROBLEMS ON CONGRUENCES AND DIVISIBILITY

Name: Mathematics 1C03

Section 0. Sets and Relations

0 Sets and Induction. Sets

2 Elementary number theory

MATH 363: Discrete Mathematics

Discrete Math I Exam II (2/9/12) Page 1

Mathematics 220 Midterm Practice problems from old exams Page 1 of 8

Mathematical Reasoning & Proofs

NORTHERN INDIA ENGINEERING COLLEGE, LKO D E P A R T M E N T O F M A T H E M A T I C S. B.TECH IIIrd SEMESTER QUESTION BANK ACADEMIC SESSION

Basic Proof Examples

Computer Science Foundation Exam

University of Ottawa CSI 2101 Midterm Test Instructor: Lucia Moura. February 9, :30 pm Duration: 1:50 hs. Closed book, no calculators

PRACTICE PROBLEMS: SET 1

The following techniques for methods of proofs are discussed in our text: - Vacuous proof - Trivial proof

MATH 420 FINAL EXAM J. Beachy, 5/7/97

WORKSHEET MATH 215, FALL 15, WHYTE. We begin our course with the natural numbers:

Midterm Exam Solution

Introduction to Proofs

Packet #2: Set Theory & Predicate Calculus. Applied Discrete Mathematics

There are seven questions, of varying point-value. Each question is worth the indicated number of points.

Quiz 1. Directions: Show all of your work and justify all of your answers.

MATH 3300 Test 1. Name: Student Id:

Logic. Facts (with proofs) CHAPTER 1. Definitions

MATH 215 Final. M4. For all a, b in Z, a b = b a.

Math1a Set 1 Solutions

1 Take-home exam and final exam study guide

Propositional Logic. What is discrete math? Tautology, equivalence, and inference. Applications

ASSIGNMENT 1 SOLUTIONS

Section 1.3. Let I be a set. When I is used in the following context,

MATH 201 Solutions: TEST 3-A (in class)

2k n. k=0. 3x 2 7 (mod 11) 5 4x 1 (mod 9) 2 r r +1 = r (2 r )

MTH202 Discrete Mathematics

*EXAM 1 Answer key* EECS 203 Spring 2016

Mat Week 8. Week 8. gcd() Mat Bases. Integers & Computers. Linear Combos. Week 8. Induction Proofs. Fall 2013

MATH 220 (all sections) Homework #12 not to be turned in posted Friday, November 24, 2017

Notation Index. gcd(a, b) (greatest common divisor) NT-16

Foundations of Mathematics MATH 220 FALL 2017 Lecture Notes

Student Responsibilities Week 8. Mat Section 3.6 Integers and Algorithms. Algorithm to Find gcd()

Writing Assignment 2 Student Sample Questions

Induction. Induction. Induction. Induction. Induction. Induction 2/22/2018

*EXAM 1* EECS 203 Spring 2016

Discrete Structures: Sample Questions, Exam 2, SOLUTIONS

Part IA Numbers and Sets

MATH 271 Summer 2016 Practice problem solutions Week 1

CSE 1400 Applied Discrete Mathematics Proofs

Algebraic structures I

5. Use a truth table to determine whether the two statements are equivalent. Let t be a tautology and c be a contradiction.

CSE 20 DISCRETE MATH. Winter

RED. Name: Math 290 Fall 2016 Sample Exam 3

Direct Proof Divisibility

Induction and Recursion

Lecture Notes on DISCRETE MATHEMATICS. Eusebius Doedel

Math Final Exam December 14, 2009 Page 1 of 5

WUCT121. Discrete Mathematics. Logic. Tutorial Exercises

Review Problems for Midterm Exam II MTH 299 Spring n(n + 1) 2. = 1. So assume there is some k 1 for which

Ch 4.2 Divisibility Properties

Preparing for the CS 173 (A) Fall 2018 Midterm 1

Discrete Mathematics. W. Ethan Duckworth. Fall 2017, Loyola University Maryland

Your quiz in recitation on Tuesday will cover 3.1: Arguments and inference. Your also have an online quiz, covering 3.1, due by 11:59 p.m., Tuesday.

Foundations of Mathematics

Midterm Preparation Problems

Computer Science Foundation Exam

Proofs. Methods of Proof Divisibility Floor and Ceiling Contradiction & Contrapositive Euclidean Algorithm. Reading (Epp s textbook)

Transcription:

UNIVERSITY OF VICTORIA DECEMBER EXAMINATIONS 2013 MATH 122: Logic and Foundations Instructor and section (check one): K. Mynhardt [A01] CRN 12132 G. MacGillivray [A02] CRN 12133 NAME: V00#: Duration: 3 Hours Answers should be written on the exam paper. The exam consists of 20 questions, for a total of 80 marks. Please show all of your work and justify your answers when appropriate. There are 10 pages (numbered), not including covers. Count the pages before beginning and report any discrepancy immediately to the invigilator. The only calculator permitted is the Sharp EL 510-R or EL-510RNB Total: 80 = 40

MATH 122 - December 2013 1 1. [5] Check the correct box (T = True, F = False) to the left of each statement. No reasons are necessary. If the universe is R, the statements x, y, xy 0 and y, x, xy 0 are logically equivalent. The negation of the statement all dogs bite is all dogs don t bite. If A and B are sets and A B, then A B. Let R be a binary relation on a set A and let a A. If R is not reflexive, then (a, a) / R. For any x R, x = x + 1. For functions f and g, (g f)(x) = g(x)f(x) whenever both sides are defined. Any two non-empty open intervals of real numbers have the same cardinality. If X is a countable set and x X, then X {x} is countable. If a, b, c are nonzero integers such that c a and c b, then gcd(a, b) c. If a, b, c, n are integers such that ac bc (mod n), then either a b (mod n) or c 0 (mod n). 2. [3] Let A = {a, b, {a, b, c}, {, { }}, {c}}. Check the correct box to the left of each statement. No reasons are necessary. {a, b} A {a, b} A { } A A = 8 P(A) = 32. A.

MATH 122 - December 2013 2 3. [2] Using basic known equivalences, show that ( p q) (p q) is logically equivalent to p. 4. [4] Prove the following logical argument, giving a list of statements and reasons. p q p r r s q s # statement reason 1. p q premise 2. p r premise 3. r s premise 4.

MATH 122 - December 2013 3 5. Let A, B and C be sets. (a) [3] Prove that A \ (B C c ) (A B c ) (A C). (b) [2] Use a Venn diagram to investigate whether these sets may, in fact, be equal. Make a conjecture. Do not prove it. 6. [3] Let a, b, c Z. Prove that if a b and b c then a c.

MATH 122 - December 2013 4 7. Let A and B be nonempty sets. Consider the statement: if A B = B A then A = B. (a) [1] Write the contrapositive of the given statement. (b) [3] Prove the statement in (a). (c) [1] What does the result in part (b) tell you about the original statement? (d) [1] Does the truth value of the original statement change if A =? Explain. 8. [4] Prove that the set of rational numbers is countable. Use a diagram to illustrate your proof.

MATH 122 - December 2013 5 9. [4] Consider the relation R defined on the set Z of integers by (a, b) R if and only if a b 5. Consider the statements below. If a statement is true, prove it. If it is false, give a counterexample. (a) R is reflexive. (b) R is symmetric. (c) R is antisymmetric. (d) R is transitive. 10. [3] Let f : A B and g : B C be functions. Prove that if g f is one-to-one then f is one-to-one.

MATH 122 - December 2013 6 11. Let f : R R be the function defined by f(x) = 4 + 2x + 3. (a) [1] Determine rng f. (b) [2] Give reasons why f is neither one-to-one nor onto. (c) [1] Explain how to replace the target R of f with a set B R so that the function g : R B, defined by g(x) = f(x) for all x R, is onto. (d) [1] Explain how to replace the domain R of g with a set A R so that the function h : A B, defined by h(x) = g(x) for all x A, is one-to-one and onto. (e) [2] Find a formula for h 1.

MATH 122 - December 2013 7 12. [3] Let a and b be integers and let p be a prime such that gcd(a, p 2 ) = p and gcd(b, p 3 ) = p 2. Determine gcd(ab, p 4 ). 13. [2] Use the Fundamental Theorem of Arithmetic to prove that every integer n 2 is divisible by a prime number. 14. [3] Determine the last digit of 33 66. 15. [3] Find the positive integer b if (122) b = (203) 7.

MATH 122 - December 2013 8 16. [5] Let a n be the sequence recursively defined by a 0 = 1, a 1 = 3, a n = 6a n 1 9a n 2 for n 2. Use strong induction to show that a n = ( 3) n for all integers n 0.

MATH 122 - December 2013 9 17. (a) [2] Assume that 1 + 2 + + k = (k+(1/2))2 for some k 1. Use this hypothesis to prove 2 that ((k + 1) + (1/2))2 1 + 2 + + (k + 1) =. 2 (b) [2] Is the statement 1 + 2 + + n = (n+(1/2))2 2 true for all integers n 1? Explain. 18. [2] Let a 1, a 2, a 3,... be the sequence recursively defined by a 1 = 1 and, for n > 1, a n = 3a n 1 +1. Find the first 4 terms of the sequence and conjecture a formula for a n. Do not prove it.

MATH 122 - December 2013 10 19. Let A = {a, b, c} and B = {u, x, y, z}. Answer the following questions. No reasons are necessary. (a) [1] There are functions from A to B. (b) [1] There are 1 1 functions from A to B. (c) [2] There are functions f from A to B such that f(a) = x or f(a) = y. 20. Let S = {1, 2,..., 1000}. (a) [2] Explain why the number of integers in S divisible by 11 is 1000/11 = 90. State a general result in which 11 is replaced by an arbitrary positive integer b. (b) [3] How many integers in S are divisible by at least one of the numbers 3, 5, 11? (c) [2] How many integers in S relatively prime to 165? / END OF EXAMINATION