CSE115/ENGR160 Discrete Mathematics 02/03/11 Ming-Hsuan Yang UC Merced 1.

Slides:



Advertisements
Similar presentations
Special Types of Factoring
Advertisements

Factoring Polynomials
CSE115/ENGR160 Discrete Mathematics 03/15/12
CSE115/ENGR160 Discrete Mathematics 03/13/12 Ming-Hsuan Yang UC Merced 1.
CSE115/ENGR160 Discrete Mathematics 02/28/12
CSE115/ENGR160 Discrete Mathematics 04/19/12 Ming-Hsuan Yang UC Merced 1.
CSE115/ENGR160 Discrete Mathematics 04/17/12
CSE115/ENGR160 Discrete Mathematics 04/21/11 Ming-Hsuan Yang UC Merced 1.
CSE115/ENGR160 Discrete Mathematics 04/12/11 Ming-Hsuan Yang UC Merced 1.
CSE115/ENGR160 Discrete Mathematics 04/24/12 Ming-Hsuan Yang UC Merced 1.
CSE115/ENGR160 Discrete Mathematics 05/03/11 Ming-Hsuan Yang UC Merced 1.
CSE115/ENGR160 Discrete Mathematics 03/15/11
CSE115/ENGR160 Discrete Mathematics 04/05/11 Ming-Hsuan Yang UC Merced 1.
CSE115/ENGR160 Discrete Mathematics 03/03/11 Ming-Hsuan Yang UC Merced 1.
CSE115/ENGR160 Discrete Mathematics 02/07/12
CSE115/ENGR160 Discrete Mathematics 02/22/11 Ming-Hsuan Yang UC Merced 1.
CSE115/ENGR160 Discrete Mathematics 02/16/12 Ming-Hsuan Yang UC Merced 1.
CSE115/ENGR160 Discrete Mathematics 01/31/12 Ming-Hsuan Yang UC Merced 1.
1 Intro to Induction Supplementary Notes Prepared by Raymond Wong Presented by Raymond Wong.
CSE115/ENGR160 Discrete Mathematics 02/01/11
CSE115/ENGR160 Discrete Mathematics 02/21/12
CSE115/ENGR160 Discrete Mathematics 03/22/12 Ming-Hsuan Yang UC Merced 1.
CSE115/ENGR160 Discrete Mathematics 02/10/11 Ming-Hsuan Yang UC Merced 1.
CSE115/ENGR160 Discrete Mathematics 03/10/11
CSE115/ENGR160 Discrete Mathematics 02/14/12 Ming-Hsuan Yang UC Merced 1.
CSE115/ENGR160 Discrete Mathematics 03/29/11 Ming-Hsuan Yang UC Merced 1.
Lesson 6-6 The Pythagorean Theorem. Ohio Content Standards:
Chapter 5 Number Theory © 2008 Pearson Addison-Wesley. All rights reserved.
 2012 Pearson Education, Inc. Slide Chapter 5 Number Theory.
SECTION 5-3 Selected Topics from Number Theory Slide
Factoring Polynomials
Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall. Chapter 11 Factoring Polynomials.
1 Additional Support for Math99 Students By: Dilshad Akrayee.
Factoring Polynomials
Discrete Mathematics, 1st Edition Kevin Ferland
Mathematical Induction. F(1) = 1; F(n+1) = F(n) + (2n+1) for n≥ F(n) n F(n) =n 2 for all n ≥ 1 Prove it!
Lesson 4 Comparing and Ordering Numbers Comparing and Ordering Numbers __.
6.2 Polynomials and Linear Factors
Math – Multiplying and Simplifying Radical Expressions 1.
Solving Quadratic Equations. Solving by Factoring.
Factoring General Trinomials Factoring Trinomials Factors of 9 are: REVIEW: 1, 93, 3.
Pythagorean Theorem Proof Unit 4 Project Grace Olson.
1.2 Patterns and Inductive Reasoning. Ex. 1: Describing a Visual Pattern Sketch the next figure in the pattern
1.1 Patterns and Inductive Reasoning
Proof Methods & strategies Section 1.7. Proof by Cases We use the rule of inference P 1  P 2 ...  P n  q  (P 1  q)  (P 2  q) ..  (P n  q)
Numbers Free powerpoints at
1 2/21/2016 MATH 224 – Discrete Mathematics Sequences and Sums A sequence of the form ar 0, ar 1, ar 2, ar 3, ar 4, …, ar n, is called a geometric sequence.
Introduction to Proofs
ICS 253: Discrete Structures I
Mathematical Induction Thinking Skill: Develop Confidence in Reason Warm Up: Find the k+1 term (P k+1 ) 1) 2)
Section 1.8. Proof by Cases Example: Let b = max{a, b} = a if a ≥ b, otherwise b = max{a, b} = b. Show that for all real numbers a, b, c
Algebra 2 Lesson 7-2 (Page 368) ALGEBRA 2 LESSON 7-2 Multiplying and Dividing Radical Expressions 7-2.
Algebra 2 Multiplying, Dividing, Rationalizing and Simplifying… Section 7-2.
Proof And Strategies Chapter 2. Lecturer: Amani Mahajoub Omer Department of Computer Science and Software Engineering Discrete Structures Definition Discrete.
Write each fraction as a decimal.
CSE15 Discrete Mathematics 02/01/17
CSE15 Discrete Mathematics 02/08/17
Exercise Simplify – 22. – 4.
Exercise Evaluate
Chapter 1 and 2 REVIEW.
Write each fraction as a decimal.
Write each fraction as a decimal.
CS 220: Discrete Structures and their Applications
The Real Number System Real Numbers Irrational Numbers
Copyright © 2011 Pearson Education, Inc.
The Greatest Common Factor
§ 6.3 Factoring Trinomials of the Form ax2 + bx + c and Perfect Square Trinomials.
Follow me for a walk through...
Patterns & Inductive Reasoning
Write each fraction as a decimal.
Presentation transcript:

CSE115/ENGR160 Discrete Mathematics 02/03/11 Ming-Hsuan Yang UC Merced 1

1.7 Proof methods and strategy Proof by cases: p i →q for i=1,2,…,n When it is not possible to consider all cases at the same time Exhaustive proof: some theorems can be proved by examining a relatively small number of examples 2

Example Prove (n+1) 3 ≥3 n if n is a positive integer with n≤4 Proof by exhaustion as we only need to verify n=1,2,3 and 4. For n=1, (n+1) 3 =8 ≥3 1 =3 For n=2, (n+1) 3 =27 ≥3 2 =9 For n=3, (n+1) 3 =64 ≥3 3 =27 For n=4, (n+1) 3 =125≥4 3 =64 3

Example An integer is a perfect power if it equals n a, where a is an integer greater than 1 Prove that the only consecutive positive integers not exceeding 100 that are perfect powers are 8 and 9 Can prove this fact by examining positive integers n not exceeding 100 – First check whether n is a perfect power, and then check whether n+1 is a perfect power 4

Example For positive integers – The squares ≤ 100: 1, 4, 9, 16, 25, 36, 49, 64, 81, and 100 – The cubes ≤ 100: 1, 8, 27, and 64 – The 4 th powers ≤ 100: 1, 16, and 81 – The 5 th powers ≤ 100: 1 and 32 – The 6 th powers ≤ 100: 1 and 64 – Look at the list of perfect powers, we see that the pair of n=8 and n+1=9 is the only two consecutive powers ≤ 100 5

Proof by cases Prove that if n is an integer, then n 2 ≥ n We prove this by 3 cases: – n=0: trivial case as 0 2 ≥ 0 – n≥1: If n≥1 then n∙n ≥ n∙1 and thus n 2 ≥ n – n≤-1: If n ≤ -1 then n 2 ≥ 0>n and thus n 2 ≥ n 6

Example Show that |xy|=|x||y| for real numbers x≥0, y≥0: xy ≥0 |xy|=xy=|x||y| x≥0, y<0: xy<0 |xy|=-xy=x(-y)=|x||y| x<0, y ≥0:xy<0 |xy|=-xy=(-x)y=|x||y| x 0 |xy|=xy=(-x)(-y)=|x||y| 7

Example Formulate a conjecture about the decimal digits that occur at the final digit of the squares of an integer and prove the result The smallest perfect squares are: 1, 4, 9, 16, 25, 36, 49, 64, 81, 100, 121, 144, 169, 196, 225 and so on Note that the digits that occur at the final digit of a squares are: 0, 1, 4, 5, 6, and 9 (and no 2, 3, 7, and 8)  conjecture 8

Example We can express an integer n as 10a+b were a and b are positive integers and 0≤b≤9 n 2 =(10a+b) 2 =100a 2 +20ab+b 2 =10(10a 2 +2b)+b 2, so the final digit is the final digit of b 2 Note also that the final digit of (10-b) 2 = b+b 2. Thus, we only consider 6 cases Case 1: if final digit of n is 1 or 9 (or b), then the last digit of n 2 is 1 9

Example Case 2: if the final digit of n is 2 or 8, then the final digit of n 2 is 4 Case 3: if the final digit of n is 3 or 7, then the final digit of n 2 is 9 Case 4: if the final digit of n is 4 or 6, then the final digit of n 2 is 6 Case 5: if the final digit of n is 5, then the final digit of n 2 is 5 Case 6: if the final digit of n is 0, then the final digit of n 2 is 0 10

Example Show that there are no solutions in integers x and y of x 2 +3y 2 =8 x 2 >8 when |x|≥3, and 3y 2 >8 when |y|≥2. The only values for x are -2,-1,0,1,2 and for y are -1, 0, 1 So, possible values for x 2 are, 0, 1, and 4. The possible values for 3y 2 are 0 and 3 No pair of x and y can be solution 11