I have the following distribution, defined for $0 < x < \theta$, its value is $0$ otherwise.
$$f_\theta(x)= \frac{2x}{\theta^2} $$
Find the MLE of $\theta$
I tried:
$$\prod_{i=1}^n \frac{2}{\theta^2}x_i =\left(\frac{2}{\theta^2}\right)^n \prod_{i=1}^n x_i $$
Taking the natural logarithm gives us:
$$ n \ln{\frac{2}{\theta^2}} + \sum\ln({x_i})=2n \ln\left({\frac{\sqrt2}{\theta}}\right) + \sum\ln({x_i})$$
Taking the derivative with respect to $\theta$:
$$ \frac{2n\theta}{\sqrt{2}}=0$$
After this question I get other questions about this MLE (unbiasedness, consistency, sufficiency etc), so I have the feeling that this estimator has to be a 'concrete' value...
What's going on? :-)