Skip to content

Esta página también está en español.

Léela en español

このページは日本語でも読めます。

日本語で読む

本页也有简体中文版本。

阅读简体中文版本

Limit (limit)

Limit of an expression as a variable approaches a point.

With this function, the solver shows the steps whenever it finds them.

How to write it

limit(f, x = a)

The limit as x approaches a.

f
The expression or function to work on. Takes an expression.
x = a
The variable and the point it approaches; the point may be inf. Takes a variable set to a value.

limit(f, x = a, direction = left|right)

The limit from one side of the point.

f
The expression or function to work on. Takes an expression.
x = a
The variable and the point it approaches. Takes a variable set to a value.
direction = left|right
Which side to approach from: left or right. Takes left or right.

Examples

  • lim⁡x→0sin⁡(x)x=1\displaystyle \lim_{x \to 0} \frac{\sin(x)}{x} = 1
    limit(sin(x)/x, x = 0)

    In the solver, limit(sin(x)/x, x = 0) gives 1.

    Open in the solver
  • lim⁡x→∞(1+1x)x=e\displaystyle \lim_{x \to \infty} \left(1+\frac{1}{x}\right)^{x} = e
    limit((1 + 1/x)^x, x = inf)

    In the solver, limit((1 + 1/x)^x, x = inf) gives e.

    Open in the solver
  • lim⁡x→0+1x=∞\displaystyle \lim_{x \to 0^{+}} \frac{1}{x} = \infty
    limit(1/x, x = 0, direction = right)

    In the solver, limit(1/x, x = 0, direction = right) gives inf.

    Open in the solver

Functions its examples use

  • sin

    Sine of an angle in radians.

  • numeric_integrate

    Approximate a definite integral numerically.

  • laplacian

    Laplacian of an expression: the sum of its second partial derivatives.

  • residue

    Residue of an expression at a point.

  • jacobian

    Jacobian matrix of a list of expressions: their partial derivatives.

  • total_diff

    Total derivative of an expression with respect to a variable.

  • integrate

    Antiderivative of an expression, or its definite integral over a range.