Theorem 3.4.3 The square of any odd integer has the form 8m + 1 for some integer m.

Slides:



Advertisements
Similar presentations
Mathematical Induction
Advertisements

Introduction to Proofs
Review for CS1050. Review Questions Without using truth tables, prove that  (p  q)   q is a tautology. Prove that the sum of an even integer and an.
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.
Chapter 3 Elementary Number Theory and Methods of Proof.
3.3 Divisibility Definition If n and d are integers, then n is divisible by d if, and only if, n = dk for some integer k. d | n  There exists an integer.
Ch 5.8: Bessel’s Equation Bessel Equation of order :
Copyright © Cengage Learning. All rights reserved.
INFINITE SEQUENCES AND SERIES
INTEGRALS The Substitution Rule In this section, we will learn: To substitute a new variable in place of an existing expression in a function,
INFINITE SEQUENCES AND SERIES
6 6.3 © 2012 Pearson Education, Inc. Orthogonality and Least Squares ORTHOGONAL PROJECTIONS.
Copyright © Cengage Learning. All rights reserved.
Copyright © Cengage Learning. All rights reserved.
Sums of Consecutive Natural Numbers
Copyright © Cengage Learning. All rights reserved. CHAPTER 11 ANALYSIS OF ALGORITHM EFFICIENCY ANALYSIS OF ALGORITHM EFFICIENCY.
Methods of Proof & Proof Strategies
5.5 The Substitution Rule In this section, we will learn: To substitute a new variable in place of an existing expression in a function, making integration.
Introduction to Proofs
Eigenvalues and Eigenvectors
Proofs 1/25/12.
Copyright © Cengage Learning. All rights reserved. CHAPTER 4 ELEMENTARY NUMBER THEORY AND METHODS OF PROOF ELEMENTARY NUMBER THEORY AND METHODS OF PROOF.
Section 3.1: Proof Strategy Now that we have a fair amount of experience with proofs, we will start to prove more difficult theorems. Our experience so.
Chapter 3 Elementary Number Theory and Methods of Proof.
Introduction to sequences and series
1 Sections 1.5 & 3.1 Methods of Proof / Proof Strategy.
SQUARES AND SQUARE ROOTS A REVIEW. CONTENTS SQUARES. PERFECT SQUARES. FACTS ABOUT SQUARES. SOME METHODS TO FINDING SQUARES. SOME IMPORTANT PATTERNS.
Infinite Sequences and Series 8. Taylor and Maclaurin Series 8.7.
Slide Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley.
In section 11.9, we were able to find power series representations for a certain restricted class of functions. Here, we investigate more general problems.
Copyright © Cengage Learning. All rights reserved. CHAPTER 8 RELATIONS.
1 Methods of Proof Proof techniques in this handout –Direct proof –Division into cases –Proof by contradiction In this handout, the proof techniques will.
INTEGRALS The Substitution Rule In this section, we will learn: To substitute a new variable in place of an existing expression in a function,
Copyright © Cengage Learning. All rights reserved.
Week 3 - Friday.  What did we talk about last time?  Proving universal statements  Disproving existential statements  Rational numbers  Proof formatting.
Week 4 - Monday.  What did we talk about last time?  Divisibility  Quotient-remainder theorem  Proof by cases.
Date: 2.4 Real Zeros of Polynomial Functions
Pythagorean Theorem – Prove It! Converse of Pythagorean Theorem 1.) Is a triangle with side measures of 30, 40, and 50 units a right triangle? Prove it!
Polynomial Functions and Models
Copyright © Cengage Learning. All rights reserved. CHAPTER 4 ELEMENTARY NUMBER THEORY AND METHODS OF PROOF ELEMENTARY NUMBER THEORY AND METHODS OF PROOF.
Solving Quadratic Equations Using the Quadratic Formula Part 2.
Week 4 - Monday.  What did we talk about last time?  Rational numbers.
Copyright © Cengage Learning. All rights reserved. CHAPTER 8 RELATIONS.
Week 3 - Monday.  What did we talk about last time?  Predicate logic  Multiple quantifiers  Negating multiple quantifiers  Arguments with quantified.
Week 4 - Friday.  What did we talk about last time?  Floor and ceiling  Proof by contradiction.
5.1 Indirect Proof Objective: After studying this section, you will be able to write indirect proofs.
6 6.3 © 2016 Pearson Education, Inc. Orthogonality and Least Squares ORTHOGONAL PROJECTIONS.
Section 1.7. Definitions A theorem is a statement that can be shown to be true using: definitions other theorems axioms (statements which are given as.
Direct Proof and Counterexample I Lecture 11 Section 3.1 Fri, Jan 28, 2005.
CONSECUTIVE INTEGERS. CONSECUTIVE INTEGERS - Consecutive integers are integers that follow each other in order. They have a difference of 1 between each.
EXAMPLE 3 Write an indirect proof Write an indirect proof that an odd number is not divisible by 4. GIVEN : x is an odd number. PROVE : x is not divisible.
1 Discrete Mathematical Mathematical Induction ( الاستقراء الرياضي )
Infinite Sequences and Series 8. Sequences Sequences A sequence can be thought of as a list of numbers written in a definite order: a 1, a 2, a.
Theorem What’s that? Any two consecutive integers have opposite parity. Jon Campbell – Introduction James Kendall – Proof Rob Chalhoub – Example,
The Relation Induced by a Partition
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.
The Language of Sets If S is a set, then
Multiplying and Dividing Radical Expressions
Consecutive Integers.
ELEMENTARY NUMBER THEORY AND METHODS OF PROOF
Direct Proof and Counterexample V: Floor and Ceiling
Copyright © Cengage Learning. All rights reserved.
Algebraic Limits and Continuity
The sum of any two even integers is even.
Applications of Expansion and Factorisation
Copyright © Cengage Learning. All rights reserved.
Do Now Take out homework for review.
Direct Proof and Counterexample I
Copyright © Cengage Learning. All rights reserved.
Presentation transcript:

Theorem The square of any odd integer has the form 8m + 1 for some integer m.

Introduction Experimentation Most people do not attempt to prove an unfamiliar theorem by simply writing down a formal proof. It is often necessary to experiment with various approaches until one is found that works. Formal proofs are like the result of a mystery where all of the loose ends are neatly tied up.

Introduction Division into Cases & Alternative Representations for Integers One useful strategy for proving a theorem is to divide the problem into multiple cases. All of the individual cases together describe all of the ways to represent a given set of numbers. Any given number will fit only one of the cases, but all cases must be considered in order to account for any arbitrary value. Alternative representations of integers provide an opportunity to use the division into cases as a viable strategy.

Example n 2 = 8m + 1 Let n be some arbitrary odd integer, let’s say 7. If 8m +1= n 2 8m + 1 = 49 8m = 48 m = 6

Example An interesting observation: each consecutive value of m can be calculated using a triangle series. m = 0 m = m = m = m = m = m = nn2n2 m8m

Proof: Formal Restatement:  odd integers n,  an integer m such that n 2 = 8m + 1. Suppose n is a particular but arbitrarily chosen odd integer. By the quotient-remainder theorem, n can be written in one of the forms: 4q or 4q + 1 or 4q + 2 or 4q + 3 Since n is odd, n must have one of the forms: 4q + 1 or 4q + 3 We can therefore divide this proof into two cases.

Case 1 (n = 4q + 1 for some integer q) : We must find an integer m such that: n 2 = 8m + 1 Since n = 4q + 1: n 2 = (4q + 1) 2 = (4q + 1)(4q + 1) = 16q 2 + 8q + 1 = 8(2q 2 + q) + 1 Let m = 2q 2 + q. Then m is an integer since 2 and q are integers and sums and products of integers are integers. Thus, substituting, n 2 = 8m + 1, where m is an integer.

Case 2 (n = 4q + 3 for some integer q) : We must find an integer m such that: n 2 = 8m + 3 Since n = 4q + 3: n 2 = (4q + 3) 2 = (4q + 3)(4q + 3) = 16q q + 9 = 16q q + (8 + 1) = 8(2q 2 + 3q + 1) + 1 Let m = 2q 2 + 3q + 1. Then m is an integer since 1, 2, 3, and q are integers and sums and products of integers are integers. Thus, substituting, n 2 = 8m + 1, where m is an integer.

Conclusion Cases 1 and 2 show that given any odd integer, whether of the form 4q + 1 or 4q + 3, n 2 = 8m + 1 for some integer m. [This is what we needed to show.]

Experimentation Revisited The text presents the following approach as an example of an attempt that doesn’t quite prove our theorem : Since n is odd, n can be represented as 2q + 1 for some integer q. n 2 = (2q + 1) 2 = 4q 2 + 4q + 1 = 4(q 2 + q) + 1 Though the above allows us to represent n 2 as 4m + 1, it doesn’t appear to help us represent it as 8m + 1. Or does it?

Related Homework Problems Problem 24 asks to prove that any two consecutive integers is even. Problem 25 then asks to write a new proof that n 2 = 8m + 1 based on the initial failed attempt on the previous slide. It turns out that problem 24 is instrumental in providing a second solution to our proof. Section 3.4 Problems 24 – 27, 34 – 41

Exam Question One definition of a “perfect square” is a number whose square root is an integer. Prove that the product of any four consecutive integers + 1 is a perfect square.