LaTeX exponent symbols

Symbol Command
$4^2 = 16$ 4^2 = 16
$a^x$ a^x
$a^{x+y}$ a^{x+y}
$e^x$ e^x
$\exp x$ \exp x
$\exp{x}$ \exp{x}
$\exp{x+y}$ \exp{x+y}
$\exp (x+y)$ \exp (x+y)
$\exp{(x+y)}$ \exp{(x+y)}

LaTeX function

LaTeX