I have a problem that states:
Let $F : \mathbb R \to R$ be defined by
$$F(x) =\begin{cases}e^{\frac{-1}{x}} &\text{if } x > 0\\ 0&\text{if } x \leq 0\end{cases}$$
Is $F$ a cumulative distribution function? If yes, what is the associated probability density function?
Obviously just by how the function is denoted with $F(x)$ my answer would be yes, and then I would just take the derivative of the function to get the pdf. I know for the cumulative $P(X \leq x)$. Is there a way to show this function is cdf with the information given mathematically? I'm thinking that this problem can't be that easy just by looking at the size of the letter $f$.
The derivative of $F$ for $x>0\;$ is $$f(x)=F'(x)=\frac{e^{-\frac{1}{x}}}{x^2}$$ It is positive for $x>0,\;$ and you have $\lim_{x\rightarrow0+}f(x)=0,\quad \lim_{x\rightarrow\infty}F(x)=1$. Therefore $F$ and $f$ are the CDF and PDF of a continous distribution.