1. ## challenging ratio problem

Dear sir,
Would appreciate very much if someone can help me in the below question.
thanks
Kingman

The ratio of the number of red apples to the number of green apples in a box was 7:6. After twice as many red apples as green apples were sold, the ratio became 3: 4. There were 24 green apples in the box in the end. How many apples were in the box at first?

2. Let the number of red apples in the box be x and the number of green apples be y. Then $\frac{x}{y}= \frac{7}{6}$ or $6x= 7y$. Let the number of green apples sold be z so that the number of red apples sold is 2z. Then, at the end, there are x- 2z red apples and y- z green apples $\frac{x- 2z}{y- z}= \frac{3}{4}$ or $r4(x- 2z)= 3(y- z)$ which is the same as 4x= 3y+ z. Of course, we also have (x- 2z)+ (y- z)= x+ y- 3z= 24.

Solve the three equations 6x= 7y, 4x= 3y+ z, and x+ y- 3z= 24 for x, y, and z. The answer to the question "How many apples were in the box at first?" is x+ y.

Are you sure of your numbers? I do NOT get an integer number of apples.

3. Thanks for the reply; the question if correct and the answer if 78 apples.

4. Originally Posted by kingman
Thanks for the reply; the question if correct and the answer if 78 apples.
Red: 42 ; -24 ; 18
Grn: 36 ; -12 ; 24
42 + 36 = 78

5. Hello, kingman!

Another approach . . .

The ratio of Red apples to Green apples in a box was 7:6.
After twice as many Reds as Greens were sold, the ratio became 3:4.
There were 24 Greens in the box in the end.
How many apples were in the box at first?

At first, there were $7a$ Reds and $6a$ Greens, for some integer $\,a.$

Then $\,x$ Greens were sold, and $\,2x$ Reds were sold.

This left: $(7a - 2x)$ Reds and $(6a-x)$ Greens.

The ratio became 3:4. . . $\dfrac{7a-2x}{6a-x} \:=\:\dfrac{3}{4} \quad\Rightarrow\quad x \,=\,2a$ .[1]

There were 24 Greens left: . $6a-x \:=\:24$ .[2]

Substitute [1] into [2]: . $6a - 2a \,=\,24 \quad\Rightarrow\quad a \,=\,6$

Therefore, there were 42 Reds and 36 Greens . . . a total of 78 apples.

6. Dear sir,
thanks for the answer but Can you please explain how you arrive at the statement 'Grn: 36 ; -12 ; 24'
but not Grn: 18 ; 6 ; 12
thanks

7. Originally Posted by kingman
Dear sir,
thanks for the answer but Can you please explain how you arrive at the statement
'Grn: 36 ; -12 ; 24' but not Grn: 18 ; -6 ; 12
That leaves 12 green apples; but "There were 24 green apples in the box in the end."
I edited my post to remove the "2 boxes" I wrongly assumed.