\documentclass{article}



\begin{document}

\[ 
\int_a^b x^n\,\mathrm{d}x = 
\left. \frac{x^{n+1}}{n+1}\right|_a^b 
\]

\end{document}
