Using Snell's Law to determine the fastest escape route

In summary, the conversation discusses the optimization of the angle a prisoner should take to escape from a river as quickly as possible. It involves setting up variables and equations to determine the optimal angle, as well as discussing the equivalence to Snell's law of refraction. The conversation also brings up ethical considerations about helping the prisoner escape.
  • #1
MarkFL
Gold Member
MHB
13,288
12
On another forum the following question was asked:

If a prisoner can swim at a rate of 6 fps and run at a rate of 12 fps, what angle should the prisoner take to escape as fast as possible? He's going across a river. The distance upstream to the safehouse is 10000 feet and the river is 2000 feet wide. Thanks Everybody! :D

This was my initial reply:

Let:

$L$ = distance upstream to the safehouse
$W$ = width of the river
$v_s$ = swimming speed
$v_r$ = running speed

All variables above are assumed to be positive.

I have set it up as follows:

https://www.physicsforums.com/attachments/2775._xfImport

The prisoner swims from A to B and runs from B to C. The distance from A to B is:

\(\displaystyle AB=W\csc(\theta)\)

The time this takes is:

\(\displaystyle t_s=\frac{W}{v_s}\csc(\theta)\)

The distance from B to C is:

\(\displaystyle BC=L-W\cot(\theta)\)

The time this takes is:

\(\displaystyle t_r=\frac{1}{v_r}(L-W\cot(\theta))\)

The total time then is:

\(\displaystyle t=t_s+t_r=\frac{W}{v_s}\csc(\theta)+\frac{1}{v_r}(L-W\cot(\theta))\)

\(\displaystyle \frac{dt}{d\theta}=-\frac{W}{v_s}\csc(\theta)\cot(\theta)+\frac{W}{v_r}\csc^2(\theta)=W\csc(\theta)\left(\frac{1}{v_r}\csc(\theta)-\frac{1}{v_s}\cot(\theta) \right)=0\)

Observing \(\displaystyle \csc(\theta)\ne0\) for all real $\theta$, we then use:

\(\displaystyle \frac{1}{v_r}\csc(\theta)-\frac{1}{v_s}\cot(\theta)=0\)

\(\displaystyle \csc(\theta)\left(\frac{1}{v_r}-\frac{1}{v_s}\cos(\theta) \right)=0\)

\(\displaystyle \frac{1}{v_r}-\frac{1}{v_s}\cos(\theta)=0\)

\(\displaystyle \cos(\theta)=\frac{v_s}{v_r}\)

\(\displaystyle \theta=\cos^{-1}\left(\frac{v_s}{v_r} \right)\)

This is why I used variables, so we can make a few observations:

(1) the angle is independent of $L$ and $W$. We do however require:

\(\displaystyle \tan^{-1}\left(\frac{W}{L} \right)\le\theta\le\frac{\pi}{2}\)

(2) If \(\displaystyle v_s=v_r\) then:

\(\displaystyle \theta=\cos^{-1}(1)=0\)

However, with $\theta=0$, the prisoner will not cross the river. So, what then is minimum ratio of \(\displaystyle \frac{v_s}{v_r}=k\) which causes the prisoner to swim straight for the safehouse, in other words, to swim the entire distance? We may set the distance BC to zero:

\(\displaystyle L-W\cot(\theta)=0\)

\(\displaystyle \cot(\theta)=\frac{L}{W}\)

\(\displaystyle \cot\left(\cos^{-1}\left(\frac{v_s}{v_r} \right) \right)=\frac{L}{W}\)

\(\displaystyle \frac{v_s}{\sqrt{v_r^2-v_s^2}}=\frac{L}{W}\)

\(\displaystyle \frac{kv_r}{\sqrt{v_r^2-(kv_r)^2}}=\frac{L}{W}\)

\(\displaystyle \frac{k}{\sqrt{1-k^2}}=\frac{L}{W}\)

\(\displaystyle k=\frac{L}{\sqrt{W^2+L^2}}\)

Thus if \(\displaystyle v_s\ge\frac{L}{\sqrt{W^2+L^2}}v_r\) then the prisoner should swim the entire way.

(3) As \(\displaystyle k\to 0\) then \(\displaystyle \theta\to\frac{\pi}{2}\).

Plugging in the data given to finish the problem, we have:

\(\displaystyle \theta=\cos^{-1}\left(\frac{6\text{ fps}}{12\text{ fps}} \right)=\cos^{-1}\left(\frac{1}{2} \right)=\frac{\pi}{3}=60^{\circ}\)

This is a valid angle as it satisfies:

\(\displaystyle \tan^{-1}\left(\frac{1}{5} \right)\le\theta\le\frac{\pi}{2}\)

Then another person made the observation:

The result is equivalent to Snelles-Descartes law of refraction if you consider the index of the two media inversely proportional to the speed of the dude. However does he really deserve we help him to escape? :)

I responded:

Interesting observation! Using this law we could state:

\(\displaystyle \frac{\sin(\theta_2)}{\sin(\theta_1)}=\frac{v_2}{v_1}\)

In this problem (the way I have it set up above), we have:

\(\displaystyle \theta_1=\frac{\pi}{2}\)
\(\displaystyle \theta_2=\frac{\pi}{2}-\theta\)
\(\displaystyle v_1=v_r\)
\(\displaystyle v_2=v_s\)

giving immediately:

\(\displaystyle \frac{\sin\left(\frac{\pi}{2}-\theta \right)}{\sin\left(\frac{\pi}{2} \right)}=\frac{v_s}{v_r}\)

\(\displaystyle \cos(\theta)=\frac{v_s}{v_r}\)

\(\displaystyle \theta=\cos^{-1}\left(\frac{v_s}{v_r} \right)\)

Let's generalize a bit to say we want to find the quickest path across two media:

https://www.physicsforums.com/attachments/2776._xfImport

We are traveling from point A to point B then to point C by the quickest path possible. The question is, where should point B be placed?

I have set up $xy$ coordinate axes such that:

\(\displaystyle O=(0,0)\)

\(\displaystyle A=(0,-W_1)\)

\(\displaystyle B=(B,0)\)

\(\displaystyle C=(L,W_2)\)

The distance from A to B is:

\(\displaystyle AB=\sqrt{(B-0)^2+(0-(-W_1))^2}=\sqrt{B^2+W_1^2}\)

The distance from B to C is:

\(\displaystyle BC=\sqrt{(L-B)^2+(W_2-0)^2}=\sqrt{(L-B)^2+W_2^2}\)

The speed through medium 1 is $v_1$ and the speed through medium 2 is $v_2$. We assume both velocities are positive values. Thus, using the relationship between distance, constant velocity and time, we find the total time as a function of B is:

\(\displaystyle t(B)=\frac{\sqrt{B^2+W_1^2}}{v_1}+\frac{\sqrt{(L-B)^2+W_2^2}}{v_2}\)

Differentiating with respect to B, we find:

\(\displaystyle t'(B)=\frac{B}{v_1\sqrt{B^2+W_1^2}}+\frac{(B-L)}{v_2\sqrt{(L-B)^2+W_2^2}}=\frac{Bv_2\sqrt{(L-B)^2+W_2^2}+(B-L)v_1\sqrt{B^2+W_1^2}}{v_1v_2\sqrt{B^2+W_1^2}\sqrt{(L-B)^2+W_2^2}}\)

The denominator will always be positive, so we need only consider:

\(\displaystyle Bv_2\sqrt{(L-B)^2+W_2^2}+(B-L)v_1\sqrt{B^2+W_1^2}=0\)

\(\displaystyle Bv_2\sqrt{(L-B)^2+W_2^2}=(L-B)v_1\sqrt{B^2+W_1^2}\)

Let's take a moment to rewrite this:

\(\displaystyle \frac{B}{\sqrt{B^2+W_1^2}}\cdot\frac{\sqrt{(L-B)^2+W_2^2}}{L-B}=\frac{v_1}{v_2}\)

\(\displaystyle \frac{\frac{B}{\sqrt{B^2+W_1^2}}}{\frac{L-B}{\sqrt{(L-B)^2+W_2^2}}}=\frac{v_1}{v_2}\)

\(\displaystyle \frac{\sin(\theta_1)}{\sin(\theta_2)}=\frac{v_1}{v_2}\)

Thus, we have shown that Snell's law (or Descartes' law) is satisfied when \(\displaystyle t'(B)=0\).

Comments and questions should be posted here:

http://mathhelpboards.com/commentary-threads-53/commentary-using-snells-law-determine-fastest-escape-route-4204.html
 

Attachments

  • snell1.jpg
    snell1.jpg
    3.6 KB · Views: 78
  • snell2.jpg
    snell2.jpg
    7.2 KB · Views: 78
Last edited:
Physics news on Phys.org
  • #2
Moderator edit: This commentary topic pertains to the following tutorial:

http://mathhelpboards.com/math-notes-49/using-snells-law-determine-fastest-escape-route-4178.html

I remember seeing this as Fermat's Principle in an optics book by Pedrotti and Pedrotti but your derivation is much nicer with all the details so someone like me can understand.

Fermat's principle - Wikipedia, the free encyclopedia

:)
 
Last edited by a moderator:
  • #3
Re: Using Snell's Law to determine the fastest escape route

agentmulder said:
I remember seeing this as Fermat's Principle in an optics book by Pedrotti and Pedrotti but your derivation is much nicer with all the details so someone like me can understand.

Fermat's principle - Wikipedia, the free encyclopedia

:)

Thank you...I find unless I work out the details myself, I don't really understand either. (Giggle)

I think this is testament to the goals of our site, that we allow the students to solve their problems with only suggestions and hints, and get them to come to a better understanding this way. (Cool)
 
  • #4
Re: Using Snell's Law to determine the fastest escape route

MarkFL said:
Thank you...I find unless I work out the details myself, I don't really understand either. (Giggle)

I think this is testament to the goals of our site, that we allow the students to solve their problems with only suggestions and hints, and get them to come to a better understanding this way. (Cool)

Yep, the goal of a great educator is to help create students that can think on their own. I usually try to do the same unless i get a feeling the student won't be able to get the result on their own. It took the genius of a fermat to properly explain the principle of least time, not all students are geniuses but it's nice when a teacher get's one that is. (Of course i kept that opinion to myself when I was tutoring)

:)
 
  • #5
Re: Using Snell's Law to determine the fastest escape route

agentmulder said:
It took the genius of a fermat to properly explain the principle of least time

Where can I acquire one of those "fermats"? I could use one :p
 
  • #6
Re: Using Snell's Law to determine the fastest escape route

Bacterius said:
Where can I acquire one of those "fermats"? I could use one :p

There are probably a few on math forums like this, you can usually tell by quality of postings and the help is free so you don't have to be a marquis to benefit from the knowledge!

:)
 

FAQ: Using Snell's Law to determine the fastest escape route

1. How does Snell's Law determine the fastest escape route?

Snell's Law is a mathematical formula that relates the angle of incidence and refraction of a light ray passing through different mediums. In the context of determining the fastest escape route, Snell's Law can be applied to calculate the angle at which a person should run to minimize their travel time while escaping from danger.

2. What factors affect the application of Snell's Law in determining an escape route?

The main factors that affect the application of Snell's Law in determining an escape route are the speed of light in different mediums, the angle of incidence, and the refractive index of the mediums. Other factors such as the terrain and obstacles may also need to be considered.

3. How accurate is Snell's Law in determining the fastest escape route?

Snell's Law is a well-established mathematical principle and is highly accurate in predicting the path of a light ray passing through different mediums. However, the accuracy of using Snell's Law to determine the fastest escape route may be affected by real-world factors such as human reaction time, physical limitations, and unforeseen obstacles.

4. Can Snell's Law be used in any situation to determine the fastest escape route?

Snell's Law can be applied in most situations where a person needs to escape from danger, as long as the medium through which they are traveling can be approximated by a known refractive index. For example, Snell's Law can be used to determine the fastest escape route in a building with different rooms of varying refractive indexes.

5. Are there any limitations to using Snell's Law in determining the fastest escape route?

Although Snell's Law is a useful tool, it has some limitations. It assumes that the mediums through which the person is traveling are uniform and that the person is moving at a constant speed. Additionally, Snell's Law does not take into account external factors such as wind, which may influence the path of escape.

Similar threads

Replies
12
Views
722
Replies
9
Views
1K
Replies
11
Views
907
Replies
5
Views
1K
Replies
1
Views
421
Back
Top