Computational Thinking

Size: px
Start display at page:

Download "Computational Thinking"

Transcription

1 Computational Thinking Giri Narasimhan School of Computing and Information Sciences College of Engineering and Computing

2 2 What is Computational Thinking? u [J. Wing, CACM 2006] Thought processes involved in: Problem solving Decomposition/Induction; Reduction/Transformation; Pattern Recognition; Abstraction; Algorithm Design [ edu/computational-thinking/] Designing Systems Metacomputing u A basic skill for all modern human beings u A concept that grew out of teaching CS u How to teach it?

3 3 Luciano and others said u Girls love (math) puzzles. u Girls prefer to collaborate than to work alone.... u Then girls should love (algorithmic) puzzles! u With a bit of work, puzzles can be made collaborative. u It might even get them excited about programming the algorithm.

4 4 1. Twenty Questions? u I have thought of a number X between 1 and a million. u Your job is to infer this number by asking questions u If you guess a number X, I will respond with either: LOWER or HIGHER or YES u How many guesses do you need to correctly infer? u Observation: You will never need more than a million guesses!

5 5 Twenty Questions for X = Guess: 500,000 LOWER 2. Guess: 250,000 LOWER 3. Guess: 125,000 LOWER 4. Guess: 62,500 LOWER 5. Guess: 31,250 LOWER 6. Guess: 15,625 LOWER 7. Guess: 7,812 LOWER 8. Guess: 3,906 LOWER 9. Guess: 1,953 LOWER 10. Guess: 976 LOWER 11. Guess: 488 HIGHER 12. Guess: 732 LOWER 13. Guess: 610 LOWER 14. Guess: 549 HIGHER 15. Guess: 579 HIGHER 16. Guess: 594 LOWER 17. Guess: 586 HIGHER 18. Guess: 590 LOWER 19. Guess: 588 YES DONE! u At most log 2 (N)+1 questions

6 6 Twenty Questions Analysis u If X is between 1 and N, then the initial range for X is of width N u After first question, range narrows to width N/2 u After each question, range width is halved u Stops when the width is at most 1 u Hence at most log 2 (N)+1 questions needed. u But then, log 2 (1,000,000) < 20

7 7 Binary Search Algorithm ALGORITHM BinarySearch (Min, Max, X) Lo = Min Hi = Max repeat while (Lo <= Hi) COMMENT: X is between Lo and Hi Guess: Mid = (Lo + Hi) / 2 If answer is LOWER then Hi = Mid -1 else If answer is HIGHER then Lo = Mid + 1 else return Mid

8 8 Modified Twenty Questions u I have thought of a positive number X. u Your job is to infer this number by asking questions u If you guess a number X, I will respond with either: LOWER or HIGHER or YES u How many guesses do you need to correctly infer?

9 9 Solution Strategy u Guess an upper bound B u Then perform Binary Search in range [1, B] u How to guess an upper bound? Doubling Search

10 10 Modified 20 Questions: X = Guess: 2? HIGHER 2. Guess: 4? HIGHER 3. Guess: 8? HIGHER 4. Guess: 16? HIGHER 5. Guess: 32? HIGHER 6. Guess: 64? HIGHER 7. Guess: 128? HIGHER 8. Guess: 256? HIGHER 9. Guess: 512? HIGHER 10. Guess: 1024? LOWER 11. Guess: 768? LOWER 12. Guess: 640? LOWER 13. Guess: 576? HIGHER 14. Guess: 608? LOWER 15. Guess: 594? LOWER 16. Guess: 585? HIGHER 17. Guess: 589? LOWER 18. Guess: 587? HIGHER 19. Guess: 588? Yes DONE! u At most 2log 2 (X)+1 questions

11 11 What did we do here? u Found a fun way to think about a standard computer science algorithm. u Forced students to be creative with a standard algorithm. u Decomposition or Divide-and-Conquer After every question we narrowed down the search range by a factor of 2.

12 12 Algorithms are recipes!

13 13 2. Celebrity Problem u A Celebrity is one that knows nobody and that everybody knows. u Observation: There can be at most one celebrity in a room. u Observation: There may be no celebrity in the room. u Goal: To identify the celebrity if one exists with the least number of questions. u Allowable YES/NO Questions: Ask X if he/she knows Y

14 14 Celebrity Problem Cont d u A Celebrity is one that knows nobody and that everybody knows. u Goal: To identify the celebrity if one exists with the least number of questions. u Allowable YES/NO Questions: Ask X if he/she knows Y u You need at most n 2 questions if there are n people.

15 15 Celebrity Problem Cont d u Question: Does X know Y? NO: Eliminate Y from being a celebrity YES:?? Eliminate X from being a celebrity u Every query eliminates one candidate u Need n-1 questions to eliminate n-1 candidates u Verification is necessary 3(n-1) questions are sufficient!

16 16 What did we do here? u Induction Inductive Hypothesis: We know how to find k-1 noncelebrities among a set of k people, i.e., we know how to find at most one person among a set of k people that could potentially be a celebrity.

17 Algorithms can be simple 17

18 18 Matching Residents to Hospitals 2012 Nobel Prize in Economics u American Mathematical Monthly, 69(1):9-15, Joanne says: Know your audience u Prom Date problem Each boy and girl has a ordered list of preferred dates. Boy asks favorite girl to accompany him as his Prom Date. If she has a better prior offer, then she says NO. What if she is expecting another offer, then what?

19 19 3. Prom Date Problem Cont d u Assume equal number of boys and girls. u Two major issues: What if a boy or girl is unmatched for the PROM? Is there a stable matching one that does not lead to a scene at the PROM? An undesirable scene is when Alice and Bob discover at the PROM that they like each other over their PROM dates!

20 Prom Dates Agony and Ecstasy 20

21 21 Prom Date Preference Lists Ami Cat Eva Gia Ivy Kia Bob Dev Feo Hugo Jon Leo F D F F B J A C E G I K D J D H D F C G K C A A J B J J L L E K G E K E L L L L H H G E C I C C B H B B F D I I I A E I H F H D J B K A A K G G

22 22 Gale-Shapley Algorithm: Round 1 Ami Cat Eva Gia Ivy Kia Bob Dev Feo Hugo Jon Leo F D F F B J A C E G I K D J D H D F C G K C A A J B J J L L E K G E K E L L L L H H G E C I C C B H B B F D I I I A E I H F H D J B K A A K G G

23 23 Gale-Shapley Algorithm: Round 1 Ami Cat Eva Gia Ivy Kia Bob Dev Feo Hugo Jon Leo F D F F B J A C E G I K D J D H D F C G K C A A J B J J L L E K G E K E L L L L H H G E C I C C B H B B F D I I I A E I H F H D J B K A A K G G

24 24 Gale-Shapley Algorithm: Round 2 Ami Cat Eva Gia Ivy Kia Bob Dev Feo Hugo Jon Leo F D F F B J A C E G I K D J D H D F C G K C A A J B J J L L E K G E K E L L L L H H G E C I C C B H B B F D I I I A E I H F H D J B K A A K G G

25 25 Gale-Shapley Algorithm: Round 2 Ami Cat Eva Gia Ivy Kia Bob Dev Feo Hugo Jon Leo F D F F B J A C E G I K D J D H D F C G K C A A J B J J L L E K G E K E L L L L H H G E C I C C B H B B F D I I I A E I H F H D J B K A A K G G

26 26 Gale-Shapley Algorithm: Round 3 Ami Cat Eva Gia Ivy Kia Bob Dev Feo Hugo Jon Leo F D F F B J A C E G I K D J D H D F C G K C A A J B J J L L E K G E K E L L L L H H G E C I C C B H B B F D I I I A E I H F H D J B K A A K G G

27 27 Gale-Shapley Algorithm: Round 3 Ami Cat Eva Gia Ivy Kia Bob Dev Feo Hugo Jon Leo F D F F B J A C E G I K D J D H D F C G K C A A J B J J L L E K G E K E L L L L H H G E C I C C B H B B F D I I I A E I H F H D J B K A A K G G

28 28 Gale-Shapley Algorithm: Round 4 Ami Cat Eva Gia Ivy Kia Bob Dev Feo Hugo Jon Leo F D F F B J A C E G I K D J D H D F C G K C A A J B J J L L E K G E K E L L L L H H G E C I C C B H B B F D I I I A E I H F H D J B K A A K G G

29 29 Gale-Shapley Algorithm: Round 5 Ami Cat Eva Gia Ivy Kia Bob Dev Feo Hugo Jon Leo F D F F B J A C E G I K D J D H D F C G K C A A J B J J L L E K G E K E L L L L H H G E C I C C B H B B F D I I I A E I H F H D J B K A A K G G

30 30 Gale-Shapley Algorithm: Round 5 Ami Cat Eva Gia Ivy Kia Bob Dev Feo Hugo Jon Leo F D F F B J A C E G I K D J D H D F C G K C A A J B J J L L E K G E K E L L L L H H G E C I C C B H B B F D I I I A E I H F H D J B K A A K G G

31 31 Gale-Shapley Algorithm u In each round, each unmatched girl proposes to the boy on top of her preference list. u If boy is unmatched and gets only one offer in a round, he tentatively accepts the offer. u If boy is already matched or gets more than one offer in a round, he rejects all but the best offer.

32 32 Gale-Shapley Algorithm Ami Cat Eva Gia Ivy Kia Bob Dev Feo Hugo Jon Leo F D F F B J A C E G I K D J D H D F C G K C A A J B J J L L E K G E K E L L L L H H G E C I C C B H B B F D I I I A E I H F H D J B K A A K G G Each Boy and Girl will have a Prom Date. There will be no ugly scene at the Prom!

33 33 What did we do here? u Algorithm Design Why this algorithm? Designed with correctness in mind.

34 34 Switching the roles of boys & girls Ami Cat Eva Gia Ivy Kia Bob Dev Feo Hugo Jon Leo F D F F B J A C E G I K D J D H D F C G K C A A J B J J L L E K G E K E L L L L H H G E C I C C B H B B F D I I I A E I H F H D J B K A A K G G

35 35 Boy-optimal vs Girl-optimal Ami Cat Eva Gia Ivy Kia Bob Dev Feo Hugo Jon Leo F D F F B J A C E G I K D J D H D F C G K C A A J B J J L L E K G E K E L L L L H H G E C I C C B H B B F D I I I A E I H F H D J B K A A K G G Four Boy-Girl pairs were same in BO & GO.

36 If you like Algorithms, not to worry! 36

37 37 Reflection u How to turn mathematical puzzles into computing challenges? u How to balance mathematical rigor and fun? Collaborative assignments versus single-person projects? Stronger students and weaker students? Male and female students?

38 Thanks! 38

39 39 4. Billiards shot problem: EASY! u What is the distance traveled by the cue ball in order to strike the red ball head on without touching any of the walls of the table? (3,3) (7,2)

40 40 4. Billiards shot Cont d u What is the minimum distance traveled by the cue ball in order to strike the red ball head on after one bounce off the walls of the table?

41 41 4. Billiards shot u What is the minimum distance traveled by the cue ball in order to strike the red ball head on after one bounce off the NORTH wall of the table?

42 42 4. Billiards shot u What is the minimum distance traveled by the cue ball in order to strike the red ball head on after one bounce off the NORTH walls of the table? Simple trigonometry: Similar triangles It s messy!

43 43 4. Billiards shot u What is the minimum distance traveled by the cue ball in order to strike the red ball head on after one bounce off the NORTH walls of the table? Use reflections It s now easy!

Ma/CS 6b Class 3: Stable Matchings

Ma/CS 6b Class 3: Stable Matchings Ma/CS 6b Class 3: Stable Matchings α p 5 p 12 p 15 q 1 q 7 q 12 β By Adam Sheffer Neighbor Sets Let G = V 1 V 2, E be a bipartite graph. For any vertex a V 1, we define the neighbor set of a as N a = u

More information

Math 301: Matchings in Graphs

Math 301: Matchings in Graphs Math 301: Matchings in Graphs Mary Radcliffe 1 Definitions and Basics We begin by first recalling some basic definitions about matchings. A matching in a graph G is a set M = {e 1, e 2,..., e k } of edges

More information

Ma/CS 6b Class 3: Stable Matchings

Ma/CS 6b Class 3: Stable Matchings Ma/CS 6b Class 3: Stable Matchings α p 5 p 12 p 15 q 1 q 7 q 12 By Adam Sheffer Reminder: Alternating Paths Let G = V 1 V 2, E be a bipartite graph, and let M be a matching of G. A path is alternating

More information

Matching Problems. Roberto Lucchetti. Politecnico di Milano

Matching Problems. Roberto Lucchetti. Politecnico di Milano Politecnico di Milano Background setting Problems introduced in 1962 by Gale and Shapley for the study of two sided markets: 1) workers & employers; 2) interns & hospitals; 3) students & universities;

More information

1. REPRESENTATIVE PROBLEMS

1. REPRESENTATIVE PROBLEMS 1. REPRESENTATIVE PROBLEMS stable matching five representative problems Lecture slides by Kevin Wayne Copyright 2005 Pearson-Addison Wesley Copyright 2013 Kevin Wayne http://www.cs.princeton.edu/~wayne/kleinberg-tardos

More information

Matching Theory and the Allocation of Kidney Transplantations

Matching Theory and the Allocation of Kidney Transplantations University of Utrecht Bachelor Thesis Matching Theory and the Allocation of Kidney Transplantations Kim de Bakker Supervised by Dr. M. Ruijgrok 14 June 2016 Introduction Matching Theory has been around

More information

Analysis of Algorithms Fall Some Representative Problems Stable Matching

Analysis of Algorithms Fall Some Representative Problems Stable Matching Analysis of Algorithms Fall 2017 Some Representative Problems Stable Matching Mohammad Ashiqur Rahman Department of Computer Science College of Engineering Tennessee Tech University Matching Med-school

More information

Matching Problems. Roberto Lucchetti. Politecnico di Milano

Matching Problems. Roberto Lucchetti. Politecnico di Milano Politecnico di Milano Background setting Problems introduced in 1962 by Gale and Shapley for the study of two sided markets: 1) workers & employers 2) interns & hospitals 3) students & universities 4)

More information

1. REPRESENTATIVE PROBLEMS

1. REPRESENTATIVE PROBLEMS 1. REPRESENTATIVE PROBLEMS stable matching five representative problems Special thanks to Kevin Wayne for sharing the slides Copyright 2005 Pearson-Addison Wesley Last updated on 15/9/12 下午 10:33 1. REPRESENTATIVE

More information

CS320 Algorithms: Theory and Practice. Course Introduction

CS320 Algorithms: Theory and Practice. Course Introduction Course Objectives CS320 Algorithms: Theory and Practice Algorithms: Design strategies for algorithmic problem solving Course Introduction "For me, great algorithms are the poetry of computation. Just like

More information

The key is that there are two disjoint populations, and everyone in the market is on either one side or the other

The key is that there are two disjoint populations, and everyone in the market is on either one side or the other Econ 805 Advanced Micro Theory I Dan Quint Fall 2009 Lecture 17 So... two-sided matching markets. First off, sources. I ve updated the syllabus for the next few lectures. As always, most of the papers

More information

Algorithms: COMP3121/3821/9101/9801

Algorithms: COMP3121/3821/9101/9801 Algorithms: COMP311/381/9101/9801 Aleks Ignjatović, ignjat@cse.unsw.edu.au office: 504 (CSE building); phone: 5-6659 Course Admin: Amin Malekpour, a.malekpour@unsw.edu.au School of Computer Science and

More information

Activity 8. Conservation of Momentum. What Do You Think? For You To Do GOALS. The outcome of a collision between two objects is predictable.

Activity 8. Conservation of Momentum. What Do You Think? For You To Do GOALS. The outcome of a collision between two objects is predictable. Activity 8 Conservation of Momentum Activity 8 Conservation of Momentum GOALS In this activity you will: Understand and apply the Law of Conservation of Momentum. Measure the momentum before and after

More information

Lecture 2: Just married

Lecture 2: Just married COMP36111: Advanced Algorithms I Lecture 2: Just married Ian Pratt-Hartmann Room KB2.38: email: ipratt@cs.man.ac.uk 2017 18 Outline Matching Flow networks Third-year projects The stable marriage problem

More information

ONLINE APPENDIX TO HOW TO CONTROL CONTROLLED SCHOOL CHOICE (NOT FOR PUBLICATION)

ONLINE APPENDIX TO HOW TO CONTROL CONTROLLED SCHOOL CHOICE (NOT FOR PUBLICATION) ONLINE APPENDIX TO HOW TO CONTROL CONTROLLED SCHOOL CHOICE (NOT FOR PUBLICATION) FEDERICO ECHENIQUE AND M. BUMIN YENMEZ Appendix B. Proofs of Theorems 1-6 The following rationality axiom simply says that

More information

Matching: The Theory. Muriel Niederle Stanford and NBER. September 26, 2011

Matching: The Theory. Muriel Niederle Stanford and NBER. September 26, 2011 Matching: The Theory Muriel Niederle Stanford and NBER September 26, 2011 Studying and doing Market Economics In Jonathan Strange and Mr. Norrel, Susanna Clarke describes an England around 1800, with magic

More information

1 Definitions and Things You Know

1 Definitions and Things You Know We will discuss an algorithm for finding stable matchings (not the one you re probably familiar with). The Instability Chaining Algorithm is the most similar algorithm in the literature to the one actually

More information

CS 6901 (Applied Algorithms) Lecture 2

CS 6901 (Applied Algorithms) Lecture 2 CS 6901 (Applied Algorithms) Lecture 2 Antonina Kolokolova September 15, 2016 1 Stable Matching Recall the Stable Matching problem from the last class: there are two groups of equal size (e.g. men and

More information

What do you do when you can t use money to solve your problems?

What do you do when you can t use money to solve your problems? Markets without money What do you do when you can t use money to solve your problems? Matching: heterosexual men and women marrying in a small town, students matching to universities, workers to jobs where

More information

Algorithms. [Knuth, TAOCP] An algorithm is a finite, definite, effective procedure, with some input and some output.

Algorithms. [Knuth, TAOCP] An algorithm is a finite, definite, effective procedure, with some input and some output. Algorithms Algorithm. [webster.com] A procedure for solving a mathematical problem (as of finding the greatest common divisor) in a finite number of steps that frequently involves repetition of an operation.

More information

Algorithm Design and Analysis

Algorithm Design and Analysis Algorithm Design and Analysis LECTURE 2 Analysis of Algorithms Stable matching problem Asymptotic growth Adam Smith Stable Matching Problem Unstable pair: man m and woman w are unstable if m prefers w

More information

Algorithm Design and Analysis

Algorithm Design and Analysis Algorithm Design and Analysis LECTURE 2 Analysis of Stable Matching Asymptotic Notation Adam Smith Stable Matching Problem Goal: Given n men and n women, find a "suitable" matching. Participants rate members

More information

Chapter 5 : Probability. Exercise Sheet. SHilal. 1 P a g e

Chapter 5 : Probability. Exercise Sheet. SHilal. 1 P a g e 1 P a g e experiment ( observing / measuring ) outcomes = results sample space = set of all outcomes events = subset of outcomes If we collect all outcomes we are forming a sample space If we collect some

More information

1. STABLE MATCHING. stable matching problem Gale Shapley algorithm hospital optimality context

1. STABLE MATCHING. stable matching problem Gale Shapley algorithm hospital optimality context 1. STABLE MATCHING stable matching problem Gale Shapley algorithm hospital optimality context Lecture slides by Kevin Wayne Copyright 2005 Pearson-Addison Wesley http://www.cs.princeton.edu/~wayne/kleinberg-tardos

More information

T 1. Activity 2 GRANNY ON THE RAMP. ACTIVITY 2A Answer Key What is a Hypothesis?

T 1. Activity 2 GRANNY ON THE RAMP. ACTIVITY 2A Answer Key What is a Hypothesis? ACIVIY 2A Answer Key What is a Hypothesis? Hypothesis: Example A Scientists make predictions about what will happen in an experiment. hey call their predictions a hypothesis. he hypothesis is a likely

More information

Number Bases: Dr Olga Maleva

Number Bases: Dr Olga Maleva A number system is a system for expressing numbers using a specific set of digits The first system that the ancient people came up with required to put one stroke for each object This was very inconvenient

More information

Stat 535 C - Statistical Computing & Monte Carlo Methods. Arnaud Doucet.

Stat 535 C - Statistical Computing & Monte Carlo Methods. Arnaud Doucet. Stat 535 C - Statistical Computing & Monte Carlo Methods Arnaud Doucet Email: arnaud@cs.ubc.ca 1 CS students: don t forget to re-register in CS-535D. Even if you just audit this course, please do register.

More information

Read the text and then answer the questions.

Read the text and then answer the questions. 1 Read the text and then answer The young girl walked on the beach. What did she see in the water? Was it a dolphin, a shark, or a whale? She knew something was out there. It had an interesting fin. She

More information

Bipartite Matchings and Stable Marriage

Bipartite Matchings and Stable Marriage Bipartite Matchings and Stable Marriage Meghana Nasre Department of Computer Science and Engineering Indian Institute of Technology, Madras Faculty Development Program SSN College of Engineering, Chennai

More information

STOR 435 Lecture 5. Conditional Probability and Independence - I

STOR 435 Lecture 5. Conditional Probability and Independence - I STOR 435 Lecture 5 Conditional Probability and Independence - I Jan Hannig UNC Chapel Hill 1 / 16 Motivation Basic point Think of probability as the amount of belief we have in a particular outcome. If

More information

1. REPRESENTATIVE PROBLEMS

1. REPRESENTATIVE PROBLEMS 1. REPRESENTATIVE PROBLEMS stable matching five representative problems Lecture slides by Kevin Wayne Copyright 2005 Pearson-Addison Wesley http://www.cs.princeton.edu/~wayne/kleinberg-tardos Last updated

More information

6.3 Bernoulli Trials Example Consider the following random experiments

6.3 Bernoulli Trials Example Consider the following random experiments 6.3 Bernoulli Trials Example 6.48. Consider the following random experiments (a) Flip a coin times. We are interested in the number of heads obtained. (b) Of all bits transmitted through a digital transmission

More information

Module 03 Lecture 14 Inferential Statistics ANOVA and TOI

Module 03 Lecture 14 Inferential Statistics ANOVA and TOI Introduction of Data Analytics Prof. Nandan Sudarsanam and Prof. B Ravindran Department of Management Studies and Department of Computer Science and Engineering Indian Institute of Technology, Madras Module

More information

STAT Section 3.4: The Sign Test. The sign test, as we will typically use it, is a method for analyzing paired data.

STAT Section 3.4: The Sign Test. The sign test, as we will typically use it, is a method for analyzing paired data. STAT 518 --- Section 3.4: The Sign Test The sign test, as we will typically use it, is a method for analyzing paired data. Examples of Paired Data: Similar subjects are paired off and one of two treatments

More information

Subramanian s stable matching algorithm

Subramanian s stable matching algorithm Subramanian s stable matching algorithm Yuval Filmus November 2011 Abstract Gale and Shapley introduced the well-known stable matching problem in 1962, giving an algorithm for the problem. Subramanian

More information

Survey on Population Mean

Survey on Population Mean MATH 203 Survey on Population Mean Dr. Neal, Spring 2009 The first part of this project is on the analysis of a population mean. You will obtain data on a specific measurement X by performing a random

More information

Today. Couple of more induction proofs. Stable Marriage.

Today. Couple of more induction proofs. Stable Marriage. Today. Couple of more induction proofs. Stable Marriage. Strengthening: need to... Theorem: For all n 1, n i=1 1 2. (S i 2 n = n i=1 1.) i 2 Base: P(1). 1 2. Ind Step: k i=1 1 2. i 2 k+1 i=1 1 i 2 = k

More information

Coding to show Newton s laws

Coding to show Newton s laws Coding to show Newton s laws * A CoSpaces Edu Pro license plan is needed for this lesson. Lesson complexity: Intermediate Grades: Grade 7 and up Subjects : STEM, Physics, Computer science Created by :

More information

ED 357/358 - FIELD EXPERIENCE - LD & EI LESSON DESIGN & DELIVERY LESSON PLAN #4

ED 357/358 - FIELD EXPERIENCE - LD & EI LESSON DESIGN & DELIVERY LESSON PLAN #4 ED 357/358 - FIELD EXPERIENCE - LD & EI LESSON DESIGN & DELIVERY LESSON PLAN #4 Your Name: Sarah Lidgard School: Bentheim Elementary School Lesson: Telling Time Length: approx. 50 minutes Cooperating Teacher:

More information

ECON 497 Midterm Spring

ECON 497 Midterm Spring ECON 497 Midterm Spring 2009 1 ECON 497: Economic Research and Forecasting Name: Spring 2009 Bellas Midterm You have three hours and twenty minutes to complete this exam. Answer all questions and explain

More information

Stable matching. Carlos Hurtado. July 5th, Department of Economics University of Illinois at Urbana-Champaign

Stable matching. Carlos Hurtado. July 5th, Department of Economics University of Illinois at Urbana-Champaign Stable matching Carlos Hurtado Department of Economics University of Illinois at Urbana-Champaign hrtdmrt2@illinois.edu July 5th, 2017 C. Hurtado (UIUC - Economics) Game Theory On the Agenda 1 Introduction

More information

Newton s Third Law KEY IDEAS READING TOOLBOX. As you read this section keep these questions in mind: Name Class Date

Newton s Third Law KEY IDEAS READING TOOLBOX. As you read this section keep these questions in mind: Name Class Date CHAPTER 12 Forces 3 SECTION KEY IDEAS Newton s Third Law As you read this section keep these questions in mind: What happens when one object exerts a force on another object? How can you calculate the

More information

BRETT SUMMERS, PROJECT DIRECTOR, LEVEL CROSSING AUTHORITY INTERVIEW WITH JON FAINE MELBOURNE RADIO ABC 774 FRIDAY 2 SEPTEMBER 2016, 9.

BRETT SUMMERS, PROJECT DIRECTOR, LEVEL CROSSING AUTHORITY INTERVIEW WITH JON FAINE MELBOURNE RADIO ABC 774 FRIDAY 2 SEPTEMBER 2016, 9. , PROJECT DIRECTOR, LEVEL CROSSING AUTHORITY INTERVIEW WITH JON MELBOURNE RADIO ABC 774 FRIDAY 2 SEPTEMBER 2016, 9.13 You may or may not have been listening yesterday when on the open line, Jan from Caulfield

More information

Discrete Mathematics and Probability Theory Fall 2014 Anant Sahai Midterm 1

Discrete Mathematics and Probability Theory Fall 2014 Anant Sahai Midterm 1 EECS 70 Discrete Mathematics and Probability Theory Fall 2014 Anant Sahai Midterm 1 Exam location: 10 Evans, Last name starting with A-B or R-T PRINT your student ID: PRINT AND SIGN your name:, (last)

More information

To Infinity and Beyond. To Infinity and Beyond 1/43

To Infinity and Beyond. To Infinity and Beyond 1/43 To Infinity and Beyond To Infinity and Beyond 1/43 Infinity The concept of infinity has both fascinated and frustrated people for millennia. We will discuss some historical problems about infinity, some

More information

Physics Momentum. CQ8. A train and a bird are both moving with the same velocity of 50 m/s. Compare their momenta.

Physics Momentum. CQ8. A train and a bird are both moving with the same velocity of 50 m/s. Compare their momenta. Homework Procedure: Read pages specified in Honors Physics Essentials by Dan Fullerton. Questions labeled TQ will be questions about the text you read. These TQ s can be answered in one word, one phrase,

More information

A page from Willow s computer diary

A page from Willow s computer diary I ROBOT, YOU JANE A page from Willow s computer diary Things have always been strange here in Sunnydale. Since Buffy arrived in town we ve been able to understand it better. But the truth can be quite

More information

2 Gc + 1 M + 1 Cp 1 S more

2 Gc + 1 M + 1 Cp 1 S more Name: Date: Block: Partners: Introduction: You have spent a lot of time studying the various types of reactions that can occur in chemistry. You have also become experts in balancing chemical equations.

More information

HOW TO USE A CHART Y N N N N N N Y Y N N N Y N N N Y Y N N. iv 2005 The Critical Thinking Co.

HOW TO USE A CHART Y N N N N N N Y Y N N N Y N N N Y Y N N. iv 2005 The Critical Thinking Co. Mind Benders Beginning Book How to Use a Chart HOW TO USE A CHART A Mind Benders problem gives you two lists of things and asks you to match each item in one list with an item in the other list by writing

More information

Weights in stable marriage problems increase manipulation opportunities

Weights in stable marriage problems increase manipulation opportunities Weights in stable marriage problems increase manipulation opportunities Maria Silvia Pini 1, Francesca Rossi 1, Kristen Brent Venable 1, Toby Walsh 2 1 : Department of Pure and Applied Mathematics, University

More information

In grade school one draws factor trees. For example, here is a tree for the number 36,000:

In grade school one draws factor trees. For example, here is a tree for the number 36,000: ON FACTOR TREES In grade school one draws factor trees. For example, here is a tree for the number 36,000: At each stage one splits the number at hand into a pair of factors, halting at the primes. (This

More information

Math Day at the Beach 2018

Math Day at the Beach 2018 Multiple Choice Write your name and school and mark your answers on the answer sheet. You have 30 minutes to work on these problems. No calculator is allowed. 1. A bag has some white balls and some red

More information

AP Statistics Ch 12 Inference for Proportions

AP Statistics Ch 12 Inference for Proportions Ch 12.1 Inference for a Population Proportion Conditions for Inference The statistic that estimates the parameter p (population proportion) is the sample proportion p ˆ. p ˆ = Count of successes in the

More information

Use mathematical induction in Exercises 3 17 to prove summation formulae. Be sure to identify where you use the inductive hypothesis.

Use mathematical induction in Exercises 3 17 to prove summation formulae. Be sure to identify where you use the inductive hypothesis. Exercises Exercises 1. There are infinitely many stations on a train route. Suppose that the train stops at the first station and suppose that if the train stops at a station, then it stops at the next

More information

Calculator Exam 2009 University of Houston Math Contest. Name: School: There is no penalty for guessing.

Calculator Exam 2009 University of Houston Math Contest. Name: School: There is no penalty for guessing. Calculator Exam 2009 University of Houston Math Contest Name: School: Please read the questions carefully. Unless otherwise requested, round your answers to 8 decimal places. There is no penalty for guessing.

More information

The Earth is a Ball. In this activity, teachers and children take these details and put them together to demonstrate how night and day occur.

The Earth is a Ball. In this activity, teachers and children take these details and put them together to demonstrate how night and day occur. The Earth is a Ball When we speak of day and night, we say Getting up with the Sun, The Sun sinks slowly in the West, The Sun goes down like a big bald head. Our language indicates that it is the Sun that

More information

We set up the basic model of two-sided, one-to-one matching

We set up the basic model of two-sided, one-to-one matching Econ 805 Advanced Micro Theory I Dan Quint Fall 2009 Lecture 18 To recap Tuesday: We set up the basic model of two-sided, one-to-one matching Two finite populations, call them Men and Women, who want to

More information

Data Presentation. Naureen Ghani. May 4, 2018

Data Presentation. Naureen Ghani. May 4, 2018 Data Presentation Naureen Ghani May 4, 2018 Data is only as good as how it is presented. How do you take hundreds or thousands of data points and create something a human can understand? This is a problem

More information

Physic 602 Conservation of Momentum. (Read objectives on screen.)

Physic 602 Conservation of Momentum. (Read objectives on screen.) Physic 602 Conservation of Momentum (Read objectives on screen.) Good. You re back. We re just about ready to start this lab on conservation of momentum during collisions and explosions. In the lab, we

More information

Matching. Terence Johnson. April 17, University of Notre Dame. Terence Johnson (ND) Matching April 17, / 41

Matching. Terence Johnson. April 17, University of Notre Dame. Terence Johnson (ND) Matching April 17, / 41 Matching Terence Johnson University of Notre Dame April 17, 2018 Terence Johnson (ND) Matching April 17, 2018 1 / 41 Markets without money What do you do when you can t use money to solve your problems?

More information

Chapter 12: Estimation

Chapter 12: Estimation Chapter 12: Estimation Estimation In general terms, estimation uses a sample statistic as the basis for estimating the value of the corresponding population parameter. Although estimation and hypothesis

More information

Snow Dance by Kelly Hashway

Snow Dance by Kelly Hashway Name: by Kelly Hashway Arianna rushed into the living room where her father was turning off the television. Well, what did they say? Arianna asked. Her father shook his head. Sorry, Sweetie. Only flurries

More information

Featured Alumna Sarah Caudill ( 06)

Featured Alumna Sarah Caudill ( 06) Featured Alumna Sarah Caudill ( 06) As a high school student applying to colleges, I had a choice between Stetson and the University of Florida. I reasoned that I would receive a more personalized education

More information

Marriage Matching: A Conjecture of Donald Knuth

Marriage Matching: A Conjecture of Donald Knuth University of Connecticut DigitalCommons@UConn Economics Working Papers Department of Economics May 007 Marriage Matching: A Conjecture of Donald Knuth Vicki Knoblauch University of Connecticut Follow

More information

Introduction to Paradoxes

Introduction to Paradoxes Introduction to Paradoxes LA Math Circle Beginner Group Designed by Sian Wen Warm Up!. Assume that three sailors are caught by a group of pirates and kept blindfolded on the pirate ship. Lucky for them,

More information

Homework 7 Solutions

Homework 7 Solutions Homework 7 Solutions Due: March 22, 2018 CS 151: Intro. to Cryptography and Computer Security 1 Fun with PRFs a. F a s = F 0 k(x) F s (x) is not a PRF, for any choice of F. Consider a distinguisher D a

More information

Inferences About Two Proportions

Inferences About Two Proportions Inferences About Two Proportions Quantitative Methods II Plan for Today Sampling two populations Confidence intervals for differences of two proportions Testing the difference of proportions Examples 1

More information

Mathematics (Project Maths Phase 2)

Mathematics (Project Maths Phase 2) 2011. M230 Coimisiún na Scrúduithe Stáit State Examinations Commission Leaving Certificate Examination, 2011 Mathematics (Project Maths Phase 2) Paper 2 Higher Level Monday 13 June Morning 9:30 12:00 300

More information

What s the Average? Stu Schwartz

What s the Average? Stu Schwartz What s the Average? by Over the years, I taught both AP calculus and AP statistics. While many of the same students took both courses, rarely was there a problem with students confusing ideas from both

More information

Formalizing Probability. Choosing the Sample Space. Probability Measures

Formalizing Probability. Choosing the Sample Space. Probability Measures Formalizing Probability Choosing the Sample Space What do we assign probability to? Intuitively, we assign them to possible events (things that might happen, outcomes of an experiment) Formally, we take

More information

Explorers 4 Teacher s notes for the Comprehension Test: The Snow Queen

Explorers 4 Teacher s notes for the Comprehension Test: The Snow Queen Explorers 4 Teacher s notes for the Comprehension Test: The Snow Queen Do this test after you have read the whole book with the class. Ask the children to fill in their name and the date at the top of

More information

SAT Subject Test Practice Test II: Math Level I Time 60 minutes, 50 Questions

SAT Subject Test Practice Test II: Math Level I Time 60 minutes, 50 Questions SAT Subject Test Practice Test II: Math Level I Time 60 minutes, 50 Questions All questions in the Math Level 1 and Math Level Tests are multiple-choice questions in which you are asked to choose the BEST

More information

Notes for Recitation 7

Notes for Recitation 7 6.042/18.062J Mathematics for Computer Science October 1, 2010 Tom Leighton and Marten van Dijk Notes for Recitation 7 1 A Protocol for College Admission Next, we are going to talk about a generalization

More information

Advanced Algorithms. Lecture Notes for April 5, 2016 Dynamic programming, continued (HMMs); Iterative improvement Bernard Moret

Advanced Algorithms. Lecture Notes for April 5, 2016 Dynamic programming, continued (HMMs); Iterative improvement Bernard Moret Advanced Algorithms Lecture Notes for April 5, 2016 Dynamic programming, continued (HMMs); Iterative improvement Bernard Moret Dynamic Programming (continued) Finite Markov models A finite Markov model

More information

YEAR 10 MATHEMATICS Examination - Semester 2, 2015 WRITTEN QUESTION AND ANSWER BOOKLET

YEAR 10 MATHEMATICS Examination - Semester 2, 2015 WRITTEN QUESTION AND ANSWER BOOKLET YEAR 10 MATHEMATICS Examination - Semester 2, 2015 WRITTEN QUESTION AND ANSWER BOOKLET STUDENT S NAME:: TEACHER S NAME: DATE: TIME ALLOWED FOR THIS PAPER: Reading time before commencing work: Working time

More information

Physics 8 Monday, September 26, 2011

Physics 8 Monday, September 26, 2011 Physics 8 Monday, September 26, 2011 Midterm is canceled. There will be a Homework #3.5 instead. Homework #3 stops after problem 18. Problems 19 28 will move to Homework #3 1 2. Gradebook data (only your

More information

Predicates, Quantifiers and Nested Quantifiers

Predicates, Quantifiers and Nested Quantifiers Predicates, Quantifiers and Nested Quantifiers Predicates Recall the example of a non-proposition in our first presentation: 2x=1. Let us call this expression P(x). P(x) is not a proposition because x

More information

Explorers 5 Teacher s notes for the Comprehension Test: Aladdin

Explorers 5 Teacher s notes for the Comprehension Test: Aladdin Explorers 5 Teacher s notes for the Comprehension Test: Aladdin Do this test after you have read the whole book with the class. Ask the children to fill in their name and the date at the top of the page.

More information

Chapter 2 Motion in One Dimension

Chapter 2 Motion in One Dimension Chapter 2 Motion in One Dimension Multiple Choice 1. The position of a particle moving along the x axis is given by 2 x = ( 21+ 22t 6 0. t )m, where t is in s. What is the average velocity during the time

More information

Prompt. Commentary. Mathematical Foci. x + 2 =4 x + 2=4 and x + 2=" 4 x =2 x =" 6

Prompt. Commentary. Mathematical Foci. x + 2 =4 x + 2=4 and x + 2= 4 x =2 x = 6 Situation 26: Absolute Value Prepared at University of Georgia Center for Proficiency in Teaching Mathematics 6/28/05 Kanita DuCloux Additions by Sarah Donaldson 6/16/06 Prompt A student teacher begins

More information

Exercises. Template for Proofs by Mathematical Induction

Exercises. Template for Proofs by Mathematical Induction 5. Mathematical Induction 329 Template for Proofs by Mathematical Induction. Express the statement that is to be proved in the form for all n b, P (n) forafixed integer b. 2. Write out the words Basis

More information

Egyptian Fractions: Part I

Egyptian Fractions: Part I Egyptian Fractions: Part I Prepared by: Eli Jaffe October 8, 2017 1 Cutting Cakes 1. Imagine you are a teacher. Your class of 10 students is on a field trip to the bakery. At the end of the tour, the baker

More information

TRAINING LAB BLOOD AS EVIDENCE ANALYZING BLOOD SPATTER NAME

TRAINING LAB BLOOD AS EVIDENCE ANALYZING BLOOD SPATTER NAME TRAINING LAB BLOOD AS EVIDENCE ANALYZING BLOOD SPATTER NAME Background: You have learned how to analyze individual blood drops to determine the height a passive drop fell, the direction a moving drop was

More information

Vocabulary and Section Summary A

Vocabulary and Section Summary A Skills Worksheet Vocabulary and Section Summary A Measuring Motion VOCABULARY In your own words, write a definition of the following terms in the space provided. 1. motion 2. average speed 3. velocity

More information

3 Organizing Data. What is scientific notation? How are precision and accuracy different? How do scientists use graphs to show data?

3 Organizing Data. What is scientific notation? How are precision and accuracy different? How do scientists use graphs to show data? CHAPTER 1 Introduction to Science 3 Organizing Data SECTION KEY IDEAS As you read this section, keep these questions in mind: What is scientific notation? How are precision and accuracy different? How

More information

Game Theory: Lecture #5

Game Theory: Lecture #5 Game Theory: Lecture #5 Outline: Stable Matchings The Gale-Shapley Algorithm Optimality Uniqueness Stable Matchings Example: The Roommate Problem Potential Roommates: {A, B, C, D} Goal: Divide into two

More information

A Level Physics B (Advancing Physics) H557/03 Practical skills in physics Sample Question Paper SPECIMEN

A Level Physics B (Advancing Physics) H557/03 Practical skills in physics Sample Question Paper SPECIMEN A Level Physics B (Advancing Physics) H557/03 Practical skills in physics Sample Question Paper Date Morning/Afternoon Time allowed: 1 hour 30 minutes You must have: the Data, Formulae and Relationships

More information

THE SUN, THE MOON AND OUR SOLAR SYSTEM TEACHER NOTES TO SHARE WITH STUDENTS

THE SUN, THE MOON AND OUR SOLAR SYSTEM TEACHER NOTES TO SHARE WITH STUDENTS THE SUN, THE MOON AND OUR SOLAR SYSTEM TEACHER NOTES TO SHARE WITH STUDENTS The Sun is the biggest feature in our solar system. It is the largest object and contains approximately 98% of the total solar

More information

1 Basic Game Modelling

1 Basic Game Modelling Max-Planck-Institut für Informatik, Winter 2017 Advanced Topic Course Algorithmic Game Theory, Mechanism Design & Computational Economics Lecturer: CHEUNG, Yun Kuen (Marco) Lecture 1: Basic Game Modelling,

More information

PENGUIN READERS. Five Famous Fairy Tales

PENGUIN READERS. Five Famous Fairy Tales PENGUIN READERS Five Famous Fairy Tales Introduction Jacob and Wilhelm Grimm the Brothers Grimm were good friends. Jacob was a quiet man and sometimes sad. Wilhelm was often very ill but he was a happier

More information

Discrete Random Variables

Discrete Random Variables Discrete Random Variables An Undergraduate Introduction to Financial Mathematics J. Robert Buchanan Introduction The markets can be thought of as a complex interaction of a large number of random processes,

More information

Business Statistics 41000: Homework # 5

Business Statistics 41000: Homework # 5 Business Statistics 41000: Homework # 5 Drew Creal Due date: Beginning of class in week # 10 Remarks: These questions cover Lectures #7, 8, and 9. Question # 1. Condence intervals and plug-in predictive

More information

A CHEMISTRY PARTY. A puppet show

A CHEMISTRY PARTY. A puppet show A CHEMISTRY PARTY A puppet show Characters: Sibo (actor in character) Puppets: Carbon, Oxygen (with dialogue) Oxygen2, Hygdrogen1 and Hydrogen2 (no dialogue) Short outline of the show: Sibo (little inquisitive

More information

Essential Question: How can you solve equations involving variable exponents? Explore 1 Solving Exponential Equations Graphically

Essential Question: How can you solve equations involving variable exponents? Explore 1 Solving Exponential Equations Graphically 6 7 6 y 7 8 0 y 7 8 0 Locker LESSON 1 1 Using Graphs and Properties to Solve Equations with Eponents Common Core Math Standards The student is epected to: A-CED1 Create equations and inequalities in one

More information

S15--Phys Q2 Momentum

S15--Phys Q2 Momentum Name: Class: Date: ID: A S15--Phys Q2 Momentum Multiple Choice Identify the choice that best completes the statement or answers the question. 1. If the momentum of an object changes and its mass remains

More information

Designing Information Devices and Systems I Fall 2016 Babak Ayazifar, Vladimir Stojanovic Homework 2

Designing Information Devices and Systems I Fall 2016 Babak Ayazifar, Vladimir Stojanovic Homework 2 EECS 16A Designing Information Devices and Systems I Fall 2016 Babak Ayazifar, Vladimir Stojanovic Homework 2 This homework is due September 13th, 2016, at Noon. Optional Problems: We do not grade these

More information

Geometry & Measurement

Geometry & Measurement Geometry & Measurement Maureen Steddin table of contents To the Student......................... v Part 1: Introduction.................................... 1 General Approach to Math Questions...................

More information

Other Course Material by AskDrCallahan

Other Course Material by AskDrCallahan Other Course Material by AskDrCallahan Algebra DVD Set Video teaching on DVD for Harold Jacobs s textbook Elementary Algebra. Geometry DVD Set Video teaching on DVD for Harold Jacobs s textbook Geometry:

More information

It ain t no good if it ain t snappy enough. (Efficient Computations) COS 116, Spring 2011 Sanjeev Arora

It ain t no good if it ain t snappy enough. (Efficient Computations) COS 116, Spring 2011 Sanjeev Arora It ain t no good if it ain t snappy enough. (Efficient Computations) COS 116, Spring 2011 Sanjeev Arora Administrative stuff Readings avail. from course web page Feedback form on course web page; fully

More information

What Is a Sampling Distribution? DISTINGUISH between a parameter and a statistic

What Is a Sampling Distribution? DISTINGUISH between a parameter and a statistic Section 8.1A What Is a Sampling Distribution? Learning Objectives After this section, you should be able to DISTINGUISH between a parameter and a statistic DEFINE sampling distribution DISTINGUISH between

More information