Functions and operators\exp

\expCommand

Used for the exponential function in analysis, calculus, and differential equations

\exp
Available in
base, physics
Kind
prefix
Allowed mode
math
Frequency
2.30% of corpus formulasrank 24 of 263
Commonality
high
Renderer support
PackageMathJaxKaTeXXeTeX
baseMathJax: FullKaTeX: FullXeTeX: Full
physicsMathJax: FullKaTeX: FullXeTeX: Full
About the test scope

Syntax#

\exp

Takes no arguments. In base. Reading argspecs

\expd<(,)><[,]><{,}>(a)optional math content

Argspec d<(,)><[,]><{,}> — one optional argument. In physics. Reading argspecs

Common tasks#

How to write the exponential function#

\exp(x)

How to write a long exponent with \exp#

Prefer \exp(...) when the power would be too tall as a superscript.

\exp\bigl( -\tfrac{(x-\mu)^2}{2\sigma^2} \bigr)

How to write e to a power instead#

e^{i\pi}+1=0

Examples#

physics

\exp(x)

Package variants#

PackageSignatureAllowed modeNotes
basemathUsed for the exponential function in analysis, calculus, and differential equations
physicsd<(,)><[,]><{,}>mathUsed for exponential-function notation, often as \exp x or \exp(x) in physics-style documents.

In TeXForm#

TeXForm parses this entry as prefix syntax; the package determines its argument specification.

See also#

Test cases#

base
InputCaseMathJaxKaTeXXeTeX
\expPositive · baselinePassPassPass
physics
InputCaseMathJaxKaTeXXeTeX
\expPositive · baselinePassPassPass
\exp (a)Positive · vary:d[0]PassPassPass
All 74 in Functions and operators