Let $X$ be a continuous random variable with PDF
$$f_X(x)= \begin{cases} cx(1-x), & \text{$0<x<1$} \\ 0, & \text{elsewhere} \end{cases}$$ Find the median of $X$.
My question is how I am only given PDF, to calculate median, do I need to find CDF for it? And how?