Let $X$ and $Z$ be independent random variables with X uniformly distributed on $(−1, 1)$ and $Z$ uniformly distributed on $(0, 0.1)$. Let $Y = X^2 + Z$. Then $X$ and $Y$ are dependent.
Find the joint pdf of $X$ and $Y$.
The correct solution is $5$ for $-1<x<1$ and $x^2<y<x^2+.1$ and $0$ otherwise.
I do notice that this is the same as the joint distribution of $X$ and $Z$ since $X$ and $Z$ are independent, however I do not understand how they got $X$ and $Y$ to equal that.
I initially started trying to find the pdf of $Y$ which is the pdf of $X^2 + Z$ by finding the cdf of $(X^2 + Z \le a)$ and then taking the derivative to arrive at the the pdf. However, this method seems to involve finding the cdf for three sample spaces $(0<a<.1,\ \ .1<a<1, \ \ 1<a<1.1 )$ within a rectangle $(0,0), (0, .1), (1, .1), (1, 0)$ and leaves me with a pdf involving the variable $a$ for each sample space, which would 1. not fit the correct solution and 2. still leave me unable to derive the joint distribution from the marginal distribution, since they are dependent. What is the method used here?