\documentclass[a4paper,12pt]{article}
\newcommand\ds{\displaystyle}

\begin{document}

\parindent=0pt

QUESTION

If $f_X(x)$ is the probability density function of a continuous
random variable which can take any positive value of $x$, write
down an expression for the mean of the distribution.

\bigskip

ANSWER

$\ds\mu_X=\int_0^\infty xf_X(x)\,dx$




\end{document}
