edited by
2,564 views
2 votes
2 votes

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 ?

edited by

1 Answer

2 votes
2 votes

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.

Answer

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

                             is also continued from Denver to San Francisco

= 42 - 6

= 36

Related questions

2 votes
2 votes
2 answers
2
Abhinavg asked Mar 22, 2018
4,054 views
How many strings with seven or more characters can be formed from the letters of the word $\text{EVERGREEN}$ ?
1 votes
1 votes
3 answers
3
Lakshman Bhaiya asked Mar 2, 2018
4,457 views
How many ways are there to put four different employees into three indistinguishable offices when each office can contain any number of employees?
2 votes
2 votes
2 answers
4
Manu Thakur asked Oct 11, 2017
824 views
Question How many different strings of length 2 can be made from the letters in 'ORONO'?I am getting 7 strings as follows: OO, ON, OR, NO, RO, RN, NRbut given answer is 6...