Three hot dogs and two hamburgers cost $8.00 two hot dogs and three hamburgers cost $8.25. How much does one hot dog cost?

Respuesta :

The cost of 1 hot dog is $ 1.5

Solution:

Let "x" be the cost of 1 hot dog

Let "y" be the cost of 1 hamburger

From given,

Three hot dogs and two hamburgers cost $8.00

3x + 2y = 8 ------- eqn 1

two hot dogs and three hamburgers cost $8.25

2x + 3y = 8.25 ------- eqn 2

Solve eqn 1 and eqn 2

Multiply eqn 1 by 2

6x + 4y = 16 ------ eqn 3

Multiply eqn 2 by -3

-6x - 9y = - 24.75 ------- eqn 4

Add eqn 3 and eqn 4

6x + 4y = 16

-6x - 9y = - 24.75

( +) -----------------

-5y = -8.75

5y = 8.75

y = 1.75

Substitute y = 1.75 in eqn 1

3x + 2(1.75) = 8

3x = 8 - 3.5

3x = 4.5

x = 1.5

Thus cost of 1 hot dog is $ 1.5