Question 1132189
<br>
Two other tutors have provided solutions, by very different algebraic paths, of what was PROBABLY the INTENDED problem -- that the theater was filled to capacity.<br>
But the problem only says the capacity of the theater is 383 -- it does NOT say all the theater was filled to capacity.<br>
Take away the constraint that all the seats are filled, and the problem has multiple solutions.<br>
The number of adults is half the number of children, so let x be the number of adults and y be the number of students; then the number of children is 2x.  The only other information we have is that the total ticket sales, at $5 per child, $7 per student, and $12 per adult, is $2778.<br>
So we have a single equation with two unknowns; and the unknowns have positive integer values.  Under those circumstances, we MIGHT get a single solution; but more likely we will get a family of solutions.<br>
{{{5(2x)+7(y)+12(x) = 2778}}}
{{{10x+7y+12x = 2778}}}
{{{22x+7y = 2778}}}<br>
To find the solution(s) to an equation like this, we can solve the equation for one variable in terms of the other, then use the fact that the solutions are positive integers to find the solutions.<br>
{{{7y = 2778 - 22x}}}
{{{y = (2778-22x)/7}}}<br>
A general technique for finding solutions is to perform the division as a whole number quotient plus a remainder:<br>
{{{y = (2779-21x)/7 + (-x-1)/7}}}
{{{y = (397-3x) - (x+1)/7}}}<br>
On the left, y has to be a whole number; and x has to be a whole number, so (397-3x) is a whole number.  That means (x+1)/7 has to be a whole number.<br>
The whole number values that make (x+1)/7 a whole number are<br>
6, 13, 20, 27, ...; any whole number of the form 6+7t.<br>
So {{{x = 6+7t}}}<br>
Then<br>
{{{y = (397-3x) - (x+1)/7 = (397-3(6+7t)) - (7+7t)/7 = 397-18-21t-t-1 = 378-22t}}}<br>
At this point, we have shown that every solution in integers of the equation<br>
{{{22x+7y = 2778}}}<br>
must be of the form (x,y) = (6+7t, 378-22t)<br>
The total number of people is children plus students plus adults = 2x+y+x = 3x+y:<br>
{{{3x+y = 3(6+7t)+(378-22t) = 18+21t+378-22t = 396-t}}}<br>
The seating capacity of the theater is 383.  Since we have found that the total number of people is 396-t, we can see that the theater is full to capacity when t=13 and there are empty seats when t is greater than 13.<br>
This leads to a family of solutions to the problem in which the theater does not need to be filled to capacity.<br><pre>
       number of   number of    number of    total number in
  t    adults, x  students, y  children, 2x    the theater
        (6+7t)     (378-22t)    (12+14t)        (396-t)
 -----------------------------------------------------------
  13      97          92          194             383
  14     104          70          208             382
  15     111          48          222             381
  16     118          26          236             380
  17     125           4          250             379</pre><br>
So, without the requirement that the theater be filled to capacity,  there are 5 combinations of children, students, and adults in which the number of adults is half the number of children and the total ticket sales is $2778.<br>
Of course, the first of the solutions in the table above is the solution the other two tutors found, by including the requirement that the theater be filled to capacity.