This is machine translation

Translated by Microsoft
Mouse over text to see original. Click the button below to return to the English verison of the page.


Real positive infinity

MuPAD® notebooks are not recommended. Use MATLAB® live scripts instead.

MATLAB live scripts support most MuPAD functionality, though there are some differences. For more information, see Convert MuPAD Notebooks to MATLAB Live Scripts.




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.


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?