# infinity

Real positive infinity

### Use only in the MuPAD Notebook Interface.

This functionality does not run in MATLAB.

## Syntax

````infinity`
```

## Description

`infinity` represents the infinite point on the positive real semi-axis.

`infinity` is an element of the domain `stdlib::Infinity`. It may be used in arithmetical operations. Some system functions accept `infinity` as a parameter or return it as a result.

## Examples

### Example 1

`infinity` can be used in arithmetical operations with real numbers:

```7*infinity + 3, -3.0*infinity, 1/infinity, infinity*infinity, infinity^2, sqrt(infinity)```

Arithmetic with complex numbers or symbolic objects yields symbolic expressions:

`I*infinity + b`

The arithmetic responds to properties:

`assume(a > 0): a*infinity`

`assume(a < 0): a*infinity`

`unassume(a): a*infinity`

Cancellation of infinities yields `undefined`:

`infinity - infinity, infinity/infinity`

Some system functions accept `infinity` as a parameter or return it as result:

```exp(infinity), sum(1/n, n = 1..infinity), int(exp(-x^2), x = -infinity..infinity), limit(x, x = infinity)```

## See Also

### MuPAD Functions

Was this topic helpful?

Get trial now