\documentclass[12pt]{article}
\thispagestyle{empty}
\usepackage{hyperref}
\usepackage{amsmath}
\begin{document}
\huge{
$W_{\rm to\ system} = -G m_1 m_2\int_{\infty}^r \frac{1}{x^2} dx$
}
\end{document}
