1. Not finding help here? Sign up for a free 30min tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Probability that a Rectangle lies within a circle

  1. Jun 6, 2012 #1
    This is not really a homework problem, I'm just doing it as an exercise puzzle. I think I'm on the right track, but at this point I feel a little exhausted and would love a hint.

    1. The problem statement, all variables and given/known data

    Let C be a unit circle: x^2+y^2=1 . Let "p" be a point on the circumference and "q" be a point anywhere inside C. Finally, let the line p-q be the diagonal of a rectangle R, the sides of which are parallel to the x and y axes. What's the probability that ALL points within R lie within C?

    Presumed steps: 1,2,3, ?, .... n) integrate some density function, get answer.
    Given answer: 4/(pi^2)

    3. The attempt at a solution

    (t:="theta")

    I'm pretty certain that 1) and 2) are right:

    1) Find the Cartesian coordinate representation of the 4 vertices of R:

    p= (cos(t), sin(t)); q= (a, b); p'= (cos(t), b); q'= (a, sin(t))


    2) We know that p and q are within the disk C, so we need the conditions under which p' and q' lie in C:

    for p' : cos^2(t) + b^2 < 1 i.e |b|<|sin(t)|
    for q' : a^2 + sin^2(t) < 1 i.e. |a|<|cos(t)|


    3) Next is my attempt to find the following probabilities:
    Letting 0≤ t ≤ pi/2 -- trying to stay in the first quadrant;

    P(|b|<|sin(t)|) = (∫[0..cos(t)] of √(1-x^2) dx) / (pi/4)
    = (1/2*(cos(t)(sin(t)) + pi/2 - t)/ (pi/4)

    P(|a|<|cos(t)|) = (∫[0..sin(t)] of √(1-y^2) dy) / (pi/4)
    = (1/2*(cos(t)(sin(t)) + t) /(pi/4)


    4) One has to find the probability of the intersection of the two events in (3).

    My initial though was to multiply the two probability function in (3) and then integrate from 0 to pi/2; Result: wrong answer.

    In my second attempt, I tried first differentiating the two probability functions, then multiplying them together, then integrating from 0 to pi/2.
    (Don't ask why - I guess I thought differentiating them would make them look like density functions ... or something). Result: Wrong answer.

    ==================================================================
    My solution fell off the rails 4 - or perhaps at 3 in some ridiculously elementary way(s). This a somewhat basic problem that should conclude in the integration of a prob.-dens. function.

    I'll be eternally grateful for any assistance on this!
    1. The problem statement, all variables and given/known data



    2. Relevant equations



    3. The attempt at a solution
     
    Last edited: Jun 6, 2012
  2. jcsd
  3. Jun 6, 2012 #2

    Ray Vickson

    User Avatar
    Science Advisor
    Homework Helper

    Assume the "outer" corner is at angle t, counterclockwise from the x-axis, and assume that t is uniformly distributed on (0,2π). Assume also that the point q is uniformly distributed within the circle. If F={rectangle fits in circle} we have
    [tex] P\{F\} = \frac{1}{2 \pi} \int_{0}^{2 \pi} P\{ F|t\}\, dt.[/tex]
    It is clear that we can just integrate from 0 to π/2, then multiply by 4.

    For 0 < t < π/2, how do we find the largest possible rectangle? Just draw a horizontal and vertical line through [itex]p = (\cos(t),\sin(t))[/itex] and see where these lines cut the circle again. That will give the largest rectangle Rt. If q lies inside Rt. the constructed rectangle with opposite corners p and q will lie completely inside the circle. The sides of Rt are of lengths 2*cos(t) and 2*sin(t), and so its area is easy to compute in terms of t. We have
    [tex] P\{F|t\} = \frac{\text{Area of }R_t}{\text{Area of circle}}.[/tex]

    RGV
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook




Similar Discussions: Probability that a Rectangle lies within a circle
  1. Poles within a circle (Replies: 1)

Loading...