I just got really unsure, can someone confirm/rectify? I have the CDF defined as $F(x)= \begin{cases}0, &\text{if}~x < 0,\\ 4x^2 &\text{if}~ 0 \leq x < \frac{1}{4} \\ 1-\frac{4}{3}(1-x)^2 & \text{if}~ \frac{1}{4} \leq x < 1, \\ 1, &\text{if}~ x \geq 1. \end{cases} $
I want to find the PDF, is it simply $f(x)=8x \mathbb{1}_{0\leq x< \frac{1}{4}} + \frac{8}{3}(1-x) \mathbb{1}_{\frac{1}{4} \leq x < 1}$ ?
Thanks