Welcome to CSCA67 Discrete Mathematics for Computer Scientists

Slides:



Advertisements
Similar presentations
Welcome to CSCA67 Discrete Mathematics for Computer Scientists
Advertisements

Stream 1 Dr Deborah King Room G42 Richard Berry Building
Computer Science 20 Discrete Mathematics for Computer Science All the Math you need for your Computer Science courses that you won’t learn in your Math.
Engineering Math II TaeKyoung Kwon
MAT 3749 Introduction to Analysis Fall 2013
Introductory Lecture. What is Discrete Mathematics? Discrete mathematics is the part of mathematics devoted to the study of discrete (as opposed to continuous)
Lecture 1: Basics of Math and Economics AGEC 352 Spring 2011 – January 12 R. Keeney.
Discrete Maths Objective to give some background on the course , Semester 2, Who I am: Andrew Davison WiG Lab
Welcome Astronomy 311 Professor Lee Carkner Lecture 1.
About the Course Lecture 0: Sep 2 AB C. Plan  Course Information and Arrangement  Course Requirement  Topics and objectives of this course.
Welcome to MAT 170. Basic Course Information Instructor Office Office Hours Beth Jones PSA 725 Wednesday and Friday 10:40 am – 11:30 am and by appointment.
Overview Discrete Mathematics and Its Applications Baojian Hua
COMP171 Data Structures and Algorithm Qiang Yang Lecture 1 ( Fall 2006)
Overview Discrete Mathematics and Its Applications Baojian Hua
COMP152 Object-Oriented Programming and Data Structures Spring 2011.
Introduction to Programming with Java, for Beginners Welcome.
MATH 330: Ordinary Differential Equations Fall 2014.
CSE115/ENGR160 Discrete Mathematics 01/17/12 Ming-Hsuan Yang UC Merced 1.
Quantitative Research Methods for Information Systems and Management (Info 271B) Course Introduction: Preface to Social Research and Quantitative Methods.
TR1413: Discrete Math for Computer Science Lecture 0: Introduction.
Nsm.uh.edu Math Courses Available After College Algebra.
Spring 2012 MATH 250: Calculus III. Course Topics Review: Parametric Equations and Polar Coordinates Vectors and Three-Dimensional Analytic Geometry.
Mathematical Applications for the Biological Sciences Calculus 1201.
© 2004 Goodrich, Tamassia CS2210 Data Structures and Algorithms Lecture 1: Course Overview Instructor: Olga Veksler.
Teaching Teaching Discrete Mathematics and Algorithms & Data Structures Online G.MirkowskaPJIIT.
1 9/8/2015 MATH 224 – Discrete Mathematics Basic finite probability is given by the formula, where |E| is the number of events and |S| is the total number.
MATH 310, FALL 2003 (Combinatorial Problem Solving) MoWeFr 1:20 McGregory 214.
COMP Introduction to Programming Yi Hong May 13, 2015.
CS 103 Discrete Structures Lecture 01 Introduction to the Course
PHY 1401 General College Physics (Gen Phy 1) Spring 2010 North Ridge Campus.
General Physics1 Welcome to Phys 130! Blackboard blackboard.siena.edu.
Welcome on Board CSCE 106. Course Information (Lecture 0) Eman Nasr MSc, MPhil, PhD CSCE106 – Fundamentals of Computer Science.
CST 229 Introduction to Grammars Dr. Sherry Yang Room 213 (503)
Introduction to Discrete Mathematics J. H. Wang Sep. 14, 2010.
General Physics Lecture 1 1 Welcome to Phys 130! Blackboard blackboard.siena.edu.
CS355 Advanced Computer Architecture Fatima Khan Prince Sultan University, College for Women.
Discrete Structures for Computing
Discrete Mathematics CS204 Spring CS204 Discrete Mathematics Instructor: Professor Chin-Wan Chung (Office: Rm 3406, Tel:3537) 1.Lecture 1)Time:
Welcome to CMPSC 360!. Today Introductions Student Information Sheets, Autobiography What is Discrete Math? Syllabus Highlights
10/26/2015Math is awesome!1. 10/26/2015Math is awesome!2 Algebra II Advanced Functions What is it all about?
Quantitative Methods in Geography Geography 391. Introductions and Questions What (and when) was the last math class you had? Have you had statistics.
CPSC 121: Models of Computation Unit 0 Introduction George Tsiknis Based on slides by Patrice Belleville and Steve Wolfman.
Lecture 1 Analytic Geometry-I. Instructor and Textbooks Instructor: Dr. Tarek Emam Location: C5 301-right Office hours: Sunday: from 1:00 pm to 3:00pm.
Fall 2014 MATH 250: Calculus III. Course Topics Review: Parametric Equations and Polar Coordinates Vectors and Three-Dimensional Analytic Geometry.
Nirmalya Roy School of Electrical Engineering and Computer Science Washington State University Cpt S 223 – Advanced Data Structures Course Introduction.
1/10/ Math/CSE 1019N: Discrete Mathematics for Computer Science Winter 2007 Suprakash Datta Office: CSEB 3043 Phone:
Welcome to PreCalculus! Instructor: B. Beck-Smith.
CS151 Introduction to Digital Design Noura Alhakbani Prince Sultan University, College for Women.
1 CS 381 Introduction to Discrete Structures Lecture #1 Syllabus Week 1.
Data Structures and Algorithms in Java AlaaEddin 2012.
Physics 211 College Physics I. Introduction  Instructor:Larry Watson  Office:105 Witmer  Phone:   web:und.nodak.edu/instruct/lwatson/211.
CIT 592 Discrete Math Lecture 1. By way of introduction … Arvind Bhusnurmath There are no bonus points for pronouncing my last name correctly Please call.
Final Exam Information These slides and more detailed information will be posted on the webpage later…
PRECALCULUS HONORS Hallman-Morris, Iglesias, Wood TC Roberson High School.
Mr. Rizzutto Mathematics Room th Grade Team Mr. Barnisky – Civics Mr. Shreve – Science Miss. Dunsmore – Language Arts Mr. Rizzutto – Mathematics.
Computer Science 20 Discrete Mathematics for Computer Science 1 All the Math you need for your Computer Science courses that you won’t learn in your Math.
1 COMP2121 Discrete Mathematics Introduction Hubert Chan [O1 Abstract Concepts] [O2 Proof Techniques] [O3 Basic Analysis Techniques]
CS101 Computer Programming I
COMP 283 Discrete Structures
Welcome to CMSC 203 – Discrete Structures Spring 2003
Autonomous Cyber-Physical Systems: Course Introduction
11/20/2018 Math is awesome!.
11/24/2018 Math is awesome!.
Jeremy Bolton, PhD Assistant Teaching Professor
C Programming Lecture 1 : Introduction
C Programming Lecture 1 : Introduction
AP Biology.
Welcome to Concepts of Math
Welcome to Concepts of Math
TaeKyoung Kwon Engineering Math II TaeKyoung Kwon
Presentation transcript:

Welcome to CSCA67 Discrete Mathematics for Computer Scientists Anna Bretscher and Richard Pancer AA112 Bretscher Fridays 10:10-12pm SY110 Pancer Fridays 13:10-14pm

Evaluation Assignments 4 each worth 10% Late assignments will be accepted up to 24 hrs late with a penalty of 25% You are encouraged to discuss the problems with other students however, the actual write up must be an individual effort You must be able to reproduce any solution that you submit. The penalty for cheating ranges from a zero on the assignment to suspension from the university

Evaluation Term Test Week 7 or 8 worth 20% Final Exam Worth 40%

Resources Course Slides Posted each week. Print them and bring to class. Website http://www.utsc.utoronto.ca/bretscher/a67/f14 Check the announcements daily. Textbook Stein, Drysdale and Bogart, Discrete Mathematics for Computer Scientists Office Hours Tutorials

Course Expectations Expectations of the lecturer Give clear, organized lectures Assign fair, challenging assignments that ensure that you, the student, understand the material Be available for help in office hours Help every student achieve their goals in the course (this requires your help!)

Course Expectations Expectations of the student Attend lectures and participate Bring course notes to class Review lecture notes after each class, not just before the exam Complete homework fully, neatly and independently Have respect for your classmates and lecturers

Discrete Mathematics Who needs it? Anyone in computer science or a mathematical science Why? In CS we need to be able to speak precisely without ambiguity analyze problems and formulate solutions apply the concepts associated with probability, graph theory and counting theory.

CS is Applied Mathematics! Specifically, we will work on: Thinking abstractly Expressing ourselves precisely Arguing logically – i.e., inferring conclusions that necessarily result from assumptions Writing rigorous solutions Learning how mathematics and computer science work together

Where Does Mathematics Appear in Computer Science? Computer Graphics Multivariable calculus, physics-based modelling Digital Signal Processing Multivariable calculus, (eg., speech understanding) Numerical Analysis Multivariable calculus, linear algebra Cryptography Number theory Networking Algorithms Graph theory, statistics, combinatorics, probability, set theory

Where Does Mathematics Appear in Computer Science? Databases Set theory, logic Artificial Intelligence Programming Languages Formal Methods Set theory, logic for the specification and verification of hardware and software; (e.g., nuclear, aviation – NASA!)

Course Outline Counting 3 weeks Probability 2 weeks Proofs Graph Theory

How Do I Become Good At This Stuff? BY FAILING! WHAT ??? Every time you fail at solving a problem, you learn something. You take a step closer to the solution.

Let’s Talk About Counting Counting shows up everywhere… Even when ordering pizza.

Counting Pizza Toppings Q. Are there really 1,048,576 possibilities? A. No! The commercial got it wrong. Let’s count it ourselves.

Counting Pizza Toppings* The commercial’s deal was: • 2 pizzas • up to 5 toppings on each • 11 toppings to choose from • all for $7.98 (back in 1997). The commercial’s math kid claimed there are 1,048,576 possibilities. *http://mindyourdecisions.com/blog/2011/04/27/math-problem-pizza-topping-combinations

Let’s Do The Calculation Q. How many ways can we order a pizza with 0 toppings? A. 1 Q. How many ways can we order a pizza with 1 topping? A. 11

Let’s Do The Calculation Q. How many ways can we order a pizza with 2 toppings? A. 11 choices for the first topping (assume no “double” toppings) 10 choices for the second would give 10 x 11 = 110. Order does not matter, so 110/2 = 55.

Let’s Do The Calculation Q. How many ways can we order a pizza with 3 toppings? A. 11 x 10 x 9 ways to select the toppings (assume no “double” toppings) Does the order the toppings are picked matter? How many times have we over counted?

Let’s Do The Calculation Q. How many times have we over counted? Let our toppings be called x, y and z. Equivalent pizzas: xyz xzy yxz yzx zxy zyx Can think of this as 3 choices for the first topping, 2 for the second, 1 choice for the last topping. 3 x 2 x 1 = 6 Total: (11 x 10 x 9) / 6

Let’s Do The Calculation Q. How many ways can we order a pizza with 4 toppings? A. 11 x 10 x 9 x 8 ways to select the toppings (assume no “double” toppings) How many times have we over counted? 4 x 3 x 2 x 1 = 4! = 24 So (11 x 10 x 9 x 8) / 4!

Let’s Do The Calculation Q. How many ways can we order a pizza with 5 toppings? A. 11 x 10 x 9 x 8 x 7 ways to select the toppings (assume no “double” toppings) How many times have we over counted? 5 x 4 x 3 x 2 x 1 = 5! = 120 So (11 x 10 x 9 x 8 x 7) / 5!

Let’s Do The Calculation So the total number of ways to order a pizza with up to 5 toppings choosing from 11 toppings is: 1 + 11 + (11 x 10)/2 + (11 x 10 x 9)/3! + (11 x 10 x 9 x 8)/4! + (11 x 10 x 9 x 8 x 7)/5! = 1 + 11 + 55 + 165 + 330 + 462 = 1024 Q. How did they get 1,048,576 in the commercial?

Let’s Do The Calculation Q. How did they get 1,048,576 in the commercial? A. Two pizzas. So for each of the 1024 choices for the first pizza, there are 1024 choices for the second pizza. 1024 x 1024 = 1, 048, 576 Q. Is 1,048,576 the correct answer? A. No. Why not?

Let’s Do The Calculation Q. Why isn’t 1,048,576 the correct answer? A. We have over counted something. The order of any two pizzas doesn’t matter (Pizzas A, B are the same as B, A). Q. How do we correct this? A. Divide by 2: 1,048,576 ÷ 2 = 524, 288.

Let’s Do The Calculation Q. Is 524,288 the correct answer? A. No. We have under counted something. There are not two orderings when we order two identical pizzas (A, A). But we divided by 2 before. Q. How do we correct this?

Let’s Do The Calculation Q. How do we correct this? A. Add back half of the number of identical pizzas. Q. How many pairs of identical pizzas are there? A. 1024. Final answer: 524,288 + 1024÷2 = 524,288 + 512 = 524,800