represents a quantity with infinite magnitude, but undetermined complex phase.
ComplexInfinity
represents a quantity with infinite magnitude, but undetermined complex phase.
Details
- ComplexInfinity is converted to DirectedInfinity[].
- In OutputForm, DirectedInfinity[] is printed as ComplexInfinity.
Examples
open all close allScope (4)
Use ComplexInfinity in numerical functions:
Sin[ComplexInfinity]ArcSec[ComplexInfinity]Sin[Abs[ComplexInfinity]]ComplexInfinity absorbs finite real, complex, and symbolic quantities:
ComplexInfinity + 23 ComplexInfinityComplexInfinity + 3 IComplexInfinity xComplexInfinity + xDo arithmetic with ComplexInfinity:
ComplexInfinity / ComplexInfinityComplexInfinity ComplexInfinityUse ComplexInfinity as an expansion point for series:
Series[1 / (x ^ 2 + 1), {x, ComplexInfinity, 2}]Series[ArcSin[x], {x, ComplexInfinity, 1}]Applications (2)
Set up a seemingly "analytic" function that is infinite in the whole left half‐plane:
w[z_] := 1 / (z - Sqrt[z ^ 2]);{w[2], w[Pi], w[Pi + 2I]}//QuietPlotting shows details of the numerical calculation:
Plot3D[Re[w[x + I y]], {x, -2, 2}, {y, -2, 2}]//QuietAsymptotics of the LogGamma function at ComplexInfinity:
Series[LogGamma[a], {a, ComplexInfinity, 2}]Properties & Relations (6)
Use Quiet to suppress messages:
1 / 0//Quiet1 / 0ComplexInfinity can be generated by Simplify and FullSimplify:
Simplify[1 / ((E + 1) ^ 2 - (E ^ 2 + 2E + 1))]FullSimplify[1 / (Sin[Pi / 16] - Sqrt[2 - Sqrt[2 + Sqrt[2]]] / 2)]ComplexInfinity has indeterminate real and imaginary parts:
{Re[ComplexInfinity], Im[ComplexInfinity]}{Abs[ComplexInfinity], Arg[ComplexInfinity]}ComplexInfinity is not a number:
NumberQ[ComplexInfinity]Obtain ComplexInfinity from limits:
Limit[Exp[-(-2 + 2I) / x], x -> 0]ComplexInfinity behaves like a constant in differentiation:
D[ComplexInfinity, {z, 2}]Possible Issues (4)
ComplexInfinity is not a numeric quantity:
NumericQ[ComplexInfinity]ComplexInfinity is a symbol with infinite precision:
Precision[ComplexInfinity]ComplexInfinity evaluates to DirectedInfinity:
FullForm[ComplexInfinity]Use ComplexInfinity with care in boundary conditions of differential equations:
DSolve[{z'[x] == -2x z[x] ^ 2, z[ComplexInfinity] == 0}, z[x], x]Neat Examples (2)
Infinite arguments of undetermined phase in all elementary functions:
HoldForm[#1[ComplexInfinity]] == #1[ComplexInfinity]& /@ {Exp, Log, Sinc, Sin, Cos, Tan, Cot, Sec, Csc,
ArcSin, ArcCos, ArcTan, ArcCot, ArcSec, ArcCsc,
Sinh, Cosh, Tanh, Coth, Sech, Csch,
ArcSinh, ArcCosh, ArcTanh, ArcCoth, ArcSech, ArcCsch}//ColumnBehavior of the exponential function at ComplexInfinity shown on the Riemann sphere:
ParametricPlot3D[{0, 0, 1 / 2} + {Cos[ϕ] Sin[θ], Sin[ϕ] Sin[θ], Cos[θ]} * (1 / 2 + 0.5 ArcTan[Re[Exp[Cot[θ / 2]( Cos[ϕ] I Sin[ϕ]) / 0.1]]] / Pi), {ϕ, 0, 2Pi}, {θ, 0, Pi}, MaxRecursion -> 3]//QuietSee Also
Tech Notes
Related Guides
Related Links
History
Introduced in 1988 (1.0)
Text
Wolfram Research (1988), ComplexInfinity, Wolfram Language function, https://reference.wolfram.com/language/ref/ComplexInfinity.html.
CMS
Wolfram Language. 1988. "ComplexInfinity." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/ComplexInfinity.html.
APA
Wolfram Language. (1988). ComplexInfinity. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ComplexInfinity.html
BibTeX
@misc{reference.wolfram_2026_complexinfinity, author="Wolfram Research", title="{ComplexInfinity}", year="1988", howpublished="\url{https://reference.wolfram.com/language/ref/ComplexInfinity.html}", note=[Accessed: 12-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_complexinfinity, organization={Wolfram Research}, title={ComplexInfinity}, year={1988}, url={https://reference.wolfram.com/language/ref/ComplexInfinity.html}, note=[Accessed: 12-June-2026]}