Simplified Fruit

Algebra Level 3

There are some integer numbers of apples and oranges whose ratio is 4 : 5. 4:5.

Peggy eats 5 5 of them--an integer number of each fruit--making the new ratio 2 : 3. 2:3.

How many apples did Peggy eat?

0 1 2 3 4 5

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.

2 solutions

Let there be 4 n 4n apples and 5 n 5n oranges for some positive integer n n . Next, suppose she eats a a apples and b b oranges such that a + b = 5 a + b = 5 . Then

4 n a 5 n b = 2 3 12 n 3 a = 10 n 2 b 2 n = 3 a 2 b = 3 a 2 ( 5 a ) = 5 a 10 = 5 ( a 2 ) \dfrac{4n - a}{5n - b} = \dfrac{2}{3} \Longrightarrow 12n - 3a = 10n - 2b \Longrightarrow 2n = 3a - 2b = 3a - 2(5 - a) = 5a - 10 = 5(a - 2) .

Now as n > 0 n \gt 0 we will require that 2 < a 5 2 \lt a \le 5 . Also, as 2 2 does not divide 5 5 we must then have that 2 ( a 2 ) 2 | (a - 2) , and the only value in the given range for a a for which this occurs is a = 4 a = \boxed{4} .

This in turn means that n = 5 n = 5 , so Peggy had 20 20 apples and 25 25 oranges to start with, and after her feast ended up with 16 16 apples and 24 24 oranges, which is indeed in a 2 : 3 2 : 3 ratio.

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.

Chung Kevin - 3 years ago

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. :)

Brian Charlesworth - 3 years ago

Log in to reply

Using your approach, if the initial ratio was P Q \frac{P}{Q} and the final ratio was X Y \frac{X}{Y} and N N fruits were eaten, then the equation that we get is

( P Y Q X ) k = ( X Y ) a X N , P P Q N < a N (PY - QX) k = (X-Y) a - XN , \frac{P}{P-Q} N < a \leq 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 P Q \frac{P}{P-Q} , 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.

Chung Kevin - 3 years ago

Log in to reply

@Chung Kevin Yes, (checking on the +/- signs), we have a = k ( P Y Q X ) X + Y + N X X + Y a = \dfrac{k(PY - QX)}{X + Y} + \dfrac{NX}{X + Y} . In this problem for N = 2 , 3 N = 2,3 we would have a = 2 a = 2 and for N = 4 , 5 , 6 , 7 N = 4,5,6,7 we would have a = 4 a = 4 , but for N = 8 , 9 N = 8,9 we could have a = 4 a = 4 or a = 6 a = 6 and for N = 10 N = 10 we could have a = 6 a = 6 or a = 8 a = 8 .

Brian Charlesworth - 3 years ago
Naren Bhandari
May 15, 2018

We have that ratio of Apple A A to orange O O is A O = 4 x 5 x \ \dfrac{A}{O} = \dfrac{4x}{5x}

If Peggy ate some fruits say she ate A n A_n and O n O_n apples and oranges respectively. Then A n + O n = 5 A_n +O_n =5 and new ratio. A t O t = A A n O O n = 2 3 4 x A n 5 x O n = 2 y 3 y \dfrac{A_t}{O_t} = \dfrac{A-A_n}{O-O_n} = \dfrac{2}{3} \implies \dfrac{4x-A_n}{5x-O_n } = \dfrac{2y}{3y} 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 \small{4x-A_n =2y\implies4x= {\color{#3D99F6}2y+A_n} \quad 5x-O_n=3y \implies 5x = {\color{#3D99F6}3y+O_n}} Since A n A_n and O n 5 O_n \leq 5 . Then A n 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 2 or 4 4 . So it's clear that Peggy ate 4 \boxed{4} apples.


Note : If Peggy would have eaten 2 2 apples & 3 3 ornages.Then x = y + 1 2 x=\frac{y+1}{2} and x = 3 ( y + 1 ) 5 x = \frac{3(y+1)}{5} . These two fraction cannot to be true simultaneously for any value of y 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.

Chung Kevin - 3 years ago

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 ?

Naren Bhandari - 3 years ago

Log in to reply

Yes, this is correct.

Chung Kevin - 3 years ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...