document.write( "Question 102892: Tickets for a play at the community theater cost $12 for an adult and $4 for a child. If 130 tickets were sold and the total receipts were $840, how many of each type of ticket were sold? \n" ); document.write( "
Algebra.Com's Answer #74839 by doukungfoo(195)\"\" \"About 
You can put this solution on YOUR website!
let x equal the number of adult tickets sold
\n" ); document.write( "let y equal the number of child tickets sold
\n" ); document.write( "we are told that there were a total of 130 tickets sold so
\n" ); document.write( "x + y = 130
\n" ); document.write( "we are also told that adult tickets cost $12 and child tickets cost $4
\n" ); document.write( "and the total receipts were $840 so this means that
\n" ); document.write( "12x + 4y = 840
\n" ); document.write( "In other words $12 times the number of adult tickets sold plus $4 times the number of child tickets sold equals $840
\n" ); document.write( "Ok so now we have a system of equations that we can use to solve for x and y
\n" ); document.write( "I will demonstrate how to solve the system by using the substitution method.
\n" ); document.write( "Lets take the first equation and set it equal to x
\n" ); document.write( "x + y = 130
\n" ); document.write( "To do this subtract y from both sides of the equal sign
\n" ); document.write( "x + y - y = 130 - y
\n" ); document.write( "The y's on the left side cancel out and we are left with
\n" ); document.write( "x = 130 - y
\n" ); document.write( "now take the second equation and substitute x with 130-y and solve for y
\n" ); document.write( "12x + 4y = 840
\n" ); document.write( "12(130-y) + 4y = 840
\n" ); document.write( "multiply 12 across (130-y)
\n" ); document.write( "1560 - 12y + 4y = 840
\n" ); document.write( "combine like terms
\n" ); document.write( "1560 - 8y = 840
\n" ); document.write( "subtract 1560 from both sides
\n" ); document.write( "1560 - 1560 - 8y = 840 - 1560
\n" ); document.write( "0 - 8y = -720
\n" ); document.write( "-8y = -720
\n" ); document.write( "divide both sides by -8
\n" ); document.write( "-8y/-8 = -720/-8
\n" ); document.write( "y = 90
\n" ); document.write( "Answer: The theater sold 90 child tickets
\n" ); document.write( "Now use this to find out how many adult tickets were sold
\n" ); document.write( "x + y = 130
\n" ); document.write( "x + 90 = 130
\n" ); document.write( "x = 130 - 90
\n" ); document.write( "x = 40
\n" ); document.write( "Answer: The theater sold 40 adult tickets
\n" ); document.write( "Check both answers in both equations
\n" ); document.write( "x + y = 130
\n" ); document.write( "40 + 90 = 130
\n" ); document.write( "130 = 130
\n" ); document.write( "AND
\n" ); document.write( "12x + 4y = 840
\n" ); document.write( "12(40) + 4(90) = 840
\n" ); document.write( "480 + 360 = 840
\n" ); document.write( "840 = 840\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );