Random Angle II

Hard
Uniform Distribution Triangle Integration

Problem

A right triangle is being formed with legs labeled and . The random lengths of legs
and are both IID Uniform(0,1) random variables.

Let be the angle (in radians) opposite to side . Find the probability that:


Original Problem Link: https://www.quantguide.io/questions/random-angle-ii

Solution

Now we must find .

Note that,

where and both are IID Uniform(0,1) random variables.

For convenience, let's fix for now. Then, this problem becomes much simpler. It reduces to:

Given , where is Uniform(0,1) , is a given constant,
find .

Let's try and solve this sub-problem:

Now, since is a Uniform(0,1) random variable, clearly:

(How? 🤔)

  • If is between 0 and 1 , well and good.
  • If , since A cannot be greater than 1, .
  • Still confused? Try intuitively finding , , and . You will see the essence of the above expression.
  • Still confused? Read up on PDF (Probability Density Function) and CDF (Cumulative Density Function)
    of the continuous Uniform distribution .

Therefore, for the smaller sub-problem above:

for all .

Essentially, this is equivalent to writing:

(Why? 🤔)
Because represents the probability of being greater than ,
given some B / conditioned on some B .

This is exactly what we calculated above! By fixing , we found
in terms of some , for a given .

But of course, as the question states, is also a Uniform(0,1) random variable.

We shall now use the fundamental law of total probability here.


Step 2: Using the Law of Total Probability

Note that we can say:

for all .

Now, we must compute .

What exactly does this represent? 🤔

It basically asks:

What is the probability of choosing a particular from ?

Very small, right?

How do we quantify this? Using calculus!

We can say that the probability of choosing a particular from is essentially:

where is a very small term.

Notice that now our summation actually reduces to a simple integration , due to our usage of
"elemental B" or "" to model .

Ideally, we should vary from to , but note that must be ≤ ,
otherwise .

Therefore, we rewrite the above expression as a definite integral:


Step 3: Solving the Integral

Expanding the integral:

We solve separately:

Evaluating from to :

Substituting :

Thus,


Conclusion

Using a combination of probability concepts, the law of total probability, and calculus ,
we found that the probability of exceeding is .

This problem highlights how fundamental probability techniques can be used to analyze geometric randomness .