Home Puzzle Probability Random Points On Square Sides Longer Than Side Length – Mind Your Decisions

Probability Random Points On Square Sides Longer Than Side Length – Mind Your Decisions

0
Probability Random Points On Square Sides Longer Than Side Length – Mind Your Decisions

[ad_1]

Two points are picked at random uniformly from the border of a square with side length l.

What is the probability the distance d between the points is larger than l?

As usual, watch the video for a solution.

Probability Random Points On Square Sides Longer Than Side Length

Or keep reading.
.
.

“All will be well if you use your mind for your decisions, and mind only your decisions.” Since 2007, I have devoted my life to sharing the joy of game theory and mathematics. MindYourDecisions now has over 1,000 free articles with no ads thanks to community support! Help out and get early access to posts with a pledge on Patreon.

.
.

.
.
.
.
M
I
N
D
.
Y
O
U
R
.
D
E
C
I
S
I
O
N
S
.
P
U
Z
Z
L
E
.
.
.
.
Answer To Probability Random Points On Square Sides Longer Than Side Length

(Pretty much all posts are transcribed quickly after I make the videos for them–please let me know if there are any typos/errors and I will correct them, thanks).

Without loss of generality, suppose the first point is on the bottom side of the square (if not we can rotate the square to force it). There are 4 equally likely cases for the second point.

A) The second point is on the same side. The two points cannot be greater than l in distance, so the probability is 0.

B) The second point is on the opposite side. The two points must at least be l apart in distance, so the probability is 1.

C) The second point is on the adjacent right side.

D) The second point is on the adjacent left side.

By symmetry, the last two cases have the same probability and we need to figure it out.

Adjacent sides

Let the first point be (x, 0) and the second (0, y). Since x and y are uniformly between 0 and l, we know the midpoint M(x/2, y/2) will be uniformly distributed between [0, l/2] × [0, l/2]. This is a square with side length l/2.

Suppose the two points have a distance of exactly l. What is the locus of the midpoints M? This will exactly be a quarter circle.

To see why, the distance line segment can be broken down into two congruent right triangles with sides y/2 and x/2, and the midpoint divides the distance line segment into two lengths of l/2. Since we have a right triangle we have:

(x/2)2 + (y/2)2 = (l/2)2

For non-negative x and y this is precisely the quarter circle.

If the midpoint is inside this quarter circle and the two axes, the distance between the two points will be less than l. If the midpoint is outside of this quarter circle boundary, then the distance will be larger than l.

The small square has area (l/2)2, and the quarter circle has area π/4(l/2)2.

Pr(d < l)
= (quarter circle area)/(square area)
= (π/4(l/2)2)/(l/2)2
= π/4

Pr(d > l)
= 1 – Pr(d < l)
= 1 – π/4

Final calculation

There are 4 equally likely cases.

A) The second point is on the same side. Probability = 0.

B) The second point is on the opposite side. Probability = 1.

C) The second point is on the adjacent right side. Probability = 1 – π/4.

D) The second point is on the adjacent left side. Probability = 1 – π/4.

Each case has a chance of 1/4, so the total probability is 1/4 times the sum of the probabilities in each case:

(1/4)(0 + 1 + (1 – π/4) + (1 – π/4))
= 3/8 – π/8
&approx; 0.357

Source

Reddit Askmath
https://www.reddit.com/r/askmath/comments/14t49sd/trivia_question_about_probability/

MY BOOKS

If you purchase through these links, I may be compensated for purchases made on Amazon. As an Amazon Associate I earn from qualifying purchases. This does not affect the price you pay.

Book ratings are from January 2023.

(US and worldwide links)
https://mindyourdecisions.com/blog/my-books

Mind Your Decisions is a compilation of 5 books:

(1) The Joy of Game Theory: An Introduction to Strategic Thinking
(2) 40 Paradoxes in Logic, Probability, and Game Theory
(3) The Irrationality Illusion: How To Make Smart Decisions And Overcome Bias
(4) The Best Mental Math Tricks
(5) Multiply Numbers By Drawing Lines

The Joy of Game Theory shows how you can use math to out-think your competition. (rated 4.3/5 stars on 290 reviews)

40 Paradoxes in Logic, Probability, and Game Theory contains thought-provoking and counter-intuitive results. (rated 4.2/5 stars on 54 reviews)

The Irrationality Illusion: How To Make Smart Decisions And Overcome Bias is a handbook that explains the many ways we are biased about decision-making and offers techniques to make smart decisions. (rated 4.1/5 stars on 33 reviews)

The Best Mental Math Tricks teaches how you can look like a math genius by solving problems in your head (rated 4.3/5 stars on 116 reviews)

Multiply Numbers By Drawing Lines This book is a reference guide for my video that has over 1 million views on a geometric method to multiply numbers. (rated 4.4/5 stars on 37 reviews)

Mind Your Puzzles is a collection of the three “Math Puzzles” books, volumes 1, 2, and 3. The puzzles topics include the mathematical subjects including geometry, probability, logic, and game theory.

Math Puzzles Volume 1 features classic brain teasers and riddles with complete solutions for problems in counting, geometry, probability, and game theory. Volume 1 is rated 4.4/5 stars on 112 reviews.

Math Puzzles Volume 2 is a sequel book with more great problems. (rated 4.2/5 stars on 33 reviews)

Math Puzzles Volume 3 is the third in the series. (rated 4.2/5 stars on 29 reviews)

KINDLE UNLIMITED

Teachers and students around the world often email me about the books. Since education can have such a huge impact, I try to make the ebooks available as widely as possible at as low a price as possible.

Currently you can read most of my ebooks through Amazon’s “Kindle Unlimited” program. Included in the subscription you will get access to millions of ebooks. You don’t need a Kindle device: you can install the Kindle app on any smartphone/tablet/computer/etc. I have compiled links to programs in some countries below. Please check your local Amazon website for availability and program terms.

US, list of my books (US)
UK, list of my books (UK)
Canada, book results (CA)
Germany, list of my books (DE)
France, list of my books (FR)
India, list of my books (IN)
Australia, book results (AU)
Italy, list of my books (IT)
Spain, list of my books (ES)
Japan, list of my books (JP)
Brazil, book results (BR)
Mexico, book results (MX)

MERCHANDISE

Grab a mug, tshirt, and more at the official site for merchandise: Mind Your Decisions at Teespring.

[ad_2]

Previous article itch.io Recommends: new tabletop games
Next article Ludology: Ludology 244 – Games Brought to Life
Hello there! My name is YoleeTeam, and I am thrilled to welcome you to AmazonianGames.com. As the premier destination for all things related to Amazon Games' universe, we are dedicated to providing you with the most exciting and immersive gaming experiences out there. From captivating visuals to exhilarating gameplay, our website is packed with comprehensive insights, updates, and reviews to keep you ahead of the game. Whether you're a seasoned gamer or new to the scene, I am here to guide you through this virtual frontier. If you have any questions or suggestions, feel free to reach out to me at john@yoleesolutions.com. Embark on your Amazon gaming journey today with AmazonianGames.com and let the adventure begin!