document.write( "Question 515160: during the first part of a trip , a canoeist travels 37 miles at a certain speed. the canoeist travels 17 miles on the second part of the trip at a speed 5 mph slower. the total time for the trip is 2 hrs. What was the speed on each part of the trip? \n" ); document.write( "
Algebra.Com's Answer #343783 by drcole(72)\"\" \"About 
You can put this solution on YOUR website!
Let s represent the speed of the canoeist during the first part of the trip (in miles per hour). Since the speed is constant over the first part of the trip, we can use the relationship\r
\n" ); document.write( "\n" ); document.write( "Distance = Speed * Time\r
\n" ); document.write( "\n" ); document.write( "to solve for the time it took for the canoeist to travel the first leg in terms of s. In this case, the distance was 37 miles, so we have the equation\r
\n" ); document.write( "\n" ); document.write( "37 = s * Time
\n" ); document.write( "\"37%2Fs\" = Time (dividing both sides by s, presuming that s is not 0, which is reasonable since the canoeist traveled 37 miles at that speed)\r
\n" ); document.write( "\n" ); document.write( "So now we have an expression for the amount of time it took to travel the first leg: \"+37%2Fs+\". Now we move on to the second leg. According to the question, the canoeist traveled at a speed 5 mph slower than during the first leg of the trip. We can therefore represent the speed during the second leg as \"s+-+5\". Now we'll solve for the time it took to travel the second leg. The same relationship between distance, speed, and time applies, but now the distance traveled is 17 miles and the speed is \"s+-+5\" mph. Solving for time, we get:\r
\n" ); document.write( "\n" ); document.write( "17 = \"%28s+-+5%29\" * Time
\n" ); document.write( "\"17+%2F+%28s+-+5%29\" = Time (dividing both sides by \"s+-+5\", which we can also assume is non-zero since it is the speed of the canoeist)\r
\n" ); document.write( "\n" ); document.write( "The final bit of information we are given is that the total time of the trip is 2 hours. We now have the times it took to travel the first and second legs of the trip in term of s, and we can set up an algebraic equation:\r
\n" ); document.write( "\n" ); document.write( "\"+37%2Fs+%2B+17%2F%28s+-+5%29+=+2+\"\r
\n" ); document.write( "\n" ); document.write( "Now we solve for s:\r
\n" ); document.write( "\n" ); document.write( "\"+37+%2B+17s%2F%28s+-+5%29+=+2s+\" (multiply both sides by s)
\n" ); document.write( "\"+37%28s+-+5%29+%2B+17s+=+2s%28s+-+5%29+\" (multiply both sides by \"s+-+5\")
\n" ); document.write( "\"+37s+-+185+%2B+17s+=+2s%5E2+-+10s+\" (distribute the 37 on the left hand side and the \"2s\" on the right)
\n" ); document.write( "\"+54s+-+185+=+2s%5E2+-+10s+\" (combine like terms)
\n" ); document.write( "\"+0+=+2s%5E2+-+64s+%2B+185+\" (subtract 54s from and add 185 to both sides)
\n" ); document.write( "\"+s+=+%2864+%2B-+sqrt%2864%5E2+-+4%2A2%2A185%29%29%2F%282%2A2%29\" (applying the quadratic formula)
\n" ); document.write( "\"+s+=+%2864+%2B-+sqrt%282616%29%29%2F4\" (simplifying)\r
\n" ); document.write( "\n" ); document.write( "So we have two possible solutions for the speed. Numerically, these two solutions are (to the nearest hundredth):\r
\n" ); document.write( "\n" ); document.write( "\"s+=+%2864+%2B+sqrt%282616%29%29%2F4+=+28.79\" mph and \"s+=+%2864+-+sqrt%282616%29%29%2F4+=+3.21\" mph\r
\n" ); document.write( "\n" ); document.write( "Both are positive, so both might be speeds for the first leg of the trip. We know, however, that the speed during the second leg of the trip was \"+s+-+5+\", so:\r
\n" ); document.write( "\n" ); document.write( "if \"s+=+28.79\" mph, then \"s+-+5+=+23.79\" mph; and\r
\n" ); document.write( "\n" ); document.write( "if \"s+=+3.21\" mph, then \"s+-+5+=+-1.79\" mph.\r
\n" ); document.write( "\n" ); document.write( "Speed must be a non-negative number, so -1.79 mph cannot be a speed for the second leg of the trip. Therefore we reject the second solution, giving us that the canoeist traveled at approximately 28.79 mph during the first part of trip, and approximately 23.79 mph during the second part of the trip. To check, note that the time it took to travel the first leg would therefore be (to the nearest hundredth):\r
\n" ); document.write( "\n" ); document.write( "\"37%2F28.79+=+1.29\" hours\r
\n" ); document.write( "\n" ); document.write( "and the time it took to travel the second leg would be (again, to the nearest hundredth):\r
\n" ); document.write( "\n" ); document.write( "\"17%2F23.79+=+0.71\" hours\r
\n" ); document.write( "\n" ); document.write( "making the total time traveled 1.29 + 0.71 = 2.00 hours, which is what we wanted.
\n" ); document.write( "
\n" );