Goat grazing problem explained

Goat grazing problem should not be confused with Monty Hall problem.

The goat grazing problem is either of two related problems in recreational mathematics involving a tethered goat grazing a circular area: the interior grazing problem and the exterior grazing problem. The former involves grazing the interior of a circular area, and the latter, grazing an exterior of a circular area. For the exterior problem, the constraint that the rope can not enter the circular area dictates that the grazing area forms an involute. If the goat were instead tethered to a post on the edge of a circular path of pavement that did not obstruct the goat (rather than a fence or a silo), the interior and exterior problem would be complements of a simple circular area.

The original problem was the exterior grazing problem and appeared in the 1748 edition of the English annual journal The Ladies' Diary: or, the Woman's Almanack, designated as Question  attributed to Upnorensis (an unknown historical figure), stated thus:

Observing a horse tied to feed in a gentlemen's park, with one end of a rope to his fore foot, and the other end to one of the circular iron rails, enclosing a pond, the circumference of which rails being 160 yards, equal to the length of the rope, what quantity of ground at most, could the horse feed?
The related problem involving area in the interior of a circle without reference to barnyard animals first appeared in 1894 in the first edition of the renown journal American Mathematical Monthly. Attributed to Charles E. Myers, it was stated as:
A circle containing one acre is cut by another whose center is on the circumference of the given circle, and the area common to both is one-half acre. Find the radius of the cutting circle.
The solutions in both cases are non-trivial but yield to straightforward application of trigonometry, analytical geometry or integral calculus. Both problems are intrinsically transcendental – they do not have closed-form analytical solutions in the Euclidean plane. The numerical answers must be obtained by an iterative approximation procedure. The goat problems do not yield any new mathematical insights; rather they are primarily exercises in how to artfully deconstruct problems in order to facilitate solution.

Three-dimensional analogues and planar boundary/area problems on other shapes, including the obvious rectangular barn and/or field, have been proposed and solved.[1] A generalized solution for any smooth convex curve like an ellipse, and even unclosed curves, has been formulated.[2]

Exterior grazing problem

thumb|400px|Goat tethered to silo at v, grazing an area under an involute

The question about the grazable area outside a circle is considered. This concerns a situation where the animal is tethered to a silo. The complication here is that the grazing area overlaps around the silo (i.e., in general, the tether is longer than one half the circumference of the silo): the goat can only eat the grass once, he can't eat it twice. The answer to the problem as proposed was given in the 1749 issue of the magazine by a Mr. Heath, and stated as 76,257.86 sq.yds. which was arrived at partly by "trial and a table of logarithms". The answer is not so accurate as the number of digits of precision would suggest. No analytical solution was provided.

A useful approximation

Let tether length R = 160 yds. and silo radius r = R/(2) yds. The involute in the fourth quadrant is a nearly circular arc. One can imagine a circular segment with the same perimeter (arc length) would enclose nearly the same area; the radius and therefore the area of that segment could be readily computed. The arc length of an involute is given by

\tfrac{1}{2}r\theta2

so the arc length |FG| of the involute in the fourth quadrant is

\tfrac{1}{2}r[\theta2]

2\pi
\tfrac{3\pi

{2}-\varphi}

. Let c be the length of an arc segment of the involute between the y-axis and a vertical line tangent to the silo at θ = 3/2; it is the arc subtended by Φ.

cr

(while the arc is minutely longer than r, the difference is negligible). So

|FG|=\tfrac{1}{2}25.46 ⋅ (6.282-4.712)+25.46=245.38

. The arc length of a circular arc is

r\theta

and θ here is /2 radians of the fourth quadrant, so

r\tfrac{\pi}{2}=245.38

, r the radius of the circular arc is

156.21

and the area of the circular segment bounded by it is

\tfrac{\pir2}{4}=19165

. The area of the involute excludes half the area of the silo (1018.61) in the fourth quadrant, so its approximate area is 18146, and the grazable area including the half circle of radius R, (

\tfrac{1}{2}\piR2

) totals

2 ⋅ 18146+40212=76505

. That is 249 sq.yds. greater than the correct area of 76256, an error of just 0.33%. This method of approximating may not be quite so good for angles < 3/2 of the involute.

If it matters, there is a constructive way to obtain a quick and very accurate estimate of

\varphi

: draw a diagonal from point

\tfrac{3}{2}\pi

on the circumference of the pond to its intersection on the y-axis. The length of the diagonal is 120yds. because it is

\tfrac{3}{4}

of the tether. So the other leg of the triangle, the hypotenuse as drawn, is

\sqrt{1202-r2}=117.27

yds. So

\varphi\sin-1(\tfrac{r}{117.27})=.219

radians, rounded to three places.

Solution by integrating with polar coordinates

Find the area between a circle and its involute over an angle of 2 to −2 excluding any overlap. In Cartesian coordinates, the equation of the involute is transcendental; doing a line integral there is hardly feasible. A more felicitous approach is to use polar coordinates (z,θ). Because the "sweep" of the area under the involute is bounded by a tangent line (see diagram and derivation below) which is not the boundary (

\overline{qF}

) between overlapping areas, the decomposition of the problem results in four computable areas: a half circle whose radius is the tether length (A1); the area "swept" by the tether over an angle of 2 (A2); the portion of area A2 from θ = 0 to the tangent line segment

\overline{tF}

(A3); and the wedge area qFtq (A4). So, the desired area A is A1 + (A2 − A3 + A4) · 2. The area(s) required to be computed are between two quadratic curves, and will necessarily be an integral or difference of integrals.

The primary parameters of the problem are

R

, the tether length defined to be 160yds, and

r

, the radius of the silo. There is no necessary relationship between

R

and

r

, but here

r=\tfrac{160}{2\pi}

is the radius of the circle whose circumference is

R

. If one defines the point of tethering

v

(see diagram, above) as the origin with the circle representing the circumference of the pond below the x-axis, and

F

on the y-axis below the circle representing the point of intersection of the tether when wound clockwise and counterclockwise, let

t

be a point on the circle such that the tangent at

t

intersects

F

, and

|\overset{\frown}{vt}|

+

|\overline{tF}|

Is the length of the tether. Let

q

be the point of intersection of the circumference of the pond on the y-axis (opposite to

v

) below the origin. Then let acute

\angletFq

be

\varphi

.

The area under the involute is a function of

R3

because it is an integral over a quadratic curve. The area has a fixed boundary defined by the parameter

r

(i.e. the circumference of the silo). In this case the area is inversely proportional to

r

, i.e. the larger

r

, the smaller the area of the integral, and the circumference is a linear function of

r

(

2\pir

). So we seek an expression for the area under the involute

E=f(R3/r)

.

First, the area A1 is a half circle of radius

R

so

A1=\tfrac{1}{2}\piR2.

Next, find the angle

\varphi

which will be used in the limits of the integrals below. Let

x=|\overline{tF}|

.

\varphi

is complementary to the opposite angle of the triangle whose right angle is at point t; and also complementary to that angle in the third quadrant of the circle.

|\overline{tF}|

is the unrolled arc

\overset{\frown}{vqt}

, so its arclength is

r\thetax

. So

\thetax=\tfrac{x}{r}

and

\thetax=\tfrac{3\pi}{2}-\varphi

, so

\varphi=\tfrac{3\pi}{2}-\tfrac{x}{r}

. Finally,

\tan(\varphi)=\tfrac{r}{x}

and the following equation is obtained:

r=x\tan{(\tfrac{3}{2}\pi-\tfrac{x}{r})}

. That is a transcendental equation that can only be solved by trial-and-error, polynomial expansion, or an iterative procedure like Newton–Raphson.

\varphi0.21900[+0,-0.00003]

.[3]

Next compute the area between the circumference of the pond and involute. Compute the area in the tapering "tail" of the involute, i.e. the overlapped area (note, on account of the tangent tF, that this area includes the wedge section, area A4, which will have to be added back in during the final summation). Recall that the area of a circular sector is

\tfrac{1}{2}r2\theta

if the angle is in radians. Imagine an infinitely thin circular sector from

o

to

p

subtended by an infinitely small angle

\Delta\theta

. Tangent to

o

, there is a corresponding infinitely thin sector of the involute from

m

to

n

subtending the same infinitely small angle

\Delta\theta

. The area of this sector is

\tfrac{1}{2}z2\Delta\theta

where

z

is the radius at some angle

\thetai

, which is

r\thetai

, the arc length of the circle so far "unwrapped" at angle

\thetai

. The area under the involute is the sum of all the infinitely many infinitely thin sectors

i

through some angle

\thetan

. This sum is

\limn\toinfty

n
\sum
i=1
2
\tfrac{1}{2}(r\theta
i)

\Delta\theta=

2\pi
\int
3\pi-\varphi
2
1
2

(r\theta)2d\theta=

1
2

r2\left[

\theta3
3
2\pi
\right]
3\pi-\varphi
2

=

4
3

r2\pi3-

1
2
2
(3\pi-\varphi)3
2
3
r

.

The bounds of the integral represent the area under the involute in the fourth quadrant between

\overline{tF}

and

\overline{vG}

. The angle is measured on the circle, not on the involute, so it is less than

\tfrac{3\pi}{2}

by some angle designated

\varphi

.

\varphi

Is not given, and must be determined indirectly. Unfortunately, there is no way to simplify the latter term representing the lower bound of the eval expression because

\varphi

is not a rational fraction of

\pi

, so it may as well be substituted and evaluated at once (factoring out

\pi

preemptively):

\tfrac{1}{6}r2\pi3 ⋅ (\tfrac{27}{8}-K(\tfrac{\varphi}{\pi}))

which for expository reasons can be rewritten

A2-A

3}{6r}-\tfrac{R
3=\tfrac{R

3}{48r}(\tfrac{27}{8}-K(\tfrac{\varphi}{\pi}))

. It seems apropo to merge a factor of

\tfrac{1}{8}

into the constant term to get a common denominartor for the terms, so

A2-A

3}{6r}-\tfrac{R
3=\tfrac{R

3}{6r}(\tfrac{27}{64}-K(\tfrac{\varphi}{8\pi}))

.

K

is dominated by a linear term from the integration, so may be written,

K=\tfrac{27}{32\pi}\varphi-Z

where

Z

is a non-zero positive but negligible quantity.

A4 is the area of the peculiar wedge

λtFqt

. That area is the area of a right triangle with vertex t, minus the area of a sector bounded by

\overset{\frown}{tq}

.

λ=\tfrac{rx}{2}-\tfrac{1}{2}r2\theta

where x is |tF| and θ is the angle opposite to Φ in the right angle triangle. So,

λ=\tfrac{1}{2}r(R-r(\tfrac{\pi}{2}+\varphi))-\tfrac{1}{2}r2(\tfrac{\pi}{2}-\varphi)=\tfrac{1}{2}(rR-r2\pi)

. If

R=2\pir

, then the area

λ

of the wedge is

\tfrac{1}{2}\pir2

by reduction.

The final summation A1 + (A2 − A3 + A4) · 2 is

\tfrac{1}{2}\piR2+(\tfrac{R3}{6r}-\tfrac{R3}{6r}(\tfrac{27}{64}-(\tfrac{27}{32\pi}\varphi-Z))+\tfrac{1}{2}(rR-r2\pi))2

. All imprecision in the calculation is now uncertainty in

\varphi

and the residual

Z

.
\varphieq

(\tfrac{R}{r}-\tfrac{\pi}{2}-\varphi)-1

. That's useful for elucidating the relationships between the parameters.

\varphi

is transcendental, so the definition is a recurrence relation. The initial guess

\varphi

is a small fraction of

\pi

. The numerical answer is

A=76256

rounded up to the nearest square yard.[4] It is worth noting that
\lim
\varphi
\pi
2

A=\tfrac{1}{2}\piR2+\tfrac{R3}{6r}

, which is the answer given for the case where the tether length is half the circumference (or any length such that

\tfrac{R}{r}\leq\pi

) of the silo, or no overlap to account for. The goat can eat all but 5% of the area of the great circle defined by its tether length, and half the area it cannot eat is within the perimeter of the pond/silo. The only imprecision in the calculation is that no closed-form representation for

\varphi

can be derived from the geometry presented. But small inaccuracies in

\varphi

when

\varphi\ll1

don't significantly affect the final result.

Solution by ratio of arc length

Just as the area below a line is proportional to the length of the line between boundaries, and the area of a circular sector is a ratio of the arc length (

L=r\theta

) of the sector (

A=\tfrac{r}{2}L

), the area between an involute and its bounding circle is also proportional to the involute's arc length

L=\tfrac{1}{2}r\theta2

:

A=\tfrac{r\theta}{3}L=\tfrac{r2\theta3}{6}

for

0<\theta<\thetai

. So the total grazing area is

A=A1+(A2-A3+A4)2

.

A1=\tfrac{1}{2}\piR2

.

A2-A

2\theta
3=\left[\tfrac{r
3}{6}\right]
\tfrac{3\pi

{2}-\varphi}2\pi

.

A4=\tfrac{1}{2}\pir2

.

Interior grazing problem

Let

P

be the center of a unit circle. A goat/bull/horse is tethered at point

Q

on the circumference. How long does the rope

r

need to be to allow the animal to graze on exactly one half of the circle's area (white area in diagram, in plane geometry, called a lens)?

Solution by calculating the lens area

The area reachable by the animal is in the form of an asymmetric lens, delimited by the two circular arcs.

The area

A

of a lens with two circles of radii

R,r

and distance between centers

d

is

\begin{align} A={}&r2\arccos\left(

d2+r2-R2
2dr

\right)+R2\arccos\left(

d2-r2+R2
2dR

\right)\\ &{}-

1
2

\sqrt{(d+r-R)(d-r+R)(-d+r+R)(d+r+R)}, \end{align}

which simplifies in case of

R=d=1

and one half of the circle area to
1
2

\pi=r2\arccos\left(

1
2

r\right)+\arccos\left(1-

1
2

r2\right)-

1
2

r\sqrt{4-r2}.

The equation can only be solved iteratively and results in

r=1.1587\ldots

.

Solution using integration

By using

r<\sqrt{2}

and integrating over the right half of the lens area with
1
4

\pi=

2
\sqrt{r-
r4
4
\int
0
} \left(\sqrt + \sqrt - 1\right)\, dt

the transcendental equation

r=

\pi
\pir-\sqrt{4-r2

+\left(

4
r

-2r\right)\arcsin\left(

1
2

r\right)}

follows, with the same solution.

In fact, using the identities

\arccos\left(1-

r2
2

\right)+2\arccos\left(

|r|
2

\right)=\pi

and
\arcsin\left(r
2

\right)=

\pi
2

-\arccos\left(

r
2

\right)

, the transcendental equation derived from lens area can be obtained.

Solution by sector area plus segment area

The area can be written as the sum of sector area plus segment area.[5]

Assuming the leash is tied to the bottom of the pen, define

\theta

as the angle the taut leash makes with upwards when the goat is at the circumference. Define

\alpha

as the angle from downwards to the same location, but from the center of the pen instead of from the center of the larger circle. The sum of angles of a triangle equals

\pi

for the resulting isosceles triangle, giving

\alpha=\pi-2\theta

. Setting the pen's radius to be 1 and trigonometry such as

\sin(2\theta)=2\sin(\theta)\cos(\theta)

then give

\theta=\arccos\left(

r
2

\right)

.

Requiring that half the grazable area be 1/4 of the pen's area gives

Asector+Asegment=\pi/4

. Using the circular sector and circular segment area formulae gives

r2\theta+\alpha-\sin(\alpha)=

\pi
2
,

which only assumes

0<r<2

.

Combining into a single equation gives

\pi
2

=r\sqrt{1-\left(

r
2

\right)2}+(2-r2)\arccos\left(

r
2

\right)

.

Note that solving for

\arccos\left(r
2

\right)

then taking the cosine of both sides generates extra solutions even if including the obvious constraint

1<r<\sqrt{2}

.

Using trigonometric identities, we see that this is the same transcendental equation that lens area and integration provide.

Closed-form solution

By using complex analysis methods in 2020, Ingo Ullisch obtained a closed-form solution as the cosine of a ratio of two contour integrals:[6]

r=2\cos\left(

\displaystyle\ointC
z
2\sinz-2z\cosz-\pi
dz
\displaystyle\ointC
2
2\sinz-2z\cosz-\pi
dz

\right),

where C is the circle
\left|z-3\pi\right|=
4
\pi
4
.

3-dimensional extension

The three-dimensional analogue to the two-dimensional goat problem is a bird tethered to the inside of a sphere, with the tether long enough to constrain the bird's flight to half the volume of the sphere. In the three-dimensional case, point

Q

lies on the surface of a unit sphere, and the problem is to find radius

r

of the second sphere so that the volume of the intersection body equals exactly half the volume of the unit sphere.

The volume of the unit sphere reachable by the animal has the form of a three-dimensional lens with differently shaped sides and defined by the two spherical caps.

The volume

V

of a lens with two spheres of radii

R,r

and distance between the centers

d

is

V=

\pi(R+r-d)2\left(d2+2dr-3r2+2dR+6rR-3R2\right)
12d

,

which simplifies in case of

R=d=1

and one half of the sphere volume to
1
2

4
3

\pi=-

1
4

\pir4+

2
3

\pir3,

leading to a solution of

r=1.2285\ldots

It can be demonstrated that, with increasing dimensionality, the reachable area approaches one half the sphere at the critical length

r=\sqrt{2}

. If

r<\sqrt{2}

, the area covered approaches almost none of the sphere; if

r>\sqrt{2}

, the area covered approaches the sphere's entire area.[7] [8]

See also

References

External links

Notes and References

  1. Bassett. Gilbert. 2021-09-27. The Goat in the City. The Mathematical Intelligencer. 44 . 1–6 . en. 10.1007/s00283-021-10120-7. 244171722 . 0343-6993.
  2. Michael E. Hoffman, "The bull and the silo: an application of curvature," American Mathematical Monthly 105 (1998), 55–58
  3. The reference value of Φ by iterative approximation is 0.21897952.
  4. An algorithmic simulation yields the answer 76255.66[+0.005,−0] sq.yds.(the limit of single-precision floating point on the machine), a possible error of less than 3/4 the area of a playing card or sports card over a field of nearly 17 acres.
  5. Grime, James . The Goat Problem - Numberphile . 2022-12-24.
  6. Ullisch . Ingo . 2020-02-18 . A Closed-Form Solution to the Geometric Goat Problem . The Mathematical Intelligencer . 42 . 3 . 12–16 . en . 10.1007/s00283-020-09966-0 . 213946036 . 0343-6993.
  7. Fraser . Marshall . March 1984 . The Grazing Goat in n Dimensions . The Two-Year College Mathematics Journal . 15 . 2 . 126–134 . en . 10.2307/2686517. 2686517 .
  8. Meyerson . Mark D. . November 1984 . Return of the Grazing Goat in n Dimensions . The Two-Year College Mathematics Journal . 15 . 5 . 430–432 . en . 10.2307/2686558. 2686558.