1 In this lecture Number Theory Quotient and Remainder Floor and Ceiling Proofs Direct proofs and Counterexamples (cont.) Division into cases.

Slides:



Advertisements
Similar presentations
Division & Divisibility. a divides b if a is not zero there is a m such that a.m = b a is a factor of b b is a multiple of a a|b Division.
Advertisements

Discrete Mathematics Lecture 3
Remainder and Factor Theorems
Chapter 3 Elementary Number Theory and Methods of Proof.
1 In this lecture  Number Theory ● Rational numbers ● Divisibility  Proofs ● Direct proofs (cont.) ● Common mistakes in proofs ● Disproof by counterexample.
……+(4n-3) = n(2n-1) P 1 = 1(2(1)-1)=1 check.
(CSC 102) Lecture 12 Discrete Structures. Previous Lecture Summary Floor and Ceiling Functions Definition of Proof Methods of Proof Direct Proof Disproving.
Dividing Polynomials.
Chapter 4: Elementary Number Theory and Methods of Proof
division algorithm Before we study divisibility, we must remember the division algorithm. r dividend = (divisor ⋅ quotient) + remainder.
5.5 Apply the Remainder and Factor Theorem
Warm up. Lesson 4-3 The Remainder and Factor Theorems Objective: To use the remainder theorem in dividing polynomials.
(CSC 102) Discrete Structures Lecture 10.
Chapter 3 Elementary Number Theory and Methods of Proof.
Mixed Numbers and Improper Fractions.
Chapter 3 Elementary Number Theory and Methods of Proof.
5.4 – Apply the Remainder and Factor Theorems Divide 247 / / 8.
Warm up  Divide using polynomial long division:  n 2 – 9n – 22 n+2.
Divisibility Rules and Finding Factors
Copyright © 2012, 2009, 2005, 2002 Pearson Education, Inc. Chapter 2 Fractions.
0-6: Operations on and Composition of Functions
Mixed Numbers and Improper Fractions Lesson 3-5. Vocabulary A proper fraction has a numerator that is less than its denominator. An improper fraction.
3.2 – Mixed number notation
Warm Up 9-1 Use long division to find the quotient and remainder for the problems below ÷ ÷ 4.
5.5: Apply Remainder and Factor Theorems (Dividing Polynomials) Learning Target: Learn to complete polynomial division using polynomial long division and.
6-5: The Remainder and Factor Theorems Objective: Divide polynomials and relate the results to the remainder theorem.
quotient is x + 6 and remainder is quotient is x.
Section 2-2 Synthetic Division; The Remainder and Factor Theorems.
4.3 The Remainder and Factor Theorems Objective: Find the factors of polynomials using the Remainder and Factor Theorems.
Warm Up no 0, 3 x = -3. Homework Questions Section 2.2 Synthetic Division; The Remainder and Factor Theorems Objective: To use synthetic division and.
Divisibility Rules: What are they? Rules to help you determine if numbers are divisible by other numbers. Divisible – if a number can be divided by another.
Factor A factor of an integer is any integer that divides the given integer with no remainder.
Long and Synthetic Division. Long Division Polynomial long division can be used to divide a polynomial d(x), producing a quotient polynomial q(x) and.
Divisibility Rules. What Are Divisibility Rules? They are a quick way to tell if one number can be completely divided into another without a remainder.
My Book of Divisibility. THE 2’s Example: 30, 42, 24, 76, 98, Must be an even number Number must end in a 0, 2, 4, 6, or 8.
1 CMSC 250 Chapter 3, Number Theory. 2 CMSC 250 Introductory number theory l A good proof should have: –a statement of what is to be proven –"Proof:"
Aims: To recap the remainder and factor theorems. To be able to divide a polynomial by another polynomial using your preferred method To understand terminology,
6.5 Warm Up 1.Factor 8x Factor 5x x 2 – x – 2. 3.Factor 200x 6 – 2x 4. 4.Find the product of (2x – 3)(2x – 5). 5.Find the product of (5x.
Dividing Polynomials/Long and Synthetic Division Section 6.3.
Goal: use division to generate mixed numbers and improper fractions.
Products and Factors of Polynomials (part 2 of 2) Section 440 beginning on page 442.
134 = = 3 R R 1 4=x In this lesson, you will learn how to report remainders as fractions … by drawing a diagram of the division problem.
= 91 sum operation augend addend NOTE: Sometimes both the augend and addend are called addends. Sometimes the sum is called the total. Addition.
Mixed Numbers and Improper Fractions
Direct Proof and Counterexample IV: Division into Cases and the Quotient-Remainder Theorem For each of the following values of n and d, find integers q.
Dividing Polynomials Long Division A little review:
1a. Divide using long division. (9x3 – 48x2 + 13x + 3) ÷ (x – 5)
Remainder Theorem Section 5.5 Part 1.
Direct Proof and Counterexample V: Floor and Ceiling
Apply the Remainder and Factor Theorems
Direct Proof and Counterexample III
Direct Proof and Counterexample IV
Divide a Decimal by a Whole Number
Dividing Polynomials.
Direct Proof and Counterexample II
Multiplying and Dividing Integers
Mixed Numbers and Improper Fractions
Unit 1. Day 8..
7.3 Products and Factors of Polynomials
Divisibility Rules.
Direct Proof and Counterexample IV
Dividing a whole number to get decimal
Dividing a decimal by a whole number
Lecture 5 Number Theory & Proof Methods
Warm up.
6.7 Dividing a Polynomial by a Polynomial
To Start: 15 Points Solve the following: 21,672 ÷ 3 = 45,225 ÷ 5 = 210,060 ÷ 10 = 7,224 9,045 21,006.
Divisibility Rules.
Warm Up.
Divisibility A number is divisible by another number if the quotient is a whole number with no remainder.
Presentation transcript:

1 In this lecture Number Theory Quotient and Remainder Floor and Ceiling Proofs Direct proofs and Counterexamples (cont.) Division into cases

2 Quotient-Remainder Theorem Theorem: For n Z and d Z + ! q,r Z such that n=d·q+r and 0r<d. q is called quotient; r is called remainder. Notation: q = n div d; r = n mod d. Examples: 1) 53 = 8·6+5. Hence 53 div 8 = 6; 53 mod 8 = 5. 2) -29 = 7·(-5)+6. Hence -29 div 7 = -5; -29 mod 7 = 6.

3 Example of using div and mod Last year Halloween was on Sunday. Q.: What day is Halloween this year? Solution: There are 365 days between 10/31/10 and 10/31/ mod 7 = 1. Thus, if 10/31/10 is Sunday then 10/31/11 is Monday.

4 Proof Technique: Division into Cases Suppose at some stage of a proof we know that A 1 or A 2 or A 3 or … or A n is true; want to deduce a conclusion C. Use division into cases: Show A 1 C, A 2 C, …, A n C. Conclude that C is true.

5 Division into Cases: Example Proposition: If n Z s.t. neither of 2 or 3 divide n, (1) then n 2 mod 12 = 1. (2) Proof: Suppose n Z s.t. neither of 2 or 3 divide n. By quotient-remainder theorem, exactly one of the following is true: a) n=6k, b) n=6k+1, c) n=6k+2, d) n=6k+3, e) n=6k+4, f) n=6k+5 for some integer k. (3) n cant be 6k, 6k+2 or 6k+4 because in that case 2 | n (which contradicts (1) ). (4) n cant be 6k+3 because in that case 3 | n (which contradicts (1) ). (5)

Division into Cases: Example(cont.) Proof(cont.): Based on (3), (4) and (5), either n=6k+1 or n=6k+5. Lets show (2) for each of these two cases. Case 1: Suppose n=6k+1. Then n 2 = (6k+1) 2 =36k 2 +12k+1 (by basic algebra) = 12(3k 2 +k)+1 (6) Let p=3k 2 +k. Then p is an integer. n 2 = 12p+1. ( by substitution in (6) ) Hence n 2 mod 12 = 1 by quotient-remainder th-m. Case 2: Suppose n=6k+5. (exercise)

7 Floor and Ceiling Definition: For any real number x, the floor of x: = the unique integer n s.t. n x < n+1; the ceiling of x: = the unique integer n s.t. n-1 < x n. Examples:

8 Properties of Floor and Ceiling For x R and m Z,. is false. Counterexample: For x=1.7, y=2.8, Note: If x,y>0 and the sum of their fractional parts is <1 then

9 Properties of Floor and Ceiling Theorem: For n Z, Proof: Case 1: Suppose n is odd. Then n=2k+1 for some integer k. (1)

10 Properties of Floor and Ceiling Proof (cont.): By substitution from (1), (2) because k Z and k k+1/2 < k+1. On the other hand, n=2k+1 k=(n-1)/2. (by basic algebra) (3) Based on (2) and (3), Case 2: n is even (left as exercise).