document.write( "Question 1158426: A boat travels 2 km upstream and 2 km back. The time for the round trip is 4 hrs. The speed of the stream is 5 ​km/hr. What is the speed of the boat in still​ water? \n" ); document.write( "
Algebra.Com's Answer #781376 by Shin123(626)\"\" \"About 
You can put this solution on YOUR website!
Let's say that the boat can travel x km/hr on still water. It can travel (x-5) km/hr upstream and (x+5) km/hr downstream. \"2%2F%28x-5%29%2B2%2F%28x%2B5%29=4\". \"2%28x%2B5%29%2B2%28x-5%29=4%28x-5%29%28x%2B5%29\". \"2x%2B10%2B2x-10=4x%5E2-100\". \"4x%5E2-4x-100=0\" \"x%5E2-x-25=0\" \n" ); document.write( "\n" ); document.write( " \n" ); document.write( "\n" ); document.write( "
Solved by pluggable solver: COMPLETING THE SQUARE solver for quadratics
Read this lesson on completing the square by prince_abubu, if you do not know how to complete the square.
Let's convert \"1x%5E2%2B-1x%2B-25=0\" to standard form by dividing both sides by 1:
\n" ); document.write( "We have: \"1x%5E2%2B-1x%2B-25=0\". \n" ); document.write( "What we want to do now is to change this equation to a complete square \"%28x%2Bsomenumber%29%5E2+%2B+othernumber\". How can we find out values of somenumber and othernumber that would make it work?
\n" ); document.write( "Look at \"%28x%2Bsomenumber%29%5E2\": \"%28x%2Bsomenumber%29%5E2+=+x%5E2%2B2%2Asomenumber%2Ax+%2B+somenumber%5E2\". Since the coefficient in our equation \"1x%5E2%2Bhighlight_red%28+-1%29+%2A+x%2B-25=0\" that goes in front of x is -1, we know that -1=2*somenumber, or \"somenumber+=+-1%2F2\". So, we know that our equation can be rewritten as \"%28x%2B-1%2F2%29%5E2+%2B+othernumber\", and we do not yet know the other number.
\n" ); document.write( "We are almost there. Finding the other number is simply a matter of not making too many mistakes. We need to find 'other number' such that \"%28x%2B-1%2F2%29%5E2+%2B+othernumber\" is equivalent to our original equation \"1x%5E2%2B-1x%2Bhighlight_green%28+-25+%29=0\".
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( " The highlighted red part must be equal to -25 (highlighted green part).
\n" ); document.write( "
\n" ); document.write( " \"-1%5E2%2F4+%2B+othernumber+=+-25\", or \"othernumber+=+-25--1%5E2%2F4+=+-25.25\".
\n" ); document.write( "So, the equation converts to \"%28x%2B-1%2F2%29%5E2+%2B+-25.25+=+0\", or \"%28x%2B-1%2F2%29%5E2+=+25.25\".
\n" ); document.write( "
\n" ); document.write( " Our equation converted to a square \"%28x%2B-1%2F2%29%5E2\", equated to a number (25.25).
\n" ); document.write( "
\n" ); document.write( " Since the right part 25.25 is greater than zero, there are two solutions:
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( " , or
\n" ); document.write( "
\n" ); document.write( " \"system%28+%28x%2B-1%2F2%29+=+5.02493781056044%2C+%28x%2B-1%2F2%29+=+-5.02493781056044+%29\"
\n" ); document.write( " \"system%28+x%2B-1%2F2+=+5.02493781056044%2C+x%2B-1%2F2+=+-5.02493781056044+%29\"
\n" ); document.write( " \"system%28+x+=+5.02493781056044--1%2F2%2C+x+=+-5.02493781056044--1%2F2+%29\"
\n" ); document.write( "
\n" ); document.write( " \"system%28+x+=+5.52493781056044%2C+x+=+-4.52493781056044+%29\"
\n" ); document.write( "Answer: x=5.52493781056044, -4.52493781056044.\n" ); document.write( "
\n" ); document.write( "
The boat can travel about 5.525 km/hr.
\n" ); document.write( "
\n" );