document.write( "Question 132413: Some students planned for a get-together. The budget for food was $500. Five of the students failed to come becuase of the distance, and therefore the cost of food for each member increased by $5. How many students attended the get-together? \n" ); document.write( "
Algebra.Com's Answer #96804 by solver91311(24713)\"\" \"About 
You can put this solution on YOUR website!
In the beginning, there were x students, when five didn't show up, there were x - 5 students.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "In the beginning, the cost per student was \"500%2Fx\" but when five students didn't show up, the cost was \"500%2F%28x-5%29\" and this cost was $5 more than the original cost per student, so:\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\"500%2Fx=500%2F%28x-5%29-5\"\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Need an LCD of \"x-5\" on the right:
\n" ); document.write( "\"500%2Fx=%28500-5%28x-5%29%29%2F%28x-5%29\"\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Simplify the right hand numerator:
\n" ); document.write( "\"500%2Fx=%28525-5x%29%2F%28x-5%29\"\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Cross-multiply:
\n" ); document.write( "\"500%28x-5%29=%28525-5x%29x\"\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Expand:
\n" ); document.write( "\"500x-2500=525x-5x%5E2\"\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Collect terms and put into standard form:
\n" ); document.write( "\"5x%5E2-25x-2500=0\"\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Divide by 5:
\n" ); document.write( "\"x%5E2-5x-500=0\"\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\"-25%2A20=-500\", \"-25%2B20=-5\", so:
\n" ); document.write( "\"%28x-25%29%28x%2B20%29=0\"\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\"x=25\" or \"x=-20\". A negative number for a number of students doesn't make much sense in this context, so exclude -20 as an extraneous root. There were originally 25 students, so 25 - 5 = 20 actually attended.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Check:
\n" ); document.write( "\"500%2F25=20\", \"500%2F20=25\", and \"20+%2B+5+=+25\"
\n" ); document.write( "
\n" );