This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

Integration

Definite and indefinite integrals, numeric approximation of integrals, integration methods

Note

MuPAD® notebooks will be removed in a future release. Use MATLAB® live scripts instead.

To convert a MuPAD notebook file to a MATLAB live script file, see convertMuPADNotebook. MATLAB live scripts support most MuPAD functionality, although there are some differences. For more information, see Convert MuPAD Notebooks to MATLAB Live Scripts.

MuPAD Functions

intDefinite and indefinite integrals
int::addpatternAdd patterns for integration
intlib::bypartsIntegration by parts
intlib::changevarChange of variable
intlib::intOverSetIntegration over a set
intlib::printWarningsEnable or disable warnings
numeric::gldataWeights and abscissae of Gauss-Legendre quadrature
numeric::gtdataWeights and abscissae of Gauss-Tschebyscheff quadrature
numeric::intNumerical integration (the Float attribute of Int )
numeric::ncdataWeights and abscissae of Newton-Cotes quadrature
numeric::quadratureNumerical integration ( Quadrature )

Examples and How To

Compute Indefinite Integrals

To integrate a mathematical expression f means to find an expression F such that the first derivative of F is f.

Compute Definite Integrals

For definite integration, the int command restricts the integration variable x to the given range of integration.

Compute Multiple Integrals

To compute multiple integrals, use nested calls to int.

Apply Standard Integration Methods Directly

Integration by parts is one of the common methods for computing integrals.

Get Simpler Results

When computing integrals, MuPAD applies strict mathematical rules.

If an Integral Is Undefined

Handling undefined integrals.

If MuPAD Cannot Compute an Integral

If the int command cannot compute a closed form of an integral, MuPAD returns an unresolved integral:

Concepts

Integration Utilities

Use only in the MuPAD Notebook Interface.

Numeric Algorithms Library

Use only in the MuPAD Notebook Interface.