*EXAM 1 makeup* EECS 203 Spring 2015

Similar documents
Today s Topics. Primes & Greatest Common Divisors

Mathematics for Computer Science/Software Engineering. Notes for the course MSM1F3 Dr. R. A. Wilson

WOLLONGONG COLLEGE AUSTRALIA. Diploma in Information Technology

Cardinality. The set of all finite strings over the alphabet of lowercase letters is countable. The set of real numbers R is an uncountable set.

CHAPTER 3. Methods of Proofs. 1. Logical Arguments and Formal Proofs

8 Divisibility and prime numbers

CS 103X: Discrete Structures Homework Assignment 3 Solutions

INTRODUCTORY SET THEORY

Chapter 4, Arithmetic in F [x] Polynomial arithmetic and the division algorithm.

6.2 Permutations continued

Kevin James. MTHSC 412 Section 2.4 Prime Factors and Greatest Comm

mod 10 = mod 10 = 49 mod 10 = 9.

CHAPTER 5. Number Theory. 1. Integers and Division. Discussion

Handout #1: Mathematical Reasoning

The last three chapters introduced three major proof techniques: direct,

Logic and Reasoning Practice Final Exam Spring Section Number

WOLLONGONG COLLEGE AUSTRALIA. Diploma in Information Technology

Proseminar on Semantic Theory Fall 2013 Ling 720. Problem Set on the Formal Preliminaries : Answers and Notes

Lecture 16 : Relations and Functions DRAFT

Elementary Number Theory and Methods of Proof. CSE 215, Foundations of Computer Science Stony Brook University

This chapter is all about cardinality of sets. At first this looks like a

Math 3000 Section 003 Intro to Abstract Math Homework 2

Basic Proof Techniques

Computing exponents modulo a number: Repeated squaring

ROCHESTER INSTITUTE OF TECHNOLOGY COURSE OUTLINE FORM COLLEGE OF SCIENCE. School of Mathematical Sciences

MACM 101 Discrete Mathematics I

Discrete Mathematics and Probability Theory Fall 2009 Satish Rao, David Tse Note 2

k, then n = p2α 1 1 pα k

CHAPTER SIX IRREDUCIBILITY AND FACTORIZATION 1. BASIC DIVISIBILITY THEORY

GREATEST COMMON DIVISOR

8 Primes and Modular Arithmetic

Math 319 Problem Set #3 Solution 21 February 2002

15 Prime and Composite Numbers

Answer Key for California State Standards: Algebra I

THE TURING DEGREES AND THEIR LACK OF LINEAR ORDER

Course Syllabus. MATH 1350-Mathematics for Teachers I. Revision Date: 8/15/2016

Discrete Mathematics Problems

Factoring Polynomials

WRITING PROOFS. Christopher Heil Georgia Institute of Technology

Homework until Test #2

3. Mathematical Induction

Math Workshop October 2010 Fractions and Repeating Decimals

MATH 289 PROBLEM SET 4: NUMBER THEORY

Chapter 3. if 2 a i then location: = i. Page 40

GCDs and Relatively Prime Numbers! CSCI 2824, Fall 2014!

Full and Complete Binary Trees

SMALL SKEW FIELDS CÉDRIC MILLIET

Quotient Rings and Field Extensions

it is easy to see that α = a

Continued Fractions and the Euclidean Algorithm

HOMEWORK 5 SOLUTIONS. n!f n (1) lim. ln x n! + xn x. 1 = G n 1 (x). (2) k + 1 n. (n 1)!

I. GROUPS: BASIC DEFINITIONS AND EXAMPLES

Grade 7/8 Math Circles Fall 2012 Factors and Primes

1 if 1 x 0 1 if 0 x 1

Automata and Formal Languages

Number Theory. Proof. Suppose otherwise. Then there would be a finite number n of primes, which we may

On the generation of elliptic curves with 16 rational torsion points by Pythagorean triples

The Division Algorithm for Polynomials Handout Monday March 5, 2012

How To Understand The Difference Between Economic Theory And Set Theory

God created the integers and the rest is the work of man. (Leopold Kronecker, in an after-dinner speech at a conference, Berlin, 1886)

1. Prove that the empty set is a subset of every set.

Grade 6 Math Circles March 10/11, 2015 Prime Time Solutions

= = 3 4, Now assume that P (k) is true for some fixed k 2. This means that

Basic Concepts of Point Set Topology Notes for OU course Math 4853 Spring 2011

Session 6 Number Theory

Supplemental Worksheet Problems To Accompany: The Pre-Algebra Tutor: Volume 1 Section 1 Real Numbers

The Prime Numbers. Definition. A prime number is a positive integer with exactly two positive divisors.

This asserts two sets are equal iff they have the same elements, that is, a set is determined by its elements.

Algebraic Structures II

4. CLASSES OF RINGS 4.1. Classes of Rings class operator A-closed Example 1: product Example 2:

CHAPTER 7 GENERAL PROOF SYSTEMS

Formal Languages and Automata Theory - Regular Expressions and Finite Automata -

Lecture 1. Basic Concepts of Set Theory, Functions and Relations

College Prep. Geometry Course Syllabus

WHAT ARE MATHEMATICAL PROOFS AND WHY THEY ARE IMPORTANT?

CONTENTS 1. Peter Kahn. Spring 2007

Georg Cantor ( ):

5544 = = = Now we have to find a divisor of 693. We can try 3, and 693 = 3 231,and we keep dividing by 3 to get: 1

PROBLEM SET 6: POLYNOMIALS

Mathematical Induction

DIVISIBILITY AND GREATEST COMMON DIVISORS

SUM OF TWO SQUARES JAHNAVI BHASKAR

Math 4310 Handout - Quotient Vector Spaces

The Euclidean Algorithm

SUBGROUPS OF CYCLIC GROUPS. 1. Introduction In a group G, we denote the (cyclic) group of powers of some g G by

Set Theory Basic Concepts and Definitions

a 11 x 1 + a 12 x a 1n x n = b 1 a 21 x 1 + a 22 x a 2n x n = b 2.

2.4 Real Zeros of Polynomial Functions

Introduction to Finite Fields (cont.)

If A is divided by B the result is 2/3. If B is divided by C the result is 4/7. What is the result if A is divided by C?

MASSACHUSETTS INSTITUTE OF TECHNOLOGY 6.436J/15.085J Fall 2008 Lecture 5 9/17/2008 RANDOM VARIABLES

z 0 and y even had the form

7. Some irreducible polynomials

9. POLYNOMIALS. Example 1: The expression a(x) = x 3 4x 2 + 7x 11 is a polynomial in x. The coefficients of a(x) are the numbers 1, 4, 7, 11.

minimal polyonomial Example

Section 4.2: The Division Algorithm and Greatest Common Divisors

11 Ideals Revisiting Z

DEFINABLE TYPES IN PRESBURGER ARITHMETIC

ABSTRACT ALGEBRA: A STUDY GUIDE FOR BEGINNERS

( ) which must be a vector

Transcription:

*EXAM 1 makeup* EECS 203 Spring 2015 Name (Print): uniqname (Print): Instructions. You have 110 minutes to complete this exam. You may have one page of notes (8.5x11.5 two-sided) but may not use any other sources of information, including electronic devices, textbooks, or notes. Leave at least one seat between yourself and other students. Please write clearly. If we cannot read your writing, it will not be graded. Honor Code. This course operates under the rules of the College of Engineering Honor Code. Your signature endorses the pledge below. After you finish your exam, please sign on the line below: I have neither given nor received aid on this examination, nor have I concealed any violations of the Honor Code. Problem # Points 1 /15 2&3 /10 4 /10 5 /15 6 /12 7 /16 8 /10 9 /12 Total /100 Page 1 of 10

1. Logic and sets (15 points) In this section, each question will have zero or more correct answers. You are to circle each correct answer and leave uncircled each incorrect answer. [3 points each, -1 per incorrect circle/non-circle, minimum 0 points per problem] a) Circle each of the following that is a tautology. (a b) ( b a) (a b) ( b a) (a b) a (a b c) (a c b) b) Circle each of the following that is satisfiable. (a b ) (a b) ( a b) ( a b) (a b) ( b a) (a b) a (a b) ( b) ( a) c) Circle each of the following which are tautologies. (A (A B) ( B = A )) A B A + B ((A B) = {φ}) = ( A = B ) (A B = {1}) ((1 A) (1 B)) (A C = B C) (A = B) Page 2 of 10

d) We define the following predicates: A(x): x is an adult D(x): x hates driving M(x): x is Michigander S(x): x is a sixty year-old Consider the statement Every adult that hates driving is either a Michigander or a sixty year-old. Zero or more of the expressions below are accurate translations of this statement. Circle each of the following which are correct translations, and note that the domain of discourse of x is the set of people. xa(x) D(x) (M(x) S(x)) x(a(x) D(x)) (S(x) M(x)) x((a(x) D(x)) M(x)) ((A(x) D(x)) S(x)) xa(x) D(x) (M(x) S(x)) e) Circle each of the following statements that are true The set Z has the same cardinality as N. The set R has the same cardinality as N. The set Q has the same cardinality as N. The set {1, 2, 3} and the set N are both countable. The set Q+ and R are both uncountable. (Here, N denotes the set of natural numbers, Z denotes the set of integers, R denotes the set of real numbers, Q denotes the set of rational numbers, and Q+ denotes the set of positive rational numbers.) Page 3 of 10

2. More Sets (4 points) (No partial credit will be given on this problem.) Shade the Venn diagram below to show (B A) (C B) (B C) 3. Functions (6 points) In this section, each question will have zero or more correct answers. You are to circle each correct answer and leave uncircled each incorrect answer. [3 points each, -1 per incorrect circle/non-circle, minimum 0 points per problem] a) Say that f is a function from A B where A and B are both subsets of (the natural numbers). If B > A then you can conclude that f is not onto f is not one-to-one f is a bijection f is not a bijection The cardinality of A is greater than or equal to the cardinality of the range of f. b) Say that f is a function from A B where A and B are both subsets of (the natural numbers). If B A then you can conclude that f is not onto f is not one-to-one f is a bijection f is not a bijection The cardinality of A is greater than or equal to the cardinality of the range of f. Page 4 of 10

4. Growth of functions and infinite sets (10 points) In this section, each question will have zero or more correct answers. You are to circle each correct answer and leave uncircled each incorrect answer. Each problem is worth 2 points and you only get the points if you circle all of the correct answers and none of the wrong ones. a) log(x)+x is: (X) O(X 2 ) (X) (log(x)) O(log(X)) b) Consider the following pseudo code: for (i:=1 to n) x=1; while(x<n) x=x*2; This algorithm has a run time of (n) (n 2 ) (log(n)) O(n 3 ) O(n/2+1) c) X 4 +12X 2 log(x)+x is: (X 4 ) O(X 4 ) (X 4 ) (X 3 ) (X 3 ) d) If A and B are both countably infinite sets, then A B could be Countably infinite Uncountably infinite Finite e) If A and B are both uncountably infinite sets, then A B could be Countably infinite Uncountably infinite Finite Page 5 of 10

5. Number theory questions (15 points) Provide your answers below and provide work when requested. Partial credit will not be given for incorrect answers (though it might be if you get the right answer without clear work where it is required). a. Compute 7 13 mod 10. Show your work. [3] b. Convert 99 to base 16. [3] c. What is gcd(1335,2700)? [3] d. If the product of two integers is 2 4 3 4 5 2 7 2 and their greatest common divisor is 2 3 3 4 5, what is their least common multiple? [3] e. Show that 101 is prime. [3] Page 6 of 10

6. Proof by induction (12 points) Use induction to prove Prove that 3 divides n 3 + 2n whenever n is a positive integer. Theorem: Proof: Base case: Induction step: Page 7 of 10

7. Rules of logic (16 points) Prove the following logical equivalence (in two different ways): (p (q r)) (p q r) (a) Use a truth table [6] (b) Write a formal proof, justifying each line [10] Page 8 of 10

8. Integer proof (10 points) Let the domain of discourse be the integers. Give a complete proof, with careful justification, for the following statement. a b a 2 4b 2 0 Page 9 of 10

9. Other techniques (12 points, 6 each) a. Find a bijection from + to. b. Prove that the product of any three consecutive integers is divisible by 6. Page 10 of 10