Birthday Cake

Algebra Level 1

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?


The answer is 12.

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.

3 solutions

Wind Quotidian
Dec 17, 2017

Let the number of students be x x and the cost of the cake be y y .

2 x = y + 4 2x = y + 4 - ①

3 x = 2 y 3x = 2y - ②

From ①,

y = 2 x 4 y = 2x - 4

Substitute y y into ②,

3 x = 2 ( 2 x 4 ) 3x = 2 (2x - 4)

We can work out that x = 8 x = 8 .

Substitute x x back into any equation, let's say ①,

2 ( 8 ) = y + 4 2 (8) = y + 4

Therefore y = 12 y = 12 .

The cost of the cake = $ 12 \$12

Mohammad Farhat
Aug 31, 2018

They said that If each of them paid $ 3 \$3 then there would be enough for 2 2 cakes. So, each of them needs to pay $ 3 ÷ 2 = $ 1.5 \$3 \div 2 = \$1.5 for it to be exactly enough to buy a cake.

So the next steps would be: $ 4 $ 2 $ 1.5 8 p u p i l s \dfrac{\$4}{\$2-\$1.5} \implies 8 pupils

Since our first statement is that each needs to pay $ 1.5 \$1.5 to get exactly 1 cake.

8 × $ 1.5 $ 12 8\times \$1.5 \longrightarrow \$12

Let x x be the number of students and c c be the cost of one cake in $. Then we have the equations,

2 x = c + 4 2x=c+4 ( 1 ) \color{#D61F06}(1)

3 x = 2 c 3x=2c ( 2 ) \color{#D61F06}(2)

Solve for x x in terms of c c in ( 2 ) \color{#D61F06}(2) then substitute in ( 1 ) \color{#D61F06}(1) . We have

2 ( 2 3 c ) = c + 4 2\left(\dfrac{2}{3}c\right)=c+4 \implies 4 3 c c = 4 \dfrac{4}{3}c-c=4 \implies c = 12 c=\boxed{12}

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...