Its a birthday party, the guests include kids as well as adults. The number of guests invited equals the number of birthday caps. The number of chocolates is triple the number of birthday caps.There are 10 food items in the party. The number of kids is twice the number of adults. Four chocolates are given to each kid and the total number of chocolates given to adults equals the number of food items.
How many guests are invited to the birthday party?
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.
You are trying to make this as confusing as possible. Anyway
Define the following variables:
x is the number of guests
y is the number of kids
z is the number of adults
c is the number of chocolates
Now, we know that:
x = y + z ⟹ Eq.(1)
c = 3 x ⟹ Eq.(2)
y = 2 z ⟹ Eq.(3)
c = 4 y + 1 0 ⟹ Eq.(4)
We now have 4 linear equations with 4 variables.
Eq.(2) = Eq.(4):
3 x = 4 y + 1 0 ⟹ Eq.(5)
Eq.(3) − 2 × Eq.(1):
y − 2 x = 2 z − 2 ( y + z ) y − 2 x = − 2 y
2 x = 3 y ⟹ Eq.(6)
3 × Eq.(5) − 4 × Eq.(6):
9 x − 8 x = 3 ( 4 y + 1 0 ) − 1 2 y x = 3 0