There are some integer numbers of apples and oranges whose ratio is 4 : 5 .
Peggy eats 5 of them--an integer number of each fruit--making the new ratio 2 : 3 .
How many apples did Peggy eat?
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.
Oh, that's really nice. I thought there were too many unknowns in the problem (given the various ratios), but I see how you removed them.
I was afraid that there were multiple answers, so I slowly checked every case like in Naren's solution.
Log in to reply
Thanks! And nice problem; at first I didn't think we had enough information to get a unique answer, so I was pleasantly surprised when it revealed itself. :)
Log in to reply
Using your approach, if the initial ratio was Q P and the final ratio was Y X and N fruits were eaten, then the equation that we get is
( P Y − Q X ) k = ( X − Y ) a − X N , P − Q P N < a ≤ N
As such, for certain values, there could be multiple solutions, or no solution. (There could be errors with the positive / negative values in the algebra, especially the fraction P − Q P , but otherwise this is a good way to express it.)
I came across these as I was creating the question, and didn't fully understand why that happened. Thanks for helping me figure this out.
Log in to reply
@Chung Kevin – Yes, (checking on the +/- signs), we have a = X + Y k ( P Y − Q X ) + X + Y N X . In this problem for N = 2 , 3 we would have a = 2 and for N = 4 , 5 , 6 , 7 we would have a = 4 , but for N = 8 , 9 we could have a = 4 or a = 6 and for N = 1 0 we could have a = 6 or a = 8 .
We have that ratio of Apple A to orange O is O A = 5 x 4 x
If Peggy ate some fruits say she ate A n and O n apples and oranges respectively. Then A n + O n = 5 and new ratio. O t A t = O − O n A − A n = 3 2 ⟹ 5 x − O n 4 x − A n = 3 y 2 y Here, 4 x − A n = 2 y ⟹ 4 x = 2 y + A n 5 x − O n = 3 y ⟹ 5 x = 3 y + O n Since A n and O n ≤ 5 . Then A n cannot be an odd integer of eaten apples(blue colored part says) . So, Peggy must have eaten an even integer of apples either 2 or 4 . So it's clear that Peggy ate 4 apples.
Note : If Peggy would have eaten 2 apples & 3 ornages.Then x = 2 y + 1 and x = 5 3 ( y + 1 ) . These two fraction cannot to be true simultaneously for any value of y since we don't find any integer that is both even and odd.
Can we do this without "trial and error"? That's how I created the problem, but I'm wondering if there is a better way to solve this.
Log in to reply
Initially i solved the problem like Sir , @Brian Charlesworth did. However, he had already posted solution then I think of alternative way to do. :) Is that correct or not ?
Problem Loading...
Note Loading...
Set Loading...
Let there be 4 n apples and 5 n oranges for some positive integer n . Next, suppose she eats a apples and b oranges such that a + b = 5 . Then
5 n − b 4 n − a = 3 2 ⟹ 1 2 n − 3 a = 1 0 n − 2 b ⟹ 2 n = 3 a − 2 b = 3 a − 2 ( 5 − a ) = 5 a − 1 0 = 5 ( a − 2 ) .
Now as n > 0 we will require that 2 < a ≤ 5 . Also, as 2 does not divide 5 we must then have that 2 ∣ ( a − 2 ) , and the only value in the given range for a for which this occurs is a = 4 .
This in turn means that n = 5 , so Peggy had 2 0 apples and 2 5 oranges to start with, and after her feast ended up with 1 6 apples and 2 4 oranges, which is indeed in a 2 : 3 ratio.