A Brief Summary for Exam 2 Subject Topics Number theory (sections 2.4 - 2.5) –Prime numbers Definition Relative prime Fundamental theorem of arithmetic.

Slides:



Advertisements
Similar presentations
Practice Quiz 3 Recursive Definitions Relations Basic Counting Pigeonhole Principle Permutations & Combinations Discrete Probability.
Advertisements

Recursively Defined Functions
Course Outline. Lecture 1 Learning Objectives  To use set notations  To apply operations (union, intersection) on sets  To define de Morgan’s Laws.
Homework 7 –Average: 70Median: 75 – Homework 8 –Average: 74Median:
Lecture 19 Exam: Tuesday June14 4-6pm Overview. Disclaimer The following is a only study guide. You need to know all the material treated in class.
Discrete Mathematics Lecture 4: Sequences and Mathematical Induction
Discrete Mathematics Lecture 4 Harper Langston New York University.
Recursive Definitions Rosen, 3.4 Recursive (or inductive) Definitions Sometimes easier to define an object in terms of itself. This process is called.
Chapter 4 Properties of the integers: mathematical induction Yen-Liang Chen Dept of IM NCU.
Discrete Structures Chapter 2 Part B Mathematical Induction
Discrete Mathematics Lecture 5
Lecture 19 Exam: Tuesday June15 4-6pm Overview. General Remarks Expect more questions than before that test your knowledge of the material. (rather then.
Recursive Definitions Rosen, 3.4 Recursive (or inductive) Definitions Sometimes easier to define an object in terms of itself. This process is called.
Discrete Structures Chapter 5: Sequences, Mathematical Induction, and Recursion 5.2 Mathematical Induction I [Mathematical induction is] the standard proof.
Lecture 4 Discrete Mathematics Harper Langston. Algorithms Algorithm is step-by-step method for performing some action Cost of statements execution –Simple.
Slide Slide 1 Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley. Created by Tom Wegleitner, Centreville, Virginia Section 4-3.
Chapter 8 Counting Techniques PASCAL’S TRIANGLE AND THE BINOMIAL THEOREM.
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.
Climbing an Infinite Ladder
The Erik Jonsson School of Engineering and Computer Science © Duncan L. MacFarlane Probability and Stochastic Processes Yates and Goodman Chapter 1 Summary.
9/2/2015Discrete Structures1 Let us get into… Number Theory.
Copyright © 2000 by the McGraw-Hill Companies, Inc. Barnett/Ziegler/Byleen College Algebra: A Graphing Approach Chapter Six Sequences, Series, and Probability.
Discrete Mathematics CS 2610 March 26, 2009 Skip: structural induction generalized induction Skip section 4.5.
Sequences and Series. Quick Review.
Discrete Mathematics, 1st Edition Kevin Ferland
MAT 2720 Discrete Mathematics Section 6.1 Basic Counting Principles
Counting. Why counting  Determine the complexity of algorithms To sort n numbers, how many instructions are executed ?  Count the number of objects.
Advanced Counting Techniques CSC-2259 Discrete Structures Konstantin Busch - LSU1.
Review Chapter Chapter 1 Combinatorial Analysis Basic principle of counting Permutation Combination 2.
Discrete Mathematical Structures (Counting Principles)
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,
Binomial Coefficients, Inclusion-exclusion principle
Week 15 - Wednesday.  What did we talk about last time?  Review first third of course.
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide 9- 1.
Fall 2002CMSC Discrete Structures1 One, two, three, we’re… Counting.
Discrete Math Lecture 6: Discrete Probability
March 10, 2015Applied Discrete Mathematics Week 6: Counting 1 Permutations and Combinations How many different sets of 3 people can we pick from a group.
CSCI 115 Chapter 3 Counting. CSCI 115 §3.1 Permutations.
3. Counting Permutations Combinations Pigeonhole principle Elements of Probability Recurrence Relations.
Copyright (c) The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1-1 Chapter 10 Additional Topics in Algebra.
September1999 CMSC 203 / 0201 Fall 2002 Week #9 – 21/23/25 October 2002 Prof. Marie desJardins.
R. Johnsonbaugh Discrete Mathematics 5 th edition, 2001 Chapter 4 Counting methods and the pigeonhole principle.
Advanced Counting Techniques CSC-2259 Discrete Structures Konstantin Busch - LSU1.
Chapter 4 Probability, Randomness, and Uncertainty.
4-3 Addition Rule This section presents the addition rule as a device for finding probabilities that can be expressed as P(A or B), the probability that.
2/24/20161 One, two, three, we’re… Counting. 2/24/20162 Basic Counting Principles Counting problems are of the following kind: “How many different 8-letter.
3/7/20161 Now it’s time to look at… Discrete Probability.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. Lecture Slides Elementary Statistics Eleventh Edition and the Triola Statistics Series by.
Week 15 - Wednesday.  What did we talk about last time?  Review first third of course.
Fall 2002CMSC Discrete Structures1 Chapter 3 Sequences Mathematical Induction Recursion Recursion.
Lecture Slides Elementary Statistics Twelfth Edition
Now it’s time to look at…
The Pigeonhole Principle
9. Counting and Probability 1 Summary
Recursively Defined Functions
Mathematical Induction Recursion
A Brief Summary for Exam 2
Probability Models Section 6.2.
Summary 3 Discrete Probability (sections )
Now it’s time to look at…
Combinatorics.
Applied Discrete Mathematics Week 9: Integer Properties
Now it’s time to look at…
Applied Discrete Mathematics Week 10: Introduction to Counting
What’s on the exam? Sequences and Induction: Ch
CSE 321 Discrete Structures
Number Theory.
Probability Notes Math 309.
Recursion.
Probability Notes Math 309 August 20.
Presentation transcript:

A Brief Summary for Exam 2 Subject Topics Number theory (sections ) –Prime numbers Definition Relative prime Fundamental theorem of arithmetic (unique prime factorization of integers) –Division Definition (a | b iff b = a*c) and properties Division algorithm: a = dq + r Modula operation (a mod d) –gcd and lcm Their definitions gcd(a, b)*lcm(a, b) = a*b (why?) Euclidean algorithm for gcd (both iterative and recursive

Mathematical Induction & Recursion (sections ) –Sequence and summation Definition of sequence (ordered list of elements) Summation notations (lower/upper limits, double summation) Useful sequences (arithmetic, geometric, Fibonacci, etc.) and their summation formulas –Induction Rationale and relation to natural numbers Two parts of the proof basis step, inductive step (start with inductive hypothesis) Strong induction Structural induction

–Recursion Basic idea of recursion Recursive definition of –Sequences, functions, sets –Two parts: base case and recursion Relations to induction prove recursively defined properties by induction Recursive algorithms –Pros and cons (wrt iterative algorithms)

Counting (sections 4.1 – 4.5) –Useful rules: Sum rule: (disjoint) tasks done at same time |A 1  A 2 | = |A 1 | + |A 2 | Product rule: (disjoint) tasks done at different time |A 1  A 2 | = |A 1 | * |A 2 | Inclusion – exclusion rule: (overlapping) tasks done at same time |A 1  A 2 | = |A 1 | + |A 2 | - |A 1  A 2 | –Pigeonhole Principle Idea and rationale at least one box containing at least  N/k  of the objects.

–Permutations and combinations Definitions of permutations, r-permutations, r- combinations Formulae for (P(n,n), P(n, r), and C(n, r) P(n, r) = n!/(n – r)! C(n, r) = n!/[r!(n-r)!] Relationship between permutation and combinations P(n, r) = C(n, r)P(r, r) Pascal triangle and Binomial coefficients

Discrete Probability (sections ) –Experiments, outcomes, and sample space Use counting techniques to determine sample space p(s) for each s  S –0  p(s)  1 for each s  S –  s  S p(s) = 1 –If all outcome are equally probable, then p(s) = 1/|S| –Events and event probability E  S, P(E) =  s  E p(s) (P(E) = |E|/|S| if outcomes are equally likely) Use counting techniques to determine samples in E Complementary event: P(E) = 1 – P(-E). –Help with Venn diagram

–Conditional probability P(E|F) Definition: probability of E, given F (probability of E or in subspace F  S ) Relation to joint probability –p(E|F) = p(E  F)/p(F) or p(E|F) = |E  F|/|F| –p(E  F) = p(E|F)P(F) = p(F|E)P(E) –Inclusion-exclusion rule: p(E  F) = p(E) + p(F) – p(E  F) –Bayes’ theorem p(F|E) = p(E|F)p(F)/p(E)

–Independence Events E and F are independent of each other if p(E|F) = p(E) (E’s probability not depending on F) P(E  F) = p(E) + p(F) –p(E)p(F) –Bernoulli Trials Experiment with two outcomes, s and f, p = P(s), q = P(f) = 1– p (because p + q = 1) n independent trials with k s (and n – k f) C(n, k)p k q n-k

Types of Questions Conceptual –Definitions of terms –True/false –Multiple choice Problem solving –Work with small concrete example problems Proofs –Simple theorems or propositions –Especially proof by mathematical induction No questions will be outside of this summary and lecture notes