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

Find Angle Measures in Polygons
1. Prove that the sum of the interior angles of a polygon of n sides is 180 (n – 2). § 8.1 C B E D P F A Note that a polygon of n sides may be dissected.
Geometry 5 Level 1. Interior angles in a triangle.
Chapter 24 Polygons.
Geometry Chapter Polygons. Convex Polygon – a polygon with a line containing a side with a point in the interior of the polygon.
§8.1 Polygons The student will learn: the definition of polygons, 1 The terms associated with polygons, and how to tessellate a surface.
Lesson 3.5 AIM: The Polygon Exterior Angle Sum Theorem
Angles and Polygons COURSE 3 LESSON 8-6
Finding the Sum of the Interior Angles of a Convex Polygon Fun with Angles Mrs. Ribeiro’s Math Class.
Sequences and Series (T) Students will know the form of an Arithmetic sequence.  Arithmetic Sequence: There exists a common difference (d) between each.
Tessellations 12-6 Warm Up Lesson Presentation Lesson Quiz
Chapter 6: Polygons and Quadrilaterals. Polygon terms we know: Kite Trapezoid Polygons Quadrilateral Rectangle Square Concave Convex Side Vertex Diagonal.
Confidential 2 WARM UP 1.The following regular polygons tessellate. Determine how many of each polygon you need at each vertex. Squares and Octagons Determine.
CHAPTER 24 Polygons. Polygon Names A POLYGON is a shape made up of only STRAIGHT LINES.
Lesson 14 Measure of the Angles of Polygons. Get the idea The sum of the measure of interior angles of any triangle is 180°. We can use this fact to help.
Lesson 8.2 (Part 2) Exterior Angles in Polygons
Geometry Review AREA 1. Find the measure of each interior angle of the regular polygon shown below. 2.
CSE 20: Discrete Mathematics for Computer Science Prof. Shachar Lovett.
8.2 Angles in Polygons Polygon Number of sides Number of triangles Sum of measures of interior angles Triangle Quadrilateral Pentagon Hexagon Heptagon.
Tessellations *Regular polygon: all sides are the same length (equilateral) and all angles have the same measure (equiangular)
Polygons What are properties (rules) of the different types of Quadrilaterals?
Here are the eight semi-regular tessellations:
Areas of Regular Polygons Section Theorem 11.3 Area of an Equilateral Triangle: The area of an EQUILATERAL triangle is one fourth the square of.
CompSci 102 Discrete Math for Computer Science March 1, 2012 Prof. Rodger Slides modified from Rosen.
Tessellations 1 G.10b Images from ygons/regular.1.html
TESSELLATIONS A Tessellation (or Tiling) is a repeating pattern of figures that covers a plane without any gaps or overlaps.
POLYGONS A polygon is a closed plane figure that has 3 or more sides.
Lesson 10-4: Tessellation
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.
A) Find the measure of
Lesson 5.2 Polygon Exterior Angle Sum HOMEWORK: 5.2/ 1-10.
Geometry Section 11.1 Angle Measures in Polygons
The Interior Angles of Polygons. Sum of the interior angles in a polygon We’ve seen that a quadrilateral can be divided into two triangles … … and a pentagon.
8-1: Angles of Polygons. Diagonal-a line that connects any two vertices that are not next to each other. If diagonals are drawn from one vertex it splits.
Angles When the sides of a polygon are extended, other angles are formed. The original angles are the interior angles. The angles that form linear pairs.
6.1 Notes The Polygon Angle-Sum Theorem. Investigation Sketch a polygon with 4,5,6, and 8 sides. Divide each polygon into triangles by drawing all diagonals.
CSE 20: Discrete Mathematics for Computer Science Prof. Shachar Lovett.
Polygons Subtitle.
Tessellations 9-6 Warm Up Lesson Presentation Lesson Quiz
8.1 Angles of Polygons What you’ll learn:
Angle Relationships By Mr. Q.
Interior angles in a triangle
Now let’s explore the sum of the 4 angles in any quadrilateral.
Polygons – Measurements of Angles
11.1 Angles Measures in a Polygon
CSE 20: Discrete Mathematics for Computer Science Prof. Shachar Lovett
Find Angle Measures in Polygons
Tessellations POD: What is the measure of each interior angle of each regular polygon? Equilateral triangle Pentagon Hexagon Octagon.
An angle inside a polygon
Angle Relationships in Polygons
CSE 20: Discrete Mathematics for Computer Science Prof. Shachar Lovett
6.1 Notes: Angles of Polygons
ANGLES OF POLYGONS.
CSE 20: Discrete Mathematics for Computer Science Prof. Shachar Lovett
Tessellations POD: What is the measure of each interior angle of each regular polygon? Equilateral triangle Pentagon Hexagon Octagon.
V L T The sum of the interior angles of a triangle is 180 degrees.
Tessellations.
Tessellations.
Patterns and Combinatorics
Regular Polygons:.
Tessellations of the Plane
Tessellations Warm Up Lesson Presentation Lesson Quiz
Triangle sum property.
Tessellations Warm Up Lesson Presentation Lesson Quiz
Module 15: Lesson 1 Interior & Exterior Angles
Angle Measures in Polygons
Recap: The sum of interior angles in any quadrilateral is 360º
Tessellations Geometry Unit 2 Session 4.
Presentation transcript:

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

Today’s Topics: Recurrences examples

1. Domino tiling

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

Domino tiling Example: n=1 One way

Domino tiling Example: n=2 Two ways

Domino tiling Example: n=3 3 ways

Domino tiling Example: n=4 3 ways 4 ways 5 ways 6 ways None of the above

Domino tiling Example: n=4 3 ways 4 ways 5 ways 6 ways None of the above

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

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

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

2. Geometry

Polygons Theorem: in a polygon with n sides, the sum of the interior angles is (n-2)180 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: n=1 n=2 n=3 n=4 Other

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=1 n=2 n=3 n=4 Other

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)

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

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

A different proof Theorem: in a polygon with n sides, the sum of the interior angles is (n-2)180 Choose a point in the middle, create triangles n triangles; in each the sum is 180 Subtract center, contributes 360 (full circle) Total: n*180 - 360 = (n-2)180

3. Plane tiling

Plane tiling Partitioning the plane in a regular manner Which shapes can be used for that?

Boring example: squares

Boring example: triangles

Less boring: two squares What should be the ratio between the two squares to get this to work?

Pentagons: 14 possibilites

Escher

More Escher

Even more Escher

Regular tiling Regular polygon: all angles are the same

Regular tiling Which regular polygons can tile the plane? We have seen two examples What else?

Regular tiling regular n-polygon: regular polygon with n sides n=3,4 give a tiling That’s it There is a finite number of additional solutions There is an infinite number of additional solutions

Regular tiling Theorem: a regular n-polygon tile the plane only for n=3,4,6 How can we prove it? Take a couple of minutes to brainstorm with your neighbours

Regular tiling: proof We proved: in any polygon with n sides, sum of internal angles is (n-2)*180 In a regular n-polygon, all angles = 𝑛−2 𝑛 ∗180 If they tile the plane, then at a vertex, they must complete 360 If k regular n-polygons touch at a vertex, we have the equation 𝑘 𝑛−2 𝑛 ∗180=360

Regular tiling: proof n= 2𝑘 𝑘−2 What are the integer solutions of 𝑘 𝑛−2 𝑛 ∗180=360? 𝑘 𝑛−2 ∗180=𝑛∗360 𝑘 𝑛−2 =2𝑛 𝑘−2 𝑛=2𝑘 n= 2𝑘 𝑘−2 All (n,k) integer solutions -> proof of theorem Also: 𝑛≥3, 𝑘≥3

Regular tiling: proof n= 2𝑘 𝑘−2 𝑘=3:𝑛=6 hexagon tiling 𝑘=4:𝑛=4 square tiling 𝑘=5:𝑛=10/3 invalid 𝑘=6:𝑛=3 triangular tiling 𝑘>6:𝑛<3 invalid

Regular tiling: proof n= 2𝑘 𝑘−2 𝑘=3:𝑛=6 hexagon tiling 𝑘=4:𝑛=4 square tiling 𝑘=5:𝑛=10/3 invalid 𝑘=6:𝑛=3 triangular tiling 𝑘>6:𝑛<3 invalid

All regular tilings