Problem: Find pdf from cdf

Problem

\(X\) is a continuous random variable with cumulative distribution function

\[F(x)= \begin{cases} 0 & x<0 \\ x & 0≤x≤1 \\ 1 & x>1 \end{cases} \]

Find the probability density function of \(X\) .

Solution