How can I solve this problem using a graph and geometric solutions?
Line segment AB has a measurement of 1. Line segments CD and EF has lengths of 0.25 and 0.1 respectively. If the two latter line segments were randomly plotted on the line segment AB (such that no lengths go off of the segment), what's the chance that they share a length?
Can someone elaborate how to do this? I'm hoping the solution doesn't involve any calculus.
Easy Math Editor
This discussion board is a place to discuss our Daily Challenges and the math and science related to those challenges. Explanations are more than just a solution — they should explain the steps and thinking strategies that you used to obtain the solution. Comments should further the discussion of math and science.
When posting on Brilliant:
*italics*
or_italics_
**bold**
or__bold__
paragraph 1
paragraph 2
[example link](https://brilliant.org)
> This is a quote
\(
...\)
or\[
...\]
to ensure proper formatting.2 \times 3
2^{34}
a_{i-1}
\frac{2}{3}
\sqrt{2}
\sum_{i=1}^3
\sin \theta
\boxed{123}
Comments
Let AB run from x=0 to x=1. Let x1 be the left end of CD, and let x2 be the left end of EF. Since neither strip is allowed to extend outside of AB, the range on x1 is (0≤x1≤0.75 ) and the range on x2 is (0≤x2≤0.9 ). This gives us a "parameter space" which is a rectangle. Divide the parameter space into a bunch of little infinitesimal squares of area dx1dx2, and conditionally integrate the area in parameter space.
Since CD is longer than EF, if they are to overlap, either the left end of CD can be within EF, or the right end of CD can be within EF. Both conditions cannot be true simultaneously. It is also possible for EF to lie entirely within CD. Divide the accumulated area by the total area of the parameter space to get the probability.
This can be summarized mathematically as follows:
P=0.7510.91∫00.9∫00.75M(x1,x2)dx1dx2M(x1,x2)=1if(x1>x2)AND(x1<x2+0.1)M(x1,x2)=1if(x1+0.25>x2)AND(x1+0.25<x2+0.1)M(x1,x2)=1if(x1<x2)AND(x1+0.25>x2+0.1)M(x1,x2)=0otherwise
Computing this integral results in a probability of ≈0.374. I have attached the code I used to do the computation.
Log in to reply
Based on this image by someone, the probability is ≈0.37. Is there something wrong with the computation? How can I solve the problem using geometric solutions?
Log in to reply
Good catch. There is a third condition that I initially forgot to consider. There is overlap if any of the three conditions are true:
1) The left end of CD is within EF
2) The right end of CD is within EF
3) EF is contained entirely within CD (neither end of CD is within EF
When I include the third condition, I get 0.374 as the probability. If you don't like calculus and/or programming, perhaps the other guy's geometry solution will inspire you.
Log in to reply
Log in to reply