CSE 20 – Discrete Mathematics Dr. Cynthia Bailey Lee Dr. Shachar Lovett Peer Instruction in Discrete Mathematics by Cynthia Leeis licensed under a Creative.

Slides:



Advertisements
Similar presentations
TWO STEP EQUATIONS 1. SOLVE FOR X 2. DO THE ADDITION STEP FIRST
Advertisements

Copyright © Cengage Learning. All rights reserved.
You have been given a mission and a code. Use the code to complete the mission and you will save the world from obliteration…
11.1 Angle Measures in Polygons
Bellwork If you roll a die, what is the probability that you roll a 2 or an odd number? P(2 or odd) 2. Is this an example of mutually exclusive, overlapping,
A polygon is a closed figure whose sides are line segments that intersect only at their endpoints. In a regular polygon , all the angles have the same.
1 Copyright © 2010, Elsevier Inc. All rights Reserved Fig 2.1 Chapter 2.
By D. Fisher Geometric Transformations. Reflection, Rotation, or Translation 1.
Factors, Primes & Composite Numbers
Chapters 1 & 2 Theorem & Postulate Review Answers
Business Transaction Management Software for Application Coordination 1 Business Processes and Coordination.
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
Title Subtitle.
Multiplying binomials You will have 20 seconds to answer each of the following multiplication problems. If you get hung up, go to the next problem when.
0 - 0.
DIVIDING INTEGERS 1. IF THE SIGNS ARE THE SAME THE ANSWER IS POSITIVE 2. IF THE SIGNS ARE DIFFERENT THE ANSWER IS NEGATIVE.
MULTIPLYING MONOMIALS TIMES POLYNOMIALS (DISTRIBUTIVE PROPERTY)
ADDING INTEGERS 1. POS. + POS. = POS. 2. NEG. + NEG. = NEG. 3. POS. + NEG. OR NEG. + POS. SUBTRACT TAKE SIGN OF BIGGER ABSOLUTE VALUE.
MULTIPLICATION EQUATIONS 1. SOLVE FOR X 3. WHAT EVER YOU DO TO ONE SIDE YOU HAVE TO DO TO THE OTHER 2. DIVIDE BY THE NUMBER IN FRONT OF THE VARIABLE.
SUBTRACTING INTEGERS 1. CHANGE THE SUBTRACTION SIGN TO ADDITION
MULT. INTEGERS 1. IF THE SIGNS ARE THE SAME THE ANSWER IS POSITIVE 2. IF THE SIGNS ARE DIFFERENT THE ANSWER IS NEGATIVE.
Addition Facts
ZMQS ZMQS
Richmond House, Liverpool (1) 26 th January 2004.
BT Wholesale October Creating your own telephone network WHOLESALE CALLS LINE ASSOCIATED.
Extensible Networking Platform CSE 240 – Logic and Discrete Mathematics Review: Mathematical Induction Use induction to prove that the sum of the.
Discrete Math Recurrence Relations 1.
Solve two-step equations.
ABC Technology Project
CSE 20 – Discrete Mathematics Dr. Cynthia Bailey Lee Dr. Shachar Lovett Peer Instruction in Discrete Mathematics by Cynthia Leeis licensed under a Creative.
© S Haughton more than 3?
Twenty Questions Subject: Twenty Questions
Squares and Square Root WALK. Solve each problem REVIEW:
Lets play bingo!!. Calculate: MEAN Calculate: MEDIAN
Geometry Mr. Nealey 7th Grade
Past Tense Probe. Past Tense Probe Past Tense Probe – Practice 1.
Chapter 5 Test Review Sections 5-1 through 5-4.
GG Consulting, LLC I-SUITE. Source: TEA SHARS Frequently asked questions 2.
CSE 20 – Discrete Mathematics Dr. Cynthia Bailey Lee Dr. Shachar Lovett Peer Instruction in Discrete Mathematics by Cynthia Leeis licensed under a Creative.
CSE 20 – Discrete Mathematics Dr. Cynthia Bailey Lee Dr. Shachar Lovett Peer Instruction in Discrete Mathematics by Cynthia Leeis licensed under a Creative.
Addition 1’s to 20.
25 seconds left…...
Test B, 100 Subtraction Facts
Week 1.
We will resume in: 25 Minutes.
1 Unit 1 Kinematics Chapter 1 Day
TASK: Skill Development A proportional relationship is a set of equivalent ratios. Equivalent ratios have equal values using different numbers. Creating.
CSE 20 – Discrete Mathematics Dr. Cynthia Bailey Lee Dr. Shachar Lovett Peer Instruction in Discrete Mathematics by Cynthia Leeis licensed under a Creative.
1 Cultural Connection The Industrial Revolution Student led discussion. The Nineteenth Century.
Prof. Shachar Lovett Clicker frequency: CA CSE 20 Discrete math Prof. Shachar Lovett
CSE 20 – Discrete Mathematics Dr. Cynthia Bailey Lee Dr. Shachar Lovett Peer Instruction in Discrete Mathematics by Cynthia Leeis licensed under a Creative.
CSE 20 – Discrete Mathematics Dr. Cynthia Bailey Lee Dr. Shachar Lovett Peer Instruction in Discrete Mathematics by Cynthia Leeis licensed under a Creative.
CSE 20 – Discrete Mathematics Dr. Cynthia Bailey Lee Dr. Shachar Lovett Peer Instruction in Discrete Mathematics by Cynthia Leeis licensed under a Creative.
CSE 20 – Discrete Mathematics Dr. Cynthia Bailey Lee Dr. Shachar Lovett Peer Instruction in Discrete Mathematics by Cynthia Leeis licensed under a Creative.
CSE 20 – Discrete Mathematics Dr. Cynthia Bailey Lee Dr. Shachar Lovett Peer Instruction in Discrete Mathematics by Cynthia Leeis licensed under a Creative.
CSE 20 – Discrete Mathematics Dr. Cynthia Bailey Lee Dr. Shachar Lovett Peer Instruction in Discrete Mathematics by Cynthia Leeis licensed under a Creative.
CSE 20 – Discrete Mathematics Dr. Cynthia Bailey Lee Dr. Shachar Lovett Peer Instruction in Discrete Mathematics by Cynthia Leeis licensed under a Creative.
CSE 20: Discrete Mathematics for Computer Science Prof. Shachar Lovett.
CSE 20 – Discrete Mathematics Dr. Cynthia Bailey Lee Dr. Shachar Lovett Peer Instruction in Discrete Mathematics by Cynthia Leeis licensed under a Creative.
CSE 20: Discrete Mathematics for Computer Science Prof. Shachar Lovett.
CSE 20 – Discrete Mathematics Dr. Cynthia Bailey Lee Dr. Shachar Lovett Peer Instruction in Discrete Mathematics by Cynthia Leeis licensed under a Creative.
CSE 20 – Discrete Mathematics Dr. Cynthia Bailey Lee Dr. Shachar Lovett Peer Instruction in Discrete Mathematics by Cynthia Leeis licensed under a Creative.
CSE 20 – Discrete Mathematics Dr. Cynthia Bailey Lee Dr. Shachar Lovett Peer Instruction in Discrete Mathematics by Cynthia Leeis licensed under a Creative.
CSE 20 – Discrete Mathematics Dr. Cynthia Bailey Lee Dr. Shachar Lovett Peer Instruction in Discrete Mathematics by Cynthia Leeis licensed under a Creative.
CSE 20 – Discrete Mathematics Dr. Cynthia Bailey Lee Dr. Shachar Lovett Peer Instruction in Discrete Mathematics by Cynthia Leeis licensed under a Creative.
CSE 20 – Discrete Mathematics Dr. Cynthia Bailey Lee Dr. Shachar Lovett Peer Instruction in Discrete Mathematics by Cynthia Leeis licensed under a Creative.
CSE 20: Discrete Mathematics for Computer Science Prof. Shachar Lovett
CSE 20 – Discrete Mathematics
V L T The sum of the interior angles of a triangle is 180 degrees.
Presentation transcript:

CSE 20 – Discrete Mathematics Dr. Cynthia Bailey Lee Dr. Shachar Lovett Peer Instruction in Discrete Mathematics by Cynthia Leeis licensed under a Creative Commons Attribution- NonCommercial-ShareAlike 4.0 International License. Based on a work at Permissions beyond the scope of this license may be available at LeeCreative Commons Attribution- NonCommercial-ShareAlike 4.0 International Licensehttp://peerinstruction4cs.org

Todays Topics: 1. Recurrences 2. Example: amebas 3. Example: polygons 2

1. Recurrence Dominos tiling 3

Domino tiling A board with 2 rows and n columns How many ways can you tile it with 2x1 dominos (all identical) 4

Domino tiling Example: n=1 One way 5

Domino tiling Example: n=2 Two ways 6

Domino tiling Example: n=3 3 ways 7

Domino tiling Example: n=4 A. 3 ways B. 4 ways C. 5 ways D. 6 ways E. None of the above 8

Domino tiling Number of ways to tile an 2xn board with 1x2 and 2x1 domino pieces 1,2,3,5,8,13,… Fibonacci sequence! Can we prove it? Try yourself first 9

Domino tiling P(n) – number of ways to tile an 2xn board with 2x1 and 1x2 dominos Lets look on the right most tiles 10 2 x (n-1) board2 x (n-2) board

Domino tiling 1 st option: can tile remaining board in P(n-1) ways 2 nd option: can tile remaining board in P(n-2) ways So P(n)=P(n-1)+P(n-2) 11 2 x (n-1) board2 x (n-2) board

2. Amebas 12

Life-cycle of amebas Amebas multiply by splitting: creating two new amebas and dying immediately after Theorem: if you start with one ameba, then always the number of living amebas is one more than the number of dead amebas 13

Amebas Theorem: starting with one ameba, #living amebas = #dead amebas + 1 Definitions L(n) – number of living amebas after n steps D(n) – number of dead amebas after n steps Theorem: L(n)=D(n)+1 Try and prove yourself first (using induction) 14

Amebas Theorem: L(n)=D(n)+1 Proof by induction on n Base case: n=0, initially we have one living ameba and no dead amebas, so L(0)=1, D(0)=0 and L(0)=D(0)+1 Inductive case: Assume L(n)=D(n)+1. Prove for n+1. Going from time n to time n+1, we have one more living amebas and one more dead amebas, so L(n+1)=L(n)+1 and D(n+1)=D(n)+1, so also L(n+1)=D(n+1)+1. QED. 15

3. Geometry 16

Polygons Theorem: in a polygon with n sides, the sum of the interior angles is (n-2) Example: sum of angles is 3*180

Polygons Theorem: in a polygon with n sides, the sum of the interior angles is (n-2)180 Proof by induction on n Base case: A. n=1 B. n=2 C. n=3 D. n=4 E. Other 18

Polygons Theorem: in a polygon with n sides, the sum of the interior angles is (n-2)180 Proof by induction on n Base case: n=3, sum of angles in a triangle is 180 (without proof here) 19

Polygons Theorem: in a polygon with n sides, the sum of the interior angles is (n-2)180 Inductive step: assume for n, prove for n+1 That is Assume: every n-polygon has degree sum (n-2)180 WTS: every (n+1)-polygon has degree sum (n-1)180 20

Polygons Theorem: in a polygon with n sides, the sum of the interior angles is (n-2)180 Inductive step: assume for n, prove for n+1 Main idea: split (n+1)-polygon to a triangle and an n-polygon 21 Triangle, sum of angles is180 n-polygon, sum of angles is(n-2)180 by inductive hypothesis

Polygons Theorem: in a polygon with n sides, the sum of the interior angles is (n-2)180 Inductive step: assume for n, prove for n+1 Split the polygon by a diagonal to an n-polygon and a triangle. The sum of the angles in the (n+1)- polygon is equal to the sum of angles in the triangle plus the sum of the angles in the n-polygon. The sum of angles in the triangle is 180. The sum of angles in the n-polygon is (n-2)180 by the inductive hypothesis. So, total sum of angles is (n-1) 180. QED 22