Solving for x in 0 = -1/8 + 3/8 x / (10^2 +x^2)^0.5

  • Thread starter OwlsInATrenchcoat
  • Start date
In summary: The relationship to Snell’s law is an excellent observation.It may be worth noting explicitly that using standard equations for Snell’s, law, refractive index and critical angle provides an alternative (simpler, non-calculus) method to solve the problem.It may be worth noting explicitly that using standard equations for Snell’s, law, refractive index and critical angle provides an alternative (simpler, non-calculus) method to solve the problem.
  • #1
OwlsInATrenchcoat
4
1
Homework Statement
A swimmer is drowning at B, a distance a/2 = 10m away from the beach.
A lifeguard patrolling along the very edge of the beach spots the swimmer when the lifeguard is at point A, which is a distance a=20m away from the point on the beach that is closest to the drowning swimmer.
The average speed of the lifeguard running along the beach is v = 8ms^-1
and her average swimming speed is v=8/3ms^-1
What is the minimum time that the lifeguard can reach the swimmer?
Relevant Equations
Speed = distance / time
a^2 = b^2 +c^2 for a right angled triangle.



.
Hello all,
Kinematics_Drowning_Sea_1_5.svg


I've solved this problem on IP by writing the relevant equations into Gsheets and solving through trial and error. I've followed their hints for solving it, which lead me to a rather complex quadratic to solve. I'd appreciate if anyone can give me a clue as to how to solve for x in the following:
0 = -1/8 + 3/8 x / (10^2 +x^2)^0.5

The logic behind that is that the total time will be given by:
1676572488733.png

If x is the distance from O to C, where C is the point along the beach that they stop running and begin swimming. The first term is the time taken to run to C, and the second to swim along the hypotenuse of triangle OBC.
Graphing this we can see a curve, where the minimum value is a point where the gradient is 0.
So differentiating and equating to zero, we get:
0 = -1/8 + 3/8 x / (10^2 +x^2)^0.5

I'm fairly happy with all of that logic, and the value of x = 3.536m giving t = 6.035533909s checks out on IP and when input into the above equations, so I'm pretty sure my rearrangement and differentiation is OK.

So, it's just the last step, solving for x. I've tried rearranging and inputting into the quadratic formula, but I get a negative discriminant. I'd greatly appreciate anyone walking through that last step. My algebra is clearly rusty!
Or if you can see a different approach to reach the same solution, that would also be interesting. :)

Many thanks,

PP
1676572430821.png
 
Physics news on Phys.org
  • #2
Aha!
I was making a foolish error at the final step. It can be rearranged and input into the quadratic formula to get the same answer. Carefully writing out this post helped me to get there, so I'll leave this here for anyone that wants to discuss it.
 
  • #3
EDIT - Apologies. Brain-hiccup. Struck-through.

Your overall method look good but have you differentiated correctly?
##t = \frac {20-x}8 + \frac 38 (100+x^2)^{0.5}##
I don’t thnk that gives:
##\frac {dt}{dx} = -\frac 18 + \frac 38 x (100+x^2)^{-0.5}##
(A factor of 2 missing?)


Also, t=6.035533909s (correct or not) is an answer precise to the nearest nanosecond (literally). You may wish to consider rounding!
 
Last edited:
  • #4
Steve4Physics said:
Your overall method look good but have you differentiated correctly?
##t = \frac {20-x}8 + \frac 38 (100+x^2)^{0.5}##
I don’t thnk that gives:
##\frac {dt}{dx} = -\frac 18 + \frac 38 x (100+x^2)^{-0.5}##
(A factor of 2 missing?)

Also, t=6.035533909s (correct or not) is an answer precise to the nearest nanosecond (literally). You may wish to consider rounding!
That bit of differentiation was given in their hints:
1676578047182.png

And yes, 6.04s will do me just fine. :)
 
  • Like
Likes Steve4Physics
  • #5
OwlsInATrenchcoat said:
That bit of differentiation was given in their hints:
View attachment 322379
My apologies. Post #3 edited,
 
  • Like
Likes MatinSAR
  • #6
A more general case would be for the lifeguard to be at some distance ##d## in from the shoreline. The method of solving this would be the same. If you know Snell's law of refraction, you will recognize that the lifeguard problem is an illustration of that. The case here is equivalent to grazing incidence where the sine of the angle (relative to a line perpendicular to the shore) at which the lifeguard enters the water is equal to the ratio of his swimming to running speed. This result would have been more transparent had you solved the problem using symbols instead of numbers.
 
  • Like
  • Informative
Likes MatinSAR, berkeman and Steve4Physics
  • #7
kuruman said:
... If you know Snell's law of refraction, you will recognize that the lifeguard problem is an illustration of that. The case here is equivalent to grazing incidence where the sine of the angle (relative to a line perpendicular to the shore) at which the lifeguard enters the water is equal to the ratio of his swimming to running speed. ...
The relationship to Snell’s law is an excellent observation.

It may be worth noting explicitly that using standard equations for Snell’s, law, refractive index and critical angle provides an alternative (simpler, non-calculus) method to solve the problem.

The ‘refractive index’ is ##n = \frac {v_1}{v_2}##. The 'critical angle' is ##\theta_c = \sin^{-1} \left(\frac 1n \right)##.

(With ##v_1 = 8##m/s and ##v_2= \frac 83##m/s this gives ##n=3## and ##\theta_c = \sin^{-1} \left( \frac 13 \right) = 19.47^o##.)

The lemgth of each each leg and hence the time for each leg are then easily calculated.

Edited as too much detail given originally.
 
Last edited:
  • Like
Likes MatinSAR
  • #8
Steve4Physics said:
It may be worth noting explicitly that using standard equations for Snell’s, law, refractive index and critical angle provides an alternative (simpler, non-calculus) method to solve the problem.
I am not so sure that this is not a circular argument because when Snell's law is derived from Fermat's principle, it requires minimization of the total time which is normally done by differentiation. When I taught algebra-based intro physics, the textbook I used just decreed Snell's law asserting that the derivation requires calculus which is beyond the scope of this book. I thought I could do better. I show the derivation below for what it's worth. It uses a variational principle which is not exactly calculus.

Refer to the figure below. We are looking for the path from point A in sand where the speed is ##v_1## to point B in water where the speed is ##v_2##. Let's assume that we have found the optimum point of crossing from sand to water and label it C. It divides the fixed horizontal displacement of the lifeguard into two segments ##x_1## and ##x_2##. The optimum time from A to B is $$T_o=T_{1o}+T_{2o}=\frac{\sqrt{d_1^2+x_1^2}}{v_1}+\frac{\sqrt{d_2^2+x_2^2}}{v_2}.$$
LifeguardPath.png


Now suppose we move the crossing point to, say, the left of point C by an amount ##\delta.## This will add ##\delta## to ##x_2## and subtract ##\delta## rom ##x_1##. The new total time will be longer and given by$$T=T_{1}+T_{2}=\frac{\sqrt{d_1^2+(x_1-\delta)^2}}{v_1}+\frac{\sqrt{d_2^2+(x_2+\delta)^2}}{v_2}.$$The difference between times on sand is $$\delta T_1=T_{1}-T_{1o}=\frac{1}{v_1}\left[\sqrt{d_1^2+(x_1-\delta)^2}-\sqrt{d_1^2+x_1^2}\right].$$Using the identity ##a-b=\dfrac{a^2-b^2}{a+b}##, we have $$\delta T_1=\frac{1}{v_1}\left[\frac{d_1^2+(x_1-\delta)^2-(d_1^2+x_1^2)}{\sqrt{d_1^2+(x_1-\delta)^2}+\sqrt{d_1^2+x_1^2}}\right]=\frac{1}{v_1}\left[\frac{-2x_1\delta+\delta^2}{\sqrt{d_1^2+(x_1-\delta)^2}+\sqrt{d_1^2+x_1^2}}\right].$$Up to this point the calculation is exact. For ##\delta << x_1## we approximate $$\delta T_1\approx\frac{-x_1\delta}{v_1\sqrt{d_1^2+x_1^2}}.$$Likewise we find $$\delta T_2\approx\frac{x_2\delta}{v_2\sqrt{d_2^2+x_2^2}}.$$ The path is optimized when a loss of time in one medium is compensated by a gain of time in the other, i.e. ##\delta T_1+\delta T_2=0.## Then

$$\frac{-x_1\delta}{v_1\sqrt{d_1^2+x_1^2}}+\frac{x_2\delta}{v_2\sqrt{d_2^2+x_2^2}}=0\implies \frac{\sin\theta_1}{v_1}=\frac{\sin\theta_2}{v_2}.$$

On edit:
It seems that ants have some basic understanding of the lifeguard problem and Fermat's principle as reported here. That's what I thought initially, until I noted that the publication date on this piece is April 1, 2013. :wink:

On second edit:
And then came post #9 by @Steve4Physics.
 
Last edited:
  • Like
  • Informative
Likes MatinSAR, Steve4Physics and berkeman
  • #9
kuruman said:
I am not so sure that this is not a circular argument because when Snell's law is derived from Fermat's principle, it requires minimization of the total time which is normally done by differentiation.
I just wanted to point out that by using an established result (Snell’s law), the problem could be solved easily.

Of course, if the presumption of Snell’s law is not permissible, then the approach is inappropriate.

kuruman said:
It seems that ants have some basic understanding of the lifeguard problem and Fermat's principle as reported here. That's what I thought initially, until I noted that the publication date on this piece is April 1, 2013. :wink:
Remarkably, the ‘ants obey Fermat’s principle’ may be genuine! The original article appears to have been published on the 20th March 2013: https://journals.plos.org/plosone/article/metrics?id=10.1371/journal.pone.0059739
 
  • Like
Likes MatinSAR and kuruman

1. What is the first step in solving for x in this equation?

The first step in solving for x is to combine like terms on both sides of the equation. In this case, we can combine the fractions on the right side by finding a common denominator.

2. How do I isolate the variable x in this equation?

To isolate the variable x, we need to get rid of any constants or other terms on the same side of the equation. In this case, we can subtract -1/8 from both sides to move it to the right side of the equation.

3. Can I simplify the expression on the right side of the equation?

Yes, the expression on the right side can be simplified by using the Pythagorean theorem to simplify the square root term. This will result in a simpler expression that can be further simplified to solve for x.

4. How do I check my answer for this equation?

To check your answer, you can plug it back into the original equation and see if it satisfies the equation. If it does, then your answer is correct. You can also use a graphing calculator to graph the original equation and your answer to see if they intersect at the same point.

5. Are there any restrictions on the values of x that can be solutions to this equation?

Yes, there are restrictions on the values of x that can be solutions. Since there is a square root in the equation, the values of x must be real numbers and cannot be negative. Additionally, the denominator cannot equal 0, so any value of x that makes the denominator equal to 0 is not a valid solution.

Similar threads

Replies
2
Views
727
  • Introductory Physics Homework Help
Replies
9
Views
1K
  • Introductory Physics Homework Help
Replies
25
Views
1K
  • Introductory Physics Homework Help
Replies
8
Views
1K
  • Introductory Physics Homework Help
Replies
3
Views
804
  • Introductory Physics Homework Help
Replies
17
Views
383
  • Introductory Physics Homework Help
Replies
18
Views
2K
  • Introductory Physics Homework Help
Replies
21
Views
2K
  • General Math
Replies
7
Views
991
  • Math POTW for Secondary and High School Students
Replies
3
Views
874
Back
Top