LinuxCommandLibrary

maxima

TLDR

Start Maxima

$ maxima
copy
Evaluate expression
$ maxima --batch-string="[expand((x+1)^3)];"
copy
Run script file
$ maxima -b [script.mac]
copy
Use quiet mode
$ maxima -q
copy
Start with wxMaxima interface
$ wxmaxima
copy

SYNOPSIS

maxima [options]

DESCRIPTION

Maxima is a computer algebra system for symbolic mathematics. It can perform symbolic differentiation, integration, Taylor series, transforms, linear algebra, and more.
Maxima is descended from Macsyma, one of the oldest computer algebra systems.

PARAMETERS

-b, --batch file

Execute batch file.
--batch-string expr
Evaluate expression.
-q, --quiet
Suppress banner.
-l lisp
Specify Lisp implementation.
--init file
Initialization file.
-p file
Preload Lisp file.

EXAMPLES

$ (%i1) integrate(x^2, x);
(%o1)                          x^3/3

(%i2) diff(sin(x)*cos(x), x);
(%o2)                    cos(x)^2 - sin(x)^2

(%i3) solve(x^2 + 2*x + 1 = 0, x);
(%o3)                         [x = -1]
copy

CAVEATS

Syntax differs from other CAS. Output formatting can be complex. GUI (wxMaxima) recommended for interactive use.

HISTORY

Maxima descends from Macsyma developed at MIT starting in 1968. The DOE version was released as open source in 1998 and became Maxima.

SEE ALSO

sage(1), octave(1), sympy(1), wxmaxima(1)

Copied to clipboard