Star Wars VS Marvel

Algebra Level 2

Jordan has $100 to buy some comic books. He really likes the Star Wars books which cost $12 each, but he could also buy the Marvels books which cost $5 each. If he has to buy at least 12 books, what is the maximum number of the Star Wars books that he can buy?

4 5 6 7

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.

5 solutions

Chung Kevin
Dec 1, 2016

Let the number of Star Wars comics be x x and the number of Marvel comics be y y .

The first condition is that 12 x + 5 y 100 12 x + 5y \leq 100 .
The second condition is that x + y 12 x + y \geq 12 .
We want to find the maximum value of x x .

Algebraic approach:

7 x + 5 × 12 7 x + 5 ( x + y ) = 12 x + 5 y 100 7 x 40 x 5 7x + 5 \times 12 \leq 7x + 5 ( x +y ) = 12x + 5y \leq 100 \Rightarrow 7x \leq 40 \Rightarrow x \leq 5

( x , y ) = ( 5 , 8 ) (x,y) = (5, 8 ) satisfies the given inequalities, so the maximum number that he could buy is 5.

Moderator note:

Looking at the other solutions, there are several issues / misconceptions that I would like to point out:

  • Assuming that the maximum occurs at the point of intersection, and then we round off
  • Assumes that equality must hold in a particular equation, without justifying why
  • Approaches it through exhaustive search, which works fine when the variables are few and the numbers are small.
Zee Ell
Dec 1, 2016

12 books cost at least 12 × $5 = $60. Buying a Star Wars book costs us $12 - $5 = $7 extra each. We can spend $100 - $60 = $40 on this "extra".

40 ÷ 7 = 5 \lfloor 40 ÷ 7 \rfloor = \boxed {5}

Indeed, 5 Star Wars books and 7 Marvel comics cost:

5 × $12 + 7 × $5 = $95

Ah, accounting for the extra money to spend. Sometimes that how I do my budgeting.

Chung Kevin - 4 years, 6 months ago
Nihar Mahajan
Dec 2, 2016

We are looking for that cost of star wars books which ends with a 0 or 5 so that, the remaining money is a multiple of 5, so as to buy integral number of Marvel books. Keeping in mind the spend limit of 100$, the only possibility meeting our needs is 12 × 5 = 60 12\times 5=60 , so the number of star wars books he could buy is 5 \boxed{5} .

He need not use up the whole money, so it is not clear why the following should hold:

We are looking for that cost of star wars books which ends with a 0 or 5

Agnishom Chattopadhyay - 4 years, 6 months ago

Log in to reply

Yes, we cannot assume that all $100 is used up.

Chung Kevin - 4 years, 6 months ago
Nikkil V
Dec 1, 2016

Let the number of Star Wars comic be 'x' and Marvel comic be 'y'.

According to the question, x + y x+y \ge 12 12

For $100,we can buy atmost 8 Starwars comic irrespective of that eqn.

So,only for less number of books, he can buy maximum number of Starwars comic.

12 x + 5 y 12x+5y \le 100 100 and x , y x,y \in N N

Now the maximum value for x satisfying both the equations is the answer. i . e i.e 5

How did you get to 5 at the very end?

Chung Kevin - 4 years, 6 months ago

Log in to reply

By hit and trial method.

Nikkil V - 4 years, 6 months ago

We can write the equation 12s+5m=100, s being the amount of Star Wars comics and m the amount of Marvel comics.

Now, we can proceed in many ways, one of them is the following: We isolate s wich leaves s=(100-5m)/12=5(20-m)/12, now we move the 5 to the left side, leaving us with s/5=(20-m)/12, which means s must be a multiple of 5. 0, 5, 10, 15... are all possible options, but we notice that from 10 on the equation exceeds 100 and therefore are not answers. So 0 and 5 are the only options, obviously the greatest is 5.

That's not quite right. Firstly, he doesn't need to spend all 100 dollars, so we don't have an equation to work with. Secondly, we need to check that he bought at least 12 books, which hasn't been a condition used.

For example, he could have bought 1 Star Wars book and 12 Marvel books.

Chung Kevin - 4 years, 6 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...