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?
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.
Looking at the other solutions, there are several issues / misconceptions that I would like to point out:
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".
⌊ 4 0 ÷ 7 ⌋ = 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.
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 1 2 × 5 = 6 0 , so the number of star wars books he could buy is 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
Let the number of Star Wars comic be 'x' and Marvel comic be 'y'.
According to the question, x + y ≥ 1 2
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.
1 2 x + 5 y ≤ 1 0 0 and x , y ∈ N
Now the maximum value for x satisfying both the equations is the answer. i . e 5
How did you get to 5 at the very end?
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.
Problem Loading...
Note Loading...
Set Loading...
Let the number of Star Wars comics be x and the number of Marvel comics be y .
The first condition is that 1 2 x + 5 y ≤ 1 0 0 .
The second condition is that x + y ≥ 1 2 .
We want to find the maximum value of x .
Algebraic approach:
7 x + 5 × 1 2 ≤ 7 x + 5 ( x + y ) = 1 2 x + 5 y ≤ 1 0 0 ⇒ 7 x ≤ 4 0 ⇒ x ≤ 5
( x , y ) = ( 5 , 8 ) satisfies the given inequalities, so the maximum number that he could buy is 5.