GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • WOLFRAM
  • Products
  • AI AccessUse with Mathematica and Wolfram|One
  • Finance Platform
  • Wolfram|Alpha Notebook Edition
  • Application Server
  • Enterprise Private Cloud
  • Wolfram Engine
  • Wolfram Player
  • Wolfram Cloud App
  • Wolfram Player App
  • Wolfram|Alpha Website
  • Wolfram|Alpha APIs
  • Wolfram AI Ecosystem

This view

  • Original page
  • New address

GeezerVison is showing reference.wolfram.com — Infinity—Wolfram Documentation

Infinity or

is a symbol that represents a positive infinite quantity.

Details
Details and Options Details and Options
Examples  
Basic Examples  
Scope  
Applications  
Neat Examples  
See Also
Tech Notes
Related Guides
Related Links
History
Cite this Page

Infinity

Infinity or

is a symbol that represents a positive infinite quantity.

Details

  • can be entered as \[Infinity] or inf.
  • In StandardForm, Infinity is printed as .
  • Infinity is converted to DirectedInfinity[1].
  • Certain arithmetic operations work with Infinity.
  • NumberQ[Infinity] yields False.

Examples

open all close all

Basic Examples  (2)

Use as iterator limit:

Wolfram Language code: Sum[1 / n ^ 2, {n, Infinity}]

Do arithmetic with infinite quantities:

Wolfram Language code: 1 / Infinity

Scope  (7)

Use inf to enter :

Wolfram Language code: Limit[1 / x, x -> ∞]

Series expansion at :

Wolfram Language code: Series[1 / (x ^ 2 + x + 1), {x, Infinity, 5}]

Infinite limits of integration and summation:

Wolfram Language code: Integrate[Exp[-x ^ 2], {x, -Infinity, Infinity}]
Wolfram Language code: NIntegrate[Exp[-x ^ 4 / (x ^ 2 + 1)], {x, -Infinity, Infinity}]
Wolfram Language code: Sum[Exp[-n ^ 2], {n, -Infinity, Infinity}]
Wolfram Language code: NSum[Exp[-n ^ 4 / (n ^ 2 + 1)], {n, -Infinity, Infinity}]

Extended arithmetic with infinite quantities:

Wolfram Language code: Infinity Infinity
Wolfram Language code: 2 Infinity - Infinity

In this case the result depends on the growth rates of the two terms:

Wolfram Language code: Limit[2t - (t ^ 2 + 1), t -> Infinity]
Wolfram Language code: Limit[2t - (t + 1), t -> Infinity]

Use infinite quantities in predicates:

Wolfram Language code: 10 ^ 100 < Infinity

Find values of mathematical functions at infinities:

Wolfram Language code: Exp[-Infinity]
Wolfram Language code: Exp[Infinity]

For some functions there is no definite limit, but a limiting interval:

Wolfram Language code: Sin[Infinity]
Wolfram Language code: Tan[Infinity]

In this case no limiting interval exists:

Wolfram Language code: Exp[I Infinity]

Mathematical functions can also return infinite quantities at finite points:

Wolfram Language code: Log[0]
Wolfram Language code: Gamma[0]

Cases finds matches only at the first level by default:

Wolfram Language code: e = x Gamma[x] + (x + 1)Gamma[x ^ 2 + 1]
Wolfram Language code: Cases[e, _Gamma]

Set the level to Infinity to include all levels:

Wolfram Language code: Cases[e, _Gamma, Infinity]

Applications  (2)

Stirling's asymptotic approximation:

Wolfram Language code: Series[n!, {n, Infinity, 2}]

Setting the precision to Infinity will produce a rational approximation:

Wolfram Language code: SetPrecision[3.14, Infinity]
Wolfram Language code: N[%]

Some functions require infinite precision or exact input:

Wolfram Language code: CylindricalDecomposition[y ^ 2 + 2.5 x ^ 2 < 1.5, {x, y}]

Apply SetPrecision to the whole expression to rationalize all inexact numbers:

Wolfram Language code: CylindricalDecomposition[SetPrecision[y ^ 2 + 2.5 x ^ 2 < 1.5, Infinity], {x, y}]

Neat Examples  (1)

Use an infinite WorkingPrecision in Plot:

Wolfram Language code: Reap[Plot[2x + 1, {x, 0, 1}, WorkingPrecision -> Infinity, EvaluationMonitor :> Sow[x], PlotPoints -> 3, MaxRecursion -> 0 ]]
Wolfram Language code: Plot[Numerator[x], {x, 0, 10}, WorkingPrecision -> Infinity, PlotPoints -> 1000, MaxRecursion -> 0 ]

See Also

ComplexInfinity  Indeterminate  DirectedInfinity

Characters: \[Infinity]

Tech Notes

    ▪
  • Some Mathematical Functions
  • ▪
  • Levels in Expressions
  • ▪
  • Indeterminate and Infinite Results
  • ▪
  • Mathematical Constants

Related Guides

    ▪
  • Mathematical Constants

Related Links

  • MathWorld
  • The Wolfram Functions Site

History

Introduced in 1988 (1.0) | Updated in 1996 (3.0)

Wolfram Research (1988), Infinity, Wolfram Language function, https://reference.wolfram.com/language/ref/Infinity.html (updated 1996).

Text

Wolfram Research (1988), Infinity, Wolfram Language function, https://reference.wolfram.com/language/ref/Infinity.html (updated 1996).

CMS

Wolfram Language. 1988. "Infinity." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 1996. https://reference.wolfram.com/language/ref/Infinity.html.

APA

Wolfram Language. (1988). Infinity. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/Infinity.html

BibTeX

@misc{reference.wolfram_2026_infinity, author="Wolfram Research", title="{Infinity}", year="1996", howpublished="\url{https://reference.wolfram.com/language/ref/Infinity.html}", note=[Accessed: 12-November-2026]}

BibLaTeX

@online{reference.wolfram_2026_infinity, organization={Wolfram Research}, title={Infinity}, year={1996}, url={https://reference.wolfram.com/language/ref/Infinity.html}, note=[Accessed: 12-November-2026]}

Top
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.