A chicken decides to cross a road. The road is perfectly straight, runs north-south, and is full of cars driving by from south to north. The cars have a log-normal distribution for the distance between each car. However, the cars all travel at 80 km/hr.
The chicken stands next to the road on the west side, waits until a car goes by, and then immediately starts to cross the road at 0.25 m/s. What angle should the chicken cross at to maximize her chance of making it across the road without getting hit by a car? Express your answer as radians north of east .
Details and assumptions
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
We can totally ignore how the cars are being distributed. This is because what we want is to maximize the chicken's chance of not getting hit by the car, we cant actually do anything about how the cars are distributed.
Here, i would like to define θ as the angle between the north-south axis and the velocity vector of the chicken.
Let the width of the car be w , and imagine you're the driver of the car on this road. The time taken, t, for the chicken to reach the other side of the road assuming there are no cars present is
t = v sin θ w
where v is the velocity of the chicken given in the question. To you, the driver, assuming you don't hit the chicken, you should be able to see that the distance (relative to you) that the chicken travels is
s
=
(
9
2
0
0
−
v
cos
θ
)
2
(
v
sin
θ
w
)
2
+
w
2
And that ^ is what we want to minimize.
Sigh. now we have to differentiate this huge stuff with respect to θ . But remember we just find out the solutions to d θ d s =0.......
And not find out what d θ d s actually is.
Alright, so let us take ( 9 2 0 0 − v cos θ ) 2 ( v sin θ w ) 2 + w 2 = f ( θ )
By chain rule you should see that if we wanna find the minimum of s, d θ d s = 2 f ( θ ) f ′ ( θ ) = 0
Now we will solve that equation. f ′ ( θ ) = 2 w 2 ( v s i n θ 9 2 0 0 − v cos θ ) v 2 ( s i n θ ) 2 v 2 ( s i n θ ) 2 + v 2 ( c o s θ ) 2 − 9 2 0 0 v c o s θ =0
The solutions are now 9 2 0 0 − v c o s θ = 0 or v = 0 or v − 9 2 0 0 c o s θ = 0
Only the last solution makes sense if you look carefully. So this gives us easily θ = 1 . 5 5 9 5 4 6 . . . . . . . .
So to find the required answer, we just take 2 π − θ = 0 . 0 1 1 2 5 ( 4 s i g f i g )
Suppose the width of the road is w metres and the distance to the next car is d metres. Furthermore, suppose that the chicken crosses at a straight line and makes an angle θ with respect to the horizontal (east). The time taken for the chicken to cross (should it still be alive) is 0 . 2 5 cos θ w seconds. Noting that the speed of the cars in m/s is 9 2 0 0 , then the distance the next car moved in the time it takes for the chicken to cross the road will be 9 2 0 0 × 0 . 2 5 cos θ w metres. Meanwhile, the chicken moves w tan θ metres northwards as well. So the car would have closed up to the chicken by 9 2 0 0 × 0 . 2 5 cos θ w − w tan θ metres. We want this to be less than or equal to d metres in order for the chicken not to be killed, so 9 2 0 0 × 0 . 2 5 cos θ w − w tan θ ≤ d . This gives, after some simplification, 9 8 0 0 ≤ w d cos θ + sin θ . Let w d = m . Then the right-hand side is equal to m 2 + 1 cos ( θ − tan − 1 m 1 ) . So we get 9 m 2 + 1 8 0 0 ≤ cos ( θ − tan − 1 m 1 ) . Here, the right-hand side is not more than 1 , so the chicken can survive only if 9 m 2 + 1 8 0 0 ≤ 1 , i.e. m ≥ ( 9 8 0 0 ) 2 − 1 . When m = ( 9 8 0 0 ) 2 − 1 , we have tan − 1 m 1 ≈ 0 . 0 1 1 2 5 , so we need θ = 0 . 0 1 1 2 5 for the chicken to survive. Now, as we increase m , then 9 m 2 + 1 8 0 0 decreases much faster than cos ( θ − tan − 1 m 1 ) , so the inequality will still hold for all m > ( 9 8 0 0 ) 2 − 1 . Therefore, when we set θ = 0 . 0 1 1 2 5 , the chicken will survive whenever it has a chance to (i.e. when m ≥ ( 9 8 0 0 ) 2 − 1 ). So to maximize the chicken's chance of making it across the road, we let θ = 0 . 0 1 1 2 5 .
Let the width of the road be denoted by w . Let the angle at which the chicken crosses be θ . The length L of the path of the chicken across the road is then w sec θ , and the distance h in the North-South direction that the chicken travels is w tan θ . Let v 1 = 0 . 2 5 s m and v 2 = 8 0 h r k m = 9 2 0 0 s m denote the speeds of the chicken and the cars, respectively.
Consider the base case in which the chicken crosses perpendicularly to the road (i.e. θ = 0 ). The chicken will have the shortest distance to travel, but she won't be moving away from the oncoming cars in the process.
If θ < 0 , she will have to travel a longer distance and will be moving closer to the oncoming cars at the same time, so obviously this will increase her probability of being hit.
If θ > 0 , then she will be travelling a longer distance, but will be moving away from the oncoming cars at the same time. Her probability of being hit will be lowest when the difference between the time it takes her to travel the extra distance compared to the base case and the time it takes a car to travel the extra North-South distance h is minimized, so that the chicken gains more distance in the North-South direction than the car can travel in the extra time. That is, when $$\frac{L-w}{v 1}-\frac{h}{v 2}$$ is minimized.
Manipulating this expression yields
$$\frac{w\sec\theta - w}{v 1}-\frac{w\tan\theta}{v 2}$$
$$\frac{1-\cos\theta}{v 1}-\frac{\sin\theta}{v 2}$$
To find when it achieves its minimum, we take its derivative with respect to θ and set it equal to zero.
$$\frac{\sin\theta}{v 1}-\frac{\cos\theta}{v 2}=0$$
$$v 2 \sin\theta - v 1 \cos\theta=0$$
$$\tan\theta=\frac{v 1}{v 2}$$
$$\theta=\tan^{-1}\left(\frac{v 1}{v 2}\right) = \tan^{-1}\left({\frac{.25\,\mathrm{\frac{m}{s}}}{200/9 \, \mathrm{\frac{m}{s}}}}\right)$$
$$ =\tan^{-1}\left(\frac{9}{800}\right) = .01125.$$
To verify that this is a minimum, we take the second derivative of our original expression and evaluate it at . 0 1 1 2 5 .
$$\left[{\frac{\cos\theta}{v 1}+\frac{\sin\theta}{v 2}}\right]_{\theta=.01125}.$$
This is clearly positive for all 0 < θ < 2 π because the sine and cosine functions are both positive for these values of θ . Because the second derivative is positive at θ = . 0 1 1 2 5 , we have verified that this is a minimum, which proves that this value of θ yields the maximum probability of survival for the chicken.
First we put the referencial frame on the cars, so the resulting vector from the velocity sum will change accordingly to the direction of the chicken's velocity vector.
Note that we can make this sum on the following way:
draw the 80Km vector and then add the chicken vector on its top, but since the direction is arbitrary, the choices will make a semicircunference of points. The one that makes the smallest vector sum i.e. the smallest distance (yeldind the smallest time since the speed is constant) is when this vector sum is tangent to the semicircunference.
After some geometry, we get that the angle is asin(Vch/Vca)
Vch = velocity of the chicken Vca = velocity of the cars
asin(9/8000) = 0.01125
Let's let the chicken start across the road with speed v c at time t = 0 and start at the origin of our coordinate system. The x and y positions of the chicken are given by
x c y c = t v c cos θ = t v c sin θ .
If W is the width of the road, the time the chicken gets across is given by
t a = v c cos θ W .
The y position of the next car that might hit the chicken is
y n = v n t − y 0
where v n is the speed of the car and y 0 is its starting point. When the y position of the chicken and the car are equal, the chicken will get hit. Therefore
y n = y c → v n t − y 0 = v c t sin θ → t h = v n − v c sin θ y 0
where t h is the time at which the chicken gets hit. The chicken does not get hit if t a < t h . Therefore the chicken has the best chance of getting across the road when t a / t h is a minimum, and so we have
d θ d ( t a / t h ) = 0
which allows us to solve for sin θ = v c / v n = 0 . 0 1 1 2 5 and so θ = 0 . 0 1 1 radians .
For the chicken to travel safely across the road, the time the chicken takes must be less than the time a car takes to reach the chicken.
Let's call w the width of the road and D the initial distance from the incoming car to the chicken.
Let's also say that the chicken crosses the road at an angle θ north of east. We can then say that the chicken's horizontal speed is 0 . 2 5 cos θ and that its vertical speed is 0 . 2 5 sin θ . Since D has a log-normal distribution, lo g D is normally distributed.
You can draw this problem as vector:
Car from north to south,
Chicken (0.25 m/s)
\ |
\ |
a \ |
South
_
_
_
_
\|North, Car (80 km/hours)
We get angle cos a = 3 6 0 0 8 0 0 0 0 0 . 2 5 Angle of chicken from north of east θ = 2 π − arccos a = 0 . 0 1 1 2 5
Problem Loading...
Note Loading...
Set Loading...
Make the following assumptions:
d = the north/south distance between the next car and the chicken when the chicken starts crossing (in meters)
t = the amount of time (in seconds) until the car reaches the chicken
θ = the angle the chicken crosses the road (radians north of east)
w = the east/west distance the chicken travels before the car reaches it
s c a r = the speed of the car = 80 km/hr = 200/9 m/s
s c h i c k e n = the speed of the chicken = 0.25 m/s
Then we have the following:
w = s c h i c k e n t cos θ
s c a r t = d + s c h i c k e n t sin θ
Solving for t in the second equation we get:
t = s c a r − s c h i c k e n sin θ d
Substituting this value of t into the first equation we have:
w = s c a r − s c h i c k e n sin θ s c h i c k e n d cos θ
We want to maximize the chicken's chance of crossing the road successfully, which is equivalent to maximizing the value of w . We do this by differentiating the RHS of the last equation with respect to θ and setting the derivative equal to 0.
w ′ = ( s c a r − s c h i c k e n sin θ ) 2 − s c h i c k e n d sin θ × ( s c a r − s c h i c k e n sin θ ) − s c h i c k e n d cos θ × ( − s c h i c k e n cos θ )
= ( s c a r − s c h i c k e n sin θ ) 2 s c h i c k e n 2 d − s c h i c k e n s c a r d sin θ
Setting this derivative equal to 0, we find that:
sin θ = s c a r s c h i c k e n
sin θ = 2 0 0 / 9 0 . 2 5
θ = 0 . 0 1 1 2 5 r a d i a n s