# Summation of Two random variable

Suppose $X$ is random variable with PDF $f(X)=2(x-1)$, $1 \le x \le 2$; $Y$ is a random variable with a triangle pdf with minimum at $2$, mode at $2.5$, and maximum at $3$.

Is it possible to define a random variable like $Z$ which is the summation of $X$ and $Y$? ($Z=X+Y$, $X$ and $Y$ are independent)

In this situation, what is the PDF of variable $Z$?

• Is it homework? What do you mean by "medium"? Is mode ($c$ parameter for triangular distribution) equal to 2.5? – Tim Oct 2 '16 at 19:00

If $X$ and $Y$ are independent random variables the PDF of $Z=X+Y$ is given by
$f_{z}(z)=\int_{-\infty}^\infty f_{x}(z-y)\, f_{y}(y)\, dy,$