Running princess and spider - time problem

  • #1
Lotto
240
16
Homework Statement
I have a problem whose description is below. I also add a solution of the problem.
Relevant Equations
I do not understand the ##p## number in the solution.
If the veil stretches prefectly, then when the princess moves by ##\Delta x##, then if the spider was not moving, he would also move by ##\Delta x## from the door, so he would be in the same distance from the princess. So assuming it, the time would be ##t_f=\frac {l_0}{u}## but that is no obviously correct.

Why? How is it then possible for the spider to catch her?
Screenshot_20230817-003600_Firefox.jpg

Screenshot_20230817-003556_Firefox.jpg
 

Attachments

  • Screenshot_20230817-003556_Firefox.jpg
    Screenshot_20230817-003556_Firefox.jpg
    40.2 KB · Views: 51
Last edited:
Physics news on Phys.org
  • #2
Google the “ant on a rubber band problem”.

You are mistaken about the distance the spider would move. If the spider were at the position of the princess, sure. But as a test, put it just beside the door at the pinch point. Does the spider move ##\Delta x##?
 
Last edited:
  • #3
Lotto said:
I do not understand the ##p## number in the solution.
Take a look at the animation here. The symbol ##p## is the ratio of length of the stretching bar to the length that's behind the moving red dot. Initially ##p=0## and finally ##p=1## as the author of the solution claims. I suggest that you study this solution. It's the best I've seen on the web.
 
  • Informative
Likes phinds
  • #4
Lotto said:
when the princess moves by ##\Delta x##, then if the spider was not moving, he would also move by ##\Delta x## from the door,
No. If the spider is not attempting to move then it gets further away from the princess. The length of veil between it and her increases. So the spider moves less than ##\Delta x##.

However, the spider is moving relative to the veil.

The solution defines ##p## as how far the spider is along the veil from its trapped end, as a fraction of the whole (instantaneous) length. At the start, this is 0. If the spider catches her, p will then be 1.
If that hurts the head too much, let the current length of the veil be ##L(t)=L_0+vt##.
Let the spider be at distance ##x=x(t)## from the princess. ##x(0)=L_0##. The part of the veil the spider is on is getting further from the princess at speed ##v\frac xL##. Relative to that, the spider is moving towards the princess at ##u##.
From these you can get a differential equation for x.

The relationship to the solution you posted is ##p=1-\frac xL##.
 
  • #5
OK, I get it but the only thing that confuses me a bit is the fact that I cannot write the ##p## as ##\frac{ut}{l_0+vt}##.

I understand that at any time the spider moves by ##u\mathrm d t##, but I still do not know why I cannot write it like above.
 
  • #6
Lotto said:
OK, I get it but the only thing that confuses me a bit is the fact that I cannot write the ##p## as ##\frac{ut}{l_0+vt}##.

I understand that at any time the spider moves by ##u\mathrm d t##, but I still do not know why I cannot write it like above.
You would need to write the position of the spider with respect to the door in the numerator. The denominator is the position of the princess w.r.t the door.

The idea is that ##u## is less than ##v##, that’s the seemingly paradoxical part. As long as ##u## is nonzero, the spider catches the princess…eventually. If ##p## was what you wrote, it would never have a chance of being 1.
 
Last edited:
  • #7
Lotto said:
OK, I get it but the only thing that confuses me a bit is the fact that I cannot write the ##p## as ##\frac{ut}{l_0+vt}##.
That would be right if the spider were to have sat still while the veil stretched by ##vt##, then the princess stood still while the spider advanced ##ut##. But the spider moves while the veil is stretching, and traverses more of the veil's material in the early part than in the later.
 
  • #8
OK, I get it now.

But don't you think that the assignment might be confusing? Because in real life, the princess would not move with a constant speed because she would have to use a bigger and bigger force to maintain the speed (##F=k\Delta x##). And she wouldn't probably react immediately on the changing force so an instantaneuous force would deaccelarate her for a time ##\mathrm d t##, she would increase her force as well, but she would lose a bit of her speed anyway until she moves at all.

Should't it be written in the assignment that her speed is still constant?
 
  • #9
Lotto said:
OK, I get it now.

But don't you think that the assignment might be confusing? Because in real life, the princess would not move with a constant speed because she would have to use a bigger and bigger force to maintain the speed (##F=k\Delta x##). And she wouldn't probably react immediately on the changing force so an instantaneuous force would deaccelarate her for a time ##\mathrm d t##, she would increase her force as well, but she would lose a bit of her speed anyway until she moves at all.
It's more a math problem than a physics problem for sure.

The "ant on a rubber rope problem" specifies that the end of the band is moving with constant velocity. So yeah, they missed a detail if they didn't specify that in their re-write.

However, it did say they both keep moving, and you clearly don't have enough information to actually solve a mechanics problem with forces, etc... so I would say your objection is on thin ice IHMO.
 
Last edited:
  • #10
Lotto said:
OK, I get it now.

But don't you think that the assignment might be confusing? Because in real life, the princess would not ##\dots##
I think that in real life the princess would just remove her veil and keep running leaving the spider stranded. But you're right, the problem should have specified that she maintains her constant speed after the door is shut.
 
  • #11
Just for fun here is an alternative way to handle the math:

The velocity of the spider ##\dot x_s## with respect to the pinch point is given by:

$$ \dot x_s = u + \frac{x_s}{l + vt } v \tag{1}$$

Make the substitution that:

$$ \lambda = u + \frac{x_s}{l + vt } v $$

Now, differentiate ##\lambda## w.r.t. time ##t##:

$$ \dot \lambda = \frac{v \dot x_s}{l+vt} - \frac{v^2x_s}{(l+vt)^2} $$

Factor:

$$ \dot \lambda = \frac{v}{l+vt}\left( \dot x_s - \frac{vx_s}{(l+vt)} \right) $$

Notice that what is in parenthesis is identically ##u## by ##(1)##:

$$ \dot \lambda = \frac{v}{l+vt} u $$

Separate and integrate:

$$ \int_{\lambda_o}^{\lambda_f} d \lambda = u \int_0^t \frac{v}{l+vt} ~dt $$

$$ \implies \lambda_f - \lambda_o = u \ln \left( \frac{l+vt}{l}\right) $$

$$ \implies \left( \cancel{u} + \frac{x_s}{l + vt } v \right) - \cancel{u} = u \ln \left( \frac{l+vt}{l}\right) $$

Solving for ##x_s##:

$$ x_s = (l+vt) \frac{u}{v}\ln \left( \frac{l+vt}{l}\right) $$

To solve for the time ##t## when the spider reaches the princess note that ## x_s = l+ vt ##:

$$ \implies 1 = \frac{u}{v} \ln \left( \frac{l+vt}{l}\right) $$

finally solving for ##t## yields:

$$ t = \frac{l}{v}\left( e^\left( \frac{v}{u} \right) - 1 \right) $$
 
  • Like
Likes Lotto
  • #12
Interesting to note that regardless of the length of the veil or the constant speed at which the princess runs, the spider will get her in end (or in the head I guess).
If, however, she is continuously accelerating (via dark terror?), she can outrun it the spider is beyond the spidey-event-horizon.
 
  • #13
Halc said:
Interesting to note that regardless of the length of the veil or the constant speed at which the princess runs, the spider will get her in end (or in the head I guess).
Depends, on what she was veiling.
If, however, she is continuously accelerating (via dark terror?), she can outrun it the spider is beyond the spidey-event-horizon.
As luck would have it, the increasing force she's putting into flight is balanced by increasing tension on the veil.

At 1m/s, that's one fast spider.
 
  • #14
Halc said:
(via dark terror?),
:woot:
 

FAQ: Running princess and spider - time problem

What is the "Running princess and spider - time problem" about?

The "Running princess and spider - time problem" is a mathematical or computational puzzle where a princess must escape from a spider that is chasing her. The problem typically involves calculating the time it takes for the princess to reach safety given various constraints such as speed, distance, and obstacles.

What kind of mathematical concepts are involved in solving this problem?

Solving this problem usually involves concepts from geometry, algebra, and calculus. Key concepts might include distance-time relationships, optimization techniques, and sometimes differential equations if the problem is modeled continuously.

How do you typically approach solving this problem?

The approach often involves breaking down the problem into smaller, manageable parts. First, define the initial conditions such as the starting positions and speeds of the princess and the spider. Then, use mathematical models to simulate the movements and interactions over time, often employing optimization algorithms to find the quickest escape route for the princess.

What are some common assumptions made in this problem?

Common assumptions might include constant speeds for both the princess and the spider, no change in direction unless specified, and a simplified environment without complex obstacles. These assumptions help to make the problem more tractable and easier to solve analytically or computationally.

Can this problem be applied to real-world scenarios?

Yes, the principles behind this problem can be applied to real-world scenarios such as robotics, where a robot needs to navigate away from a moving obstacle, or in security settings where escape routes need to be optimized. The problem serves as a useful abstraction for understanding pursuit and evasion dynamics.

Back
Top