Answer To A Probability Problem About Placing Random Points In A Circle.
$begingroup$
Problem Statement: Three dots are randomly placed in a circle of radius one
cm. What is the probability that when a fourth dot is placed (randomly) in the circle, it is at least one cm away any of the other three dots?
Other Things I Should Probably Mention: I came up with this problem, and you don't need to evaulate your final expression since it's kinda ugly.
My Solution: WLOG let the fourth point be placed first. WLOG we only need to consider the probability when the fourth point is placed on a specific radii since the probability is the same for all possible radii of the circle (this part is kind of tricky to word, we basically choose a radii and only place the fourth point [randomly] on it, instead of considering the entire circle). Let $p(x)$ be the probability where $x$ represents the distance from our fourth point to the center of our circle. The function will be one minus the intersection of the areas of our circle and a circle of radius one centered at the fourth point, divided by the area of our circle ($pi$), and then the whole thing cubed since there are $3$ points in total. Finding the intersection can be done using trigonometry or calculus, I used calculus and got $$I(x)=2left(frac{pi}{2}-left(frac{x}{2}sqrt{1-frac{x^2}{4}}+arcsinleft(frac{x}{2}right)right)right)$$ Thus, $$p(x) = left(1-frac{I(x)}{pi}right)^3$$
Now to find the probability, we integrate $p(x)$ from $0$ to $1$ to cover all the possible values of $x$. Thus the answer is $$ int_0^1 left( 1-left(1-left(frac{x}{pi}sqrt{1-frac{x^2}{4}}+frac{2}{pi}arcsinleft(frac{x}{2}right)right)right) right)^3,dx $$
$$ int_0^1 left(frac{x}{pi}sqrt{1-frac{x^2}{4}}+frac{2}{pi}arcsinleft(frac{x}{2}right)right)^3,dx $$
Numerically, this is approximately $approx 0.059$.
My question is if everything I did was okay since I'm not very experienced working with probability density functions. Also since there are no official solutions (since I came up with the problem), so I'm curious to see if my answer is correct or not.
Update:
Thanks to @achillehui for pointing out $x$ is not uniformly distributed by the nature of the circle, in fact its' PDF is $2x$. Thus the integral should be $$ int_0^1 left(frac{x}{pi}sqrt{1-frac{x^2}{4}}+frac{2}{pi}arcsinleft(frac{x}{2}right)right)^32x,dx $$
Which gives the correct answer of around 0.094015.
calculus probability integration density-function geometric-probability
$endgroup$
add a comment |
$begingroup$
Problem Statement: Three dots are randomly placed in a circle of radius one
cm. What is the probability that when a fourth dot is placed (randomly) in the circle, it is at least one cm away any of the other three dots?
Other Things I Should Probably Mention: I came up with this problem, and you don't need to evaulate your final expression since it's kinda ugly.
My Solution: WLOG let the fourth point be placed first. WLOG we only need to consider the probability when the fourth point is placed on a specific radii since the probability is the same for all possible radii of the circle (this part is kind of tricky to word, we basically choose a radii and only place the fourth point [randomly] on it, instead of considering the entire circle). Let $p(x)$ be the probability where $x$ represents the distance from our fourth point to the center of our circle. The function will be one minus the intersection of the areas of our circle and a circle of radius one centered at the fourth point, divided by the area of our circle ($pi$), and then the whole thing cubed since there are $3$ points in total. Finding the intersection can be done using trigonometry or calculus, I used calculus and got $$I(x)=2left(frac{pi}{2}-left(frac{x}{2}sqrt{1-frac{x^2}{4}}+arcsinleft(frac{x}{2}right)right)right)$$ Thus, $$p(x) = left(1-frac{I(x)}{pi}right)^3$$
Now to find the probability, we integrate $p(x)$ from $0$ to $1$ to cover all the possible values of $x$. Thus the answer is $$ int_0^1 left( 1-left(1-left(frac{x}{pi}sqrt{1-frac{x^2}{4}}+frac{2}{pi}arcsinleft(frac{x}{2}right)right)right) right)^3,dx $$
$$ int_0^1 left(frac{x}{pi}sqrt{1-frac{x^2}{4}}+frac{2}{pi}arcsinleft(frac{x}{2}right)right)^3,dx $$
Numerically, this is approximately $approx 0.059$.
My question is if everything I did was okay since I'm not very experienced working with probability density functions. Also since there are no official solutions (since I came up with the problem), so I'm curious to see if my answer is correct or not.
Update:
Thanks to @achillehui for pointing out $x$ is not uniformly distributed by the nature of the circle, in fact its' PDF is $2x$. Thus the integral should be $$ int_0^1 left(frac{x}{pi}sqrt{1-frac{x^2}{4}}+frac{2}{pi}arcsinleft(frac{x}{2}right)right)^32x,dx $$
Which gives the correct answer of around 0.094015.
calculus probability integration density-function geometric-probability
$endgroup$
1
$begingroup$
If the fourth point is chosen uniformly from the unit disk, then $x$ is not uniformly distributed over $[0,1]$. Instead, its PDF is $2x$. The probability should be $$int_0^1 left(frac{x}{pi}sqrt{1-frac{x^2}{4}}+frac{2}{pi}arcsinleft(frac{x}{2}right)right)^3 color{red}{2x},dx approx 0.094015$$
$endgroup$
– achille hui
Dec 15 '18 at 5:13
$begingroup$
@achillehui Thanks for the response! What you said makes sense but 0.094 seems too high for the probability. I wrote a python script to approximate the answer and after several million cycles the probability hovers around ~0.0500. So I think there might be something else as well, I'll update if I find anything.
$endgroup$
– biscuit
Dec 15 '18 at 17:05
$begingroup$
Don't approximate your answer and don't do any shortcut. Go directly to original problem by sampling 4 random points from the unit disk and count the number of times the first point is at a distance $ge 1$ from all 3 other points. I get $94115$ out a $10^6$ simulation.
$endgroup$
– achille hui
Dec 15 '18 at 17:51
$begingroup$
Yep it appears you're right! I had an error in my programming which caused it to pick skewed random points. It appears that the answer now agrees with my simulation. Thanks a lot!
$endgroup$
– biscuit
Dec 15 '18 at 19:01
add a comment |
$begingroup$
Problem Statement: Three dots are randomly placed in a circle of radius one
cm. What is the probability that when a fourth dot is placed (randomly) in the circle, it is at least one cm away any of the other three dots?
Other Things I Should Probably Mention: I came up with this problem, and you don't need to evaulate your final expression since it's kinda ugly.
My Solution: WLOG let the fourth point be placed first. WLOG we only need to consider the probability when the fourth point is placed on a specific radii since the probability is the same for all possible radii of the circle (this part is kind of tricky to word, we basically choose a radii and only place the fourth point [randomly] on it, instead of considering the entire circle). Let $p(x)$ be the probability where $x$ represents the distance from our fourth point to the center of our circle. The function will be one minus the intersection of the areas of our circle and a circle of radius one centered at the fourth point, divided by the area of our circle ($pi$), and then the whole thing cubed since there are $3$ points in total. Finding the intersection can be done using trigonometry or calculus, I used calculus and got $$I(x)=2left(frac{pi}{2}-left(frac{x}{2}sqrt{1-frac{x^2}{4}}+arcsinleft(frac{x}{2}right)right)right)$$ Thus, $$p(x) = left(1-frac{I(x)}{pi}right)^3$$
Now to find the probability, we integrate $p(x)$ from $0$ to $1$ to cover all the possible values of $x$. Thus the answer is $$ int_0^1 left( 1-left(1-left(frac{x}{pi}sqrt{1-frac{x^2}{4}}+frac{2}{pi}arcsinleft(frac{x}{2}right)right)right) right)^3,dx $$
$$ int_0^1 left(frac{x}{pi}sqrt{1-frac{x^2}{4}}+frac{2}{pi}arcsinleft(frac{x}{2}right)right)^3,dx $$
Numerically, this is approximately $approx 0.059$.
My question is if everything I did was okay since I'm not very experienced working with probability density functions. Also since there are no official solutions (since I came up with the problem), so I'm curious to see if my answer is correct or not.
Update:
Thanks to @achillehui for pointing out $x$ is not uniformly distributed by the nature of the circle, in fact its' PDF is $2x$. Thus the integral should be $$ int_0^1 left(frac{x}{pi}sqrt{1-frac{x^2}{4}}+frac{2}{pi}arcsinleft(frac{x}{2}right)right)^32x,dx $$
Which gives the correct answer of around 0.094015.
calculus probability integration density-function geometric-probability
$endgroup$
Problem Statement: Three dots are randomly placed in a circle of radius one
cm. What is the probability that when a fourth dot is placed (randomly) in the circle, it is at least one cm away any of the other three dots?
Other Things I Should Probably Mention: I came up with this problem, and you don't need to evaulate your final expression since it's kinda ugly.
My Solution: WLOG let the fourth point be placed first. WLOG we only need to consider the probability when the fourth point is placed on a specific radii since the probability is the same for all possible radii of the circle (this part is kind of tricky to word, we basically choose a radii and only place the fourth point [randomly] on it, instead of considering the entire circle). Let $p(x)$ be the probability where $x$ represents the distance from our fourth point to the center of our circle. The function will be one minus the intersection of the areas of our circle and a circle of radius one centered at the fourth point, divided by the area of our circle ($pi$), and then the whole thing cubed since there are $3$ points in total. Finding the intersection can be done using trigonometry or calculus, I used calculus and got $$I(x)=2left(frac{pi}{2}-left(frac{x}{2}sqrt{1-frac{x^2}{4}}+arcsinleft(frac{x}{2}right)right)right)$$ Thus, $$p(x) = left(1-frac{I(x)}{pi}right)^3$$
Now to find the probability, we integrate $p(x)$ from $0$ to $1$ to cover all the possible values of $x$. Thus the answer is $$ int_0^1 left( 1-left(1-left(frac{x}{pi}sqrt{1-frac{x^2}{4}}+frac{2}{pi}arcsinleft(frac{x}{2}right)right)right) right)^3,dx $$
$$ int_0^1 left(frac{x}{pi}sqrt{1-frac{x^2}{4}}+frac{2}{pi}arcsinleft(frac{x}{2}right)right)^3,dx $$
Numerically, this is approximately $approx 0.059$.
My question is if everything I did was okay since I'm not very experienced working with probability density functions. Also since there are no official solutions (since I came up with the problem), so I'm curious to see if my answer is correct or not.
Update:
Thanks to @achillehui for pointing out $x$ is not uniformly distributed by the nature of the circle, in fact its' PDF is $2x$. Thus the integral should be $$ int_0^1 left(frac{x}{pi}sqrt{1-frac{x^2}{4}}+frac{2}{pi}arcsinleft(frac{x}{2}right)right)^32x,dx $$
Which gives the correct answer of around 0.094015.
calculus probability integration density-function geometric-probability
calculus probability integration density-function geometric-probability
edited Dec 15 '18 at 19:07
biscuit
asked Dec 15 '18 at 3:52
biscuitbiscuit
62
62
1
$begingroup$
If the fourth point is chosen uniformly from the unit disk, then $x$ is not uniformly distributed over $[0,1]$. Instead, its PDF is $2x$. The probability should be $$int_0^1 left(frac{x}{pi}sqrt{1-frac{x^2}{4}}+frac{2}{pi}arcsinleft(frac{x}{2}right)right)^3 color{red}{2x},dx approx 0.094015$$
$endgroup$
– achille hui
Dec 15 '18 at 5:13
$begingroup$
@achillehui Thanks for the response! What you said makes sense but 0.094 seems too high for the probability. I wrote a python script to approximate the answer and after several million cycles the probability hovers around ~0.0500. So I think there might be something else as well, I'll update if I find anything.
$endgroup$
– biscuit
Dec 15 '18 at 17:05
$begingroup$
Don't approximate your answer and don't do any shortcut. Go directly to original problem by sampling 4 random points from the unit disk and count the number of times the first point is at a distance $ge 1$ from all 3 other points. I get $94115$ out a $10^6$ simulation.
$endgroup$
– achille hui
Dec 15 '18 at 17:51
$begingroup$
Yep it appears you're right! I had an error in my programming which caused it to pick skewed random points. It appears that the answer now agrees with my simulation. Thanks a lot!
$endgroup$
– biscuit
Dec 15 '18 at 19:01
add a comment |
1
$begingroup$
If the fourth point is chosen uniformly from the unit disk, then $x$ is not uniformly distributed over $[0,1]$. Instead, its PDF is $2x$. The probability should be $$int_0^1 left(frac{x}{pi}sqrt{1-frac{x^2}{4}}+frac{2}{pi}arcsinleft(frac{x}{2}right)right)^3 color{red}{2x},dx approx 0.094015$$
$endgroup$
– achille hui
Dec 15 '18 at 5:13
$begingroup$
@achillehui Thanks for the response! What you said makes sense but 0.094 seems too high for the probability. I wrote a python script to approximate the answer and after several million cycles the probability hovers around ~0.0500. So I think there might be something else as well, I'll update if I find anything.
$endgroup$
– biscuit
Dec 15 '18 at 17:05
$begingroup$
Don't approximate your answer and don't do any shortcut. Go directly to original problem by sampling 4 random points from the unit disk and count the number of times the first point is at a distance $ge 1$ from all 3 other points. I get $94115$ out a $10^6$ simulation.
$endgroup$
– achille hui
Dec 15 '18 at 17:51
$begingroup$
Yep it appears you're right! I had an error in my programming which caused it to pick skewed random points. It appears that the answer now agrees with my simulation. Thanks a lot!
$endgroup$
– biscuit
Dec 15 '18 at 19:01
1
1
$begingroup$
If the fourth point is chosen uniformly from the unit disk, then $x$ is not uniformly distributed over $[0,1]$. Instead, its PDF is $2x$. The probability should be $$int_0^1 left(frac{x}{pi}sqrt{1-frac{x^2}{4}}+frac{2}{pi}arcsinleft(frac{x}{2}right)right)^3 color{red}{2x},dx approx 0.094015$$
$endgroup$
– achille hui
Dec 15 '18 at 5:13
$begingroup$
If the fourth point is chosen uniformly from the unit disk, then $x$ is not uniformly distributed over $[0,1]$. Instead, its PDF is $2x$. The probability should be $$int_0^1 left(frac{x}{pi}sqrt{1-frac{x^2}{4}}+frac{2}{pi}arcsinleft(frac{x}{2}right)right)^3 color{red}{2x},dx approx 0.094015$$
$endgroup$
– achille hui
Dec 15 '18 at 5:13
$begingroup$
@achillehui Thanks for the response! What you said makes sense but 0.094 seems too high for the probability. I wrote a python script to approximate the answer and after several million cycles the probability hovers around ~0.0500. So I think there might be something else as well, I'll update if I find anything.
$endgroup$
– biscuit
Dec 15 '18 at 17:05
$begingroup$
@achillehui Thanks for the response! What you said makes sense but 0.094 seems too high for the probability. I wrote a python script to approximate the answer and after several million cycles the probability hovers around ~0.0500. So I think there might be something else as well, I'll update if I find anything.
$endgroup$
– biscuit
Dec 15 '18 at 17:05
$begingroup$
Don't approximate your answer and don't do any shortcut. Go directly to original problem by sampling 4 random points from the unit disk and count the number of times the first point is at a distance $ge 1$ from all 3 other points. I get $94115$ out a $10^6$ simulation.
$endgroup$
– achille hui
Dec 15 '18 at 17:51
$begingroup$
Don't approximate your answer and don't do any shortcut. Go directly to original problem by sampling 4 random points from the unit disk and count the number of times the first point is at a distance $ge 1$ from all 3 other points. I get $94115$ out a $10^6$ simulation.
$endgroup$
– achille hui
Dec 15 '18 at 17:51
$begingroup$
Yep it appears you're right! I had an error in my programming which caused it to pick skewed random points. It appears that the answer now agrees with my simulation. Thanks a lot!
$endgroup$
– biscuit
Dec 15 '18 at 19:01
$begingroup$
Yep it appears you're right! I had an error in my programming which caused it to pick skewed random points. It appears that the answer now agrees with my simulation. Thanks a lot!
$endgroup$
– biscuit
Dec 15 '18 at 19:01
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ifUsing("editor", function () {
return StackExchange.using("mathjaxEditing", function () {
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
});
});
}, "mathjax-editing");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "69"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3040149%2fanswer-to-a-probability-problem-about-placing-random-points-in-a-circle%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Mathematics Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
Use MathJax to format equations. MathJax reference.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3040149%2fanswer-to-a-probability-problem-about-placing-random-points-in-a-circle%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
$begingroup$
If the fourth point is chosen uniformly from the unit disk, then $x$ is not uniformly distributed over $[0,1]$. Instead, its PDF is $2x$. The probability should be $$int_0^1 left(frac{x}{pi}sqrt{1-frac{x^2}{4}}+frac{2}{pi}arcsinleft(frac{x}{2}right)right)^3 color{red}{2x},dx approx 0.094015$$
$endgroup$
– achille hui
Dec 15 '18 at 5:13
$begingroup$
@achillehui Thanks for the response! What you said makes sense but 0.094 seems too high for the probability. I wrote a python script to approximate the answer and after several million cycles the probability hovers around ~0.0500. So I think there might be something else as well, I'll update if I find anything.
$endgroup$
– biscuit
Dec 15 '18 at 17:05
$begingroup$
Don't approximate your answer and don't do any shortcut. Go directly to original problem by sampling 4 random points from the unit disk and count the number of times the first point is at a distance $ge 1$ from all 3 other points. I get $94115$ out a $10^6$ simulation.
$endgroup$
– achille hui
Dec 15 '18 at 17:51
$begingroup$
Yep it appears you're right! I had an error in my programming which caused it to pick skewed random points. It appears that the answer now agrees with my simulation. Thanks a lot!
$endgroup$
– biscuit
Dec 15 '18 at 19:01