fbpx
Wikipedia

Buffon's needle problem

In probability theory, Buffon's needle problem is a question first posed in the 18th century by Georges-Louis Leclerc, Comte de Buffon:[1]

The a needle lies across a line, while the b needle does not.
Suppose we have a floor made of parallel strips of wood, each the same width, and we drop a needle onto the floor. What is the probability that the needle will lie across a line between two strips?

Buffon's needle was the earliest problem in geometric probability to be solved;[2] it can be solved using integral geometry. The solution for the sought probability p, in the case where the needle length l is not greater than the width t of the strips, is

This can be used to design a Monte Carlo method for approximating the number π, although that was not the original motivation for de Buffon's question.[3]

Solution edit

The problem in more mathematical terms is: Given a needle of length l dropped on a plane ruled with parallel lines t units apart, what is the probability that the needle will lie across a line upon landing?

Let x be the distance from the center of the needle to the closest parallel line, and let θ be the acute angle between the needle and one of the parallel lines.

The uniform probability density function (PDF) of x between 0 and t/2 is

 

Here, x = 0 represents a needle that is centered directly on a line, and x = t/2 represents a needle that is perfectly centered between two lines. The uniform PDF assumes the needle is equally likely to fall anywhere in this range, but could not fall outside of it.

The uniform probability density function of θ between 0 and π/2 is

 

Here, θ = 0 represents a needle that is parallel to the marked lines, and θ = π/2 radians represents a needle that is perpendicular to the marked lines. Any angle within this range is assumed an equally likely outcome.

The two random variables, x and θ, are independent,[4] so the joint probability density function is the product

 

The needle crosses a line if

 

Now there are two cases.

Case 1: Short needle (lt) edit

Integrating the joint probability density function gives the probability that the needle will cross a line:

 

Case 2: Long needle (l > t) edit

Suppose l > t. In this case, integrating the joint probability density function, we obtain:

 

where m(θ) is the minimum between l/2 sin θ and t/2.

Thus, performing the above integration, we see that, when l > t, the probability that the needle will cross at least one line is

 

or

 

In the second expression, the first term represents the probability of the angle of the needle being such that it will always cross at least one line. The right term represents the probability that the needle falls at an angle where its position matters, and it crosses the line.

Alternatively, notice that whenever θ has a value such that l sin θt, that is, in the range 0 ≤ θ ≤ arcsin t/l, the probability of crossing is the same as in the short needle case. However if l sin θ > t, that is, arcsin t/l < θπ/2 the probability is constant and is equal to 1.

 

Using elementary calculus edit

The following solution for the "short needle" case, while equivalent to the one above, has a more visual flavor, and avoids iterated integrals.

We can calculate the probability P as the product of two probabilities: P = P1 · P2, where P1 is the probability that the center of the needle falls close enough to a line for the needle to possibly cross it, and P2 is the probability that the needle actually crosses the line, given that the center is within reach.

Looking at the illustration in the above section, it is apparent that the needle can cross a line if the center of the needle is within l/2 units of either side of the strip. Adding l/2 + l/2 from both sides and dividing by the whole width t, we obtain P1 = l/t.

 
The red and blue needles are both centered at x. The red one falls within the gray area, contained by an angle of 2θ on each side, so it crosses the vertical line; the blue one does not. The proportion of the circle that is gray is what we integrate as the center x goes from 0 to 1

Now, we assume that the center is within reach of the edge of the strip, and calculate P2. To simplify the calculation, we can assume that  .

Let x and θ be as in the illustration in this section. Placing a needle's center at x, the needle will cross the vertical axis if it falls within a range of 2θ radians, out of π radians of possible orientations. This represents the gray area to the left of x in the figure. For a fixed x, we can express θ as a function of x: θ(x) = arccos(x). Now we can let x range from 0 to 1, and integrate:

 

Multiplying both results, we obtain P = P1 · P2 = l/t · 2/π = 2l/ as above.

There is an even more elegant and simple method of calculating the "short needle case". The end of the needle farthest away from any one of the two lines bordering its region must be located within a horizontal (perpendicular to the bordering lines) distance of l cos θ (where θ is the angle between the needle and the horizontal) from this line in order for the needle to cross it. The farthest this end of the needle can move away from this line horizontally in its region is t. The probability that the farthest end of the needle is located no more than a distance l cos θ away from the line (and thus that the needle crosses the line) out of the total distance t it can move in its region for 0 ≤ θπ/2 is given by

 

Without integrals edit

The short-needle problem can also be solved without any integration, in a way that explains the formula for p from the geometric fact that a circle of diameter t will cross the distance t strips always (i.e. with probability 1) in exactly two spots. This solution was given by Joseph-Émile Barbier in 1860[5] and is also referred to as "Buffon's noodle".

Estimating π edit

 
An experiment to find π. Matches with the length of 9 squares have been thrown 17 times between rows with the width of 9 squares. 11 of the matches have landed at random across the drawn lines marked by the green points.
2l · n/th = 2 × 9 × 17/9 × 11 ≈ 3.1 ≈ π.
 
A Python 3 based simulation using Matplotlib to sketch Buffon's needle experiment with the parameters t = 5.0, l = 2.6. Observe the calculated value of π (y-axis) approaching 3.14 as the number of tosses (x-axis) approaches infinity.

In the first, simpler case above, the formula obtained for the probability P can be rearranged to

 

Thus, if we conduct an experiment to estimate P, we will also have an estimate for π.

Suppose we drop n needles and find that h of those needles are crossing lines, so P is approximated by the fraction h/n. This leads to the formula:

 

In 1901, Italian mathematician Mario Lazzarini performed Buffon's needle experiment. Tossing a needle 3,408 times, he obtained the well-known approximation 355/113 for π, accurate to six decimal places.[6] Lazzarini's "experiment" is an example of confirmation bias, as it was set up to replicate the already well-known approximation of 355/113 (in fact, there is no better rational approximation with fewer than five digits in the numerator and denominator, see also Milü), yielding a more accurate "prediction" of π than would be expected from the number of trials, as follows: [7]

Lazzarini chose needles whose length was 5/6 of the width of the strips of wood. In this case, the probability that the needles will cross the lines is 5/3π. Thus if one were to drop n needles and get x crossings, one would estimate π as

 

So if Lazzarini was aiming for the result 355/113, he needed n and x such that

 

or equivalently,

 

To do this, one should pick n as a multiple of 213, because then 113n/213 is an integer; one then drops n needles, and hopes for exactly x = 113n/213 successes. If one drops 213 needles and happens to get 113 successes, then one can triumphantly report an estimate of π accurate to six decimal places. If not, one can just do 213 more trials and hope for a total of 226 successes; if not, just repeat as necessary. Lazzarini performed 3,408 = 213 × 16 trials, making it seem likely that this is the strategy he used to obtain his "estimate".

The above description of strategy might even be considered charitable to Lazzarini. A statistical analysis of intermediate results he reported for fewer tosses leads to a very low probability of achieving such close agreement to the expected value all through the experiment. This makes it very possible that the "experiment" itself was never physically performed, but based on numbers concocted from imagination to match statistical expectations, but too well, as it turns out.[7]

Dutch science journalist Hans van Maanen argues, however, that Lazzarini's article was never meant to be taken too seriously as it would have been pretty obvious for the readers of the magazine (aimed at school teachers) that the apparatus that Lazzarini said to have built cannot possibly work as described.[8]

Laplace's extension (short needle case) edit

Now consider the case where the plane contains two sets of parallel lines orthogonal to one another, creating a standard perpendicular grid. We aim to find the probability that the needle intersects at least one line on the grid. Let a and b be the sides of the rectangle that contains the midpoint of the needle whose length is l. Since this is the short needle case, l < a, l < b. Let (x,y) mark the coordinates of the needle's midpoint and let φ mark the angle formed by the needle and the x-axis. Similar to the examples described above, we consider x, y, φ to be independent uniform random variables over the ranges 0 ≤ xa, 0 ≤ yb, π/2φπ/2.

To solve such a problem, we first compute the probability that the needle crosses no lines, and then we take its compliment. We compute this first probability by determining the volume of the domain where the needle crosses no lines and then divide that by the volume of all possibilities, V. We can easily see that V = πab.

Now let V* be the volume of possibilities where the needle does not intersect any line. Developed by J.V. Uspensky,[9]

 

where F(φ) is the region where the needle does not intersect any line given an angle φ. To determine F(φ), let's first look at the case for the horizontal edges of the bounding rectangle. The total side length is a and the midpoint must not be within l/2 cos φ of either endpoint of the edge. Thus, the total allowable length for no intersection is a − 2(l/2 cos φ) or simply just al cos φ. Equivalently, for the vertical edges with length b, we have b ± l sin φ. The ± accounts for the cases where φ is positive or negative. Taking the positive case and then adding the absolute value signs in the final answer for generality, we get

 

Now we can compute the following integral:

 

Thus, the probability that the needle does not intersect any line is

 

And finally, if we want to calculate the probability, P, that the needle does intersect at least one line, we need to subtract the above result from 1 to compute its compliment, yielding

 .

Comparing estimators of π edit

As mentioned above, Buffon's needle experiment can be used to estimate π. This fact holds for Laplace's extension too since π shows up in that answer as well. The following question then naturally arises and is discussed by E.F. Schuster in 1974.[10] Is Buffon's experiment or Laplace's a better estimator of the value of π? Since in Laplace's extension there are two sets of parallel lines, we compare N drops when there is a grid (Laplace), and 2N drops in Buffon's original experiment.

Let A be the event that the needle intersects a horizontal line (parallel to the x-axis)

 

and let B be the event that the needle intersects a vertical line (parallel to the y-axis)

 

For simplicity in the algebraic formulation ahead, let a = b = t = 2l such that the original result in Buffon's problem is P(A) = P(B) = 1/π. Furthermore, let N = 100 drops.

Now let us examine P(AB) for Laplace's result, that is, the probability the needle intersects both a horizontal and a vertical line. We know that

 

From the above section, P(AB′), or the probability that the needle intersects no lines is

 

We can solve for P(AB) and P(AB′) using the following method:

 

Solving for P(AB) and P(AB′) and plugging that into the original definition for P(AB) a few lines above, we get

 

Although not necessary to the problem, it is now possible to see that P(AB) = P(AB′) = 3/4π. With the values above, we are now able to determine which of these estimators is a better estimator for π. For the Laplace variant, let be the estimator for the probability that there is a line intersection such that

 .

We are interested in the variance of such an estimator to understand the usefulness or efficiency of it. To compute the variance of , we first compute Var(xn + yn) where

 

Solving for each part individually,

 

We know from the previous section that

 

yielding

 

Thus,

 

Returning to the original problem of this section, the variance of estimator is

 

Now let us calculate the number of drops, M, needed to achieve the same variance as 100 drops over perpendicular lines. If M < 200 then we can conclude that the setup with only parallel lines is more efficient than the case with perpendicular lines. Conversely if M is equal to or more than 200, than Buffon's experiment is equally or less efficient, respectively. Let be the estimator for Buffon's original experiment. Then,

 

and

 

Solving for M,

 

Thus, it takes 222 drops with only parallel lines to have the same certainty as 100 drops in Laplace's case. This isn't actually surprising because of the observation that Cov(xn,yn) < 0. Because xn and yn are negatively correlated random variables, they act to reduce the total variance in the estimator that is an average of the two of them. This method of variance reduction is known as the antithetic variates method.

See also edit

References edit

  1. ^ Histoire de l'Acad. Roy. des. Sciences (1733), 43–45; Histoire naturelle, générale et particulière Supplément 4 (1777), p. 46.
  2. ^ Seneta, Eugene; Parshall, Karen Hunger; Jongmans, François (2001). "Nineteenth-Century Developments in Geometric Probability: J. J. Sylvester, M. W. Crofton, J.-É. Barbier, and J. Bertrand". Archive for History of Exact Sciences. 55 (6): 501–524. doi:10.1007/s004070100038. ISSN 0003-9519. JSTOR 41134124. S2CID 124429237.
  3. ^ Behrends, Ehrhard. "Buffon: Hat er Stöckchen geworfen oder hat er nicht?" (PDF). Retrieved 14 March 2015.
  4. ^ The problem formulation here avoids having to work with Regular conditional probability densities.
  5. ^ Aigner, Martin; Ziegler, Günter M. (2013). Proofs from THE BOOK (2nd ed.). Springer Science & Business Media. pp. 189–192.
  6. ^ Lazzarini, M. (1901). "Un'applicazione del calcolo della probabilità alla ricerca sperimentale di un valore approssimato di π" [An Application of Probability Theory to Experimental Research of an Approximation of π]. Periodico di Matematica per l'Insegnamento Secondario (in Italian). 4: 140–143.
  7. ^ a b Lee Badger, 'Lazzarini's Lucky Approximation of π', Mathematics Magazine 67, 1994, 83–91.
  8. ^ Hans van Maanen, 'Het stokje van Lazzarini' (Lazzarini's stick), "Skepter" 31.3, 2018.
  9. ^ J.V. Uspensky, 'Introduction to Mathematical Probability', 1937, 255.
  10. ^ E. F. Schuster, Buffon's Needle Experiment, The American Mathematical Monthly, 1974, 29-29.

Bibliography edit

  • Badger, Lee (April 1994). "Lazzarini's Lucky Approximation of π". Mathematics Magazine. 67 (2). Mathematical Association of America: 83–91. doi:10.2307/2690682. JSTOR 2690682.
  • Ramaley, J. F. (October 1969). "Buffon's Noodle Problem". The American Mathematical Monthly. 76 (8). Mathematical Association of America: 916–918. doi:10.2307/2317945. JSTOR 2317945.
  • Mathai, A. M. (1999). An Introduction to Geometrical Probability. Newark: Gordon & Breach. p. 5. ISBN 978-90-5699-681-9.
  • Dell, Zachary; Franklin, Scott V. (September 2009). "The Buffon-Laplace needle problem in three dimensions". Journal of Statistical Mechanics: Theory and Experiment. 2009 (9): 010. Bibcode:2009JSMTE..09..010D. doi:10.1088/1742-5468/2009/09/P09010. S2CID 32470555.
  • Schroeder, L. (1974). "Buffon's needle problem: An exciting application of many mathematical concepts". Mathematics Teacher, 67 (2), 183–6.
  • Uspensky, James Victor. "Introduction to mathematical probability." (1937).

External links edit

  • Buffon's Needle Problem at cut-the-knot
  • Math Surprises: Buffon's Noodle at cut-the-knot
  • MSTE: Buffon's Needle
  • Buffon's Needle Java Applet
  • Estimating PI Visualization (Flash)
  • Buffon's needle: fun and fundamentals (presentation) at slideshare
  • Animations for the Simulation of Buffon's Needle by Yihui Xie using the R package animation
  • 3D Physical Animation by Jeffrey Ventrella
  • Padilla, Tony. . Numberphile. Brady Haran. Archived from the original on 2013-05-17. Retrieved 2013-04-09.

buffon, needle, problem, probability, theory, question, first, posed, 18th, century, georges, louis, leclerc, comte, buffon, needle, lies, across, line, while, needle, does, suppose, have, floor, made, parallel, strips, wood, each, same, width, drop, needle, o. In probability theory Buffon s needle problem is a question first posed in the 18th century by Georges Louis Leclerc Comte de Buffon 1 The a needle lies across a line while the b needle does not Suppose we have a floor made of parallel strips of wood each the same width and we drop a needle onto the floor What is the probability that the needle will lie across a line between two strips Buffon s needle was the earliest problem in geometric probability to be solved 2 it can be solved using integral geometry The solution for the sought probability p in the case where the needle length l is not greater than the width t of the strips is p 2p lt displaystyle p frac 2 pi cdot frac l t This can be used to design a Monte Carlo method for approximating the number p although that was not the original motivation for de Buffon s question 3 Contents 1 Solution 1 1 Case 1 Short needle l t 1 2 Case 2 Long needle l gt t 2 Using elementary calculus 3 Without integrals 4 Estimating p 5 Laplace s extension short needle case 6 Comparing estimators of p 7 See also 8 References 9 Bibliography 10 External linksSolution editThe problem in more mathematical terms is Given a needle of length l dropped on a plane ruled with parallel lines t units apart what is the probability that the needle will lie across a line upon landing Let x be the distance from the center of the needle to the closest parallel line and let 8 be the acute angle between the needle and one of the parallel lines The uniform probability density function PDF of x between 0 and t 2 is fX x 2t 0 x t20 elsewhere displaystyle f X x begin cases dfrac 2 t amp 0 leq x leq dfrac t 2 4px 0 amp text elsewhere end cases nbsp Here x 0 represents a needle that is centered directly on a line and x t 2 represents a needle that is perfectly centered between two lines The uniform PDF assumes the needle is equally likely to fall anywhere in this range but could not fall outside of it The uniform probability density function of 8 between 0 and p 2 is f8 8 2p 0 8 p20 elsewhere displaystyle f Theta theta begin cases dfrac 2 pi amp 0 leq theta leq dfrac pi 2 4px 0 amp text elsewhere end cases nbsp Here 8 0 represents a needle that is parallel to the marked lines and 8 p 2 radians represents a needle that is perpendicular to the marked lines Any angle within this range is assumed an equally likely outcome The two random variables x and 8 are independent 4 so the joint probability density function is the product fX 8 x 8 4tp 0 x t2 0 8 p20 elsewhere displaystyle f X Theta x theta begin cases dfrac 4 t pi amp 0 leq x leq dfrac t 2 0 leq theta leq dfrac pi 2 4px 0 amp text elsewhere end cases nbsp The needle crosses a line if x l2sin 8 displaystyle x leq frac l 2 sin theta nbsp Now there are two cases Case 1 Short needle l t edit Integrating the joint probability density function gives the probability that the needle will cross a line P 8 0p2 x 0l2sin 84tpdxd8 2ltp displaystyle P int theta 0 frac pi 2 int x 0 frac l 2 sin theta frac 4 t pi dx d theta frac 2l t pi nbsp Case 2 Long needle l gt t edit Suppose l gt t In this case integrating the joint probability density function we obtain 8 0p2 x 0m 8 4tpdxd8 displaystyle int theta 0 frac pi 2 int x 0 m theta frac 4 t pi dx d theta nbsp where m 8 is the minimum between l 2 sin 8 and t 2 Thus performing the above integration we see that when l gt t the probability that the needle will cross at least one line is P 2ltp 2tp l2 t2 tarcsin tl 1 displaystyle P frac 2l t pi frac 2 t pi left sqrt l 2 t 2 t arcsin frac t l right 1 nbsp or P 2parccos tl 2p lt 1 1 tl 2 displaystyle P frac 2 pi arccos frac t l frac 2 pi cdot frac l t left 1 sqrt 1 left frac t l right 2 right nbsp In the second expression the first term represents the probability of the angle of the needle being such that it will always cross at least one line The right term represents the probability that the needle falls at an angle where its position matters and it crosses the line Alternatively notice that whenever 8 has a value such that l sin 8 t that is in the range 0 8 arcsin t l the probability of crossing is the same as in the short needle case However if l sin 8 gt t that is arcsin t l lt 8 p 2 the probability is constant and is equal to 1 P 8 0arcsin tl x 0l2sin 84tp arcsin tlp22p 2ltp 2tp l2 t2 tarcsin tl 1 displaystyle begin aligned P amp left int theta 0 arcsin frac t l int x 0 frac l 2 sin theta frac 4 t pi right left int arcsin frac t l frac pi 2 frac 2 pi right 6px amp frac 2l t pi frac 2 t pi left sqrt l 2 t 2 t arcsin frac t l right 1 end aligned nbsp Using elementary calculus editThe following solution for the short needle case while equivalent to the one above has a more visual flavor and avoids iterated integrals We can calculate the probability P as the product of two probabilities P P1 P2 where P1 is the probability that the center of the needle falls close enough to a line for the needle to possibly cross it and P2 is the probability that the needle actually crosses the line given that the center is within reach Looking at the illustration in the above section it is apparent that the needle can cross a line if the center of the needle is within l 2 units of either side of the strip Adding l 2 l 2 from both sides and dividing by the whole width t we obtain P1 l t nbsp The red and blue needles are both centered at x The red one falls within the gray area contained by an angle of 28 on each side so it crosses the vertical line the blue one does not The proportion of the circle that is gray is what we integrate as the center x goes from 0 to 1Now we assume that the center is within reach of the edge of the strip and calculate P2 To simplify the calculation we can assume that l 2 displaystyle l 2 nbsp Let x and 8 be as in the illustration in this section Placing a needle s center at x the needle will cross the vertical axis if it falls within a range of 28 radians out of p radians of possible orientations This represents the gray area to the left of x in the figure For a fixed x we can express 8 as a function of x 8 x arccos x Now we can let x range from 0 to 1 and integrate P2 0128 x pdx 2p 01cos 1 x dx 2p 1 2p displaystyle begin aligned P 2 amp int 0 1 frac 2 theta x pi dx 6px amp frac 2 pi int 0 1 cos 1 x dx 6px amp frac 2 pi cdot 1 frac 2 pi end aligned nbsp Multiplying both results we obtain P P1 P2 l t 2 p 2l tp as above There is an even more elegant and simple method of calculating the short needle case The end of the needle farthest away from any one of the two lines bordering its region must be located within a horizontal perpendicular to the bordering lines distance of l cos 8 where 8 is the angle between the needle and the horizontal from this line in order for the needle to cross it The farthest this end of the needle can move away from this line horizontally in its region is t The probability that the farthest end of the needle is located no more than a distance l cos 8 away from the line and thus that the needle crosses the line out of the total distance t it can move in its region for 0 8 p 2 is given by P 0p2lcos 8d8 0p2td8 lt 0p2cos 8d8 0p2d8 lt 1p2 2ltp displaystyle begin aligned P amp frac displaystyle int 0 frac pi 2 l cos theta d theta displaystyle int 0 frac pi 2 t d theta 6px amp frac l t cdot frac displaystyle int 0 frac pi 2 cos theta d theta displaystyle int 0 frac pi 2 d theta 6px amp frac l t cdot frac 1 frac pi 2 6px amp frac 2l t pi end aligned nbsp Without integrals editThe short needle problem can also be solved without any integration in a way that explains the formula for p from the geometric fact that a circle of diameter t will cross the distance t strips always i e with probability 1 in exactly two spots This solution was given by Joseph Emile Barbier in 1860 5 and is also referred to as Buffon s noodle Estimating p edit nbsp An experiment to find p Matches with the length of 9 squares have been thrown 17 times between rows with the width of 9 squares 11 of the matches have landed at random across the drawn lines marked by the green points 2l n th 2 9 17 9 11 3 1 p nbsp A Python 3 based simulation using Matplotlib to sketch Buffon s needle experiment with the parameters t 5 0 l 2 6 Observe the calculated value of p y axis approaching 3 14 as the number of tosses x axis approaches infinity In the first simpler case above the formula obtained for the probability P can be rearranged to p 2ltP displaystyle pi frac 2l tP nbsp Thus if we conduct an experiment to estimate P we will also have an estimate for p Suppose we drop n needles and find that h of those needles are crossing lines so P is approximated by the fraction h n This leads to the formula p 2l nth displaystyle pi approx frac 2l cdot n th nbsp In 1901 Italian mathematician Mario Lazzarini performed Buffon s needle experiment Tossing a needle 3 408 times he obtained the well known approximation 355 113 for p accurate to six decimal places 6 Lazzarini s experiment is an example of confirmation bias as it was set up to replicate the already well known approximation of 355 113 in fact there is no better rational approximation with fewer than five digits in the numerator and denominator see also Milu yielding a more accurate prediction of p than would be expected from the number of trials as follows 7 Lazzarini chose needles whose length was 5 6 of the width of the strips of wood In this case the probability that the needles will cross the lines is 5 3p Thus if one were to drop n needles and get x crossings one would estimate p as p 53 nx displaystyle pi approx frac 5 3 cdot frac n x nbsp So if Lazzarini was aiming for the result 355 113 he needed n and x such that 355113 53 nx displaystyle frac 355 113 frac 5 3 cdot frac n x nbsp or equivalently x 113n213 displaystyle x frac 113n 213 nbsp To do this one should pick n as a multiple of 213 because then 113n 213 is an integer one then drops n needles and hopes for exactly x 113n 213 successes If one drops 213 needles and happens to get 113 successes then one can triumphantly report an estimate of p accurate to six decimal places If not one can just do 213 more trials and hope for a total of 226 successes if not just repeat as necessary Lazzarini performed 3 408 213 16 trials making it seem likely that this is the strategy he used to obtain his estimate The above description of strategy might even be considered charitable to Lazzarini A statistical analysis of intermediate results he reported for fewer tosses leads to a very low probability of achieving such close agreement to the expected value all through the experiment This makes it very possible that the experiment itself was never physically performed but based on numbers concocted from imagination to match statistical expectations but too well as it turns out 7 Dutch science journalist Hans van Maanen argues however that Lazzarini s article was never meant to be taken too seriously as it would have been pretty obvious for the readers of the magazine aimed at school teachers that the apparatus that Lazzarini said to have built cannot possibly work as described 8 Laplace s extension short needle case editNow consider the case where the plane contains two sets of parallel lines orthogonal to one another creating a standard perpendicular grid We aim to find the probability that the needle intersects at least one line on the grid Let a and b be the sides of the rectangle that contains the midpoint of the needle whose length is l Since this is the short needle case l lt a l lt b Let x y mark the coordinates of the needle s midpoint and let f mark the angle formed by the needle and the x axis Similar to the examples described above we consider x y f to be independent uniform random variables over the ranges 0 x a 0 y b p 2 f p 2 To solve such a problem we first compute the probability that the needle crosses no lines and then we take its compliment We compute this first probability by determining the volume of the domain where the needle crosses no lines and then divide that by the volume of all possibilities V We can easily see that V pab Now let V be the volume of possibilities where the needle does not intersect any line Developed by J V Uspensky 9 V p2p2F f df displaystyle V int frac pi 2 frac pi 2 F varphi d varphi nbsp where F f is the region where the needle does not intersect any line given an angle f To determine F f let s first look at the case for the horizontal edges of the bounding rectangle The total side length is a and the midpoint must not be within l 2 cos f of either endpoint of the edge Thus the total allowable length for no intersection is a 2 l 2 cos f or simply just a l cos f Equivalently for the vertical edges with length b we have b l sin f The accounts for the cases where f is positive or negative Taking the positive case and then adding the absolute value signs in the final answer for generality we get F f a lcos f b lsin f ab blcos f al sin f 12l2 sin 2f displaystyle F varphi a l cos varphi b l sin varphi ab bl cos varphi al sin varphi tfrac 1 2 l 2 sin 2 varphi nbsp Now we can compute the following integral V p2p2F f df pab 2bl 2al l2 displaystyle V int frac pi 2 frac pi 2 F varphi d varphi pi ab 2bl 2al l 2 nbsp Thus the probability that the needle does not intersect any line is V V pab 2bl 2al l2pab 1 2l a b l2pab displaystyle frac V V frac pi ab 2bl 2al l 2 pi ab 1 frac 2l a b l 2 pi ab nbsp And finally if we want to calculate the probability P that the needle does intersect at least one line we need to subtract the above result from 1 to compute its compliment yielding P 2l a b l2pab displaystyle P frac 2l a b l 2 pi ab nbsp Comparing estimators of p editAs mentioned above Buffon s needle experiment can be used to estimate p This fact holds for Laplace s extension too since p shows up in that answer as well The following question then naturally arises and is discussed by E F Schuster in 1974 10 Is Buffon s experiment or Laplace s a better estimator of the value of p Since in Laplace s extension there are two sets of parallel lines we compare N drops when there is a grid Laplace and 2N drops in Buffon s original experiment Let A be the event that the needle intersects a horizontal line parallel to the x axis x 1 intersection occurs0 no intersection displaystyle x begin cases 1 amp text intersection occurs 0 amp text no intersection end cases nbsp and let B be the event that the needle intersects a vertical line parallel to the y axis y 1 intersection occurs0 no intersection displaystyle y begin cases 1 amp text intersection occurs 0 amp text no intersection end cases nbsp For simplicity in the algebraic formulation ahead let a b t 2l such that the original result in Buffon s problem is P A P B 1 p Furthermore let N 100 drops Now let us examine P AB for Laplace s result that is the probability the needle intersects both a horizontal and a vertical line We know that P AB 1 P AB P A B P A B displaystyle P AB 1 P AB P A B P A B nbsp From the above section P A B or the probability that the needle intersects no lines is P A B 1 2l a b l2pab 1 2l 4l l24l2p 1 74p displaystyle P A B 1 frac 2l a b l 2 pi ab 1 frac 2l 4l l 2 4l 2 pi 1 frac 7 4 pi nbsp We can solve for P A B and P AB using the following method P A 1p P AB P AB P B 1p P AB P A B displaystyle begin aligned P A amp frac 1 pi P AB P AB 4px P B amp frac 1 pi P AB P A B end aligned nbsp Solving for P A B and P AB and plugging that into the original definition for P AB a few lines above we get P AB 1 2 1p P AB 1 74p 14p displaystyle P AB 1 2 left frac 1 pi P AB right left 1 frac 7 4 pi right frac 1 4 pi nbsp Although not necessary to the problem it is now possible to see that P A B P AB 3 4p With the values above we are now able to determine which of these estimators is a better estimator for p For the Laplace variant let p be the estimator for the probability that there is a line intersection such that p 1100 n 1100xn yn2 displaystyle hat p frac 1 100 sum n 1 100 frac x n y n 2 nbsp We are interested in the variance of such an estimator to understand the usefulness or efficiency of it To compute the variance of p we first compute Var xn yn where Var xn yn Var xn Var yn 2Cov xn yn displaystyle operatorname Var x n y n operatorname Var x n operatorname Var y n 2 operatorname Cov x n y n nbsp Solving for each part individually Var xn Var yn i 12pi xi E xi 2 P xi 1 1 1p 2 P xi 0 0 1p 2 1p 1 1p 2 1 1p 1p 2 1p 1 1p Cov xn yn E xnyn E xn E yn displaystyle begin aligned operatorname Var x n operatorname Var y n amp sum i 1 2 p i bigl x i mathbb E x i bigr 2 6px amp P x i 1 left 1 frac 1 pi right 2 P x i 0 left 0 frac 1 pi right 2 6px amp frac 1 pi left 1 frac 1 pi right 2 left 1 frac 1 pi right left frac 1 pi right 2 frac 1 pi left 1 frac 1 pi right 12px operatorname Cov x n y n amp mathbb E x n y n mathbb E x n mathbb E y n end aligned nbsp We know from the previous section that E xnyn P AB 14p displaystyle mathbb E x n y n P AB frac 1 4 pi nbsp yielding Cov xn yn 14p 1p 1p p 44p2 lt 0 displaystyle operatorname Cov x n y n frac 1 4 pi frac 1 pi cdot frac 1 pi frac pi 4 4 pi 2 lt 0 nbsp Thus Var xn yn 1p 1 1p 1p 1 1p 2 p 44p2 5p 82p2 displaystyle operatorname Var x n y n frac 1 pi left 1 frac 1 pi right frac 1 pi left 1 frac 1 pi right 2 left frac pi 4 4 pi 2 right frac 5 pi 8 2 pi 2 nbsp Returning to the original problem of this section the variance of estimator p is Var p 12002 100 5p 82p2 0 000976 displaystyle operatorname Var hat p frac 1 200 2 100 left frac 5 pi 8 2 pi 2 right approx 0 000 976 nbsp Now let us calculate the number of drops M needed to achieve the same variance as 100 drops over perpendicular lines If M lt 200 then we can conclude that the setup with only parallel lines is more efficient than the case with perpendicular lines Conversely if M is equal to or more than 200 than Buffon s experiment is equally or less efficient respectively Let q be the estimator for Buffon s original experiment Then q 1M m 1Mxm displaystyle hat q frac 1 M sum m 1 M x m nbsp and Var q 1M2 M Var xm 1M 1p 1 1p 0 217M displaystyle operatorname Var hat q frac 1 M 2 M operatorname Var x m frac 1 M cdot frac 1 pi left 1 frac 1 pi right approx frac 0 217 M nbsp Solving for M 0 217M 0 000976 M 222 displaystyle frac 0 217 M 0 000 976 implies M approx 222 nbsp Thus it takes 222 drops with only parallel lines to have the same certainty as 100 drops in Laplace s case This isn t actually surprising because of the observation that Cov xn yn lt 0 Because xn and yn are negatively correlated random variables they act to reduce the total variance in the estimator that is an average of the two of them This method of variance reduction is known as the antithetic variates method See also editBertrand paradox probability References edit Histoire de l Acad Roy des Sciences 1733 43 45 Histoire naturelle generale et particuliere Supplement 4 1777 p 46 Seneta Eugene Parshall Karen Hunger Jongmans Francois 2001 Nineteenth Century Developments in Geometric Probability J J Sylvester M W Crofton J E Barbier and J Bertrand Archive for History of Exact Sciences 55 6 501 524 doi 10 1007 s004070100038 ISSN 0003 9519 JSTOR 41134124 S2CID 124429237 Behrends Ehrhard Buffon Hat er Stockchen geworfen oder hat er nicht PDF Retrieved 14 March 2015 The problem formulation here avoids having to work with Regular conditional probability densities Aigner Martin Ziegler Gunter M 2013 Proofs from THE BOOK 2nd ed Springer Science amp Business Media pp 189 192 Lazzarini M 1901 Un applicazione del calcolo della probabilita alla ricerca sperimentale di un valore approssimato di p An Application of Probability Theory to Experimental Research of an Approximation of p Periodico di Matematica per l Insegnamento Secondario in Italian 4 140 143 a b Lee Badger Lazzarini s Lucky Approximation of p Mathematics Magazine 67 1994 83 91 Hans van Maanen Het stokje van Lazzarini Lazzarini s stick Skepter 31 3 2018 J V Uspensky Introduction to Mathematical Probability 1937 255 E F Schuster Buffon s Needle Experiment The American Mathematical Monthly 1974 29 29 Bibliography editBadger Lee April 1994 Lazzarini s Lucky Approximation of p Mathematics Magazine 67 2 Mathematical Association of America 83 91 doi 10 2307 2690682 JSTOR 2690682 Ramaley J F October 1969 Buffon s Noodle Problem The American Mathematical Monthly 76 8 Mathematical Association of America 916 918 doi 10 2307 2317945 JSTOR 2317945 Mathai A M 1999 An Introduction to Geometrical Probability Newark Gordon amp Breach p 5 ISBN 978 90 5699 681 9 Dell Zachary Franklin Scott V September 2009 The Buffon Laplace needle problem in three dimensions Journal of Statistical Mechanics Theory and Experiment 2009 9 010 Bibcode 2009JSMTE 09 010D doi 10 1088 1742 5468 2009 09 P09010 S2CID 32470555 Schroeder L 1974 Buffon s needle problem An exciting application of many mathematical concepts Mathematics Teacher 67 2 183 6 Uspensky James Victor Introduction to mathematical probability 1937 External links edit nbsp Wikimedia Commons has media related to Buffon s needle Buffon s Needle Problem at cut the knot Math Surprises Buffon s Noodle at cut the knot MSTE Buffon s Needle Buffon s Needle Java Applet Estimating PI Visualization Flash Buffon s needle fun and fundamentals presentation at slideshare Animations for the Simulation of Buffon s Needle by Yihui Xie using the R package animation 3D Physical Animation by Jeffrey Ventrella Padilla Tony p Pi and Buffon s Needle Numberphile Brady Haran Archived from the original on 2013 05 17 Retrieved 2013 04 09 Retrieved from https en wikipedia org w index php title Buffon 27s needle problem amp oldid 1212227562, wikipedia, wiki, book, books, library,

article

, read, download, free, free download, mp3, video, mp4, 3gp, jpg, jpeg, gif, png, picture, music, song, movie, book, game, games.