Can It Make A Triangle?

Two points are chosen randomly and uniformly along a stick of length 1. 1. The stick is cut at those points to form 3 3 pieces. What is the probability that these pieces can form a triangle?


The answer is 0.25.

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.

6 solutions

Urvaksh Tavadia
Jan 13, 2015

You can also solve it graphically quite easily!

Let the break points be x x and y , y, and by symmetry assume that y x . y\ge x. Our sample space looks like:

The lengths of the segments are x , y x , 1 y . x,\ y-x, \ 1-y. The Triangle Inequality should hold for all 3 ordering of lengths:

x + ( y x ) > 1 y y > 1 2 x+(y-x) > 1-y \qquad \Rightarrow y>\frac{1}{2}
x + ( 1 y ) > y x y < x + 1 2 x+(1-y) > y-x \qquad \Rightarrow y < x + \frac{1}{2}
( y x ) + ( 1 y ) > x x < 1 2 (y-x)+(1-y)>x \qquad \Rightarrow x < \frac{1}{2}

Plotting this "good" region on our outcomes gives:

By Geometric Probability , the probability is thus area of good region area of all outcomes region = 1 / 8 1 / 2 = 1 4 = 0.25. \frac{\text{area of good region}}{\text{area of all outcomes region}} = \frac{1/8}{1/2} = \frac{1}{4}=0.25.

Wow, I should actually remember this kind of a solution! Very nice!

Paul Paul - 4 years, 3 months ago

Imagine the rod on a number line so that one end is at x = 0 x = 0 and the other at x = 1 x = 1 . Now cutting the rod into 3 3 pieces involves making 2 2 cuts, call them x 1 x_{1} and x 2 x_{2} . By the triangle inequality, the 3 3 pieces resulting from the 2 2 cuts can form a triangle only if none of the pieces exceeds a length of 1 2 \frac{1}{2} .

Now suppose the first cut x 1 x_{1} lies on the interval [ 0 , 1 2 ] [0, \frac{1}{2}] , (which will occur with probability 1 2 \frac{1}{2} ). Then to ensure that no piece exceeds a length of 1 2 \frac{1}{2} , the second cut would need to occur somewhere on the interval [ 1 2 , ( x 1 + 1 2 ) ] [\frac{1}{2}, (x_{1} + \frac{1}{2})] , which will occur with probability ( x 1 + 1 2 ) 1 2 = x 1 (x_{1} + \frac{1}{2}) - \frac{1}{2} = x_{1} . Now since the domain of x 1 x_{1} is uniform over the interval [ 0 , 1 2 ] [0, \frac{1}{2}] , the probability that the pieces can form a triangle will be

0 1 2 x 1 d x 1 = 1 8 \displaystyle\int_{0}^{\frac{1}{2}} x_{1} dx_{1} = \dfrac{1}{8} .

By symmetry, the same result will be found if x 1 x_{1} lies in the interval [ 1 2 , 1 ] [\frac{1}{2}, 1] , giving a final probability of 2 1 8 = 1 4 = 0.25 2*\dfrac{1}{8} = \dfrac{1}{4} = \boxed{0.25} .

any way we can use cosine rule or sine rule or any other properties of traingle to determine the answer

aniket lal - 6 years, 5 months ago

Log in to reply

I'm not sure if those rules would be much use here. Have a look at the link that Jake has provided for some alternative solution methods.

Brian Charlesworth - 6 years, 5 months ago

no other way to do it? @Brian Charlesworth

Kartik Sharma - 6 years, 5 months ago

Log in to reply

Jake's link does provide an excellent solution; I had to read it a few times to convince myself that it works, and now I appreciate its elegance.

In the link there is a further link to "these homework questions", in which the solution to question #5 outlines a geometric approach; no calculus required. Sometimes I find that calculus makes me less creative; I should try first to find solution methods without it, and only resort to it when absolutely necessary. :)

Brian Charlesworth - 6 years, 5 months ago

@Brian Charlesworth Sir , please help me out with your solution. When the cut x1 is made between 1/2 and 1 , how can a triangle form?

Ankit Kumar Jain - 2 years, 10 months ago

I think a simpler way than all others is to think that both the points lie on opposite side of the mid point of the line... This would imply that first point lying in the first half gjves probability 1/2 and same with other point which must be on the other side... Therefore probability of both points lying opposite sides of mid point of line is 1/2*1/2 =1/4

Luv Mehrotra - 1 year ago
Tudor Florea
Mar 26, 2018

A graphical solution: Draw a suare diagram: on X axis is the first cut, on Y axis is the second cut. Hached area is where a triange is possible White are is where a triangle is possible

Answer: 0.25

Davy Ker
Jun 27, 2016

Say we cut the stick (which will here represent [ 0 , 1 ] [0,1] ) into three pieces of length a , b , c a, b, c , and assume that a a is the largest.

a + b + c = 1 a+b+c=1 and we require a < b + c a<b+c in order to form a triangle. Since b + c = 1 a b+c=1-a we have a < 1 a a<1-a so a < 1 2 a<\frac{1}{2}

Lets assume our first cut is at some point x x in the first half of the stick ( [ 0 , 1 2 ] [0,\frac{1}{2}] ) for simplicity (w.l.o.g.), and note that the section of the stick where we can safely make the second cut is precisely [ 1 2 , x + 1 2 ] [\frac{1}2,x+\frac{1}{2}] , whose length is x x . Since x x varies from 0 0 to 1 2 \frac{1}{2} and is distributed uniformly, its expected value is 1 2 = 0.25 \frac{1}{2}=\boxed{0.25}

Do you mean its expected value is midway between 0 and 1/2 = 1/2 x 1/2 = 0.25?

Brenda Kock - 3 years, 7 months ago
Toby M
Jan 22, 2021

Let the stick be broken into pieces of length p , q , 1 p q p, q, 1-p-q . Then by the triangle inequality, we have:

p + q > 1 p q q > 1 / 2 p p + q > 1 - p - q \Rightarrow q > 1/2 - p p + 1 p q > q 1 / 2 > q p + 1 - p - q > q \Rightarrow 1/2 > q q + 1 p q > p 1 / 2 > p q + 1 - p - q > p \Rightarrow 1/2 > p

which are all the possible orderings. Combining the first and second inequalities, 1 / 2 p < q < 1 / 2 1/2 - p < q < 1/2 .

Without loss of generality, pick length p p first, as the pieces are still the same length after swapping p p and q q . We can pick any value of p p between 0 0 and 1 1 , which has probability 1 1 in the sample space. Then q q is in the region above q = 1 / 2 p q = 1/2 - p and below q = 1 / 2 q = 1/2 , which has a probability of 1 / 2 1/2 by graphing (event A A ).

Then the remaining length 1 p q 1-p-q must be positive. Adding p p to both sides, 1 / 2 < p + q < 1 / 2 + p 1/2 < p + q < 1/2 + p , so 1 / 2 > p q > 1 / 2 + p -1/2 > -p-q > -1/2 + -p as the sign flips when we multiply by a negative number, and adding 1 1 to both sides, 1 / 2 > 1 p q > 1 / 2 p 1/2 > 1-p-q > 1/2-p or 1 / 2 p < 1 p q < 1 / 2 1/2-p < 1-p-q < 1/2 .

And 1 p q 1-p-q must be above 1 / 2 p 1/2-p but below 1 / 2 1/2 , which is exactly the same probability as earlier: 1 / 2 1/2 , (event B B ).

The lengths of q q and 1 p q 1-p-q are independent as P ( A B ) = P ( A B ) P(A|B) = P(A|B') and P ( B A ) = P ( B A ) P(B|A) = P(B|A') : they are all 1 / 2 1 / 2 = 1 \frac{1/2}{1/2} = 1 as 1 1 2 = 1 2 1 - \frac{1}{2} = \frac{1}{2} . Hence we can multiply the probabilities to get 1 1 / 2 1 / 2 = 1 4 1 \cdot 1/2 \cdot 1/2 = \boxed{\frac{1}{4}} .

Mahdi Raza
May 3, 2020

Answer here: in this link

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...