I need help understanding some stuff about conditional density. Here is an example from my book.
A bird lands in a grassy region described as follows: $x ≥ 0$, and $y ≥ 0$, and $x + y ≤ 10$. Let $X$ and $Y$ be the coordinates of the bird’s landing. Assume that $X$ and $Y$ have the joint density: $f(x, y) = 1/50$ for $0 ≤ x$ and $0 ≤ y$ and $x + y ≤ 10$,
Given that the bird's landing $y$-coordinate is $2$, what is the probability that the $x$-coordinate is between $0$ and $5$?
$f(y) = \int_0^{10-y}\cfrac{1}{50}dx = \cfrac{10-y}{50}$ for $0\leq y \leq 10$
so $f(x|y) = \cfrac{f(x,y)}{f(y)} = \cfrac{1}{10-y}$ for $0 ≤ x$ and $0 ≤ y$ and $x + y ≤ 10$
The probability is $P(0 \leq X \leq 5| Y=2) = \int_0^5f(x|2) = \int_0^5\cfrac{1}{8}dx = 5/8$
I know the answer above is correct. I know how to calculate conditional probability. But my question is how come the given part $Y=2$ does NOT have a probability of $0$ since that's the probability that a continuous random variable equals an EXACT value I.E. $\int_2^2f(y)dy = 0$ making the answered undefined? Why is this not the case? What am I misunderstanding conceptually about the $Y=2$ in $P(0 \leq X \leq 5| Y=2)$ What am I misunderstanding conceptually about conditional density?
Also the conditional pdf will always have the same bounds of the joint pdf correct?
For a continuous random variable, although any specific outcome of that variable may have a probability of $0$ of being observed, that does not mean that once a realization is observed, it was an impossible event.
Continuous random variables are convenient abstractions for modeling real-world stochastic phenomena that theoretically occur on a continuous scale, but are rarely measured with infinite precision. For instance, we might model temperature or position or time as a continuous random variable, but we rarely measure (hence observe) these quantities as if they are truly continuous because those measurements are limited in the precision of the measuring instrument.
Once you are told that the bird landed somewhere on a line at exactly $Y = 2$, the outcome of that event was determined. You cannot assign a probability of $0$ because it has occurred. You already wrote $$f(x \mid y) = \frac{1}{10-y}, \quad 0 \le x \le 10-y, \quad 0 \le y < 10.$$ That means the conditional density of $x$ is uniform on $[0, 10-y]$.
Another way to think about the question is to look at the geometry. Once you are told that the bird lands on a line at $Y = 2$ within the triangle, you know that the length of this line is $10 - 2 = 8$. The probability that the bird's horizontal position on this line is between $0$ and $5$ is simply $5/8$.