I am having trouble understanding how to calculate the Maximum Likelihood Estimator when x depends on $\theta$.
For example, to find the MLE of $$f(x) =\frac{2x}{\theta^2} \mbox{ where } 0\le x \leq \theta $$ we cannot use the traditional methods of finding Maximum Likelihood Estimators. Can someone please explain to me the steps I should take to find the MLE of this function?