document.write( "Question 828935: The attendance at a rock concert was 6700 people. The tickets for the concer cost $40 for floor seats and $25 for all other seats. The total income of ticket sales was $185,500. write a linear system that models this situation. Solve the system using Cramer's rule, using the substitution method, and using the elimination method. Compare the methods, and explain which one you perfer in this situation. I did the elimination and substitute methods, but I cannot figure out how to set up the Cramer part. Any help would be appreciated \n" ); document.write( "
Algebra.Com's Answer #499597 by rothauserc(4718)\"\" \"About 
You can put this solution on YOUR website!
x +y = 6700
\n" ); document.write( "40x +25y = 185500
\n" ); document.write( "we have a 2 by 2 matrix and single column solution vector
\n" ); document.write( "we calculate the determinant (D) of a two by two matrix according to this formula
\n" ); document.write( "| a b |
\n" ); document.write( "| c d |
\n" ); document.write( "D = ad - bc
\n" ); document.write( "for our linear system of equations, the matrix is
\n" ); document.write( "| 1 1 |
\n" ); document.write( "| 40 25 |
\n" ); document.write( "and D = (1*25) - (40*1) = -15
\n" ); document.write( "now we need to replace the x column with our column solution vector
\n" ); document.write( "| 6700 1 |
\n" ); document.write( "| 185500 25 |
\n" ); document.write( "Dx = (6700 * 25) - (185500 * 1) = -18000
\n" ); document.write( "now we need to replace the y column with our column solution vector
\n" ); document.write( "| 1 6700 |
\n" ); document.write( "| 40 185500 |
\n" ); document.write( "Dy = (1 * 185500) - (6700 * 40) = 185500 - 268000 = -82500
\n" ); document.write( "now x = Dx / D = -18000 / -15 = 1200
\n" ); document.write( "y = Dy / D = -82500 / -15 = 5500
\n" ); document.write( "we have 1200 tickets at $40 and 5500 at $25
\n" ); document.write( "check answer
\n" ); document.write( "1200 +5500 = 6700
\n" ); document.write( "6700 = 6700
\n" ); document.write( "also
\n" ); document.write( "(40*1200) + (25*5500) = 185500
\n" ); document.write( "48000 + 137500 = 185500
\n" ); document.write( "185500 = 185500
\n" ); document.write( "answer checks :-)\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( " \r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );