Single variable optimization problem

Daveyboy
Messages
57
Reaction score
0

Homework Statement


Jane is 2 miles offshore in a boat and wishes to reach a coastal village 6 miles down a straight shoreline from the point nearest the boat. She can row her boat at 5 mph and can walk at 3 mph. Where should she land her boat to reach the village in the least amount of time.

Homework Equations


I don't know how to make a diagram so I'll try to describe it as carefully as possible.
There are two legs of a right triangle one 2 miles and the other 6 miles. (distance to shore and shore to village).
Let x be the distance from where the two legs (from above) meet to where the boat lands.
Then the distance the boat travels is \sqrt{x^{2}+4} by the Pythagorean theorem.
Then the distance walked is 6-x miles.
Now use time = distance/rate
also the times can be added together to find the total time it takes for the trip. I'll take the derivative and try to solve for 0 but the solution is not real.
I'm sure I have the strategy correct for this problem, and I'm very confident I have the derivative and algebra correct. I think I need to interpret my system differently though, because I feel like I am only off my a minus sign somewhere.

The Attempt at a Solution



T(x) = \frac{\sqrt{x^{2}+4}}{5} +\frac{6-x}{3}

T'(x) = \frac{x}{5(\sqrt{x^{2}+4}} - \frac{1}{3}

When I try to solve T'(x) = 0 I do not get real answers. This is a problem.
 
Physics news on Phys.org
If she can row faster than she can walk, wouldn't it make sense to go directly to the village from her current location (in which case x=6)?
 
Daveyboy said:

Homework Statement


Jane is 2 miles offshore in a boat and wishes to reach a coastal village 6 miles down a straight shoreline from the point nearest the boat. She can row her boat at 5 mph and can walk at 3 mph. Where should she land her boat to reach the village in the least amount of time.

Strange, are you certain that you read/copied the question correctly? Perhaps you reversed the rates for walking and rowing.
 
Yes, I copied the question down correctly. (I'm looking at the question right now and she can indeed row faster than she can walk.) Do you have any idea as to why my set up would give no real solutions? As Dango said x=6 should be a solution, so when I take the derivative I should get 6 as a critical point?
I now recall that one always has to check the endpoints of the interval which x belongs to. Namely, [0,6]. Upon evaluation I find that T(6)<T(0).
Since T is continuous and T'(x) is negative on [0,6]. T is monotonic decreasing there, so T(6) is the smallest time possible.

Is this a reasonable solution to the problem?
The teacher wrote this question on the fly I guess, so I'll attempt the problem with the rates changed.
Thanks for the responses guys.
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top