SlideShare a Scribd company logo
1 of 10
Fundamental Principle ofFundamental Principle of
CountingCounting
• Definition:Definition: Let A and B be two events. SayLet A and B be two events. Say
event A can occur inevent A can occur in mm different ways. After Adifferent ways. After A
has occurred, say event B can occur inhas occurred, say event B can occur in nn
different ways. Then the number of ways thatdifferent ways. Then the number of ways that
the two events can occur isthe two events can occur is mm··nn..
Basic Counting ProblemBasic Counting Problem
• Say that I have a jar with 7 balls in it numbered 1
through 7. How many ways can 10 be made (by
addition of the numbers on the balls) if I pull a ball
out of the jar, put it back, and then draw out a
second ball.
FUNDAMENTALFUNDAMENTAL
PRINCIPLE OFPRINCIPLE OF
COUNTINGCOUNTING
• EXAMPLE: (like #9,11 on HW)EXAMPLE: (like #9,11 on HW)
• You want to redesign your FacebookYou want to redesign your Facebook
profile and change the layout to seeprofile and change the layout to see
only 3 applications. You want oneonly 3 applications. You want one
application that pertains to yourapplication that pertains to your
friends, one that pertains to music,friends, one that pertains to music,
and one that pertains toand one that pertains to
pictures/videos.pictures/videos.
• If these are the applications you haveIf these are the applications you have
available in each category, how manyavailable in each category, how many
layouts are possible:layouts are possible:
– MusicMusic: 1. iLike: 1. iLike
2. My Band2. My Band
3. Profile Song3. Profile Song
– FriendsFriends: 1. Top Friends: 1. Top Friends
2. Compare Friends2. Compare Friends
– Pictures/VideosPictures/Videos: 1. My Flickr: 1. My Flickr
2. Slideshows2. Slideshows
3. Graffiti3. Graffiti
4. Animoto4. Animoto
VideosVideos
– Answer: 3x2x4=24Answer: 3x2x4=24
• EXAMPLE:EXAMPLE: (like #19 on HW)(like #19 on HW)
• Your little brother just broke into your Facebook account andYour little brother just broke into your Facebook account and
now you need to change your password. You want it to be 5now you need to change your password. You want it to be 5
characters long. The first 3 characters are to be letters andcharacters long. The first 3 characters are to be letters and
the last 2 characters are to be numbers. How many passwordsthe last 2 characters are to be numbers. How many passwords
are possible? What if you don’t want to repeat letters andare possible? What if you don’t want to repeat letters and
numbers?numbers?
• Answer: 26x26x26x10x10=1,757,600Answer: 26x26x26x10x10=1,757,600
• Answer: 26x25x24x10x9=1,404,000Answer: 26x25x24x10x9=1,404,000
II. Fundamental Principle of Counting
• EXAMPLE:
– Say that you have 42 friends
on Facebook. Any time you
access your profile, 6 of your
friends will appear in a box
below your picture. Each
time these friends are
randomly generated out of
your 42 friends. How many
different arrangements of 6
people can show up?
– Answer:
• 42x41x40x39x38x37=
3,776,965,920
II. Fundamental Principle of Counting
• EXAMPLE: (like #15,19 on HW)
– What if your friend Ally or
boyfriend Bobby must be in
position one, that is, they
are your only 2 choices for
that first spot?
(note: you still have 42 friends)
– Answer:
• 2x41x40x39x38x37=
179,855,520
Just to note…
• This can also be thought of as: nPr
• Permutations of n objects taken r at a time.
• For this example we would have 42P6 which
would get you the same answer
Just to note…
• This can also be thought of as: nPr
• Permutations of n objects taken r at a time.
• For this example we would have 42P6 which
would get you the same answer

More Related Content

Similar to Counting principles lesson

Wise Ones take steps to keep the brain and mind healthy.ppt
Wise Ones take steps to keep the brain and mind healthy.pptWise Ones take steps to keep the brain and mind healthy.ppt
Wise Ones take steps to keep the brain and mind healthy.pptOH TEIK BIN
 
It's Time to Exercise Thinking.pptx
It's Time to Exercise Thinking.pptxIt's Time to Exercise Thinking.pptx
It's Time to Exercise Thinking.pptxOH TEIK BIN
 
Integrated Math 2 Section 4-2
Integrated Math 2 Section 4-2Integrated Math 2 Section 4-2
Integrated Math 2 Section 4-2Jimbo Lamb
 
counting techniques
counting techniquescounting techniques
counting techniquesUnsa Shakir
 

Similar to Counting principles lesson (6)

Math Gateway
Math GatewayMath Gateway
Math Gateway
 
Gateway Review
Gateway ReviewGateway Review
Gateway Review
 
Wise Ones take steps to keep the brain and mind healthy.ppt
Wise Ones take steps to keep the brain and mind healthy.pptWise Ones take steps to keep the brain and mind healthy.ppt
Wise Ones take steps to keep the brain and mind healthy.ppt
 
It's Time to Exercise Thinking.pptx
It's Time to Exercise Thinking.pptxIt's Time to Exercise Thinking.pptx
It's Time to Exercise Thinking.pptx
 
Integrated Math 2 Section 4-2
Integrated Math 2 Section 4-2Integrated Math 2 Section 4-2
Integrated Math 2 Section 4-2
 
counting techniques
counting techniquescounting techniques
counting techniques
 

Recently uploaded

Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024The Digital Insurer
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusZilliz
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Victor Rentea
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024The Digital Insurer
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024The Digital Insurer
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesrafiqahmad00786416
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxRustici Software
 
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKJago de Vreede
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfOverkill Security
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Orbitshub
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...Zilliz
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...apidays
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamUiPathCommunity
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 

Recently uploaded (20)

Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 

Counting principles lesson

  • 1.
  • 2. Fundamental Principle ofFundamental Principle of CountingCounting • Definition:Definition: Let A and B be two events. SayLet A and B be two events. Say event A can occur inevent A can occur in mm different ways. After Adifferent ways. After A has occurred, say event B can occur inhas occurred, say event B can occur in nn different ways. Then the number of ways thatdifferent ways. Then the number of ways that the two events can occur isthe two events can occur is mm··nn..
  • 3. Basic Counting ProblemBasic Counting Problem • Say that I have a jar with 7 balls in it numbered 1 through 7. How many ways can 10 be made (by addition of the numbers on the balls) if I pull a ball out of the jar, put it back, and then draw out a second ball.
  • 5. • EXAMPLE: (like #9,11 on HW)EXAMPLE: (like #9,11 on HW) • You want to redesign your FacebookYou want to redesign your Facebook profile and change the layout to seeprofile and change the layout to see only 3 applications. You want oneonly 3 applications. You want one application that pertains to yourapplication that pertains to your friends, one that pertains to music,friends, one that pertains to music, and one that pertains toand one that pertains to pictures/videos.pictures/videos. • If these are the applications you haveIf these are the applications you have available in each category, how manyavailable in each category, how many layouts are possible:layouts are possible: – MusicMusic: 1. iLike: 1. iLike 2. My Band2. My Band 3. Profile Song3. Profile Song – FriendsFriends: 1. Top Friends: 1. Top Friends 2. Compare Friends2. Compare Friends – Pictures/VideosPictures/Videos: 1. My Flickr: 1. My Flickr 2. Slideshows2. Slideshows 3. Graffiti3. Graffiti 4. Animoto4. Animoto VideosVideos – Answer: 3x2x4=24Answer: 3x2x4=24
  • 6. • EXAMPLE:EXAMPLE: (like #19 on HW)(like #19 on HW) • Your little brother just broke into your Facebook account andYour little brother just broke into your Facebook account and now you need to change your password. You want it to be 5now you need to change your password. You want it to be 5 characters long. The first 3 characters are to be letters andcharacters long. The first 3 characters are to be letters and the last 2 characters are to be numbers. How many passwordsthe last 2 characters are to be numbers. How many passwords are possible? What if you don’t want to repeat letters andare possible? What if you don’t want to repeat letters and numbers?numbers? • Answer: 26x26x26x10x10=1,757,600Answer: 26x26x26x10x10=1,757,600 • Answer: 26x25x24x10x9=1,404,000Answer: 26x25x24x10x9=1,404,000
  • 7. II. Fundamental Principle of Counting • EXAMPLE: – Say that you have 42 friends on Facebook. Any time you access your profile, 6 of your friends will appear in a box below your picture. Each time these friends are randomly generated out of your 42 friends. How many different arrangements of 6 people can show up? – Answer: • 42x41x40x39x38x37= 3,776,965,920
  • 8. II. Fundamental Principle of Counting • EXAMPLE: (like #15,19 on HW) – What if your friend Ally or boyfriend Bobby must be in position one, that is, they are your only 2 choices for that first spot? (note: you still have 42 friends) – Answer: • 2x41x40x39x38x37= 179,855,520
  • 9. Just to note… • This can also be thought of as: nPr • Permutations of n objects taken r at a time. • For this example we would have 42P6 which would get you the same answer
  • 10. Just to note… • This can also be thought of as: nPr • Permutations of n objects taken r at a time. • For this example we would have 42P6 which would get you the same answer