Maxima Primer

Maxima is a computer program for doing mathematics calculations, symbolic manipulations, numerical computations and graphics. Procedures can be programmed and then run by Maxima to do complex tasks. Much of the syntax for other languages such as Maple was copied from Maxima. Full documentation is available.

To do basic operations, a line is typed, followed by a semicolon, and then entered. This can be done in the window above. Alternately you may edit the blue portions in this buffer, and click on them, to see the result evaluated above and/or inserted in this window, depending on what was specified in the html source for this file. For example clicking below

You may double click the above formula, and the integral will be substituted into the Maxima evaluation in the other window. There are examples which you may also look at 3d plotting If you wish to have your plots appear in a separate window, go to the preferences button under file, and select separate. You may also go to the netmath page to see some more capabilities.

Here are some examples from basic calculus. To have Maxima evaluate the derivative of the function below, click on this line.

Maxima can calculate indefinite integrals.

Maxima can perform calculations to arbitrary precision. The following example computes Pi to one hundred decimal places.

Linear Algebra

For example, matrices can be entered and manipulated. Click these two lines.

Then the procedure can be called. fib[8]; gives 21

Maxima can solve ODEs analytically and numerically. Click the following line for an example of an analytic solution.

Defining a Function

The standard form is

Local variables: