Home
Table of Contents
Index
Consider the following problem: determine the average length of a random chord in a square that has side length l. Where would you begin? What do you think is the focus of the problem? One thing that might cross your mind is "How do you define a 'random chord'?" That is a very good question. As is turns out, there are many different ways of defining a random chord, and some of these different way lead to different solutions. Now let us consider some of the ways of defining random chords. First, you could pick two points at random from the perimeter of the square and connect the two points to form the chord. Second, you could pick a point at random from the perimeter of the square and an angle at random and draw the chord from the point at the particular angle with respect to the x-axis. You could also do the same thing except now the point is selected at random from anywhere in the square. These are just a few of the ways of defining a random chord. OK, enough talk, let's actually do some analysis.
|
|
| Case #1: A square of side length l is considered to be lying in a field of random lines. These lines have an equal probability of having any direction and the density of lines is equal in every direction. |
|
|
|
|
Recall from Problem 11 that the mean length of chords made by random lines intersecting a convex set is given by
Thus, the average length of the chords made by a square of side length l lying in a field of random lines is thus
|
|
| Case #2: Two points, say A and B, can move freely about the four sides of a square of side l, and connecting them with a line segment forms the chord AB. The location of one point is entirely independent from the location of the other point. |
|
|
|
|
In order to analyze this general case, however, we must analyze each of its subcases. The first one being
|
Subcase #1: The two points A and B are on opposite sides from one another under the condition that there is an equal probability of a point being at any location on its repective side.
|
We shall denote the position of points A and B by the distance above either the x-axis or y-axis, depending on which pair of opposing sides of the square the two points are located.
Thus, to find the average length of AB, we need to integrate this length formula over all possible lengths using the probability element from above. Thus, we have
which is a very difficult integral to solve. So to help us, I suggest we consider this transformation:
A picture of the square having gone through this transformation is located above. Once we account for this transformation, our integral now takes the form

Now we can move on to the second subcase.
|
|
| Subcase #2: The two points A and B are located on adjacent sides of the square with the condition that each point has equal probability of being at any location on its respective side. |
|
|
|
|
This is very similar to Subcase #1, except we denote the position of A and B by their respective distances x and y from the vertex that lies between them. Again using the Pathagorean Theorem, we find that the length of the chord from A to B is . Using the same probability element, the average length of the chord AB is given by the integral
Thus, referring to the diagram at the very beginning of our discussion of Subcase #2, we have

|
|
| Subcase #3: The two points A and B are located on the same side of the square with the condition that each point has equal probability of being at any location on the side. |
|
|
|
|
| Problem 14:
Show that the average length described in Subcase #3 is 1/3 times the length of the side of the square.
Hint: Evaluate the lenght of AB by using a 1x1 square, denoted as D, as the sample space and picking a point (A,B) at random. The average length of AB is calculated by this equation:
|
Now that we have determined all the subcases, we can determine the overall average length for Case #2 by taking the weighted average. Since only one side of the square out of four is defined as opposite of a particular side, then the probability that two points end up on opposite sides is 1/4; since two sides of four are defined to be adjacent to a particular side, then the probability that two points end up on adjacent sides is 1/2; and similarly, the probability that two points end up on the same side is 1/4. Thus, the weighted average of the lengths we found in our subcases yields the overall average length for Case #2. Thus, we have
|
|
Case #3: The point A is placed on a square of side length l such that there is an equal probability that it is located any position on any side of the square, and a straight line passes through A at an angle , under a uniform probability (that is the probability that the angle of this line lies in the interval ), and the line intersects the square at the point B. |
|
|
|
|
In this case, there are two classes of chords that occur, those where A and B are located on opposite sides from one another and those where A and B are located on side adjacent to one another. Without loss of generality, we can assume that the point A is restricted to one side of the square and the angle is restricted to the interval . That is to say that the average length of the chords considered under these conditions is the same as the average length of the chords considered under all conditions, much the same way that (1/2)=(6/12). The probability element the lies in is and the probability element that x lies in the interval is . Thus, the probability element that lies in and that x lies in the interval simultaneously is . By trigonometry, the angle Considering the diagram above, when point B is located on the adjacent to the side on which A lies (remember we are only considering in ), then the length of the chord is and . When point B is located on the side opposite the side on which A lies, then the length of the chord is and . Stating this more formally, we have
|
 |
|
|
|
|
Thus, our integral is given by
However, to make the evaulation of this integral easier, we will change the order of integration. In doing so, our integral changes to
|
|
Case #4: The point P is placed anywhere inside a square of side length l such that there is an equal probability that it is located any position in any the square, and a straight line passes through P at an angle , under a uniform probability (that is the probability that the angle of this line lies in the interval ), and the line intersects the square at the points A and B. |
|
|
|
|
The region of integration is a volume (why?), and so this volume of integration is divided into two subvolumes, given by:
Thus, our integral becomes
Below the diagram is a graph of the surface performed by Maple. The -axis of this graph is upside down so that the surface is easier to view.
|
Case
|
Conditions
|
Average Length of Chord
|
| I |
Random field of lines |
(0.7854)l |
|
II
|
Two random points on any side of square |
(0.7351)l |
|
II(i)
|
Random points on opposite sides of square |
(1.0766)l |
|
II(ii)
|
Random points on adjacent sides of square |
(0.7652)l |
|
II(iii)
|
Random points on same side of square |
(0.333)l |
|
III
|
Single point on any side of square with a line of random direction passing through it |
(0.7098)l |
|
IV
|
Single point located anywhere within or on square with a line of random direction passing through it |
(0.9464)l |
|
|