[Tex/LaTex] Evaluation of Differentiation and Integration

math-mode

I was having some thought about what would be the syntax to make the end point evaluation of derivatives or integrals. Such as making the | with the two end points of evaluation on the top an bottom of the line. Any suggestions would be wonderful.

Best Answer

The \big| or \Big| symbols work quite well

\documentclass{article}
\usepackage{amsmath}
\begin{document}
\[ \int_a^b x^2\;\mathrm{d}x= \tfrac{1}{3} x^3 \Big|_a^b \]
\end{document}

enter image description here