document.write( "Question 697541: A group of friends planned a trip and chartered a bus for 300$. When 3 more friends decided to join the trip, the cost for the bus was $5 less per person. In all, how many people made the trip. \n" ); document.write( "
Algebra.Com's Answer #430098 by Stitch(470)\"\" \"About 
You can put this solution on YOUR website!
Set Up:
\n" ); document.write( "Let A = the number of friends in the begining.
\n" ); document.write( "Let B = the cost per person
\n" ); document.write( "-----------------------------
\n" ); document.write( "Equation 1: \"B+=+300%2FA\"
\n" ); document.write( "Equation 2: \"B+-+5+=+300%2F%28A+%2B+3%29\"
\n" ); document.write( "Plug (300/A) into equation 2 for B
\n" ); document.write( "Equation 2: \"B+-+5+=+300%2F%28A+%2B+3%29\"
\n" ); document.write( "\"%28300%2FA%29+-+5+=+300%2F%28A%2B3%29\"
\n" ); document.write( "To simplify the equation, multiply both sides by (A+3)
\n" ); document.write( "\"%28300%2FA%29%2A%28A%2B3%29+-+5%2A%28A%2B3%29+=+300\"
\n" ); document.write( "Multiply both sides by A
\n" ); document.write( "\"300%2A%28A%2B3%29+-+5%2A%28A%2B3%29%2AA+=+300A\"
\n" ); document.write( "Simplify
\n" ); document.write( "\"300A+%2B+900+-+5A%2A%28A%2B3%29+=+300A\"
\n" ); document.write( "Simplify
\n" ); document.write( "\"300A+%2B+900+-+5A%5E2+-+15A+=+300A\"
\n" ); document.write( "Combine like terms
\n" ); document.write( "\"285A+%2B+900+-+5A%5E2+=+300A\"
\n" ); document.write( "Subtract 285A from both sides
\n" ); document.write( "\"900+-+5A%5E2+=+15A\"
\n" ); document.write( "Add 5A^2 to both sides
\n" ); document.write( "\"900+=+5A%5E2+%2B+15A\"
\n" ); document.write( "*This step is not required but to make the numbers smaller pull a 5 from the right side of the equation
\n" ); document.write( "\"900+=+5%2A%28A%5E2+%2B+3A%29\"
\n" ); document.write( "Divide both sides by 5
\n" ); document.write( "\"180+=+A%5E2+%2B+3A\"
\n" ); document.write( "Subtract 180 from both sides
\n" ); document.write( "\"0+=+A%5E2+%2B+3A+-+180\"
\n" ); document.write( "Use the quadratic equation.
\n" ); document.write( "\n" ); document.write( "\n" ); document.write( " \n" ); document.write( "\n" ); document.write( "
Solved by pluggable solver: SOLVE quadratic equation with variable
Quadratic equation \"aA%5E2%2BbA%2Bc=0\" (in our case \"1A%5E2%2B3A%2B-180+=+0\") has the following solutons:
\n" ); document.write( "
\n" ); document.write( " \"A%5B12%5D+=+%28b%2B-sqrt%28+b%5E2-4ac+%29%29%2F2%5Ca\"
\n" ); document.write( "
\n" ); document.write( " For these solutions to exist, the discriminant \"b%5E2-4ac\" should not be a negative number.
\n" ); document.write( "
\n" ); document.write( " First, we need to compute the discriminant \"b%5E2-4ac\": \"b%5E2-4ac=%283%29%5E2-4%2A1%2A-180=729\".
\n" ); document.write( "
\n" ); document.write( " Discriminant d=729 is greater than zero. That means that there are two solutions: \"+x%5B12%5D+=+%28-3%2B-sqrt%28+729+%29%29%2F2%5Ca\".
\n" ); document.write( "
\n" ); document.write( " \"A%5B1%5D+=+%28-%283%29%2Bsqrt%28+729+%29%29%2F2%5C1+=+12\"
\n" ); document.write( " \"A%5B2%5D+=+%28-%283%29-sqrt%28+729+%29%29%2F2%5C1+=+-15\"
\n" ); document.write( "
\n" ); document.write( " Quadratic expression \"1A%5E2%2B3A%2B-180\" can be factored:
\n" ); document.write( " \"1A%5E2%2B3A%2B-180+=+1%28A-12%29%2A%28A--15%29\"
\n" ); document.write( " Again, the answer is: 12, -15.\n" ); document.write( "Here's your graph:
\n" ); document.write( "\"graph%28+500%2C+500%2C+-10%2C+10%2C+-20%2C+20%2C+1%2Ax%5E2%2B3%2Ax%2B-180+%29\"

\n" ); document.write( "\n" ); document.write( "Note that there are two answers; 12 & -15.
\n" ); document.write( "Now we can not have negative people so your only answer is 12.
\n" ); document.write( "That means that 12 people were the original group and then 3 more people joined.
\n" ); document.write( "So there were 15 total people that made the trip.
\n" ); document.write( "
\n" ); document.write( "
\n" );