Answer:
5.00 miles
Step-by-step explanation:
Let x represent the distance in miles you should run. Then the distance you will be rowing is ...
√(3² +(7-x)²)
and your total travel time in hours is ...
t = x/9 + √(3² +(7-x)²)/5
This is minimized when its derivative with respect to x is zero.
This will be zero when the numerator is zero, so ...
Solving this quadratic by your favorite method gives ...
x ≈ 4.996 . . . . . . there is an extraneous solution at x ≈ 9
You should run 5.00 miles before rowing in order to minimize the time to reach the island.
_____
<em>Generic solution</em>
For travel speeds <em>a</em> and <em>b</em>, where <em>a</em> < <em>b</em> and <em>b</em> represents the speed along the shore, the distance from the point nearest the island is given by <em>tan(arcsin(a/b))</em> times the distance to the island.
Here, that is (3 mi)(tan(arcsin(5/9)) ≈ 2.004 miles. Since we're running from a point 7 miles from the point nearest the island, our running distance is 7 -2.004 = 4.996 miles.
If the starting point is less than the distance computed above, then the shortest time path is a straight line to the island.
In short, the travel angle from a line perpendicular to shore is given by arcsin(a/b).
This same solution works for problems involving laying pipeline, walking through woods, or any other scenario where there is an optimal straight-line path to a point where the cost changes.