A group of students have decided to buy a birthday cake for their math teacher.
If each of them pays $2, there will be a surplus of $4 for the cake.
If each of them pays $3, it will be just enough to buy two cakes.
How much does a cake cost?
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.
They said that If each of them paid $ 3 then there would be enough for 2 cakes. So, each of them needs to pay $ 3 ÷ 2 = $ 1 . 5 for it to be exactly enough to buy a cake.
So the next steps would be: $ 2 − $ 1 . 5 $ 4 ⟹ 8 p u p i l s
Since our first statement is that each needs to pay $ 1 . 5 to get exactly 1 cake.
8 × $ 1 . 5 ⟶ $ 1 2
Let x be the number of students and c be the cost of one cake in $. Then we have the equations,
2 x = c + 4 ( 1 )
3 x = 2 c ( 2 )
Solve for x in terms of c in ( 2 ) then substitute in ( 1 ) . We have
2 ( 3 2 c ) = c + 4 ⟹ 3 4 c − c = 4 ⟹ c = 1 2
Problem Loading...
Note Loading...
Set Loading...
Let the number of students be x and the cost of the cake be y .
2 x = y + 4 − ①
3 x = 2 y − ②
From ①,
y = 2 x − 4
Substitute y into ②,
3 x = 2 ( 2 x − 4 )
We can work out that x = 8 .
Substitute x back into any equation, let's say ①,
2 ( 8 ) = y + 4
Therefore y = 1 2 .
The cost of the cake = $ 1 2