# Proof of the formula for the probability in a region

• Post-its
In summary: I like Serena said:Did you know that micromass's nick name is proof-guy? (Just made that up!...:rofl:)Oh, I didn't know that! :)I like Serena said:So you still need to show that(B_{x_2,y_2}\setminus (B_{x_1,y_2}\cup B_{x_2,y_1})\cup B_{x_1,y_1}=BHmm, actually that is not sufficient, since there is no claim that B is rectangular.But to "proof" stuff like this is really delving into calculus.I would tend to proof it by saying something like: "it
Post-its
I'd like to know how to prove (or show that it is reasonable) that the probability that a random vector $(X, Y)$ assumes a value in the region $B\subseteq \mathbb{R}^2$ is

$(1)$ $Pr((X, Y) \in B)=\iint\limits_B \, f_{X,Y}(x, y) \mathrm{d}x\,\mathrm{d}y$.​

My textbook doesn't provide much of an explanation for the above formula except that it is "the volume under the surface defined by the density and lying above the region $B$." However, the univariate case is explained in the text by appealing to the fundamental theorem of calculus:

$(2)$ $Pr(X \in (a, b])=Pr(X \leq b)-Pr(X \leq a) = F_{X}(b)-F_{X}(a) = \int_a^b \! f_{X}(x) \, \mathrm{d}x$.​

Since my text practically proves the formula for $(2)$ by appealing to the fundamental theorem of calculus, I've been assuming that $(1)$ is not a definition and can be similarly proved by some theorem or set of theorems. Is this true, and if so, how can I prove $(1)$?

Also, I should mention that I'm currently taking an introductory course in probability and have no knowledge of measure theory.

Thanks,

Bijan

Hi Bijan.

You may generalize expression (2) easily for the case of a random vector (X,Y).
Just suppose B to be the rectangular region defined as

B={(x,y):$x_{1}$<x$\leq$$x_{2}$, $y_{1}$<y$\leq$$y_{2}$}.

From this how do you calculate P{(X,Y)$\in$B} ?

Welcome to PF, Post-its!

Your equation (1) is actually the very definition of fX,Y(x,y).

Or rather, usually it is defined something like:
$$f_{X,Y}(x, y)dxdy = Pr((X, Y) \in dS)$$
where dS is the infinitesimal surface element at (x, y) with size (dx,dy).

Your equation (1) is the summation (i.e. integral) of all the infinitesimal elements that belong to B.

I like Serena:

I haven't learned a formal way of dealing with infinitesimals, so I don't really understand that definition. I became very confused when I tried to think of the rationale for it.

Karax:

So if $B$ is the region $B=\{(x,y):x_{1} < x \le x_{2}, y_{1} < y \le y_{2}\}$, then the probability that $(X, Y)$ assumes a value in $B$ is

$Pr((X, Y) \in B)=Pr(x_{1} < X \le x_{2}, y_{1} < Y \le y_{2})$.​

From http://www.londoninternational.ac.u...3_advanced_stat_distribution_theory_ch_4.pdf", I've learned that I can use a "divide and conquer approach" to prove that

$Pr(x_{1} < X \le x_{2}, y_{1} < Y \le y_{2})=F_{X,Y}(x_{2},y_{2})-F_{X,Y}(x_{1},y_{2})-F_{X,Y}(x_{2},y_{1})+F_{X,Y}(x_{1},y_{1})$.​

Now that I know this, I don't know how to get from that last equation to

$(3)$ $Pr(x_{1} < X \le x_{2}, y_{1} < Y \le y_{2})=\iint\limits_B f_{X,Y}(x,y) \, \mathrm{d}x\,\mathrm{d}y$,​

which is basically $(1)$. I'm uncomfortable with the notion that $(3)$ or $(1)$ could be a definition since my textbook felt the need to prove $(2)$ by appealing to the fundamental theorem of calculus. If we should use $(3)$ as some general definition, then I'd like to know "why" in order to feel more comfortable.

Thank you! :)

Bijan

Last edited by a moderator:
Hi Post-its!

Post-its said:
I like Serena:

I haven't learned a formal way of dealing with infinitesimals, so I don't really understand that definition. I became very confused when I tried to think of the rationale for it.

Karax:

So if $B$ is the region $B=\{(x,y):x_{1} < x \le x_{2}, y_{1} < y \le y_{2}\}$, then the probability that $(X, Y)$ assumes a value in $B$ is

$Pr((X, Y) \in B)=Pr(x_{1} < X \le x_{2}, y_{1} < Y \le y_{2})$.​

From http://www.londoninternational.ac.u...3_advanced_stat_distribution_theory_ch_4.pdf", I've learned that I can use a "divide and conquer approach" to prove that

$Pr(x_{1} < X \le x_{2}, y_{1} < Y \le y_{2})=F_{X,Y}(x_{2},y_{2})-F_{X,Y}(x_{1},y_{2})-F_{X,Y}(x_{2},y_{1})+F_{X,Y}(x_{1},y_{1})$.​

Now that I know this, I don't know how to get from that last equation to

$(3)$ $Pr(x_{1} < X \le x_{2}, y_{1} < Y \le y_{2})=\iint\limits_B f_{X,Y}(x,y) \, \mathrm{d}x\,\mathrm{d}y$,​

which is basically $(1)$. I'm uncomfortable with the notion that $(3)$ or $(1)$ could be a definition since my textbook felt the need to prove $(2)$ by appealing to the fundamental theorem of calculus. If we should use $(3)$ as some general definition, then I'd like to know "why" in order to feel more comfortable.

Thank you! :)

Bijan

You are correct, (1) and (3) are not definitions. The only defiinition that's made is

$$F_{X,Y}(x_1,y_1)=\iint_{B_{x_1,y_1}}{f_{X,Y}(x,y)dxdy}$$

with $B_{x_1,y_1}=\{(x,y)~\vert~x\leq x_1,y\leq y_1\}$.

Now, we have that

$$F_{X,Y}(x_2,y_2)-F_{X,Y}(x_1,y_2)-F_{X,Y}(x_2,y_1)+F_{X,Y}(x_1,y_1)=\iint_{(B_{x_2,y_2}\setminus (B_{x_1,y_2}\cup B_{x_2,y_1}))\cup B_{x_1,y_1}}{f_{X,Y}(x,y)dxdy}$$

So you still need to show that

$$(B_{x_2,y_2}\setminus (B_{x_1,y_2}\cup B_{x_2,y_1})\cup B_{x_1,y_1}=B$$

Last edited by a moderator:
Hmm, actually that is not sufficient, since there is no claim that B is rectangular.

But to "proof" stuff like this is really delving into calculus.
I would tend to proof it by saying something like: "it is immediately obvious that ..." or "from the definition of an integral it is clear that ...".
I believe that is basically what the textbook did. ;)

I guess formally you would have to make a "partition" of B into rectangles.
Then each rectangle would have to mapped on to the proof micromass just started.
And next you would need to take the limit of this partition to infinitely small elements.

Then again, it's quite some time ago that I did stuff like that, so if that is what you want to learn, I'll leave that to micromass!
Did you know that micromass's nick name is proof-guy?

Ah, B is not supposed to be rectangular?? Hmm, that makes things annoying. You'll have to know something about sigma-algebras and lambda-systems then... Let's just say that, if your book doesn't mention a proof and doesn't mention sigma-algebra, then I guess you can take the formula on faith...

No! I am totally fine with assuming that B is rectangular. I'm just trying to decipher micro's post right now.

@MM: Did you see that the textbook used a very strict definition of B saying: "For any reasonably well-behaved region B ⊆ R2"? ;)

I like Serena said:
@MM: Did you see that the textbook used a very strict definition of B saying: "For any reasonably well-behaved region B ⊆ R2"? ;)

Hahaha I guess it's better than my first probability course that started with hard measure theory...

For the OP: maybe my post is more difficult than it should be. I'll post a new version...

You are correct, (1) and (3) are not definitions. The only defiinition that's made is

$$F_{X,Y}(x_1,y_1)=\iint_{B_{x_1,y_1}}{f_{X,Y}(x,y)dxdy}$$

with $B_{x_1,y_1}=\{(x,y)~\vert~x\leq x_1,y\leq y_1\}$.

But, if we use the characteristic functions:

$I_A(x)=\left\{\begin{array}{c} 0~\text{if}~x\notin A\\ 1~\text{if}~x\in A\\ \end{array}\right.$

Then we can write this as

$$F_{X,Y}(x_1,y_1)=\iint{I_{B_{x_1,y_1}}f_{X,Y}(x,y)dxdy}$$

Now, we have that

$$F_{X,Y}(x_2,y_2)-F_{X,Y}(x_1,y_2)-F_{X,Y}(x_2,y_1)+F_{X,Y}(x_1,y_1)=\iint{I_{(B_{x_2,y_2}}-I_{B_{x_1,y_2}}-I_{B_{x_2,y_1}}+I_{B_{x_1,y_1}})f_{X,Y}(x,y)dxdy}$$

So you still need to show that

$$I_{B_{x_2,y_2}}-I_{B_{x_1,y_2}}-I_{B_{x_2,y_1}}+I_{B_{x_1,y_1}}=I_B$$

This should be a lot easier than what I originally wrote...

Hi Bijan.
In your post #4, you got it yet !
The "divide and conquer approach" of your book is the fundamental theorem of calculus, a little hidden.

It is useful to draw the rectangular area B, with its four corners (x$_{1}$,y$_{1}$) , (x$_{1}$,y$_{2}$) , (x$_{2}$,y$_{1}$) and (x$_{2}$,y$_{2}$), and try to visualize graphically where the result of the "divide and conquer approach" comes from.
Now we'll try to identify each term in your expression. It is useful to go on and shadow the region corresponding to each term:

First term in the expression is F$_{X,Y}$(x$_{2}$,y$_{2}$): this amounts for the volume between F$_{X,Y}$ and the region {x$\leq$x$_{2}$,y$\leq$y$_{2}$}. This is all the region in XY-plane on the left and below the top-right corner (x$_{2}$,y$_{2}$). Clearly this region includes region B, but is greater. Next terms will correct the excess.

Second term is - F$_{X,Y}$(x$_{1}$,y$_{2}$): This amounts for the region on the left and below the top-left corner (x$_{1}$,y$_{2}.$). This region does not belong to B. That's why we subtract it, in order to correct the excess involved in the first term.

And the same for the third and fourth terms.

Well, after that, and with this geometric image in mind, let us go with the expression (1) of your first post:

P{(X,Y)$\in$ B} = $\int$$\int$f$_{X,Y}$(x,y)dxdy.

We have obtained the term in the left side.
Let us go with the integral. With the geometric image in mind, it is easy to write down the integral term as (schematically, my Latex ability is rather bad...):

Integral (B) =
Integral (x$_{1}$$\leq$ x $\leq$x$_{2}$,y$_{1}$$\leq$y$\leq$ y $_{2}$) =
Integral(x$_{1}$$\leq$ x $\leq$x$_{2}$,-$\infty$$\leq$y$\leq$ y $_{2}$) - Integral(x$_{1}$$\leq$ x $\leq$x$_{2}$,-$\infty$$\leq$y$\leq$ y $_{1}$) =
Integral(-$\infty$$\leq$ x $\leq$x$_{2}$,-$\infty$$\leq$y$\leq$ y $_{2}$) - Integral(-$\infty$$\leq$ x $\leq$x$_{1}$,-$\infty$$\leq$y$\leq$ y $_{2}$) - Integral(-$\infty$$\leq$ x $\leq$x$_{2}$,-$\infty$$\leq$y$\leq$ y $_{1}$) + Integral(-$\infty$$\leq$ x $\leq$x$_{1}$,-$\infty$$\leq$y$\leq$ y $_{1}$).

This four terms are exactly the four terms we obtained earlier. And we have applied just the fundamental theorem of calculus.

By the way, there is no restriction in consider B to be a rectangular region.
As you know from the theory of integration, all region in R$^{n}$ can be treated as the limit of a rectangular region. It is not necessary to dwell into measure theory subtleties...

If the density is _defined_ as a Radon-Nikodym derivative, then (1) is basically the statement of the Radon-Nikodym theorem, in which case it is true by definition. Then (2) becomes a proof that the density is equal to the derivative of the distribution function.

## 1. What is the formula for calculating probability in a region?

The formula for calculating probability in a region is P = (Number of favorable outcomes in the region)/(Total number of possible outcomes in the region).

## 2. How is the probability formula derived?

The probability formula is derived from the basic principle of probability, which states that the probability of an event occurring is equal to the number of favorable outcomes divided by the total number of possible outcomes. This formula can be extended to a region by considering the number of favorable outcomes in the region and the total number of outcomes in the region.

## 3. Can the probability formula be used for any type of region?

Yes, the probability formula can be used for any type of region, as long as the number of favorable outcomes and the total number of outcomes in the region can be determined.

## 4. Are there any limitations to the probability formula for a region?

One limitation of the probability formula for a region is that it assumes all outcomes within the region are equally likely. In real-life scenarios, this may not always be the case and the formula may not accurately reflect the actual probability of an event occurring in a region.

## 5. What is the importance of understanding the probability formula for a region?

Understanding the probability formula for a region is important for making informed decisions in various fields such as statistics, economics, and finance. It allows us to calculate the likelihood of an event occurring in a given region, which can help in predicting outcomes and making decisions based on data and evidence.

• Set Theory, Logic, Probability, Statistics
Replies
2
Views
215
• Set Theory, Logic, Probability, Statistics
Replies
5
Views
493
• Set Theory, Logic, Probability, Statistics
Replies
2
Views
1K
• Set Theory, Logic, Probability, Statistics
Replies
1
Views
2K
• Set Theory, Logic, Probability, Statistics
Replies
2
Views
1K
• Calculus
Replies
5
Views
653
• Introductory Physics Homework Help
Replies
6
Views
346
• Calculus
Replies
3
Views
2K
• Set Theory, Logic, Probability, Statistics
Replies
5
Views
3K
• Calculus and Beyond Homework Help
Replies
11
Views
2K