This linear algebra tool performs Gaussian elimination, while generating
an explanation of every step. For rational inputs, the answer is exact,
in contrast with most numerical software.

Please enter your matrix in Matlab format, like in the example below:

Comma or space can be used to separate entries in a row.

Semicolon or newline can be used to separate rows.

The input syntax allows Lisp-style comments:

The part of a line following ';' is a comment.

Everything between comment delimiters '#|' and |#' is a
comment, e.g. '#| Hello, world! |#'.

Please make sure rows have the same number of entries.

Rational numbers (fractions) are allowed as coefficients, for example

35/29

Fractions and integers can have an arbitrary number of digits.

Floating point numbers can be single-precision or double precision.
A single-precision number is entered as

1.23456f3 (=1.23456*10^3)

A double-precision number is entered as

1.2345678901234d7 (=1.2345678901234*10^7)

If no exponent part is specified, double precision is assumed.

Complex coefficients are allowed. For example, 1+2i is entered either
in Lisp format

#C(1 2)

or in the traditional format 1+2i, 1+2*i, 1+2I, or 1+2j, or 1+2J.
The real and imaginary parts may be integer, fractional or
floating point.