Suppose that a stick is randomly broken in two places. What is the probability that the three pieces form a triangle?
Without looking below, make a guess.
Run the triangle experiment 50 times. Do not be concerned with all of the information displayed in the app, but just note whether the pieces form a triangle. Would you like to revise your guess?
As usual, the first step is to model the random experiment mathematically. We will take the length of the stick as our unit of length, so that we can identify the stick with the interval
The random point
The three pieces form a triangle if and only if the triangle inequalities hold: the sum of the lengths of any two pieces must be greater than the length of the third piece.
The event that the pieces form a triangle is
A sketch of the event
The probability that the pieces form a triangle is
How close did you come with your initial guess? The relative low value of
Run the triangle experiment 1000 times and compare the empirical probability of
Now let us compute the probability that the pieces form a triangle of a given type. Recall that in an acute triangle all three angles are less than 90°, while an obtuse triangle has one angle (and only one) that is greater than 90°. A right triangle, of course, has one 90° angle.
Suppose that a triangle has side lengths
Part (c), of course, is the famous Pythagorean theorem, named for the ancient Greek mathematician Pythagoras.
The right triangle equations for the stick pieces are
Let
The event that the pieces form an acute triangle is
The event that the pieces form an obtuse triangle is
The probability that the pieces form an obtuse triangle is
Simple calculus shows that
The probability that the pieces form an acute triangle is
Note that
Run the triangle experiment 1000 times and compare the empirical probabilities to the true probabilities.