Problem: Let $(X, Y)$ be uniformly distributed on the unit disk $\{ (x,y) : x^2 + y^2 \le 1\}$. Let $R = \sqrt{X^2 + Y^2}$. Find the CDF and PDF of $R$.
Attempted Solution: First note that $r \in R = \sqrt{X^2 + Y^2}$ represents a point on $\mathbb{R}^2$ with radius $r$ about the origin. Since only points with radius $1$ had probability greater than $0$ on $(X, Y)$ we have that
$$ F_R(r) = \begin{cases} 0 & r < 1 \\ 1 & r \ge 1 \end{cases} $$
so that
$$ f_R(r) = F_R'(r) = \begin{cases} 0 & r < 1 \\ \text{undefined} & r = 0 \\ 0 & r > 1 \end{cases} $$
since
- $F'_R$ is discontinuous at $r = 0$.
- $F_R$ is constant everywhere else (so that the derivative of a constant is $0$, and hence $F_R'$ is $0$).
Question: Is my reasoning correct here?
Your reasoning is incorrect. First of all, by the definition of CDF, $$ F_R(r)=P(R\leq r)=P(X^2+Y^2\leq r^2)\neq 0 $$ when $0<r<1$.
Second, for a probability density $f_R(r)$, one must have $$\int_{\mathbb{R}} f_R(r)\ dr=1$$ which contradicts your calculation.