represents the imaginary unit
.
I 
represents the imaginary unit
.
Details
- Numbers containing I are converted to the type Complex.
- I can be entered in StandardForm and InputForm as ,
ii
or \[ImaginaryI]. - ,
jj
and \[ImaginaryJ] can also be used. - In StandardForm and TraditionalForm, I is output as .
Examples
open all close allBasic Examples (3)
I formats as :
IThe typeset form can be entered as
ii
(for "imaginary i"):
I^2Generate from square roots of negative real numbers:
Sqrt[-16]Use I in exact and approximate calculations:
(3 + I) ^ 2 / (5 - I)Tan[3.5 + I]Scope (2)
Generalizations & Extensions (6)
Use
jj
to enter the engineering notation for I:
ⅉUse as a direction in infinite quantities:
DirectedInfinity[I]Exp[I %]Use as a direction in Limit:
Limit[Exp[I / x], x -> 0, Direction -> I]Use as a generator of extension fields:
Factor[x ^ 2 + 1]Factor[x ^ 2 + 1, Extension -> {I}]Factor integers over the Gaussians:
FactorInteger[Prime[100], GaussianIntegers -> True]Use as an expansion point for series:
Series[ArcTan[z], {z, I, 2}]Applications (2)
Properties & Relations (12)
I is represented as a complex number with vanishing real part:
FullForm[I]I is an exact number:
ExactNumberQ[I]Use ComplexExpand to extract real and imaginary parts:
ComplexExpand[I ^ I ^ I]Use ExpToTrig to convert exponentials containing I into trigonometric form:
ExpToTrig[Exp[I x]]Simplify expressions containing I:
{x Im[Exp[I Pi / 3] x], Im[2 + 3 I x]}Simplify[%, x > 3]I is an algebraic number:
Element[I, Algebraics]Trigonometric functions with purely imaginary arguments evaluate to simpler forms:
Cos[I x]Sech[I x]Obtain I in solutions of polynomial equations:
Solve[x ^ 2 + 1 == 0, x]Roots of quadratic polynomials can evaluate to complex numbers:
Root[# ^ 2 + 1&, 2]Use Chop to remove small imaginary parts:
N[2 + 10 ^ -12 I ]Chop[%]Use I as limits of integration:
Integrate[Abs[x], {x, -I, I}]NIntegrate[Abs[x], {x, -I, I}]Sort numbers by increasing imaginary parts:
SortBy[{3 - 2I, 5 + 3I, 2I, -4, -6 + 6I}, Im]Possible Issues (6)
Evaluated complex numbers are atomic objects and do not explicitly contain I:
FullForm[2 + I]MatchQ[2 + I, _ + I]Position[{2 + I, 1 + 2I}, I]Patterns of the form Complex[x_,y_] can be used to match the whole complex number:
MatchQ[2 + I, Complex[_, 1]]Position[{2 + I, 1 + 2I}, Complex[_, 1]]If I is inside of a held expression, it will not become an expression with head Complex:
Hold[x + I]//FullFormCompare with the evaluated form:
x + I//FullFormIn particular, an unevaluated I is a symbol rather than a number:
Head[Unevaluated[I]]NumberQ[Unevaluated[I]]Machine‐precision evaluation of I yields an approximate zero real part:
N[I]Arbitrary‐precision evaluation yields an exact zero real part:
N[I, 20]Disguised purely real quantities that contain I cannot be used in numerical comparisons:
(-2 Cos[1] Sin[1] + Sin[2]) I < 0I ^ I < 1Use FullSimplify or ComplexExpand to convert to manifestly real expressions first:
FullSimplify[(-2 Cos[1] Sin[1] + Sin[2]) I] < 0ComplexExpand[I ^ I < 1]Finite imaginary quantities are absorbed by infinite real or complex quantities:
Infinity + IIm[%]I cannot be used in intervals:
IntervalMemberQ[Interval[{-I, I}] , 0]Neat Examples (2)
Nested powers of I:
ComplexListPlot[NestList[I ^ #&, N[I], 100], PlotRange -> {{.4, .5}, {.3, .4}}, PlotStyle -> PointSize[.02]]Find the limit in closed form:
Solve[I ^ w == w, w]N[%]Generate all possible nestings of powers of I:
Nest[Flatten[ReplaceList[#, {a___, b_, c_, d___} :> {a, b ^ c, d}]& /@ #, 1]&, {{I, I, I, I, I, I, I}}, 5]//Flatten//UnionPlot the points in the complex plane:
ComplexListPlot[ N[%], PlotStyle -> PointSize[.02]]Tech Notes
Related Guides
History
Introduced in 1988 (1.0) | Updated in 1996 (3.0) ▪ 1999 (4.0) ▪ 2000 (4.1) ▪ 2002 (4.2)
Text
Wolfram Research (1988), I, Wolfram Language function, https://reference.wolfram.com/language/ref/I.html (updated 2002).
CMS
Wolfram Language. 1988. "I." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2002. https://reference.wolfram.com/language/ref/I.html.
APA
Wolfram Language. (1988). I. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/I.html
BibTeX
@misc{reference.wolfram_2026_i, author="Wolfram Research", title="{I}", year="2002", howpublished="\url{https://reference.wolfram.com/language/ref/I.html}", note=[Accessed: 12-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_i, organization={Wolfram Research}, title={I}, year={2002}, url={https://reference.wolfram.com/language/ref/I.html}, note=[Accessed: 12-June-2026]}