document.write( "Question 208387: 1. The speed of a boat in still water is 10 mph. If it travels on a river 6 miles downstream in the same amount of time it takes to travel 3 miles upstream, what is the speed of the current?
\n" ); document.write( "2. The speed of a boat in still water is 8 mph. If it travels 24 miles upstream and 24 miles downstream in a total of 12 hours, what is the speed of the current?
\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #157725 by Theo(13342)\"\" \"About 
You can put this solution on YOUR website!
PROBLEM NUMBER 1
\n" ); document.write( "-----
\n" ); document.write( "let b = speed of the boat in still water.
\n" ); document.write( "let c = speed of the current
\n" ); document.write( "-----
\n" ); document.write( "rate * time = distance
\n" ); document.write( "let h = time
\n" ); document.write( "-----
\n" ); document.write( "going downstream, the formula is (b + c) * h = 6
\n" ); document.write( "going upstream, the formula is (b - c) * h = 3
\n" ); document.write( "-----
\n" ); document.write( "since b = 10, these formula become:
\n" ); document.write( "(10 + c) * h = 6
\n" ); document.write( "and
\n" ); document.write( "(10 - c) * h = 3
\n" ); document.write( "-----
\n" ); document.write( "since 6 = 2 * 3, then we can substitute (10 - c) * h for 3 to get:
\n" ); document.write( "(10 + c) * h = (10 - c) * h * 2
\n" ); document.write( "-----
\n" ); document.write( "this formula becomes:
\n" ); document.write( "10h + ch = 20h - 2ch
\n" ); document.write( "we add 2ch to both sides and we subtract 10h from both sides to get:
\n" ); document.write( "3ch = 10h
\n" ); document.write( "we divide both sides by h to get:
\n" ); document.write( "3c = 10
\n" ); document.write( "we divide both sides by 3 to get:
\n" ); document.write( "c = 10/3
\n" ); document.write( "-----
\n" ); document.write( "our first equation is:
\n" ); document.write( "(10 + c) * h = 6
\n" ); document.write( "we replace c with 10/3 to get:
\n" ); document.write( "(10 + 10/3) * h = 6
\n" ); document.write( "this becomes:
\n" ); document.write( "(40/3) * h = 6
\n" ); document.write( "we multiply both sides by 3 to get:
\n" ); document.write( "40 * h = 18
\n" ); document.write( "we divide both sides by 40 to get:
\n" ); document.write( "h = 18/40
\n" ); document.write( "-----
\n" ); document.write( "that's our answer.
\n" ); document.write( "-----
\n" ); document.write( "to prove the answer is correct, we substitute in the original formulas:
\n" ); document.write( "(10 + 10/3) * 18/40 = 6
\n" ); document.write( "this becomes:
\n" ); document.write( "(40/3) * 18/40 = 6
\n" ); document.write( "this becomes:
\n" ); document.write( "18/3 = 6 which becomes 6 = 6 which is true.
\n" ); document.write( "-----
\n" ); document.write( "(10 - 10/3) * 18/40 = 3
\n" ); document.write( "this becomes:
\n" ); document.write( "(20/3) * 18/40 = 3
\n" ); document.write( "this becomes:
\n" ); document.write( "(1/3) * (18/2) = 3
\n" ); document.write( "this becomes:
\n" ); document.write( "(1/3) * 9 = 3 which becomes 3 = 3 which is true3.
\n" ); document.write( "-----
\n" ); document.write( "answer checks out so h = 18/40 is good.
\n" ); document.write( "-----
\n" ); document.write( "PROBLEM NUMBER 2
\n" ); document.write( "-----
\n" ); document.write( "b = speed of boat = 8 miles per hour
\n" ); document.write( "c = speed of current
\n" ); document.write( "f = time to go with the current
\n" ); document.write( "g = time to go against the current
\n" ); document.write( "d = distance = 24
\n" ); document.write( "time to go down and back = 12 hours.
\n" ); document.write( "-----
\n" ); document.write( "(b-c)*g = 24
\n" ); document.write( "(b+c)*f = 24
\n" ); document.write( "g + f = 12
\n" ); document.write( "-----
\n" ); document.write( "(b+c)*f = (b-c)*g because they both equal to 24.
\n" ); document.write( "-----
\n" ); document.write( "this expands to:
\n" ); document.write( "bf + cf = bg - cg
\n" ); document.write( "-----
\n" ); document.write( "since f+g = 12, then f = 12-g
\n" ); document.write( "-----
\n" ); document.write( "substitute 12-g for f in bf + cf = bg - cg to get:
\n" ); document.write( "b * (12 - g) + c * (12 - g) = b*g - c*g
\n" ); document.write( "-----
\n" ); document.write( "since b = 8, substitute 8 for b in equation to get:
\n" ); document.write( "8 * (12 - g) + c * (12 - g) = 8*g - c*g
\n" ); document.write( "-----
\n" ); document.write( "expand to get:
\n" ); document.write( "96 - 8g + 12c - cg = 8g - cg
\n" ); document.write( "-----
\n" ); document.write( "subtract 8g from both sides and add cg to both sides to get:
\n" ); document.write( "96 - 16g + 12c = 0
\n" ); document.write( "-----
\n" ); document.write( "solving for c, we get:
\n" ); document.write( "c = (16g - 96)/12
\n" ); document.write( "-----
\n" ); document.write( "take the original equation of (b-c) * g = 24
\n" ); document.write( "substitute 8 for b
\n" ); document.write( "substitute (16g-96)/12 for c
\n" ); document.write( "solve for g
\n" ); document.write( "-----
\n" ); document.write( "equation becomes:
\n" ); document.write( "(8 - ((16g-96)/12))*g = 24
\n" ); document.write( "-----
\n" ); document.write( "multiply both sides by 12 to get:
\n" ); document.write( "(96 - (16g - 96))*g = 24 * 12
\n" ); document.write( "which becomes:
\n" ); document.write( "96g - 16g^2 + 96g = 288
\n" ); document.write( "-----
\n" ); document.write( "combine like terms to get:
\n" ); document.write( "-16g^2 + 192g = 288
\n" ); document.write( "subtract 288 from both sides to get:
\n" ); document.write( "-16g^2 + 192g - 288 = 0
\n" ); document.write( "multiply both sides by -1 to get:
\n" ); document.write( "16g^2 - 192g + 288 = 0
\n" ); document.write( "divide both sides by 16 to get:
\n" ); document.write( "g^2 - 12g + 18 = 0
\n" ); document.write( "-----
\n" ); document.write( "use the quadratic formula to solve for g.
\n" ); document.write( "a factor = 1
\n" ); document.write( "b factor = -12
\n" ); document.write( "c factor = 18
\n" ); document.write( "quadratic formula is:
\n" ); document.write( "\"%28-b+%2B-+sqrt%28b%5E2-4ac%29%29%2F%282a%29\"
\n" ); document.write( "g becomes:
\n" ); document.write( "(12 +/- sqrt(72))/2
\n" ); document.write( "this turns out to be:
\n" ); document.write( "g = 10.24264069
\n" ); document.write( "or:
\n" ); document.write( "g = 1.757359313
\n" ); document.write( "-----
\n" ); document.write( "using these values of g and solving for c in the equation of (8-c)*g = 24, we get:
\n" ); document.write( "c = 5.656854249
\n" ); document.write( "or:
\n" ); document.write( "c = -5.656854249
\n" ); document.write( "-----
\n" ); document.write( "since c is the speed of the current, it can't be negative, so the only good answer is c = 5.656854249.
\n" ); document.write( "since this c was calculated with g = 1.757359313, that value of g is no good either.
\n" ); document.write( "-----
\n" ); document.write( "we should have all we need:
\n" ); document.write( "-----
\n" ); document.write( "we have:
\n" ); document.write( "g = 10.24264069
\n" ); document.write( "and:
\n" ); document.write( "c = 5.656854249
\n" ); document.write( "and:
\n" ); document.write( "f = 1.757359313 which was found by taking 12 - g since f + g equals 12.
\n" ); document.write( "-----
\n" ); document.write( "the question was what is the speed of the current and the answer is:
\n" ); document.write( "-----
\n" ); document.write( "speed of the current is c which equals 5.656854249 miles per hour.
\n" ); document.write( "-----
\n" ); document.write( "to confirm the answer is ccorrect, we substitute in the original equations.
\n" ); document.write( "-----
\n" ); document.write( "the original equation said that the boat went down stream for 24 miles and back up stream for 24 miles in a total of 12 hours.
\n" ); document.write( "-----
\n" ); document.write( "f is the time it took to get downstream.
\n" ); document.write( "g is the time it took to get back up stream
\n" ); document.write( "-----
\n" ); document.write( "going downstream the boat went 8 miles per hour with a current of 5.656854249 miles per hour in the same direction for a total of 13.65685425 miles per hour taking a time of 1.757359313 hours to go a distance of 24 miles.
\n" ); document.write( "-----
\n" ); document.write( "coming back upstream, the boat went 8 miles per hour against a current of 5.656854249 miles per hour in the opposite direction for a total of 2.343145751 miles per hour taking a time of 10.24264069 hours to go a distance of 24 miles.
\n" ); document.write( "-----
\n" ); document.write( "total time taken was 1.757359313 hours plus 10.24264069 hours = 12 hours.
\n" ); document.write( "-----
\n" ); document.write( "all the numbers check out so the current speed is accurate and the answer is:
\n" ); document.write( "speed of the current is 5.656854249 miles per hour.
\n" ); document.write( "-----
\n" ); document.write( "
\n" ); document.write( "
\n" );