document.write( "Question 1118151: The difference in the average speeds of two train is 25km/h, the faster train takes 2 hours less to travel 150km than the slower train takes to travel 125km. Find the speeds of the two trains \n" ); document.write( "
Algebra.Com's Answer #733411 by ikleyn(52847)\"\" \"About 
You can put this solution on YOUR website!
.
\n" ); document.write( "
\r\n" );
document.write( "Let x be the average speed of the slower train, in kilometers per hour.\r\n" );
document.write( "\r\n" );
document.write( "Then the speed of the faster train is (x+25) km/h.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "The slower train takes  \"125%2Fx\" hours    to travel 125 kilometers.\r\n" );
document.write( "\r\n" );
document.write( "The faster train takes  \"150%2F%28x%2B25%29\" hours  to travel 150 kilometers.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "The condition says that the faster train takes 2 hours less:\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "\"125%2Fx\" - \"150%2F%28x%2B25%29\" = 2   hours.     \r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "It is yours \"time\" equation.     // As soon as I got this equation, I just know the answer: x = 25.  (I solved the equation in my head)\r\n" );
document.write( "                                 // But I will pretend that I don't know the solution, and will solve it formally (i.e. \"honestly\")\r\n" );
document.write( "\r\n" );
document.write( "To solve it, multiply both sides by x*(x+25). You will get\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "125*(x+25) - 150*x = 2x*(x+25),\r\n" );
document.write( "\r\n" );
document.write( "125x + 125*25 - 150x = 2x^2 + 50x,\r\n" );
document.write( "\r\n" );
document.write( "2x^2 + 75x - 125*25 = 0,\r\n" );
document.write( "\r\n" );
document.write( "2x^2 - 50x + 125x - 125*25 = 0,   <<<---=== starting from this line, I work to factor left side\r\n" );
document.write( "\r\n" );
document.write( "2x*(x-25) + 125(x-25) = 0,\r\n" );
document.write( "\r\n" );
document.write( "(2x+125)*(x-25) = 0.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "The only positive root is  x= 25,  and it is the only solution to the problem.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Answer.  The slower train average speed is 25 km/h.  The faster train 25+25 = 50 km/h.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Check.   \"125%2F25\" - \"150%2F50\" = 5 - 3 = 2.  ! The time equation is satisfied !\r\n" );
document.write( "
\r
\n" ); document.write( "\n" ); document.write( "Solved and checked.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );