How did the chicken cross the road?

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

  • The chicken is a point particle.
  • Assume for simplicity that a car is the same width as the road, so that if the chicken is on the road when the car reaches her, she gets hit.


The answer is 0.01125.

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.

8 solutions

Nick Mann
May 20, 2014

Make the following assumptions:

d = d = the north/south distance between the next car and the chicken when the chicken starts crossing (in meters)

t = t = the amount of time (in seconds) until the car reaches the chicken

θ = \theta = the angle the chicken crosses the road (radians north of east)

w = w = the east/west distance the chicken travels before the car reaches it

s c a r = s_{car} = the speed of the car = 80 km/hr = 200/9 m/s

s c h i c k e n = s_{chicken} = 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 θ w = s_{chicken}t\cos\theta

s c a r t = d + s c h i c k e n t sin θ s_{car}t = d + s_{chicken}t\sin\theta

Solving for t t in the second equation we get:

t = d s c a r s c h i c k e n sin θ t = \frac {d} {s_{car} - s_{chicken}\sin\theta}

Substituting this value of t t into the first equation we have:

w = s c h i c k e n d cos θ s c a r s c h i c k e n sin θ w = \frac {s_{chicken}d\cos\theta} {s_{car} - s_{chicken}\sin\theta}

We want to maximize the chicken's chance of crossing the road successfully, which is equivalent to maximizing the value of w w . We do this by differentiating the RHS of the last equation with respect to θ \theta and setting the derivative equal to 0.

w = 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 w' = \frac {-s_{chicken}d\sin\theta\times(s_{car} - s_{chicken}\sin\theta) - s_{chicken}d\cos\theta\times(- s_{chicken}\cos\theta)}{(s_{car} - s_{chicken}\sin\theta)^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 θ ( s c a r s c h i c k e n sin θ ) 2 = \frac {s_{chicken}^2d - s_{chicken}s_{car}d\sin\theta} {(s_{car} - s_{chicken}\sin\theta)^2}

Setting this derivative equal to 0, we find that:

sin θ = s c h i c k e n s c a r \sin\theta = \frac {s_{chicken}} {s_{car}}

sin θ = 0.25 200 / 9 \sin\theta = \frac {0.25} {200/9}

θ = 0.01125 r a d i a n s \theta = 0.01125\space radians

Tan Gian Yion
May 20, 2014

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 θ \theta as the angle between the north-south axis and the velocity vector of the chicken.

Let the width of the car be w 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 = w v sin θ t= \frac{w}{v \sin \theta}

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 = ( 200 9 v cos θ ) 2 ( w v sin θ ) 2 + w 2 s = \sqrt{ ( \frac{200}{9} - v \cos \theta )^{2} ( \frac{w}{v \sin \theta})^{2} + w^{2} }
And that ^ is what we want to minimize.

Sigh. now we have to differentiate this huge stuff with respect to θ \theta . But remember we just find out the solutions to d s d θ \frac{ds}{d \theta} =0.......

And not find out what d s d θ \frac{ds}{d \theta} actually is.

Alright, so let us take ( 200 9 v cos θ ) 2 ( w v sin θ ) 2 + w 2 = f ( θ ) (\frac{200}{9} - v \cos \theta )^{2} ( \frac{w}{v \sin \theta})^{2} + w^{2} = f( \theta)

By chain rule you should see that if we wanna find the minimum of s, d s d θ = f ( θ ) 2 f ( θ ) = 0 \frac{ds}{d \theta} =\frac{f^{\prime}(\theta)}{ 2\sqrt{f(\theta)}} = 0

Now we will solve that equation. f ( θ ) = 2 w 2 ( 200 9 v cos θ v s i n θ ) v 2 ( s i n θ ) 2 + v 2 ( c o s θ ) 2 200 9 v c o s θ v 2 ( s i n θ ) 2 f^{\prime}(\theta) = 2w^{2} (\frac{ \frac{200}{9} - v\cos\theta}{vsin\theta}) \frac{v^{2}(sin \theta)^{2}+v^{2}(cos \theta)^{2}-\frac{200}{9}vcos\theta}{v^2(sin\theta)^{2}} =0

The solutions are now 200 9 v c o s θ = 0 \frac{200}{9} - vcos \theta = 0 or v = 0 v=0 or v 200 9 c o s θ = 0 v- \frac{200}{9}cos\theta =0

Only the last solution makes sense if you look carefully. So this gives us easily θ = 1.559546........ \theta = 1.559546........

So to find the required answer, we just take π 2 θ = 0.01125 ( 4 s i g f i g ) \frac{\pi}{2} - \theta = 0.01125 (4 sig fig)

Derek Khu
May 20, 2014

Suppose the width of the road is w w metres and the distance to the next car is d d metres. Furthermore, suppose that the chicken crosses at a straight line and makes an angle θ \theta with respect to the horizontal (east). The time taken for the chicken to cross (should it still be alive) is w 0.25 cos θ \frac{w}{0.25 \cos \theta} seconds. Noting that the speed of the cars in m/s is 200 9 \frac{200}{9} , then the distance the next car moved in the time it takes for the chicken to cross the road will be 200 9 × w 0.25 cos θ \frac{200}{9} \times \frac{w}{0.25 \cos \theta} metres. Meanwhile, the chicken moves w tan θ w \tan \theta metres northwards as well. So the car would have closed up to the chicken by 200 9 × w 0.25 cos θ w tan θ \frac{200}{9} \times \frac{w}{0.25 \cos \theta} - w \tan \theta metres. We want this to be less than or equal to d d metres in order for the chicken not to be killed, so 200 9 × w 0.25 cos θ w tan θ d \frac{200}{9} \times \frac{w}{0.25 \cos \theta} - w \tan \theta \leq d . This gives, after some simplification, 800 9 d w cos θ + sin θ \frac{800}{9} \leq \frac{d}{w} \cos \theta + \sin \theta . Let d w = m \frac{d}{w} = m . Then the right-hand side is equal to m 2 + 1 cos ( θ tan 1 1 m ) \sqrt{m^2+1} \cos (\theta - \tan^{-1} \frac{1}{m}) . So we get 800 9 m 2 + 1 cos ( θ tan 1 1 m ) \frac{800}{9\sqrt{m^2+1}} \leq \cos (\theta - \tan^{-1} \frac{1}{m}) . Here, the right-hand side is not more than 1 1 , so the chicken can survive only if 800 9 m 2 + 1 1 \frac{800}{9\sqrt{m^2+1}} \leq 1 , i.e. m ( 800 9 ) 2 1 m \geq \sqrt{(\frac{800}{9})^2-1} . When m = ( 800 9 ) 2 1 m = \sqrt{(\frac{800}{9})^2-1} , we have tan 1 1 m 0.01125 \tan^{-1} \frac{1}{m} \approx 0.01125 , so we need θ = 0.01125 \theta = 0.01125 for the chicken to survive. Now, as we increase m m , then 800 9 m 2 + 1 \frac{800}{9\sqrt{m^2+1}} decreases much faster than cos ( θ tan 1 1 m ) \cos (\theta - \tan^{-1} \frac{1}{m}) , so the inequality will still hold for all m > ( 800 9 ) 2 1 m > \sqrt{(\frac{800}{9})^2-1} . Therefore, when we set θ = 0.01125 \theta = 0.01125 , the chicken will survive whenever it has a chance to (i.e. when m ( 800 9 ) 2 1 m \geq \sqrt{(\frac{800}{9})^2-1} ). So to maximize the chicken's chance of making it across the road, we let θ = 0.01125 \theta = 0.01125 .

Ricky Escobar
May 20, 2014

Let the width of the road be denoted by w w . Let the angle at which the chicken crosses be θ \theta . The length L L of the path of the chicken across the road is then w sec θ w\sec\theta , and the distance h h in the North-South direction that the chicken travels is w tan θ w\tan\theta . Let v 1 = 0.25 m s v_1=0.25 \, \mathrm{\frac{m}{s}} and v 2 = 80 k m h r = 200 9 m s v_2=80 \, \mathrm{\frac{km}{hr}}=\frac{200}{9}\, \mathrm{\frac{m}{s}} 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 \theta=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 \theta<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 \theta>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 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 θ \theta 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 . 01125 .01125 .

$$\left[{\frac{\cos\theta}{v 1}+\frac{\sin\theta}{v 2}}\right]_{\theta=.01125}.$$

This is clearly positive for all 0 < θ < π 2 0<\theta<\frac{\pi}{2} because the sine and cosine functions are both positive for these values of θ \theta . Because the second derivative is positive at θ = . 01125 \theta=.01125 , we have verified that this is a minimum, which proves that this value of θ \theta yields the maximum probability of survival for the chicken.

José Neto
May 20, 2014

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

David Mattingly Staff
May 13, 2014

Let's let the chicken start across the road with speed v c v_c at time t = 0 t=0 and start at the origin of our coordinate system. The x x and y y positions of the chicken are given by

x c = t v c cos θ y c = t v c sin θ . \begin{aligned} x_c &= t v_c \cos \theta \\ y_c &= t v_c \sin \theta. \end{aligned}

If W W is the width of the road, the time the chicken gets across is given by

t a = W v c cos θ . t_a=\frac{W}{v_c \cos \theta}.

The y y position of the next car that might hit the chicken is

y n = v n t y 0 y_n=v_n t - y_0

where v n v_n is the speed of the car and y 0 y_0 is its starting point. When the y 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 = y 0 v n v c sin θ y_n=y_c \rightarrow v_n t -y_0=v_c t \sin \theta\rightarrow t_h=\frac{y_0}{v_n-v_c \sin \theta}

where t h t_h is the time at which the chicken gets hit. The chicken does not get hit if t a < t h t_a<t_h . Therefore the chicken has the best chance of getting across the road when t a / t h t_a/t_h is a minimum, and so we have

d ( t a / t h ) d θ = 0 \frac {d(t_a/t_h)}{d \theta}=0

which allows us to solve for sin θ = v c / v n = 0.01125 \sin \theta=v_c/v_n=0.01125 and so θ = 0.011 radians \theta=0.011~\mbox{radians} .

Luke Tang
May 20, 2014

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 θ \theta north of east. We can then say that the chicken's horizontal speed is 0.25 cos θ 0.25 \cos \theta and that its vertical speed is 0.25 sin θ 0.25 \sin \theta . Since D has a log-normal distribution, log D \log D is normally distributed.

Pebrudal Zanu
May 20, 2014

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 = 0.25 80000 3600 \cos a=\frac {0.25}{{\frac{80000}{3600}}} Angle of chicken from north of east θ = π 2 arccos a = 0.01125 \theta=\frac {\pi}{2}-\arccos a=0.01125

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...