The Handshake Problem. n people are in a room Each person shakes hands with each other person exactly once. How many handshakes will take place?

Slides:



Advertisements
Similar presentations
Algebraic Rules Please view this tutorial and answer the follow-up questions on loose leaf to turn in to your teacher.
Advertisements

Using Algebra – Collecting Terms. Achbar the Egyptian is having great difficulty counting his camels! Can you help him?
Writing Algebraic Expressions
First Explorations 1. Handshake Problem (p. 3 #2) 2. Darts (p. 8 # 1) 3. Proofs with Numbers (p. 8 # 2) 4. relationships, graphs, words… Expl. 2.4, Expl.
Handshake Problem and Phone Call Problem Handshake Problem a)If there are 30 people in a room and everyone has to shake hands, how many handshakes will.
This number is called the common ratio.
M May If there are 25 guests, how many handshakes altogether? At a party every guest shakes hands with every other guest once. How many triangles?
We have added and subtracted fractions. In this lesson we will multiply fractions. When we add and subtract fractions, we count how many of the same size.
Inclusion-Exclusion Formula
Problem Solving Strategies
Multiplying and Dividing Decimals
INTEGERS.
Sums of Consecutive Natural Numbers
5-3 Elimination Using Addition and Subtraction
Summation of finite Series
Working with Fractions
Mean, Median, Mode, and Range
Designed by David Jay Hebert, PhD
Kindergarten Unit 2 Week 1 Assessment. How high can you count? Teacher must indicate how high orally child can count. ___________.
Answer: N – 18 = 5(-N) N – 18 = -5N N = -5N N +5N 6N = 18 N = 3
Arithmetic and Geometric Series (11.5) Short cuts.
Sequences and Series Algebra 2.
Building Bricks: Investigation A child is playing with building bricks like this one. He decides to build the simple tower shown. How many bricks would.
Chapter An Introduction to Problem Solving 1 1 Copyright © 2013, 2010, and 2007, Pearson Education, Inc.
Whiteboardmaths.com © 2004 All rights reserved
Decimal Review. Adding decimals Rules Line up the decimal points Whole numbers have a decimal point at.
Numbers that name part of a whole or part of a group
Math 20-1 Chapter 1 Sequences and Series 1.2 Arithmetic Series Teacher Notes.
4.3 Gauss Jordan Elimination Any linear system must have exactly one solution, no solution, or an infinite number of solutions. Just as in the 2X2 case,
The Paw-shake Problem Billy is a Dog Trainer. He loves to train dogs to do lots of tricks! ? His favourite is to teach them how to shake hands.
Addition & Subtraction
Solving Word Problems. “Word Problems scare me!”
Algebraic Expressions
Rounding of Numbers Up to Hundred Millions
Solving Equations Using Tables Please view this tutorial and answer the follow-up questions on loose leaf to turn in to your teacher.
1.Is it More, Less, or Exactly Half? 2. Is it More, Less, or Exactly Half?
Operations with Decimals
H.Melikian/12101 Gauss-Jordan Elimination Dr.Hayk Melikyan Departhmen of Mathematics and CS Any linear system must have exactly one solution,
Let’s remember 2 things. 1. Multiplying by 10,100,1000 Multiply by 10 Multiply by 100 Multiply by 1000 Add one 0 Add two 0’sAdd three 0’s since 10 has.
WEIGHTED AVERAGE ALG114 Weighted Average: an average where every quantity is assigned a weight. Example: If a teacher thinks it’s more important, a final.
Knight’s Charge 8/26/15 Review Have your homework out on your desk (including your triangle).
Problem Solving 1. Steps to world problem solving process 1. Understand the Problem 2. Devise a plan 3. Carry out the plan 4. Look back 5. MAKE SURE YOU.
Solving Word Problems. “Word Problems scare me!”
Problem of the Day The graph of a function f is shown above.Which of the following statements about f is false? A) f is continuous at x = a B) f has a.
Adding and Subtracting Decimals.  Adding Decimals  Subtracting Decimals  Estimating While Adding or Subtracting Decimals  Solving problems by Adding.
Algebra with Whole Numbers Algebraic Notation. Simplify.
Scientific Notation. What is Scientific Notation? Scientific notation is a way of writing extremely large or small measurements. The number is written.
8.2 – Arithmetic Sequences. A sequence is arithmetic if the difference between consecutive terms is constant Ex: 3, 7, 11, 15, … The formula for arithmetic.
Zim had 19 marbles. He gave 6 marbles to his friend Lilly. How many do I have left?
1 Copyright © 2015, 2011, and 2007 Pearson Education, Inc. 9.4 Series Demana, Waits, Foley, Kennedy.
Handshakes Unit 2, Days 4-6.
· · ·,,,,,,
Sequences and Series (Unit 1C)
How much is one half of one half?
Investigate.
Lesson 2-1 Properties of Numbers.
7.5 Arithmetic Series.
The sum of a geometric sequence
Rational Numbers.
Definitions Series: an indicated sum of terms of a sequence
Percents and Decimals Objective:
Ch 8.2.
How much is one half of one half?
Unit 1 – Section 4 “Recursive and Explicit Formula” Part 2
Writing Algebraic Expressions
Chapter 1 Sequences and Series
Presentation transcript:

The Handshake Problem

n people are in a room Each person shakes hands with each other person exactly once. How many handshakes will take place?

Example: n = 5

Person 1 shakes hands with the other four and leaves. Running Total: 4

Person 1 shakes hands with the other four and leaves. Running Total: 4

Person 2 shakes hands with the other three and leaves. Running Total: 4 + 3

Person 2 shakes hands with the other three and leaves. Running Total: 4 + 3

Person 3 shakes hands with the other two and leaves. Running Total:

Person 3 shakes hands with the other two and leaves. Running Total:

Person 4 shakes hands with the other one and leaves. Running Total:

Person 5 has no one left to shake with. Running Total:

Person 5 has no one left to shake with. Running Total: = 10

So when n = 5, it takes handshakes In general, it takes … + (n-1) handshakes. Ex: If there were 10 people, there would be = 45 handshakes.

Let’s count the handshakes another way. Count each hand in a handshake as a “half- handshake”. Two half-handshakes make a whole handshake.

When n = 5 Each person has to shake hands with the other four. So each person contributes 4 half- handshakes. Since there are 5 people, this is a total of 5 ⋅ 4 = 20 half handshakes, or 10 whole handshakes.

So for a general n, the total number of handshakes is n(n-1)∕2. Ex: if n = 10, the number of handshakes is

If n = 50, then the number of handshakes is This is much easier than adding up ⋅⋅⋅ + 49

By counting in two different ways, we determined that the number of handshakes is both ⋅⋅⋅ + (n-1) and n(n-1)/2 Since these formulas count the same things, we have established the identity ⋅⋅⋅ + (n-1) = n(n-1)/2

Let f(n) = ⋅⋅⋅ + (n-1). We’ve seen that

Let f(n) = ⋅⋅⋅ + (n-1). We’ve seen that To get a function for ⋅⋅⋅ + n, we replace each n with n+1

The formula ⋅⋅⋅ + (n-1) + n = n(n+1)/2 Was discovered by Carl Friedrich Gauss when he was a student in primary school.

Gauss’s teacher wanted to keep Gauss busy, so he gave him the assignment of adding all the numbers from 1 to 100. Gauss produced the correct answer in a matter of seconds. His teacher was impressed. And annoyed.

Gauss realized that it is easy to add up all the numbers twice ⋅⋅⋅ ⋅⋅⋅ ⋅⋅⋅ =101(100). Dividing this by 2 gives a sum of 101 ⋅ 50=5050

We can do the same trick for any n: ⋅⋅⋅ + (n-1) + n n + (n-1) + ⋅⋅⋅ n+1 + n+1 + ⋅⋅⋅ + n+1 + n+1 = (n+1)n So 1 + ⋅⋅⋅ + n = (n+1)n/2