I am having problems while defining the PDF expression of a mixture distribution when some of its values are discrete. For example, imagine that a given random variable $\mathbb{X}$ takes values as follows:
\begin{equation} \mathbb{X} = \begin{cases} exp(1/\lambda),\quad \text{with probability}\,\, p\\ 0, \quad \text{with probability}\,\, (1-p) \end{cases} \end{equation}
So, my guess for the expression of the PDF of $\mathbb{X}$ is:
\begin{equation} f(x) = (1-p)\cdot \delta(x) + p\cdot \lambda e^{-\lambda\,x} \end{equation}
Is that correct? I am not sure about the $\delta(x)$.
Thank you very much in advance.