The ratio of the number of apples to oranges to pears is 7:11:9.
Timmy ate 21 fruits.
As a result, the ratio of the number of apples to oranges to pears became 2:3:3. How many fruits were left ?
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.
Let a be the number of apples, b the number of oranges, and c the number of pears he ate. Then the problem asks for solving the following linear system with integer unknowns: ⎩ ⎪ ⎪ ⎨ ⎪ ⎪ ⎧ 7 x − a = 2 y 1 1 x − b = 3 y 9 x − c = 3 y a + b + c = 2 1 This system has infinitely many solutions given by x = 7 − 9 8 λ , y = 2 1 − 3 λ , a = 7 − 9 2 λ , b = 1 4 − 9 7 λ , c = λ , for some non-negative integer λ . Since x = 7 − 9 8 λ must be a positive integer, we deduce that λ = 0 . This implies that y = 2 1 , from where the number of fruits that are left is given by 2 y + 3 y + 3 y = 8 ⋅ 2 1 = 1 6 8 .
The solution is unique and we don't need to use diophantine equation techniques.