Limits at infinity

Level FundamentalDifficulty ★★★★★Concept⌖ Open in the map

What is it?

What f(x)f(x) approaches as x→±∞x \to \pm\infty: the long-run behaviour of a function, and of an algorithm's cost as inputs grow.

Formulas

lim⁡x→∞11+e−x=1,lim⁡x→∞3x2+xx2−5=3\lim_{x\to\infty}\frac{1}{1 + e^{-x}} = 1, \qquad \lim_{x\to\infty}\frac{3x^2 + x}{x^2 - 5} = 3

Where it shows up in computing

  • Algorithm analysis and complexity★★★★★fundamentalScientific computing and algorithms

    f=Θ(g)f = \Theta(g) when f(n)/g(n)f(n)/g(n) stays between positive constants as n→∞n \to \infty.

Where it shows up in AI

  • Activation functions★★★★★frequentAI and machine learning

    The sigmoid saturates: as ∣x∣→∞|x| \to \infty its slope tends to 0, the root of vanishing gradients.

Where is it used?

Computing topics reachable from here, through the chain of ideas that leads to them:

What depends on it

This page has the essentials. A fuller treatment (intuition, formal definition, worked example) is on the way.

↑ ↓ to navigate · ↵ · Esc