Use the Advanced engine in a notebook
Switch a math cell to Advanced for integrals, equations, differential equations, sums and series beyond the built-in CAS.
The built-in CAS answers most school algebra and calculus. The Advanced engine is a full computer algebra system (SymPy) that runs on your device for the harder ones: unusual integrals, differential equations, infinite sums, series, eigenvectors and special functions such as erf and Bessel functions.
- Open the Notebook and select a math cell. Tap Advanced in the cell's tools. The cell and its results show an ADVANCED badge.
- Type one command per line and run the cell, for example integrate(x*sqrt(x+1), x), solve(sin(2x)=cos(x), x), limit(sin(x)/x, x, 0) or series(e^x, x, 0, 6).
- For differential equations write the unknown function with primes: dsolve(y''+y=0, y(x)). Add starting values in braces: dsolve(y''=-y, y(x), {y(0)=0, y'(0)=1}).
- Sums and products may run to infinity: sum((-1)^(k+1)/k, k, 1, ∞) gives ln(2). Matrices work too: eigenvals([[2,1][1,2]]).
- When a built-in cell cannot finish (an integral or equation stays as written), a Try Advanced button appears under the line. Tap it to compute that line with the Advanced engine.
- Store a result with name := …, for example F := integrate(x^2*e^x, x). Later cells, built-in or Advanced, can use F.
Tips
- On the web the first Advanced run downloads about 13 MB, once; after that it works offline. In the iPhone, iPad and Android apps it is already included. Nothing you type is sent anywhere.
- The first run takes a few seconds while the engine starts. A calculation that runs longer than 20 seconds is stopped; try a simpler form.
- The Advanced engine always works in radians, even in a DEG notebook. Periodic solutions are written with n, which means any integer.
- Values you set with a:=5 or Define in earlier cells are used by Advanced cells too.
- Function names must be spelled exactly: a name the engine does not know, such as intergrate(x, x), shows an error instead of being read as a product.
- Type a decimal to get a decimal from a special function: besselj(0, 2.5) is a number, besselj(0, 1) stays exact. nsimplify(0.333333333333) gives 1/3 and nsimplify(1.41421356237) gives √2.
Related guides
- Start a notebookThe Notebook is a page of text, math, plot and data cells that you can run, edit, save and share.
- Plot graphs and data in a notebookUse plot cells to draw functions, 3D surfaces, scatter plots with a fitted line, and histograms.
- Get a step-by-step explanationSee how an equation, fraction, derivative or integral is worked out, one step at a time, from the History panel.