I have been confused about this question for a while now. If anyone could help, it would be really very helpful. The cumulative distribution function of the random variable $X$ is: $$ F(x)= \begin{cases} 0& \text{for }x<-1,\\ (x+1)/2& \text{for } -1\leq x<1,\\ 1& \text{for }x\geq1. \end{cases}$$
Find the probability density function of $X$. I am not sure but my guess is the derivative of cumulative distribution function gives you the probability density function???