Optimizing Distance for Swimming and Running Combination

  • Thread starter Thread starter recon
  • Start date Start date
AI Thread Summary
Joe is trying to optimize his return to his parents after swimming 50 meters from the bank and needing to reach them 100 meters along the bank. The discussion revolves around calculating the optimal landing point along the bank, which involves determining the total time taken for swimming and running. The correct formula for total time is t(x) = (100-x)/7 + √(x² + 50²)/3, and using calculus to find the derivative can lead to the optimal solution. The optimal landing point is approximately 23.7 meters along the bank, and participants discuss various methods, including calculus and graphing, to arrive at this conclusion. Ultimately, the conversation highlights the importance of correct formula application and the potential for elegant solutions through mathematical analysis.
recon
Messages
399
Reaction score
1
Joe is swimming in a river 50 metres away from the bank. He would like to get back to his parents who are 100m along the river bank from where he is. If he can swim at 3 m/sec and run at 7m/sec, how far along the bank should he land in order to get back as quickly as possible?

So far, I've figured out how to do this:

Let x be the distance along the bank that he should land in order to get back as quickly as possible.

Since he's 50 m away from the bank, he has to swim a distance of \sqrt{x^2 + 50^2} metres, and then run a distance of 100-x metres.

The total amount of time taken to do this is \frac{7}{100-x} + \frac{3}{\sqrt{x^2 + 50^2}}.

Now, I can tabulate everything on an Excel spreadsheet, and figure out the answer from there, which is: he should land roughly 23.7 metres along the bank from where he is. Is there a more elegant way of getting around this?
 
Physics news on Phys.org
I'm sorry,but the formula is wrong...U divided speed by distance to find time...It is wrong.It's the other way around.
The total time is
t(x)=\frac{100-x}{7}+\frac{\sqrt{2500+x^{2}}}{3}

Do you know calculus??

Daniel.
 
recon said:
Joe is swimming in a river 50 metres away from the bank. He would like to get back to his parents who are 100m along the river bank from where he is. If he can swim at 3 m/sec and run at 7m/sec, how far along the bank should he land in order to get back as quickly as possible?

So far, I've figured out how to do this:

Let x be the distance along the bank that he should land in order to get back as quickly as possible.

Since he's 50 m away from the bank, he has to swim a distance of \sqrt{x^2 + 50^2} metres, and then run a distance of 100-x metres.

The total amount of time taken to do this is \frac{7}{100-x} + \frac{3}{\sqrt{x^2 + 50^2}}.

Now, I can tabulate everything on an Excel spreadsheet, and figure out the answer from there, which is: he should land roughly 23.7 metres along the bank from where he is. Is there a more elegant way of getting around this?

Your answer is correct. But in your formulas above you've put in speed/distance instead of distance/speed for time.

Do you know calculus? If you do, then the way I did it was to calculate the derivative of the time function, and solve for 0.
 
Thanks a lot, you two. I just thought that there might be a more elegant way of solving this problem ,rather than using brute force through calculus or tabulating. I'm not sure if I'm allowed to solve this problem through calculus.
 
Edit: Recon, basically graph it and find its vertex, lowest point. Good enough answer...
 
Last edited:
Yapper said:
Recon, basically graph it and find its vertex. Same point that using calculus gives you

Calculus yields the exact answer to
x_{extrema}=\pm \frac{75}{\sqrt{10}}

U can check that the physically acceptable solution (with the plus) corresponds to a maximum,plugging the value in the second derivative.The answer should be <0.

Daniel.
 
Isnt the second derivative a constant?
 
Nope,the second derivative is a pretty ugly (sic) function.

Differentiate 2 times the original functions and convince yourself.

Daniel.
 
dextercioby, to answer a question you asked earlier, I know only a little bit of calculus.

I tried calculus and came out with this nasty looking equation:

\frac{\frac{21}{49}^2 \times 2500}{1 - \frac{21}{49}^2} = x^2

Solving for x yields the correct answer. However, I would like to know how you managed to simplify x to \frac{75}{\sqrt{10}}
 
  • #10
The derivative of the function is
t&#039;(x)=-\frac{1}{7}+\frac{x}{3\sqrt{2500+x^{2}}}

Equate it to zero and square the resulting equation.

Daniel.
 
  • #11
Oh ok i see. I get [3sqrt(2500+x^2)-((x^2)/3sqrt(2500+x^2))]/[9(2500+x^2)] Is that right for the second derivative?
 
  • #12
It looks okay...It might have helped by tired eyes if u had used LaTex.

Daniel.
 
  • #13
1/49=(x^2)/(22500+9x^2)

9(2500+x^2)/49 = x^2 do I just use the quadratic equation? That gets messy... how did you get the nice numbers?

How do i use latex?
 
  • #14
Yapper said:
1/49=(x^2)/(22500+9x^2)

9(2500+x^2)/49 = x^2 do I just use the quadratic equation? That gets messy... how did you get the nice numbers?

How do i use latex?

You're on the right track.
22500+9x^{2}=49x^{2}
Solve for "x" and chose the "+" solution

Daniel.
 
  • #15
Oh duh... lol 40x^2 - 22500 ahaha

+/- sqrt(-4*40*(-22500)) / 80 woohoo... let's see...

2*2*150*sqrt(10) / 80

7.5sqrt(10) * sqrt(10)/sqrt(10) = 75/sqrt(10) yay! Is this how you did it? or is there an easier methoid, you got it fast.
 
  • #16
You chased your tail a little bit,but it's okay... :-p As to answer your question,i don't know,maybe I'm fast...? :confused:

Daniel.
 
Back
Top