1 CMSC 341 Math Review. 2 Exponents Identities (X A ) B = X AB X A * X B = X A+B X A / X B = X A-B X A + X B  X A+B.

Slides:



Advertisements
Similar presentations
Know what is meant by proof by Induction Learning Outcomes: PROOF BY INDUCTION Be able to use proof by induction to prove statements.
Advertisements

To prove by induction that 2 n ≥ n 2 for n ≥ 4, n  N Next (c) Project Maths Development Team 2011.
Lecture 2 Based on Chapter 1, Weiss. Mathematical Foundation Series and summation: ……. N = N(N+1)/2 (arithmetic series) 1 + r+ r 2 + r 3 +………r.
13.4 Mathematical Induction. Mathematical Induction is a common method of proving that each statement of an infinite sequence of mathematical statements.
1 Mathematical Induction. 2 Mathematical Induction: Example  Show that any postage of ≥ 8¢ can be obtained using 3¢ and 5¢ stamps.  First check for.
Fibonacci Sequences Susan Leggett, Zuzana Zvarova, Sara Campbell
Recursive Definitions Rosen, 3.4. Recursive (or inductive) Definitions Sometimes easier to define an object in terms of itself. This process is called.
Proof by Induction and contradiction Leo Cheung. The TAs Our office is in SHB117, feel free to come if you get problems about the course Or ask your questions.
Methods of Proof Leo Cheung. A Quick Review Direct proof Proof by contrapositive Proof by contradiction Proof by induction.
Problem Set 1.2. #2-Induction Proof Case k=1 – Left side:Right side: Induction step: assume true for k. For k+1, – Left side: – Using – assumption: –
Recurrences Part 3. Recursive Algorithms Recurrences are useful for analyzing recursive algorithms Recurrence – an equation or inequality that describes.
Discrete Structures Chapter 5: Sequences, Mathematical Induction, and Recursion 5.2 Mathematical Induction I [Mathematical induction is] the standard proof.
Chapter 10 Sequences, Induction, and Probability Copyright © 2014, 2010, 2007 Pearson Education, Inc Mathematical Induction.
1 Strong Mathematical Induction. Principle of Strong Mathematical Induction Let P(n) be a predicate defined for integers n; a and b be fixed integers.
MAT 3749 Introduction to Analysis Section 0.2 Mathematical Induction
1 Mathematical Induction. 2 Mathematical Induction: Example  Show that any postage of ≥ 8¢ can be obtained using 3¢ and 5¢ stamps.  First check for.
Copyright © 2007 Pearson Education, Inc. Slide 8-1.
CSE 373 Data Structures and Algorithms Lecture 4: Asymptotic Analysis II / Math Review.
CSE 373: Data Structures and Algorithms Lecture 4: Math Review/Asymptotic Analysis II 1.
Sequences and Series (T) Students will know the form of an Arithmetic sequence.  Arithmetic Sequence: There exists a common difference (d) between each.
Lecture 9. Arithmetic and geometric series and mathematical induction
1 CS 201 Data Structures & Algorithms Chapter 1 Introduction Text: Read Weiss, §1.1 – 1.3 Izmir University of Economics.
Mathematics Review Exponents Logarithms Series Modular arithmetic Proofs.
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!
1 CE 221 Data Structures & Algorithms Chapter 1 Introduction Text: Read Weiss, §1.1 – 1.3 Izmir University of Economics.
Advance Data Structure and Algorithm COSC600 Dr. Yanggon Kim Chapter 1.
Chapter 1 Introduction. Goals Why the choice of algorithms is so critical when dealing with large inputs Basic mathematical background Review of Recursion.
INDUCTION AND RECURSION. PRINCIPLE OF MATHEMATICAL INDUCTION To prove that P(n) is true for all positive integers n, where P(n) is a propositional function,
1 CMSC 250 Chapter 4, con't., Inductive Proofs. 2 CMSC 250 Description l Inductive proofs must have: –Base case: where you prove that what it is you are.
Methods of Proofs PREDICATE LOGIC The “Quantifiers” and are known as predicate quantifiers. " means for all and means there exists. Example 1: If we.
9.4 Mathematical Induction
1.1 Introduction to Inductive and Deductive Reasoning
Mathematical Background and Linked Lists. 2 Iterative Algorithm for Sum Find the sum of the first n integers stored in an array v : sum (v[], n) temp_sum.
Cpt S 223 – Advanced Data Structures Math Review 2
Chapter 1: Introduction
October 3, 2001CSE 373, Autumn Mathematical Background Exponents X A X B = X A+B X A / X B = X A-B (X A ) B = X AB X N +X N = 2X N 2 N +2 N = 2 N+1.
2-6 Proving Angles Congruent. Theorem: a conjecture or statement that you prove true.
Nirmalya Roy School of Electrical Engineering and Computer Science Washington State University Cpt S 223 – Advanced Data Structures Math Review 1.
Inductive Proofs and Inductive Definitions Jim Skon.
CSE 373: Data Structures and Algorithms Lecture 4: Math Review/Asymptotic Analysis II 1.
1 Discrete Mathematical Mathematical Induction ( الاستقراء الرياضي )
Mathematical Induction
INDUCTION David Kauchak CS52 – Spring to-1 multiplexer control control_negate and_out1 input0 input1 and_out2 output.
CSE 311 Foundations of Computing I Lecture 15 Strong Induction and Recursive Definitions Spring
Mathematical Induction EECS 203: Discrete Mathematics Lecture 11 Spring
1 Mathematical Induction. 2 What is induction? A method of proof It does not generate answers: it only can prove them Three parts: Base case(s): show.
Mathematical Induction. The Principle of Mathematical Induction Let S n be a statement involving the positive integer n. If 1.S 1 is true, and 2.the truth.
INDUCTION David Kauchak CS52 – Spring to-1 multiplexer control control_negate and_out1 input0 input1 and_out2 output.
1 Proofs by Counterexample & Contradiction There are several ways to prove a theorem:  Counterexample: By providing an example of in which the theorem.
11.7 – Proof by Mathematical Induction
Mathematical Induction
BaSIC Math Reviews.
Other Forms of Induction
Follow me for a walk through...
Lecture 3.2: Induction, and Strong Induction
Lecture 3.2: Induction and Strong Induction (contd.)
Lecture 3.2: Induction, and Strong Induction
Lecture 3.2: Induction, and Strong Induction
CMSC 341 Math Review.
Mathematical Induction
Mathematical Induction
CE 221 Data Structures & Algorithms Chapter 1 Introduction
Follow me for a walk through...
Proof by induction There are different ways to prove in Maths, induction uses a ‘domino effect’: Step 1: test that an algebraic statement is true for one.
Chapter 11: Further Topics in Algebra
Proof by Induction L.O. All pupils understand proof by induction
(c) Project Maths Development Team 2011
1.1 Introduction to Inductive and Deductive Reasoning
Follow me for a walk through...
11.4 Mathematical Induction
Presentation transcript:

1 CMSC 341 Math Review

2 Exponents Identities (X A ) B = X AB X A * X B = X A+B X A / X B = X A-B X A + X B  X A+B

3 Logarithms Definition: N = log A X if and only if A N = X In this course and text, all logarithms are base 2 unless otherwise noted Identities

4 Mathematical series Geometric series:

5 Mathematical series (cont.) Infinite series. Ex. Other series:

6 Proof by induction Three steps: to prove a theorem F(N) for any positive integer N Step 1: Base case: prove F(1) is true there may be different base cases (or more than one base) Step 2: Hypothesis: assume F(k) is true for any k >= 1 (it is an assumption, don’t try to prove it) Step 3: Inductive proof: prove that if F(k) is true (assumption) then F(k+1) is true F(1) from base case F(2) from F(1) and inductive proof F(3) from F(2) and inductive proof … F(k+1) from F(k) and inductive proof

7 Proof by induction Ex., show that

8 exercise Fibonacci numbers: 0, 1, 1, 2, 3, 5, 8, 13,… Formal definition: F(0) = 0; F(1) = 1; F(n) = F(n-1) + F(n-2) for n > 1. Show that