# Thread: Conditital probability of a random variable.

1. ## Conditital probability of a random variable.

I given that the pdf of a continuous random variable X is

$f(x) = e^{-x}$ for $x > 0$ and $0$ for $x \leq 0$

I have to find $P(X \leq 2 | X > 1)
$

Am I correct in thinking that

$P((X \leq 2) \cap (X > 1)) = P(1 < X \leq 2)$ ?

2. Originally Posted by Sheld
I given that the pdf of a continuous random variable X is

$f(x) = e^{-x}$ for $x > 0$ and $0$ for $x \leq 0$

I have to find $P(X \leq 2 | X > 1)
$

Am I correct in thinking that

$P((X \leq 2) \cap (X > 1)) = P(1 < X \leq 2)$ ?
Yes.

3. Thanks for answer. I have another quick question, when they say find the distribution of a random variable X, they mean the cumulative distribution function, right?

4. Originally Posted by Sheld
Thanks for answer. I have another quick question, when they say find the distribution of a random variable X, they mean the cumulative distribution function, right?
I think so.

5. Originally Posted by Sheld
Thanks for answer. I have another quick question, when they say find the distribution of a random variable X, they mean the cumulative distribution function, right?
It can mean either the cumulative or the density.
In this case I would say, it's an exponential with mean, beta=1.