First time here? Checkout the FAQ!
+1 vote

Question: Six different airlines fly from New York to Denver and seven fly from Denver to San Francisco. How many different pairs of airlines can you choose on which to book a trip from New York to San Francisco via Denver, when you pick an airline for the flight to Denver and an airline for the continuation flight to San Francisco ? How many of these pairs involve more than one airline ?


asked in Combinatory by (497 points) 1 9 17
retagged by | 285 views

1 Answer

+1 vote

I think they are asking for the following thing:

N.Y to Denver available flights                   Denver to San Francisco available flights          


x1, x2, x3, x4, x5, x6​​​​​,                                         x1, x2, x3, x4, x5, x6​​​​​, x7

I have choosen the same airlines for Denver to San Francisco because of the last question.


Now, different ways in which you can reach from N.Y to San Francisco

= 6 * 7

= 42


Now, to find answer to last question, we apply inclusion -exclusion.


= total ways    -     #ways in which the flight taken from N.Y to Denver 

                             is also continued from Denver to San Francisco

= 42 - 6

= 36


answered by Veteran (18k points) 7 20 76
But how can we assume that  Denver to San Francisco has same 6 flights as from N.Y to Denver?
Because of the last question

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
Top Users Oct 2017
  1. Arjun

    23642 Points

  2. Bikram

    17188 Points

  3. Habibkhan

    8734 Points

  4. srestha

    6404 Points

  5. Debashish Deka

    5478 Points

  6. jothee

    5098 Points

  7. Sachin Mittal 1

    4882 Points

  8. joshi_nitish

    4478 Points

  9. sushmita

    4008 Points

  10. Rishi yadav

    3960 Points

Recent Badges

Popular Question Bikram
Regular Mr.OOPs
Avid Reader Venkat Sai
Popular Question jothee
Verified Human anchal Singh
Great Question Kathleen
Verified Human Ankita_ Pawar
Avid Reader kenzou
Notable Question Sumit Chaudhary 2
Nice Comment rahul sharma 5
27,380 questions
35,231 answers
33,391 users