SOLUTION: Three boys are talking about how many sweets they each have. A: B has the most! B: If C gave me one sweet, I'd have twice as many as A does. C: It'd be better if B gave me two

Algebra.Com
Question 846445: Three boys are talking about how many sweets they each have.
A: B has the most!
B: If C gave me one sweet, I'd have twice as many as A does.
C: It'd be better if B gave me two sweets. Then we'd all have the same amount!
How many sweets are there in total?
I know the answer but the algebra is giving me trouble.

Answer by KMST(5347)   (Show Source): You can put this solution on YOUR website!
= number of sweets A has.
= number of sweets B has.
= number of sweets C has.
We could even define .

The fact that C says
"It'd be better if B gave me two sweets. Then we'd all have the same amount!"
means .
That is 3 equations, but not independent, so it is worth 2 equations.

The fact that B says
"If C gave me one sweet, I'd have twice as many as A does."
means that .
With that last equation, we have 3 independent equations, and that's enough to solve.

We could even add and say we have a system of 4 linear equations, but why complicate when you can make it simpler.

Since two of the equations in have only A and B, I can solve for A and B with just two equations:
--> --> --> --> --> -->

Now I can use the results above and the equation I have not used to find C.
--> --> -->

Now, I can find the total
-->

RELATED QUESTIONS

if each boy has 6 sweets there will be 5 sweets left in the bag there were three more in... (answered by MathTherapy)
Clifford had 80% fewer sweets than Ashwin. After Ashwin gave 210 sweets to Clifford,... (answered by josgarithmetic,MathTherapy)
a man had a bag of sweets he gave one to his son and 1/7 of the remaining and what he was (answered by mathstutor494)
Hi If A gave 22 sweets to D she would have 4 times as many sweets as D . If D gave 18... (answered by ankor@dixie-net.com)
Tim and Ron have some sweets each. If Tim eat 8 has of his sweets, the ratio of the... (answered by Boreal)
sara and simone together have 24 sweets, Sara and Josie together have 32 sweets.... (answered by stanbon)
Jane and Tom had some sweets each. Jane gave 1/2 of what she had to Tom. Then Tom gave... (answered by Theo,MathTherapy)
Roger has twice as many sweets a dan. If Roger gives dan 5 sweeets he will have 5 more... (answered by TimothyLamb)
Hi If Simon gave 30% of his sweets to Terry they will have the same number of sweets.... (answered by ikleyn,math_tutor2020)