# Discrete Mathematics Lecture 2 Logic of Quantified Statements, Methods of Proof, Set Theory, Number Theory Introduction and General Good Times

Save this PDF as:

Size: px
Start display at page:

Download "Discrete Mathematics Lecture 2 Logic of Quantified Statements, Methods of Proof, Set Theory, Number Theory Introduction and General Good Times"

## Transcription

1 Discrete Mathematics Lecture 2 Logic of Quantified Statements, Methods of Proof, Set Theory, Number Theory Introduction and General Good Times Harper Langston New York University

2 Predicates A predicate is a sentence that contains a finite number of variables and becomes a statement when specific values are substituted for the variables The domain of a predicate variable is a set of all values that may be substituted in place of the variable P(x): x is a student at NYU

3 Predicates If P(x) is a predicate and x has domain D, the truth set of P(x) is the set of all elements in D that make P(x) true when substituted for x. The truth set is denoted as: {x D P(x)} Let P(x) and Q(x) be predicates with the common domain D. P(x) Q(x) means that every element in the truth set of P(x) is in the truth set of Q(x). P (x) Q(x) means that P(x) and Q(x) have identical truth sets

4 Universal Quantifier Let P(x) be a predicate with domain D. A universal statement is a statement in the form x D, P(x). It is true iff P(x) is true for every x from D. It is false iff P(x) is false for at least one x from D. A value of x form which P(x) is false is called a counterexample to the universal statement Examples D = {1, 2, 3, 4, 5}: x D, x² >= x x R, x² >= x Method of exhaustion

5 Existential Quantifier Let P(x) be a predicate with domain D. An existential statement is a statement in the form x D, P(x). It is true iff P(x) is true for at least one x from D. It is false iff P(x) is false for every x from D. Examples: m Z, m² = m E = {5, 6, 7, 8, 9}, x E, m² = m

6 Universal Conditional Statement Universal conditional statement x, if P(x) then Q(x) : x R, if x > 2, then x 2 > 4 Writing Conditional Statements Formally Universal conditional statement is called vacuously true or true by default iff P(x) is false for every x in D

7 Negation of Quantified Statements The negation of a universally quantified statement x D, P(x) is x D, ~P(x) All balls in the bowl are red Vacuosly True Example for Universal Statements The negation of an existentially quantified statement x D, P(x) is x D, ~P(x) The negation of a universal conditional statement x D, P(x) Q(x) is x D, P(x) ~Q(x)

8 Exercises Write negations for each of the following statements: All dinosaurs are extinct No irrational numbers are integers Some exercises have answers All COBOL programs have at least 20 lines The sum of any two even integers is even The square of any even integer is even Let P(x) be some predicate defined for all real numbers x, let: r = x Z, P(x); s = x Q, P(x); t = x R, P(x) Find P(x) (but not x Z) so that r is true, but s and t are false Find P(x) so that both r and s are true, but t is false

9 Variants of Conditionals Contrapositive Converse Inverse Generalization of relationships from before Examples

10 Necessary and Sufficient Conditions, Only If x, r(x) is a sufficient condition for s(x) means: x, if r(x) then s(x) x, r(x) is a necessary condition for s(x) means: x, if s(x) then r(x) x, r(x) only if s(x) means: x, if r(x) then s(x)

11 Multiply Quantified Statements For all positive numbers x, there exists number y such that y < x There exists number x such that for all positive numbers y, y < x For all people x there exists person y such that x loves y There exists person x such that for all people y, x loves y Definition of mathematical limit (pg 47) Order of quantifiers matters in some (most) cases (review pg 50)

12 Negation of Multiply Quantified Statements The negation of x, y, P(x, y) is logically equivalent to x, y, ~P(x, y) The negation of x, y, P(x, y) is logically equivalent to x, y, ~P(x, y)

13 Prolog Programming Language Can use parts of logic as programming lang. Simple statements: isabove(g, b), color(g, gray) Quantified statements: if isabove(x, Y) and isabove(y, Z) then isabove(x, Z) Questions:?color(b, blue),?isabove(x, w)

14 Exercises Determine whether a pair of quantified statements have the same truth values x D, (P(x) Q(x)) vs ( x D, P(x)) ( x D, Q(x)) x D, (P(x) Q(x)) vs ( x D, P(x)) ( x D, Q(x)) x D, (P(x) Q(x)) vs ( x D, P(x)) ( x D, Q(x)) x D, (P(x) Q(x)) vs ( x D, P(x)) ( x D, Q(x))

15 Arguments with Quantified Statements Rule of universal instantiation: if some property is true of everything in the domain, then this property is true for any subset in the domain Universal Modus Ponens: Premises: ( x, if P(x) then Q(x)); P(a) for some a Conclusion: Q(a) Universal Modus Tollens: Premises: ( x, if P(x) then Q(x)); ~Q(a) for some a Conclusion: ~P(a) Converse and inverse errors

16 Validity of Arguments using Diagrams Premises: All human beings are mortal; Zeus is not mortal. Conclusion: Zeus is not a human being Premises: All human beings are mortal; Felix is mortal. Conclusion: Felix is a human being Premises: No polynomial functions have horizontal asymptotes; This function has a horizontal asymptote. Conclusion: This function is not a polynomial

17 Proof and Counterexample Discovery and proof Even and odd numbers number n from Z is called even if k Z, n = 2k number n from Z is called odd if k Z, n = 2k + 1 Prime and composite numbers number n from Z is called prime if r, s Z, n = r * s r = 1 s = 1 number n from Z is called composite if r, s Z, n = r * s r > 1 s > 1

18 Proving Statements Constructive proofs for existential statements Example: Show that there is a prime number that can be written as a sum of two perfect squares Universal statements: method of exhaustion and generalized proof Direct Proof: Express the statement in the form: x D, P(x) Q (x) Take an arbitrary x from D so that P(x) is true Show that Q(x) is true based on previous axioms, theorems, P(x) and rules of valid reasoning

19 Proof Show that if the sum of any two integers is even, then so is their difference Common mistakes in a proof Arguing from example Using the same symbol for different variables Jumping to a conclusion Begging the question

20 Counterexample To show that the statement in the form x D, P (x) Q(x) is not true one needs to show that the negation, which has a form x D, P(x) ~Q (x) is true. x is called a counterexample. Famous conjectures: Fermat big theorem: there are no non zero integers x, y, z such that x n + y n = z n, for n > 2 Goldbach conjecture: any even integer can be represented as a sum of two prime numbers Euler s conjecture: no three perfect fourth powers add up to another perfect fourth power

21 Exercises Any product of four consecutive positive integers is one less than a perfect square To check that an integer is a prime it is sufficient to check that n is not divisible by any prime less than or equal to n If p is a prime, is 2 p 1 a prime too? Does 15x 3 + 7x 2 8x 27 have an integer zero?

22 Rational Numbers Real number r is called rational if p,q Z, r = p / q All real numbers which are not rational are called irrational Every integer is a rational number Sum of any two rational numbers is a rational number

23 Divisibility Integer n is a divisible by an integer d, when k Z, n = d * k Notation: d n Synonymous statements: n is a multiple of d d is a factor of n d is a divisor of n d divides n

24 Divisibility Divisibility is transitive: for all integers a, b, c, if a divides b and b divides c, then a divides c Any integer greater than 1 is divisible by a prime number If a b and b a, does it mean a = b? Any integer can be uniquely represented in the standard factored form: n = p 1 e 1 * p 2 e 2 * * p k e k, p 1 < p 2 < < p k, p i is a prime number

25 Quotient and Remainder Given any integer n and positive integer d, there exist unique integers q and r, such that n = d * q + r and 0 r < d Operations: div quotient, mod remainder Parity of an integer refers to the property of an integer to be even or odd Any two consecutive integers have opposite parity

26 Exercises Show that a product of any four consecutive integers is divisible by 8 Show that the sum of any four consecutive integers is never divisible by 4 Show that any prime number greater than 3 has remainder 1 or 5 when divided by 6

27 Floor and Ceiling For any real number x, the floor of x, written x, is the unique integer n such that n x < n + 1. It is the max of all ints x. For any real number x, the ceiling of x, written x, is the unique integer n such that n 1 < x n. What is n? If x is an integer, what are x and x + 1/2? Is x + y = x + y? For all real numbers x and all integers m, x + m = x + m For any integer n, n/2 is n/2 for even n and (n 1)/2 for odd n For positive integers n and d, n = d * q + r, where d = n / d and r = n d * n / d with 0 r < d

28 Exercises Is it true that for all real numbers x and y: x y = x y x 1 = x 1 x + y = x + y x + 1 = x + 1 Show that for all real x, x/2 /2 = x/4

29 Contradiction Proof by contradiction Suppose the statement to be proved is false Show that this supposition leads logically to a contradiction Conclude that the statement to be proved is true Square root of 2 is irrational There are infinite primes

30 Contraposition Proof by contraposition Prepare the statement in the form: x D, P(x) Q(x) Rewrite this statement in the form: x D, ~Q (x) ~P(x) Prove the contrapositive by a direct proof Close relationship between proofs by contradiction and contraposition

31 Exercise Show that for integers n, n 2 is odd if and only if n is odd Show that for all integers n and all prime numbers p, if n 2 is divisible by p, then n is divisible by p For all integers m and n, if m+n is even then m and n are both even or m and n are both odd The product of any non zero rational number and any irrational number is irrational If a, b, and c are integers and a 2 +b 2 =c 2, must at least one of a and b be even? Can you find two irrational numbers so that one raised to the power of another would produce a rational number?

32 Classic Number Theory Results Square root of 2 is irrational For any integer a and any integer k > 1, if k a, then k does not divide (a + 1) The set of prime numbers is infinite

33 Exercises Show that a square of 3 is irrational for any integer a, 4 does not divide (a 2 2) if n is not a perfect square then its square is irrational is irrational log 2 (3) is irrational every integer greater than 11 is a sum of two composite numbers if p 1, p 2,, p n are distinct prime numbers with p 1 = 2, then p 1 p 2 p n + 1 has remainder 3 when divided by 4 for all integers n, if n > 2, then there exists prime number p, such that n < p < n!

34 Basics of Set Theory Set and element are undefined notions in the set theory and are taken for granted Set notation: {1, 2, 3}, {{1, 2}, {3}, {1, 2, 3}}, {1, 2, 3, },, {x R 3 < x < 6} Set A is called a subset of set B, written as A B, when x, x A x B. What is negation? A is a proper subset of B, when A is a subset of B and x B and x A Visual representation of the sets Distinction between and

35 Set Operations Set A equals set B, iff every element of set A is in set B and vice versa. (A = B A B /\ B A) Proof technique for showing sets equality (example later for DeMorgan s Law) Union of two sets is a set of all elements that belong to at least one of the sets (notation on board) Intersection of two sets is a set of all elements that belong to both sets (notation on board) Difference of two sets is a set of elements in one set, but not the other (notation on board) Complement of a set is a difference between universal set and a given set (notation on board) Examples

36 Empty Set S = {x R, x 2 = 1} X = {1, 3}, Y = {2, 4}, C = X Y (X and Y are disjoint) Empty set has no elements Empty set is a subset of any set There is exactly one empty set Properties of empty set: A = A, A = A A c =, A A c = U U c =, c = U

37 Set Partitioning Two sets are called disjoint if they have no elements in common Theorem: A B and B are disjoint A collection of sets A 1, A 2,, A n is called mutually disjoint when any pair of sets from this collection is disjoint A collection of non empty sets {A 1, A 2,, A n } is called a partition of a set A when the union of these sets is A and this collection consists of mutually disjoint sets

38 Power Set Power set of A is the set of all subsets of A Example on board Theorem: if A B, then P(A) P(B) Theorem: If set X has n elements, then P(X) has 2 n elements

39 Cartesian Products Ordered n tuple is a set of ordered n elements. Equality of n tuples Cartesian product of n sets is a set of n tuples, where each element in the n tuple belongs to the respective set participating in the product

40 Set Properties Inclusion of Intersection: A B A and A B B Inclusion in Union: A A B and B A B Transitivity of Inclusion: (A B B C) A C Set Definitions: x X Y x X y Y x X Y x X y Y x X Y x X y Y x X c x X (x, y) X Y x X y Y

41 Set Identities Commutative Laws: A B = A B and A B = B A Associative Laws: (A B) C = A (B C) and (A B) C = A (B C) Distributive Laws: A (B C) = (A B) (A C) and A (B C) = (A B) (A C) Intersection and Union with universal set: A U = A and A U = U Double Complement Law: (A c ) c = A Idempotent Laws: A A = A and A A = A De Morgan s Laws: (A B) c = A c B c and (A B) c = A c B c Absorption Laws: A (A B) = A and A (A B) = A Alternate Representation for Difference: A B = A B c Intersection and Union with a subset: if A B, then A B = A and A B = B

42 Proving Equality First show that one set is a subset of another To show this, choose an arbitrary particular element as with direct proofs (call it x), and show that if x is in A then x is in B to show that A is a subset of B Example for DeMorgan s (step through all cases)

43 Disproofs, Counterexamples and Algebraic Proofs Is is true that (A B) (B C) = A C? (No via counterexample) Show that (A B) C = (A C) (B C) (Can do with an algebraic proof, slightly different)

44 Russell s Paradox Set of all integers, set of all abstract ideas Consider S = {A, A is a set and A A} Is S an element of S? Barber puzzle: a male barber shaves all those men who do not shave themselves. Does the barber shave himself? Consider S = {A U, A A}. Is S S? Godel: No way to rigorously prove that mathematics is free of contradictions. ( This statement is not provable is true but not provable) (consistency of an axiomatic system is not provable within that system)

45 Halting Problem There is no computer algorithm that will accept any algorithm X and data set D as input and then will output halts or loops forever to indicate whether X terminates in a finite number of steps when X is run with data set D. Proof is by contradiction (Read this pg 222, and we will review later)

46 Generic Functions A function f: X Y is a relationship between elements of X to elements of Y, when each element from X is related to a unique element from Y X is called domain of f, range of f is a subset of Y so that for each element y of this subset there exists an element x from X such that y = f(x) Sample functions: f : R R, f(x) = x 2 f : Z Z, f(x) = x + 1 f : Q Z, f(x) = 2

47 Generic Functions Arrow diagrams for functions Non functions Equality of functions: f(x) = x and g(x) = sqrt(x 2 ) Identity function Logarithmic function

48 One to One Functions Function f : X Y is called one to one (injective) when for all elements x 1 and x 2 from X if f(x 1 ) = f(x 2 ), then x 1 = x 2 Determine whether the following functions are one to one: f : R R, f(x) = 4x 1 g : Z Z, g(n) = n 2 Hash functions

49 Onto Functions Function f : X Y is called onto (surjective) when given any element y from Y, there exists x in X so that f(x) = y Determine whether the following functions are onto: f : R R, f(x) = 4x 1 f : Z Z, g(n) = 4n 1 Bijection is one to one and onto Reversing strings function is bijective

50 Inverse Functions If f : X Y is a bijective function, then it is possible to define an inverse function f 1 : Y X so that f 1 (y) = x whenever f(x) = y Find an inverse for the following functions: String reverse function f : R R, f(x) = 4x 1 Inverse function of a bijective function is a bijective function itself

51 Composition of Functions Let f : X Y and g : Y Z, let range of f be a subset of the domain of g. The we can define a composition of g o f : X Z Let f,g : Z Z, f(n) = n + 1, g(n) = n^2. Find f o g and g o f. Are they equal? Composition with identity function Composition with an inverse function Composition of two one to one functions is oneto one Composition of two onto functions is onto

52 Pigeonhole Principle If n pigeons fly into m pigeonholes and n > m, then at least one hole must contain two or more pigeons A function from one finite set to a smaller finite set cannot be one to one In a group of 13 people must there be at least two who have birthday in the same month? A drawer contains 10 black and 10 white socks. How many socks need to be picked to ensure that a pair is found? Let A = {1, 2, 3, 4, 5, 6, 7, 8}. If 5 integers are selected must at least one pair have sum of 9?

53 Pigeonhole Principle Generalized Pigeonhole Principle: For any function f : X Y acting on finite sets, if n(x) > k * N(Y), then there exists some y from Y so that there are at least k + 1 distinct x s so that f(x) = y If n pigeons fly into m pigeonholes, and, for some positive k, m >k*m, then at least one pigeonhole contains k+1 or more pigeons In a group of 85 people at least 4 must have the same last initial. There are 42 students who are to share 12 computers. Each student uses exactly 1 computer and no computer is used by more than 6 students. Show that at least 5 computers are used by 3 or more students.

54 Cardinality Cardinality refers to the size of the set Finite and infinite sets Two sets have the same cardinality when there is bijective function associating them Cardinality is is reflexive, symmetric and transitive Countable sets: set of all integers, set of even numbers, positive rationals (Cantor diagonalization) Set of real numbers between 0 and 1 has same cardinality as set of all reals Computability of functions

### INTRODUCTORY SET THEORY

M.Sc. program in mathematics INTRODUCTORY SET THEORY Katalin Károlyi Department of Applied Analysis, Eötvös Loránd University H-1088 Budapest, Múzeum krt. 6-8. CONTENTS 1. SETS Set, equal sets, subset,

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

Mathematics for Computer Science/Software Engineering Notes for the course MSM1F3 Dr. R. A. Wilson October 1996 Chapter 1 Logic Lecture no. 1. We introduce the concept of a proposition, which is a statement

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

Basic Concepts of Point Set Topology Notes for OU course Math 4853 Spring 2011 A. Miller 1. Introduction. The definitions of metric space and topological space were developed in the early 1900 s, largely

### Predicate Logic. Example: All men are mortal. Socrates is a man. Socrates is mortal.

Predicate Logic Example: All men are mortal. Socrates is a man. Socrates is mortal. Note: We need logic laws that work for statements involving quantities like some and all. In English, the predicate is

### Mathematics Review for MS Finance Students

Mathematics Review for MS Finance Students Anthony M. Marino Department of Finance and Business Economics Marshall School of Business Lecture 1: Introductory Material Sets The Real Number System Functions,

### Lecture Notes in Discrete Mathematics. Marcel B. Finan Arkansas Tech University c All Rights Reserved

Lecture Notes in Discrete Mathematics Marcel B. Finan Arkansas Tech University c All Rights Reserved 2 Preface This book is designed for a one semester course in discrete mathematics for sophomore or junior

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

CHAPTER Cardinality of Sets This chapter is all about cardinality of sets At first this looks like a very simple concept To find the cardinality of a set, just count its elements If A = { a, b, c, d },

### You know from calculus that functions play a fundamental role in mathematics.

CHPTER 12 Functions You know from calculus that functions play a fundamental role in mathematics. You likely view a function as a kind of formula that describes a relationship between two (or more) quantities.

### A Course in Discrete Structures. Rafael Pass Wei-Lung Dustin Tseng

A Course in Discrete Structures Rafael Pass Wei-Lung Dustin Tseng Preface Discrete mathematics deals with objects that come in discrete bundles, e.g., 1 or 2 babies. In contrast, continuous mathematics

### Copy in your notebook: Add an example of each term with the symbols used in algebra 2 if there are any.

Algebra 2 - Chapter Prerequisites Vocabulary Copy in your notebook: Add an example of each term with the symbols used in algebra 2 if there are any. P1 p. 1 1. counting(natural) numbers - {1,2,3,4,...}

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

4. CLASSES OF RINGS 4.1. Classes of Rings Normally we associate, with any property, a set of objects that satisfy that property. But problems can arise when we allow sets to be elements of larger sets

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

Chapter 4, Arithmetic in F [x] Polynomial arithmetic and the division algorithm. We begin by defining the ring of polynomials with coefficients in a ring R. After some preliminary results, we specialize

### CHAPTER SIX IRREDUCIBILITY AND FACTORIZATION 1. BASIC DIVISIBILITY THEORY

January 10, 2010 CHAPTER SIX IRREDUCIBILITY AND FACTORIZATION 1. BASIC DIVISIBILITY THEORY The set of polynomials over a field F is a ring, whose structure shares with the ring of integers many characteristics.

### MA651 Topology. Lecture 6. Separation Axioms.

MA651 Topology. Lecture 6. Separation Axioms. This text is based on the following books: Fundamental concepts of topology by Peter O Neil Elements of Mathematics: General Topology by Nicolas Bourbaki Counterexamples

### THE TURING DEGREES AND THEIR LACK OF LINEAR ORDER

THE TURING DEGREES AND THEIR LACK OF LINEAR ORDER JASPER DEANTONIO Abstract. This paper is a study of the Turing Degrees, which are levels of incomputability naturally arising from sets of natural numbers.

### Factoring Polynomials

Factoring Polynomials Sue Geller June 19, 2006 Factoring polynomials over the rational numbers, real numbers, and complex numbers has long been a standard topic of high school algebra. With the advent

### Math/Stats 425 Introduction to Probability. 1. Uncertainty and the axioms of probability

Math/Stats 425 Introduction to Probability 1. Uncertainty and the axioms of probability Processes in the real world are random if outcomes cannot be predicted with certainty. Example: coin tossing, stock

### Propositional Logic. A proposition is a declarative sentence (a sentence that declares a fact) that is either true or false, but not both.

irst Order Logic Propositional Logic A proposition is a declarative sentence (a sentence that declares a fact) that is either true or false, but not both. Are the following sentences propositions? oronto

### WOLLONGONG COLLEGE AUSTRALIA. Diploma in Information Technology

First Name: Family Name: Student Number: Class/Tutorial: WOLLONGONG COLLEGE AUSTRALIA A College of the University of Wollongong Diploma in Information Technology Mid-Session Test Summer Session 008-00

### Understanding Basic Calculus

Understanding Basic Calculus S.K. Chung Dedicated to all the people who have helped me in my life. i Preface This book is a revised and expanded version of the lecture notes for Basic Calculus and other

### The Set Data Model CHAPTER 7. 7.1 What This Chapter Is About

CHAPTER 7 The Set Data Model The set is the most fundamental data model of mathematics. Every concept in mathematics, from trees to real numbers, is expressible as a special kind of set. In this book,

### To define function and introduce operations on the set of functions. To investigate which of the field properties hold in the set of functions

Chapter 7 Functions This unit defines and investigates functions as algebraic objects. First, we define functions and discuss various means of representing them. Then we introduce operations on functions

### A Second Course in Mathematics Concepts for Elementary Teachers: Theory, Problems, and Solutions

A Second Course in Mathematics Concepts for Elementary Teachers: Theory, Problems, and Solutions Marcel B. Finan Arkansas Tech University c All Rights Reserved First Draft February 8, 2006 1 Contents 25

### WHAT ARE MATHEMATICAL PROOFS AND WHY THEY ARE IMPORTANT?

WHAT ARE MATHEMATICAL PROOFS AND WHY THEY ARE IMPORTANT? introduction Many students seem to have trouble with the notion of a mathematical proof. People that come to a course like Math 216, who certainly

### PUTNAM TRAINING POLYNOMIALS. Exercises 1. Find a polynomial with integral coefficients whose zeros include 2 + 5.

PUTNAM TRAINING POLYNOMIALS (Last updated: November 17, 2015) Remark. This is a list of exercises on polynomials. Miguel A. Lerma Exercises 1. Find a polynomial with integral coefficients whose zeros include

### U.C. Berkeley CS276: Cryptography Handout 0.1 Luca Trevisan January, 2009. Notes on Algebra

U.C. Berkeley CS276: Cryptography Handout 0.1 Luca Trevisan January, 2009 Notes on Algebra These notes contain as little theory as possible, and most results are stated without proof. Any introductory

### WOLLONGONG COLLEGE AUSTRALIA. Diploma in Information Technology

First Name: Family Name: Student Number: Class/Tutorial: WOLLONGONG COLLEGE AUSTRALIA A College of the University of Wollongong Diploma in Information Technology Final Examination Spring Session 2008 WUCT121

### Introduction to Modern Algebra

Introduction to Modern Algebra David Joyce Clark University Version 0.0.6, 3 Oct 2008 1 1 Copyright (C) 2008. ii I dedicate this book to my friend and colleague Arthur Chou. Arthur encouraged me to write

### E3: PROBABILITY AND STATISTICS lecture notes

E3: PROBABILITY AND STATISTICS lecture notes 2 Contents 1 PROBABILITY THEORY 7 1.1 Experiments and random events............................ 7 1.2 Certain event. Impossible event............................

### Discrete Mathematics II: Set Theory for Computer Science Part IA Comp. Sci. Lecture Notes

Discrete Mathematics II: Set Theory for Computer Science Part IA Comp. Sci. Lecture Notes Glynn Winskel c Glynn Winskel February 10, 2012 2 Syllabus for Discrete Mathematics II Lecturer: Professor Glynn

### Chapter 13: Basic ring theory

Chapter 3: Basic ring theory Matthew Macauley Department of Mathematical Sciences Clemson University http://www.math.clemson.edu/~macaule/ Math 42, Spring 24 M. Macauley (Clemson) Chapter 3: Basic ring

### Automata Theory. Şubat 2006 Tuğrul Yılmaz Ankara Üniversitesi

Automata Theory Automata theory is the study of abstract computing devices. A. M. Turing studied an abstract machine that had all the capabilities of today s computers. Turing s goal was to describe the

### Linear Algebra I. Ronald van Luijk, 2012

Linear Algebra I Ronald van Luijk, 2012 With many parts from Linear Algebra I by Michael Stoll, 2007 Contents 1. Vector spaces 3 1.1. Examples 3 1.2. Fields 4 1.3. The field of complex numbers. 6 1.4.

### The Division Algorithm for Polynomials Handout Monday March 5, 2012

The Division Algorithm for Polynomials Handout Monday March 5, 0 Let F be a field (such as R, Q, C, or F p for some prime p. This will allow us to divide by any nonzero scalar. (For some of the following,

### Solutions for Practice problems on proofs

Solutions for Practice problems on proofs Definition: (even) An integer n Z is even if and only if n = 2m for some number m Z. Definition: (odd) An integer n Z is odd if and only if n = 2m + 1 for some

### Indiana State Core Curriculum Standards updated 2009 Algebra I

Indiana State Core Curriculum Standards updated 2009 Algebra I Strand Description Boardworks High School Algebra presentations Operations With Real Numbers Linear Equations and A1.1 Students simplify and

### 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.

9. POLYNOMIALS 9.1. Definition of a Polynomial A polynomial is an expression of the form: a(x) = a n x n + a n-1 x n-1 +... + a 1 x + a 0. The symbol x is called an indeterminate and simply plays the role

### PRE-CALCULUS GRADE 12

PRE-CALCULUS GRADE 12 [C] Communication Trigonometry General Outcome: Develop trigonometric reasoning. A1. Demonstrate an understanding of angles in standard position, expressed in degrees and radians.

### o-minimality and Uniformity in n 1 Graphs

o-minimality and Uniformity in n 1 Graphs Reid Dale July 10, 2013 Contents 1 Introduction 2 2 Languages and Structures 2 3 Definability and Tame Geometry 4 4 Applications to n 1 Graphs 6 5 Further Directions

### Algebra I Vocabulary Cards

Algebra I Vocabulary Cards Table of Contents Expressions and Operations Natural Numbers Whole Numbers Integers Rational Numbers Irrational Numbers Real Numbers Absolute Value Order of Operations Expression

### (LMCS, p. 317) V.1. First Order Logic. This is the most powerful, most expressive logic that we will examine.

(LMCS, p. 317) V.1 First Order Logic This is the most powerful, most expressive logic that we will examine. Our version of first-order logic will use the following symbols: variables connectives (,,,,

### 2.1 Complexity Classes

15-859(M): Randomized Algorithms Lecturer: Shuchi Chawla Topic: Complexity classes, Identity checking Date: September 15, 2004 Scribe: Andrew Gilpin 2.1 Complexity Classes In this lecture we will look

### 1 The Concept of a Mapping

Arkansas Tech University MATH 4033: Elementary Modern Algebra Dr. Marcel B. Finan 1 The Concept of a Mapping The concept of a mapping (aka function) is important throughout mathematics. We have been dealing

### CORRELATED TO THE SOUTH CAROLINA COLLEGE AND CAREER-READY FOUNDATIONS IN ALGEBRA

We Can Early Learning Curriculum PreK Grades 8 12 INSIDE ALGEBRA, GRADES 8 12 CORRELATED TO THE SOUTH CAROLINA COLLEGE AND CAREER-READY FOUNDATIONS IN ALGEBRA April 2016 www.voyagersopris.com Mathematical

### Discrete Mathematics. Hans Cuypers. October 11, 2007

Hans Cuypers October 11, 2007 1 Contents 1. Relations 4 1.1. Binary relations................................ 4 1.2. Equivalence relations............................. 6 1.3. Relations and Directed Graphs.......................

### Integer Factorization using the Quadratic Sieve

Integer Factorization using the Quadratic Sieve Chad Seibert* Division of Science and Mathematics University of Minnesota, Morris Morris, MN 56567 seib0060@morris.umn.edu March 16, 2011 Abstract We give

### March 29, 2011. 171S4.4 Theorems about Zeros of Polynomial Functions

MAT 171 Precalculus Algebra Dr. Claude Moore Cape Fear Community College CHAPTER 4: Polynomial and Rational Functions 4.1 Polynomial Functions and Models 4.2 Graphing Polynomial Functions 4.3 Polynomial

### MATH 90 CHAPTER 1 Name:.

MATH 90 CHAPTER 1 Name:. 1.1 Introduction to Algebra Need To Know What are Algebraic Expressions? Translating Expressions Equations What is Algebra? They say the only thing that stays the same is change.

### Discrete Math for Computer Science Students

Discrete Math for Computer Science Students Ken Bogart Dept. of Mathematics Dartmouth College Scot Drysdale Dept. of Computer Science Dartmouth College Cliff Stein Dept. of Industrial Engineering and Operations

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

SUBGROUPS OF CYCLIC GROUPS KEITH CONRAD 1. Introduction In a group G, we denote the (cyclic) group of powers of some g G by g = {g k : k Z}. If G = g, then G itself is cyclic, with g as a generator. Examples

### PROBLEM SET 6: POLYNOMIALS

PROBLEM SET 6: POLYNOMIALS 1. introduction In this problem set we will consider polynomials with coefficients in K, where K is the real numbers R, the complex numbers C, the rational numbers Q or any other

### Breaking The Code. Ryan Lowe. Ryan Lowe is currently a Ball State senior with a double major in Computer Science and Mathematics and

Breaking The Code Ryan Lowe Ryan Lowe is currently a Ball State senior with a double major in Computer Science and Mathematics and a minor in Applied Physics. As a sophomore, he took an independent study

### 6 EXTENDING ALGEBRA. 6.0 Introduction. 6.1 The cubic equation. Objectives

6 EXTENDING ALGEBRA Chapter 6 Extending Algebra Objectives After studying this chapter you should understand techniques whereby equations of cubic degree and higher can be solved; be able to factorise

### it is easy to see that α = a

21. Polynomial rings Let us now turn out attention to determining the prime elements of a polynomial ring, where the coefficient ring is a field. We already know that such a polynomial ring is a UF. Therefore

### Chapter 7. Functions and onto. 7.1 Functions

Chapter 7 Functions and onto This chapter covers functions, including function composition and what it means for a function to be onto. In the process, we ll see what happens when two dissimilar quantifiers

### A Beginner s Guide to Modern Set Theory

A Beginner s Guide to Modern Set Theory Martin Dowd Product of Hyperon Software PO Box 4161 Costa Mesa, CA 92628 www.hyperonsoft.com Copyright c 2010 by Martin Dowd 1. Introduction..... 1 2. Formal logic......

### ON GALOIS REALIZATIONS OF THE 2-COVERABLE SYMMETRIC AND ALTERNATING GROUPS

ON GALOIS REALIZATIONS OF THE 2-COVERABLE SYMMETRIC AND ALTERNATING GROUPS DANIEL RABAYEV AND JACK SONN Abstract. Let f(x) be a monic polynomial in Z[x] with no rational roots but with roots in Q p for

### How many numbers there are?

How many numbers there are? RADEK HONZIK Radek Honzik: Charles University, Department of Logic, Celetná 20, Praha 1, 116 42, Czech Republic radek.honzik@ff.cuni.cz Contents 1 What are numbers 2 1.1 Natural

### 2. Let H and K be subgroups of a group G. Show that H K G if and only if H K or K H.

Math 307 Abstract Algebra Sample final examination questions with solutions 1. Suppose that H is a proper subgroup of Z under addition and H contains 18, 30 and 40, Determine H. Solution. Since gcd(18,

### 2.3. Finding polynomial functions. An Introduction:

2.3. Finding polynomial functions. An Introduction: As is usually the case when learning a new concept in mathematics, the new concept is the reverse of the previous one. Remember how you first learned

### Algebra Unpacked Content For the new Common Core standards that will be effective in all North Carolina schools in the 2012-13 school year.

This document is designed to help North Carolina educators teach the Common Core (Standard Course of Study). NCDPI staff are continually updating and improving these tools to better serve teachers. Algebra

### MATH 289 PROBLEM SET 4: NUMBER THEORY

MATH 289 PROBLEM SET 4: NUMBER THEORY 1. The greatest common divisor If d and n are integers, then we say that d divides n if and only if there exists an integer q such that n = qd. Notice that if d divides

### Chapter 4 Lecture Notes

Chapter 4 Lecture Notes Random Variables October 27, 2015 1 Section 4.1 Random Variables A random variable is typically a real-valued function defined on the sample space of some experiment. For instance,

### Math Review. for the Quantitative Reasoning Measure of the GRE revised General Test

Math Review for the Quantitative Reasoning Measure of the GRE revised General Test www.ets.org Overview This Math Review will familiarize you with the mathematical skills and concepts that are important

### Mathematics Course 111: Algebra I Part IV: Vector Spaces

Mathematics Course 111: Algebra I Part IV: Vector Spaces D. R. Wilkins Academic Year 1996-7 9 Vector Spaces A vector space over some field K is an algebraic structure consisting of a set V on which are

### Ultraproducts and Applications I

Ultraproducts and Applications I Brent Cody Virginia Commonwealth University September 2, 2013 Outline Background of the Hyperreals Filters and Ultrafilters Construction of the Hyperreals The Transfer

### Solutions Manual for How to Read and Do Proofs

Solutions Manual for How to Read and Do Proofs An Introduction to Mathematical Thought Processes Sixth Edition Daniel Solow Department of Operations Weatherhead School of Management Case Western Reserve

### Putnam Notes Polynomials and palindromes

Putnam Notes Polynomials and palindromes Polynomials show up one way or another in just about every area of math. You will hardly ever see any math competition without at least one problem explicitly concerning

### (Refer Slide Time: 01.26)

Discrete Mathematical Structures Dr. Kamala Krithivasan Department of Computer Science and Engineering Indian Institute of Technology, Madras Lecture # 27 Pigeonhole Principle In the next few lectures

### Book of Proof. Richard Hammack Virginia Commonwealth University

Book of Proof Richard Hammack Virginia Commonwealth University Richard Hammack (publisher) Department of Mathematics & Applied Mathematics P.O. Box 842014 Virginia Commonwealth University Richmond, Virginia,

### THE SEARCH FOR NATURAL DEFINABILITY IN THE TURING DEGREES

THE SEARCH FOR NATURAL DEFINABILITY IN THE TURING DEGREES ANDREW E.M. LEWIS 1. Introduction This will be a course on the Turing degrees. We shall assume very little background knowledge: familiarity with

### Lecture Notes on Discrete Mathematics

Lecture Notes on Discrete Mathematics A. K. Lal September 26, 2012 2 Contents 1 Preliminaries 5 1.1 Basic Set Theory.................................... 5 1.2 Properties of Integers.................................

### 1 Sets and Set Notation.

LINEAR ALGEBRA MATH 27.6 SPRING 23 (COHEN) LECTURE NOTES Sets and Set Notation. Definition (Naive Definition of a Set). A set is any collection of objects, called the elements of that set. We will most

### Lecture Notes on Polynomials

Lecture Notes on Polynomials Arne Jensen Department of Mathematical Sciences Aalborg University c 008 Introduction These lecture notes give a very short introduction to polynomials with real and complex

### H/wk 13, Solutions to selected problems

H/wk 13, Solutions to selected problems Ch. 4.1, Problem 5 (a) Find the number of roots of x x in Z 4, Z Z, any integral domain, Z 6. (b) Find a commutative ring in which x x has infinitely many roots.

### Discrete Mathematics: Homework 7 solution. Due: 2011.6.03

EE 2060 Discrete Mathematics spring 2011 Discrete Mathematics: Homework 7 solution Due: 2011.6.03 1. Let a n = 2 n + 5 3 n for n = 0, 1, 2,... (a) (2%) Find a 0, a 1, a 2, a 3 and a 4. (b) (2%) Show that

### Introduction to Finite Fields (cont.)

Chapter 6 Introduction to Finite Fields (cont.) 6.1 Recall Theorem. Z m is a field m is a prime number. Theorem (Subfield Isomorphic to Z p ). Every finite field has the order of a power of a prime number

### ABSTRACT ALGEBRA: A STUDY GUIDE FOR BEGINNERS

ABSTRACT ALGEBRA: A STUDY GUIDE FOR BEGINNERS John A. Beachy Northern Illinois University 2014 ii J.A.Beachy This is a supplement to Abstract Algebra, Third Edition by John A. Beachy and William D. Blair

### Mathematical Induction

Mathematical Induction (Handout March 8, 01) The Principle of Mathematical Induction provides a means to prove infinitely many statements all at once The principle is logical rather than strictly mathematical,

### TOPOLOGY: THE JOURNEY INTO SEPARATION AXIOMS

TOPOLOGY: THE JOURNEY INTO SEPARATION AXIOMS VIPUL NAIK Abstract. In this journey, we are going to explore the so called separation axioms in greater detail. We shall try to understand how these axioms

### Factoring & Primality

Factoring & Primality Lecturer: Dimitris Papadopoulos In this lecture we will discuss the problem of integer factorization and primality testing, two problems that have been the focus of a great amount

### The Dirichlet Unit Theorem

Chapter 6 The Dirichlet Unit Theorem As usual, we will be working in the ring B of algebraic integers of a number field L. Two factorizations of an element of B are regarded as essentially the same if

### CONTINUED FRACTIONS AND FACTORING. Niels Lauritzen

CONTINUED FRACTIONS AND FACTORING Niels Lauritzen ii NIELS LAURITZEN DEPARTMENT OF MATHEMATICAL SCIENCES UNIVERSITY OF AARHUS, DENMARK EMAIL: niels@imf.au.dk URL: http://home.imf.au.dk/niels/ Contents

### SOLUTIONS TO ASSIGNMENT 1 MATH 576

SOLUTIONS TO ASSIGNMENT 1 MATH 576 SOLUTIONS BY OLIVIER MARTIN 13 #5. Let T be the topology generated by A on X. We want to show T = J B J where B is the set of all topologies J on X with A J. This amounts

### The program also provides supplemental modules on topics in geometry and probability and statistics.

Algebra 1 Course Overview Students develop algebraic fluency by learning the skills needed to solve equations and perform important manipulations with numbers, variables, equations, and inequalities. Students

### Diagonalization. Ahto Buldas. Lecture 3 of Complexity Theory October 8, 2009. Slides based on S.Aurora, B.Barak. Complexity Theory: A Modern Approach.

Diagonalization Slides based on S.Aurora, B.Barak. Complexity Theory: A Modern Approach. Ahto Buldas Ahto.Buldas@ut.ee Background One basic goal in complexity theory is to separate interesting complexity

### ALGEBRAIC APPROACH TO COMPOSITE INTEGER FACTORIZATION

ALGEBRAIC APPROACH TO COMPOSITE INTEGER FACTORIZATION Aldrin W. Wanambisi 1* School of Pure and Applied Science, Mount Kenya University, P.O box 553-50100, Kakamega, Kenya. Shem Aywa 2 Department of Mathematics,

### Lecture 1 Introduction Properties of Probability Methods of Enumeration Asrat Temesgen Stockholm University

Lecture 1 Introduction Properties of Probability Methods of Enumeration Asrat Temesgen Stockholm University 1 Chapter 1 Probability 1.1 Basic Concepts In the study of statistics, we consider experiments

### SMALL SKEW FIELDS CÉDRIC MILLIET

SMALL SKEW FIELDS CÉDRIC MILLIET Abstract A division ring of positive characteristic with countably many pure types is a field Wedderburn showed in 1905 that finite fields are commutative As for infinite

### 3.6 The Real Zeros of a Polynomial Function

SECTION 3.6 The Real Zeros of a Polynomial Function 219 3.6 The Real Zeros of a Polynomial Function PREPARING FOR THIS SECTION Before getting started, review the following: Classification of Numbers (Appendix,

### Abstract Algebra Theory and Applications. Thomas W. Judson Stephen F. Austin State University

Abstract Algebra Theory and Applications Thomas W. Judson Stephen F. Austin State University August 16, 2013 ii Copyright 1997-2013 by Thomas W. Judson. Permission is granted to copy, distribute and/or

### EXERCISES FOR THE COURSE MATH 570, FALL 2010

EXERCISES FOR THE COURSE MATH 570, FALL 2010 EYAL Z. GOREN (1) Let G be a group and H Z(G) a subgroup such that G/H is cyclic. Prove that G is abelian. Conclude that every group of order p 2 (p a prime

### JUST THE MATHS UNIT NUMBER 1.8. ALGEBRA 8 (Polynomials) A.J.Hobson

JUST THE MATHS UNIT NUMBER 1.8 ALGEBRA 8 (Polynomials) by A.J.Hobson 1.8.1 The factor theorem 1.8.2 Application to quadratic and cubic expressions 1.8.3 Cubic equations 1.8.4 Long division of polynomials

### Copyrighted Material. Chapter 1 DEGREE OF A CURVE

Chapter 1 DEGREE OF A CURVE Road Map The idea of degree is a fundamental concept, which will take us several chapters to explore in depth. We begin by explaining what an algebraic curve is, and offer two

### 1 Local Brouwer degree

1 Local Brouwer degree Let D R n be an open set and f : S R n be continuous, D S and c R n. Suppose that the set f 1 (c) D is compact. (1) Then the local Brouwer degree of f at c in the set D is defined.

### 3. SETS, FUNCTIONS & RELATIONS

3. SETS, FUNCTIONS & RELATIONS If I see the moon, then the moon sees me 'Cos seeing's symmetric as you can see. If I tell Aunt Maude and Maude tells the nation Then I've told the nation 'cos the gossiping

### Chapter 7 Uncomputability

Chapter 7 Uncomputability 190 7.1 Introduction Undecidability of concrete problems. First undecidable problem obtained by diagonalisation. Other undecidable problems obtained by means of the reduction

### Integer roots of quadratic and cubic polynomials with integer coefficients

Integer roots of quadratic and cubic polynomials with integer coefficients Konstantine Zelator Mathematics, Computer Science and Statistics 212 Ben Franklin Hall Bloomsburg University 400 East Second Street