CSE 20: Discrete Mathematics for Computer Science Prof. Shachar Lovett.

Slides:



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

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 MATH Prof. Shachar Lovett Clicker frequency: CA.
CSE 20 DISCRETE MATH Prof. Shachar Lovett Clicker frequency: CA.
Prof. Shachar Lovett Clicker frequency: CA CSE 20 Discrete math Prof. Shachar Lovett
CSE 20 DISCRETE MATH Prof. Shachar Lovett Clicker frequency: CA.
3.5 Parallel Lines and Triangles
Geometry 5 Level 1. Interior angles in a triangle.
3-5 Parallel Lines and Triangles
Geometry Chapter Polygons. Convex Polygon – a polygon with a line containing a side with a point in the interior of the polygon.
Polygons – Sum of the Angles The sum of the interior angles of a convex polygon depends on the number of sides of the polygon. The formula is developed.
Lecture 3: Polygon Triangulation Computational Geometry Prof. Dr. Th. Ottmann 1 Polygon Triangulation Motivation: Guarding art galleries Art gallery theorem.
CSE 20 DISCRETE MATH Prof. Shachar Lovett Clicker frequency: CA.
TR1413: Discrete Mathematics For Computer Science Lecture 1: Mathematical System.
Interior angles of polygons This is just one of the six interior angles of this polygon.
HOW TO FIND AN ANGLE MEASURE FOR A TRIANGLE WITH AN EXTENDED SIDE
Triangle Angle Sum Theorem Proof
Triangle Application Theorems Lesson 7.1. Theorem 50- The sum of the measures of the angles of a triangle is 180º.
CSE 20 DISCRETE MATH Prof. Shachar Lovett Clicker frequency: CA.
CSE 20 – Discrete Mathematics Dr. Cynthia Bailey Lee Dr. Shachar Lovett Peer Instruction in Discrete Mathematics by Cynthia Leeis licensed under a Creative.
Pythagorean Theorem By: Tytionna Williams.
CSE 20 – Discrete Mathematics Dr. Cynthia Bailey Lee Dr. Shachar Lovett Peer Instruction in Discrete Mathematics by Cynthia Leeis licensed under a Creative.
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!
CSE 20: Discrete Mathematics for Computer Science Prof. Shachar Lovett.
Congruence in Right Triangles
CSE 20: Discrete Mathematics for Computer Science Prof. Shachar Lovett.
CSE 20: Discrete Mathematics for Computer Science Prof. Shachar Lovett.
CSE 20: Discrete Mathematics for Computer Science Prof. Shachar Lovett.
Chapter 4.1 Notes: Apply Triangle Sum Properties
How can I make a skateboard ramp that is 160 degrees with the ground?
CSE 20 – Discrete Mathematics Dr. Cynthia Bailey Lee Dr. Shachar Lovett Peer Instruction in Discrete Mathematics by Cynthia Leeis licensed under a Creative.
Topic 2 Angle Properties in Triangles Unit 2 Topic 2.
CSE 20: Discrete Mathematics for Computer Science Prof. Shachar Lovett.
CSE 20: Discrete Mathematics for Computer Science Prof. Shachar Lovett.
CSE 20: Discrete Mathematics for Computer Science Prof. Shachar Lovett.
8 th Grade TAG Geometry.  Write each definition as a biconditional:  A pentagon is a five sided polygon.  A right angle measures 90 degrees.
CompSci 102 Discrete Math for Computer Science March 1, 2012 Prof. Rodger Slides modified from Rosen.
CSE 20: Discrete Mathematics for Computer Science Prof. Shachar Lovett.
CSE 20: Discrete Mathematics for Computer Science Prof. Shachar Lovett.
Triangle Angle Sum Theorem, Triangle Exterior Angle Theorem
Geometry. 3 sides 4 sides 5 sides 6 sides 8 sides 9 sides 10 sides 12 sides triangle quadrilateral pentagon hexagon octagon nonagon decagon dodecagon.
1 INFO 2950 Prof. Carla Gomes Module Induction Rosen, Chapter 4.
I can use theorems, postulates and/or definitions to prove theorems about triangles including: measures of interior angles of a triangle sum to 180 degrees.
Do Now. Section 8.2 Angles in Polygons Polygon Interior Angles Theorem The sum of the measures of the interior angles of a convex polygon with n sides.
Lesson 5.2 Polygon Exterior Angle Sum HOMEWORK: 5.2/ 1-10.
CSE 20: Discrete Mathematics for Computer Science Prof. Shachar Lovett.
3.5 Parallel Lines and Triangles
Mathematical Induction Thinking Skill: Develop Confidence in Reason Warm Up: Find the k+1 term (P k+1 ) 1) 2)
HONORS GEOMETRY 4.2. Angles of Triangles. Do Now: Classify the following triangles and then find x and ?.
Angles in regular polygons Be able to find the interior and exterior angles of any regular polygon Be able to calculate the number of sides from the interior.
1 Discrete Mathematical Mathematical Induction ( الاستقراء الرياضي )
+ Angle Relationships in Triangles Geometry Farris 2015.
Geometry Name: __________________________ Unit 4 – Polygon NotesDate: ___________________________ Polygons – - __________________________________________________.
Geometry Section 4.1 Apply Triangle Sum Properties.
CSE 20: Discrete Mathematics for Computer Science Prof. Shachar Lovett.
8.1 Angles of Polygons What you’ll learn:
Angles in a Triangle By Shirley Sides 2006.
CSE 20: Discrete Mathematics for Computer Science Prof. Shachar Lovett
CSE 20: Discrete Mathematics for Computer Science Prof. Shachar Lovett
MATH 15A – Discrete Mathematics
Triangle Application Theorems
CSE 20: Discrete Mathematics for Computer Science Prof. Shachar Lovett
CSE 20: Discrete Mathematics for Computer Science Prof. Shachar Lovett
V L T The sum of the interior angles of a triangle is 180 degrees.
CSE 20: Discrete Mathematics for Computer Science Prof. Shachar Lovett
Base Angles & Exterior Angles
Mathematical Induction
5.2-Inequalities and Triangles
Module 15: Lesson 1 Interior & Exterior Angles
Angle Measures in Polygons
Presentation transcript:

CSE 20: Discrete Mathematics for Computer Science Prof. Shachar Lovett

Today’s 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  Example: n=4 A. 3 ways B. 4 ways C. 5 ways D. 6 ways E. None of the above 9

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 10

Domino tiling  P(n) – number of ways to tile an 2xn board with 2x1 and 1x2 dominos  Lets look on the right most tiles 11 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) 12 2 x (n-1) board2 x (n-2) board

2. Amebas 13

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 14 

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) 15

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. 16

3. Geometry 17

Polygons  Theorem: in a polygon with n sides, the sum of the interior angles is (n-2)180  18 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 19

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 20

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) 21

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  22

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 23 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 24