Action Dram-Coms

A video rental store offers 436 different movies for rent. The movies are categorized as Comedies, Action Movies, and Dramas. A movie is in at least one category, and may be in more than one of the categories. If 234 movies are categorized as Comedies, 97 as Action Movies, and 191 as Dramas, what's the most number of movies that could be categorized as all three?


The answer is 43.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

16 solutions

Caleb Leow
May 20, 2014

let a, b and c be movies that are comedies, action and dramas only, respectively. let d,e and f be movies that are comedies and action, action and drama, and drama and comedy, respectively. let g be movies that are all 3. as we can see, a+b+c+d+e+f+g=436---(1). However, we also see that a+d+e+g= 234 ---(2)since they are all movies that are comedies, b+e+f+g= 97 ---(3)and c+f+d+g=191---(4) due to similar reasons. add (2),(3) and (4) and we get a+b+c+2d+2e+2f+3g=522---(5). subtract (1) from (5) and we get d+e+f+2g=86. Therefore for g to be maximum, d+e+f must be 0 and thus we see that 2g=86 and the maximum value of g= 43

Many students claimed that the most movies than can be of all 3 types occurs when there are none that are of two types. This is something that cannot be assumed and should be proven, especially since it is quite easy to justify. The above statement is also not quite true. The number of movies of all 3 types is maximized when the number of movies that are of exactly two types is minimized. Depending on the numbers involved, the maximal number of movies being of all 3 types may occur when there is a movie of two types. Consider what happens if we replace the numbers in the question with 20, 9, 10, and 8 respectively.

Calvin Lin Staff - 7 years ago
Akshat Jain
Nov 18, 2013

This solution is long but very explanatory. Here we go.

Firstly, note a very important thing. Since we want to find the most number of movies that could be categorized as of all three genres , we must assume that all the overlapping occurs in triples, and not in doubles, that is, a movie can be of all three categories, but it cannot be of only two of them. Secondly, for those who don't know, genre is the category of movies. Here, the number of genres is 3 3 .

So, let's assume the number of movies that could be categorized as all three genres be x x . So, in all three genres, there are x x movies which are a part of other two genres as well. Therefore, the number of movies specifically falling in a particular genre is given by: Total movies in the genre minus Movies in all three genres .

Therefore, in each genre, number of movies specifically falling in it are: C o m e d i e s : 234 x Comedies: 234-x A c t i o n s : 97 x Actions: 97-x D r a m a s : 191 x Dramas: 191- x

Now, it is clear that the sum of movies of all genres (specifically) and the movies present in all three genres should be equal to the total number of books. Plugging them together, we get: 234 x + 97 x + 191 x + x = 436 234-x+97-x+191-x + x = 436 Simplifying it yields us x = 43 x = \fbox{43} .

Therefore, the most number of movies that could be categorized as all three movies is 43 \fbox{43} .

Aakash Kansal
May 20, 2014

Let set A denote comedy movies, A = 234 |A|=234 . Let set B denote action movies, B = 97 |B| =97 . Let set C denote drama movie, C = 191 |C| =191 . We are given that $|A \cup B \cup C| = 436). Set A B C = x |A \cap B \cap C| = x , which we wish to maximize.

From the Principle of Inclusion and Exclusion, we have A + B + C A B B C C A + A B C = 436 | A| + |B| + |C| - |A\cap B| - |B\cap C| - |C\cap A| + |A\cap B \cap C| = 436 . Since A B C A B A \cap B \cap C \subset A\cap B , it follows that A B C A B |A\cap B \cap C| \leq |A \cap B| . Similarly, we have A B C B C |A\cap B \cap C| \leq |B \cap C| , A B C C A |A\cap B \cap C| \leq |C \cap A| . Hence, the equation at the start of the paragraph gives us 234 + 97 + 191 x x x + x 436 234 + 97 +191 - x - x - x + x \geq 436 , or that x 43 x \leq 43 .

[Latex edits. Edits for clarity. - Calvin]

For completeness, you still have to show that x = 43 x= 43 is indeed possible to achieve.

Calvin Lin Staff - 7 years ago
Ping Ube
May 20, 2014

First find the surplus, i.e. (234+97+191)-436=86.

Now if you want to MAXIMIZE the ''all three'' section, you have to distribute these surplus 86 into this section.But if you add 1 to this region, you are taking care of surplus of 2. Similarly if 10 is added, surplus of 20 gets taken care of. Now for distributing 86 surplus, we have to add 43 to this region, hence the answer.

Similarly, the question can be asked to find out MINIMUM number in the ''all three'' region. In that case 86 surplus must be distributed in the region of intersection of 2 circles. Now adding 1 in this region takes care of surplus 1, so adding 86 will take care of 86 surplus. So in this case 86 would be the answer.

Don't get the last paragraph wrong because it's just showing another solution to find the MINIMUM number of movies that could be categorized as all three and so, the final answer would be 43.

What does "the surplus" mean Why is (234 + 97 + 191 - 436 = 86) a surplus? This isn't good for featuring.

Calvin Lin Staff - 7 years ago
Matt Babbitt
May 20, 2014

We can either count the movies by listing them all out and counting to get 436, or manipulate the number of movies in each category to get the same sum. But if we just sum 234, 97, and 191, then we could movies in exactly two categories twice, and movies in all three categories thrice! So we need to correct for overcounting. Let α \alpha , β \beta , and γ \gamma be the number of movies that are in Comedies and Action Movies; Comedies and Dramas; and Action Movies and Dramas; respectively. These numbers all include the movies that are in all three categories. So we can take the sum:

234 + 97 + 191 α β γ 234+97+191-\alpha-\beta-\gamma

This counts the number of movies in exactly one category exactly once, as well as movies in exactly two categories exactly once. But movies in all three categories are counted zero times! If we let the number of movies in all three categories be x x , then we have that

436 = 234 + 97 + 191 α β γ + x 436=234+97+191-\alpha-\beta-\gamma+x

Thus

α + β + γ x = 86 \alpha+\beta+\gamma-x=86

However, note that α \alpha , β \beta , and γ \gamma are by definition at least x x , thus α + β + γ x 2 x \alpha+\beta+\gamma-x\geq 2x , with inequality when α = β = γ = x \alpha=\beta=\gamma=x . Thus the minimum value is when x = 86 / 2 = 43 x=86/2=\boxed{43} . We can use the above work to construct an equality case.

The ending doesn't make sense, so don't feature.

Calvin Lin Staff - 7 years ago
Kevin Fei
Nov 17, 2013

Draw a Venn Diagram. We wish to maximize the number of movies found in all three spaces, therefore we will try to have no movies that are two types but not three (e.g. action and drama but not comedy). We let there be x x movies which are categorized as all three, 234 x 234-x only comedies, 97 x 97-x only action movies, and 191 x 191-x only dramas.

Total we have x + ( 234 x ) + ( 97 x ) + ( 191 x ) = 522 2 x x + (234-x) + (97-x) + (191-x) = 522-2x movies. We set this equal to the total number of movies to get x x .

522 2 x = 436 522-2x=436

x = 43 x = 43

Luckily this is an integer and everything works out. If it had not, we would have had to play with some other values.

Good observation about the integrality of x . x. Can you explain what would happen if the answer you got was not an integer? Suppose, for example that 436 was replaced by 463.

Lino Demasi - 7 years, 6 months ago

Log in to reply

If we were to follow the method I outlined above, we would get the result of x = 29.5 x=29.5 . This is the upper bound for movies in three categories, but is not an integer and is not the final answer. That means are initial assumption that there are no movies that are two out of the three types is wrong.

I would then place 1 movie in two categories, set x = 29 x=29 , and check if the problem works out. (Note: It does not matter which two movie categories that one movie is) Adding up the numbers in the Venn Diagram, you get ( 234 1 29 ) + ( 97 1 29 ) + ( 191 29 ) + 29 + 1 = 463 (234-1-29)+(97-1-29)+(191-29)+29+1=463 which fits the conditions. Therefore, the maximum possible value is x = 29 x=29 .

It's not the most rigorous way to solve it, but it's how I would get that answer. :P

Kevin Fei - 7 years, 6 months ago
Sakibul Mowla
May 20, 2014

Here we want to maximize the number of movies in all 3 categories.

For maximizing this number we assume that there is no such movie that is in 2 categories.

Suppose, x movies are in all three categories

Therefore, we can derive the total number of movies by subtracting the common movies from all 3 unique categories and finally adding them for 1 time(otherwise,they will be totally out of business!!!)

Thus the equation looks like the following :

     (234 - x) + (97 - x) + (191 - x) + x = 436
     -2x = -86
      x = 43

therefore, the maximum number of movies in all 3 categories is 43.

Why does assuming no movies in 2 categories maximize number in all 3?

Calvin Lin Staff - 7 years ago
Vivek Kumar
May 20, 2014

Let x be the number of movies which are both comedy and action movies and y be the number of movies which are both comedy and drama. Now, No. of movies which are only action movies = 97-x & No. of movies which are only drama movies = 191-y. now, total no. of different movies = no. of comedy movie + no. of movies which are only drama + no. of movies which are only action movies or, 436 = 234 + 191-y + 97-x or, x + y = 86. since x represents movies which are both comedy and action and y represents movies which are both comedy and drama, the common part of x and y represents the movies which belongs to all categories( say p) for p to be maximum, x = y = 86/2 = 43. which is the required answer.

Kedar N Deshpande
May 20, 2014

The maximum possible cds which are common to all the three fields are possible only if there is no cd which is common to only 2 categories.(I) w.k.t. n(A union B union C)=n(A)+n(B)+n(C) - [n(A union B)+n(B union C)+n(C union A)] + n(A intersection B intersection C) Let n(A intersection B intersection C)=x => n(A union B union C)=n(A)+n(B)+n(C) - [n(A union B)+n(B union C)+n(C union A)] +x =>n(A union B union C)=n(A)+n(B)+n(C) - [3x] + x [from(I)] Putting in the values from question=> 436=522 - 2x => - 86 = - 2x =>x = 43 Thus, the number of maximum cds that can be part of all the three given categories are 43.

Justify this "The maximum possible cds which are common to all the three fields are possible only if there is no cd which is common to only 2 categories"

Calvin Lin Staff - 7 years ago
Hy Hiếu Phạm
May 20, 2014

Let C , A , D C, A, D be the sets of movies categorized in Comedies, Action Movies and Dramas, respectively. We have C = 234 |C| = 234 , A = 97 |A| = 97 , D = 191 |D| = 191 and C A D = 436 |C \cup A \cup D| = 436 Now, Principle of Inclusion and Exclusion tells us that C A D = C + A + D ( C A + A + D + D A ) + C A D |C \cup A \cup D| = |C| + |A| + |D| - (|C \cap A| + |A + \cap D| + |D \cap A|) + |C \cap A \cap D| Also, note that C A = ( C A ) D C A D |C \cap A| = |(C \cap A) - D| - |C \cap A \cap D| And similarly for A D |A \cap D| and D A |D \cap A| . Therefore C A D = 1 2 ( ( 234 + 97 + 191 ) 436 ( ( C A ) D ) ) |C \cap A \cap D| = \frac{1}{2} \left( (234 + 97 + 191) - 436 - \sum (|(C \cap A) - D|) \right) Thus C A D = 1 2 ( ( 234 + 97 + 191 ) 436 ) = 86 |C \cap A \cap D| = \frac{1}{2} \left( (234 + 97 + 191) - 436 \right) = 86 Equalities hold when any pair of C , A , D C, A, D intersects only at the intersection of all of them.

Explain how you arrive at the equalities better, and why they are not inequalities

Calvin Lin Staff - 7 years ago
Nahom Yemane
Jan 2, 2014

If we add them all together we get 234 + 97 + 191 = 522 234+97+191=522 so there must be 522 436 = 86 522-436=86 repeats- (people who have been counted t w i c e twice or even t h r i c e thrice ).

The obvious maximum would occur if A L L ALL of these repeats were from overcounting people that appear thrice in total. So if the number of people in all three was x x we would have 3 x x = 2 x 3x-x=2x repeats.

So 2 x = 86 2x=86

x = 43 x=\boxed{43}

Timothy Zhou
Nov 19, 2013

The total number of times movies are overcounted is (234+97+191)-436=86. Now if we suppose that all of these overcounted movies are categorized as all three, each movie will be counted three times, and thus overcounted twice. So the total number of 3-category movies is half of 86, which is 43.

Geoffrey Mooney
Nov 18, 2013

In order to maximize the number of movies classified as all three, do not consider any scenarios in which movies have only two classifications.

Let x = number of movies classified as comedy only. Let y = number of movies classified as action only. Let z = number of movies classified as drama only. Let w = number of movies classified as all three.

Write a system of four linear equations in four unknowns.

  • x + w = 234 x+w=234
  • y + w = 97 y+w=97
  • z + w = 191 z+w=191
  • x + y + z + w = 436 x+y+z+w=436

Solve for x , y , and z .

  • x = 234 w x=234-w
  • y = 97 w y=97-w
  • z = 191 w z=191-w

Substitute into the last equation from above.

( 234 w ) + ( 97 w ) + ( 191 w ) + w = 436 (234-w)+(97-w)+(191-w)+w=436

522 2 w = 436 522-2w=436

2 w = 86 2w=86

w = 43 w=43

At most, forty-three movies may be classified as all three.

Shubham Kumar
Nov 18, 2013

Let 'a', 'b', 'c' be the Comedy, Action and Drama movies respectively. Let 'd' be Comedy & Drama, 'e' be Comedy & Action and 'f' be Action & Drama. Let 'g' be the all category movies.

Now, according to question,

a + b + c + d + e + f + g = 436, ......................(i)

a + d + e + g = 234, ..................(ii)

b + e + f + g = 97, ..................(iii)

c + d + f + g = 191, .....................(iv)

Then, (ii) + (iii) + (iv) - (i) = 522 - 436

d + e + f + 2g = 86

And for maximizing g we should put d + e + f = 0,

Then, g = 43 (Ans)

Arnav Shringi
Nov 18, 2013

First find the surplus, i.e. (234+97+191)-436=86.

Now if you want to maximise the 'all three' section, you have to distribute these surplus 86 into this section.But if you add 1 to this region,you are taking care of surplus of 2. Similarly if 10 is added, surplus of 20 gets taken care of. Now for distributing 86 surplus, we have to add 43 to this region, hence the answer.

*soln:-43 *

Víctor Martín
Nov 19, 2013

We have 4 variables: Movies that are only Comedies C, that are only Action A, that are only Dramas D and that can be categorized as all three X. Logically, we won't any movie that can be categorized as two types of movie.

So we'll have the next equations:

C+D+A+X=436

C+X=234

D+X=191

A+X=97

Solving them, we'll get the value of X, that is 43.

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...