integral equations in latex code example Example 1: latex integral $ \int_{a}^{b} x^2 \,dx $ Example 2: integral latex integral \[ \int_{a}^{b} x^2 \,dx \]