# 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.

 `int` Definite and indefinite integrals `int::addpattern` Add patterns for integration `intlib::byparts` Integration by parts `intlib::changevar` Change of variable `intlib::intOverSet` Integration over a set `intlib::printWarnings` Enable or disable warnings `numeric::gldata` Weights and abscissae of Gauss-Legendre quadrature `numeric::gtdata` Weights and abscissae of Gauss-Tschebyscheff quadrature `numeric::int` Numerical integration (the Float attribute of Int ) `numeric::ncdata` Weights and abscissae of Newton-Cotes quadrature `numeric::quadrature` Numerical 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.

#### Mathematical Modeling with Symbolic Math Toolbox

Get examples and videos