document.write( "Question 1018857: A total of 50 tickets were sold for a play. Children tickets cost $5 and adult tickets cost $10. If the total sold was $350, how many tickets of each type were sold \n" ); document.write( "
Algebra.Com's Answer #634879 by Edwin McCravy(20055)\"\" \"About 
You can put this solution on YOUR website!

\n" ); document.write( "
\r\n" );
document.write( "Let the number of children's tickets be x\r\n" );
document.write( "Let the number of adult's tickets be y\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "                      Money      Money\r\n" );
document.write( "Type       Number     from       from\r\n" );
document.write( " of          of       EACH       ALL\r\n" );
document.write( "ticket    tickets    ticket     tickets\r\n" );
document.write( "-------------------------------------------\r\n" );
document.write( "children    x           $5      $5x\r\n" );
document.write( "adults      y          $10     $10y\r\n" );
document.write( "-------------------------------------------\r\n" );
document.write( "TOTALS     50        -----     $350\r\n" );
document.write( "\r\n" );
document.write( " The first equation comes from the second column.\r\n" );
document.write( "\r\n" );
document.write( "  \"%28matrix%284%2C1%2CNumber%2Cof%2C%22children%27s%22%2Ctickets%29%29\"\"%22%22%2B%22%22\"\"%28matrix%284%2C1%2CNumber%2Cof%2Cadult%2Ctickets%29%29\"\"%22%22=%22%22\"\"%28matrix%284%2C1%2Ctotal%2Cnumber%2Cof%2Ctickets%29%29\"\r\n" );
document.write( "\r\n" );
document.write( "                 x + y = 50\r\n" );
document.write( "\r\n" );
document.write( " The second equation comes from the last column.\r\n" );
document.write( "  \"%28matrix%285%2C1%2CMoney%2Cfrom%2CALL%2C%22children%27s%22%2Ctickets%29%29\"\"%22%22%2B%22%22\"\"%28matrix%285%2C1%2CMoney%2Cfrom%2CALL%2Cadult%2Ctickets%29%29\"\"%22%22=%22%22\"\"%28matrix%284%2C1%2CMoney%2Cfrom%2CALL%2Ctickets%29%29\"\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "            5x + 10y = 350\r\n" );
document.write( "\r\n" );
document.write( " So we have the system of equations:\r\n" );
document.write( "           \"system%28x+%2B+y+=+50%2C5x+%2B+10y+=+350%29\".\r\n" );
document.write( "\r\n" );
document.write( "We solve by substitution.  Solve the first equation for y:\r\n" );
document.write( "\r\n" );
document.write( "           x + y = 50\r\n" );
document.write( "               y = 50 - x\r\n" );
document.write( "\r\n" );
document.write( "Substitute (50 - x) for y in 5x + 10y = 350\r\n" );
document.write( "\r\n" );
document.write( "  5x + 10(50 - x) = 350\r\n" );
document.write( "   5x + 500 - 10x = 350\r\n" );
document.write( "        -5x + 500 = 350\r\n" );
document.write( "              -5x = -150\r\n" );
document.write( "                x = 30 = the number of children's tickets.\r\n" );
document.write( "\r\n" );
document.write( "Substitute in y = 50 - x\r\n" );
document.write( "              y = 50 - (30)\r\n" );
document.write( "              y = 20 adult tickets\r\n" );
document.write( "\r\n" );
document.write( "Checking:  30 childrens is $150 and 20 adults is $200\r\n" );
document.write( "            That's 50 tickets.\r\n" );
document.write( "            And indeed $150 + $200 = $350\r\n" );
document.write( "Edwin

\n" ); document.write( "
\n" ); document.write( "
\n" );